Two-stage optimization for energy management and power allocation in a Virtual Power Plant of residential microgrids

Authors

  • E. González-Romera Department of Electrical, Electronic and Control Engineering E.I.I., Extremadura University Avda. de Elvas, 06006 Badajoz (Spain) Author
  • C. Roncero-Clemente Department of Electrical, Electronic and Control Engineering E.I.I., Extremadura University Avda. de Elvas, 06006 Badajoz (Spain) Author
  • E. Romero-Cadaval Department of Electrical, Electronic and Control Engineering E.I.I., Extremadura University Avda. de Elvas, 06006 Badajoz (Spain) Author
  • M.I. Milanés-Montero Department of Electrical, Electronic and Control Engineering E.I.I., Extremadura University Avda. de Elvas, 06006 Badajoz (Spain) Author
  • F. Barrero-González Department of Electrical, Electronic and Control Engineering E.I.I., Extremadura University Avda. de Elvas, 06006 Badajoz (Spain) Author
  • A.A. Alvi Department of Electrical, Electronic and Control Engineering E.I.I., Extremadura University Avda. de Elvas, 06006 Badajoz (Spain) Author

DOI:

https://doi.org/10.52152/4557

Keywords:

Distributed energy resources; Energy management system; Microgrid; Flexibility market; Virtual power plant

Abstract

This paper proposes a dual-stage optimizationprocess for a Virtual Power Plant that aggregates resources from various residential microgrids with photovoltaic generation, energy storage systems, and electric vehicles with bidirectional charging possibilities. The optimization objectives include cost reduction, peak shaving, and flexibility service provision. In the first stage, a genetic algorithm is employed to perform daily energy scheduling for the entire Virtual Power Plant, focusing on economic objectives, peak shaving and participation in flexibility markets. The second stage utilizes non-linear programming to optimize the 1-minute power allocation for each microgrid's resources, aiming to minimize the power exchange between each microgrid and the distribution grid. The proposed method demonstrates significant performance improvements, achieving a 29% reduction in electricity bill, peak shaving of up to 10 kW, and a reservation band of approximately 4 kW for flexibility service provision. The resources of the microgrids exhibit cooperative behavior, collectively achieving the optimization objectives.

Downloads

Published

2025-07-25

Issue

Section

Articles