This report looks at the difficult prediction and optimisation problem faced during the real time control system of a virtual power plant (VPP). This project developed and evaluated the potential of solutions that jointly tackle the prediction and optimisation problem, to improve the effectiveness of virtual power plant control.