Virtual power plants are a useful tool for integrating distributed resources such as renewable generation, electric vehicles, manageable loads, and energy storage systems under a coordinated management system to obtain economic advantages and provide ancillary services to the grid. This study proposes a management system for a residential virtual power plant that includes household loads, photovoltaic generation, energy storage systems, and electric vehicles. With the proposed management system, the virtual power plant is economically optimized (as in commercial virtual power plants) while providing ancillary services (as in technical virtual power plants) to the distribution grid. A genetic algorithm with appropriate constraints is designed and tested to manage the energy storage system and the charge/discharge of electric vehicles, with several economic and technical objectives. Single-objective optimization techniques are compared to multi-objective ones to show that the former perform better in the studied scenarios. A deterministic gradient-based optimization method is also used to validate the performance of the genetic algorithm. The results show that these technical targets (usually reserved for larger virtual power plants) and economic targets can be easily managed in restricted-sized virtual power plants.
With the increasing penetration of renewable energy such as solar and wind power into the grid as well as the addition of modern types of versatile loads such as electric vehicles, the grid system is more prone to system failure and instability. One of the possible solutions to mitigate these conditions and increase the system efficiency is the integration of virtual power plants into the system. Virtual power plants can aggregate distributed energy resources such as renewable energy systems, electric vehicles, flexible loads, and energy storage, thus allowing for better coordination and optimization of these resources. This paper proposes a genetic algorithm-based optimization to coordinate the different elements of the energy management system of a virtual power plant, such as the energy storage system and charging/discharging of electric vehicles. It also deals with the random behavior of the genetic algorithm and its failure to meet certain constraints in the final solution. A novel method is proposed to mitigate these problems that combines a genetic algorithm in the first stage, followed by a gradient-based method in the second stage, consequently reducing the overall electricity bill by 50.2% and the simulation time by almost 95%. The performance is evaluated considering the reference set-points of operation from the obtained solution of the energy storage and electric vehicles by performing tests using a detailed model where power electronics converters and their local controllers are also taken into account.