This document is a project report on energy dispatch using virtual power plants. It discusses the history of centralized and distributed generation as well as market-based energy dispatch. A virtual power plant is defined as a network of decentralized power sources like solar parks and wind farms that are controlled centrally but owned independently. The report outlines using a virtual power plant for energy dispatch by forecasting generation from distributed energy resources and loads. The objective is to maximize profit from a conventional power plant and virtual power plant by selling energy at optimal prices while staying within generation limits.