Optimisation of energy flows: Leipziger Stadtwerke build a virtual power plant