Quasi Static Optimization of a Multinode CHP Plant