IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i20p5377-d1769765.html

Iterative Genetic Algorithm to Improve Optimization of a Residential Virtual Power Plant

Author

Listed:
  • Anas Abdullah Alvi

    (Electrical, Electronic and Control Engineering Department, University of Extremadura, 06006 Badajoz, Spain)

  • Luis Martínez-Caballero

    (Institute of Control and Industrial Electronics, Warsaw University of Technology, 00-662 Warsaw, Poland)

  • Enrique Romero-Cadaval

    (Electrical, Electronic and Control Engineering Department, University of Extremadura, 06006 Badajoz, Spain)

  • Eva González-Romera

    (Electrical, Electronic and Control Engineering Department, University of Extremadura, 06006 Badajoz, Spain)

  • Mariusz Malinowski

    (Institute of Control and Industrial Electronics, Warsaw University of Technology, 00-662 Warsaw, Poland)

Abstract

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.

Suggested Citation

  • Anas Abdullah Alvi & Luis Martínez-Caballero & Enrique Romero-Cadaval & Eva González-Romera & Mariusz Malinowski, 2025. "Iterative Genetic Algorithm to Improve Optimization of a Residential Virtual Power Plant," Energies, MDPI, vol. 18(20), pages 1-19, October.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:20:p:5377-:d:1769765
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/20/5377/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/20/5377/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Hosseini, Ehsan & Horrillo-Quintero, Pablo & Carrasco-Gonzalez, David & García-Triviño, Pablo & Sarrias-Mena, Raúl & García-Vázquez, Carlos A. & Fernández-Ramírez, Luis M., 2024. "Optimal energy management system for grid-connected hybrid power plant and battery integrated into multilevel configuration," Energy, Elsevier, vol. 294(C).
    2. Ratnam, Elizabeth L. & Weller, Steven R. & Kellett, Christopher M., 2015. "An optimization-based approach to scheduling residential battery storage with solar PV: Assessing customer benefit," Renewable Energy, Elsevier, vol. 75(C), pages 123-134.
    3. Hossain, Md Alamgir & Pota, Hemanshu Roy & Squartini, Stefano & Abdou, Ahmed Fathi, 2019. "Modified PSO algorithm for real-time energy management in grid-connected microgrids," Renewable Energy, Elsevier, vol. 136(C), pages 746-757.
    4. Selim, Alaa & Mo, Huadong & Pota, Hemanshu & Dong, Daoyi, 2025. "Day ahead scheduling of battery energy storage system operation using growth optimizer within cyber–physical–social systems," Energy, Elsevier, vol. 331(C).
    5. Corrado Maria Caminiti & Marco Merlo & Mohammad Ali Fotouhi Ghazvini & Jacob Edvinsson, 2024. "optimHome: A Shrinking Horizon Control Architecture for Bidirectional Smart Charging in Home Energy Management Systems," Energies, MDPI, vol. 17(8), pages 1-24, April.
    6. Eva González-Romera & Mercedes Ruiz-Cortés & María-Isabel Milanés-Montero & Fermín Barrero-González & Enrique Romero-Cadaval & Rui Amaral Lopes & João Martins, 2019. "Advantages of Minimizing Energy Exchange Instead of Energy Cost in Prosumer Microgrids," Energies, MDPI, vol. 12(4), pages 1-18, February.
    7. Mota, Bruno & Faria, Pedro & Vale, Zita, 2024. "Energy cost optimization through load shifting in a photovoltaic energy-sharing household community," Renewable Energy, Elsevier, vol. 221(C).
    8. Reda El Makroum & Ahmed Khallaayoun & Rachid Lghoul & Kedar Mehta & Wilfried Zörner, 2023. "Home Energy Management System Based on Genetic Algorithm for Load Scheduling: A Case Study Based on Real Life Consumption Data," Energies, MDPI, vol. 16(6), pages 1-18, March.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Anilkumar, T.T. & Simon, Sishaj P. & Padhy, Narayana Prasad, 2017. "Residential electricity cost minimization model through open well-pico turbine pumped storage system," Applied Energy, Elsevier, vol. 195(C), pages 23-35.
    2. Ovidiu Ivanov & Samiran Chattopadhyay & Soumya Banerjee & Bogdan-Constantin Neagu & Gheorghe Grigoras & Mihai Gavrilas, 2020. "A Novel Algorithm with Multiple Consumer Demand Response Priorities in Residential Unbalanced LV Electricity Distribution Networks," Mathematics, MDPI, vol. 8(8), pages 1-24, July.
    3. Georgiou, Giorgos S. & Christodoulides, Paul & Kalogirou, Soteris A., 2019. "Real-time energy convex optimization, via electrical storage, in buildings – A review," Renewable Energy, Elsevier, vol. 139(C), pages 1355-1365.
    4. Muhammad Umair Safder & Mohammad J. Sanjari & Ameer Hamza & Rasoul Garmabdari & Md. Alamgir Hossain & Junwei Lu, 2023. "Enhancing Microgrid Stability and Energy Management: Techniques, Challenges, and Future Directions," Energies, MDPI, vol. 16(18), pages 1-28, September.
    5. Angenendt, Georg & Zurmühlen, Sebastian & Axelsen, Hendrik & Sauer, Dirk Uwe, 2018. "Comparison of different operation strategies for PV battery home storage systems including forecast-based operation strategies," Applied Energy, Elsevier, vol. 229(C), pages 884-899.
    6. Vieira, Filomeno M. & Moura, Pedro S. & de Almeida, Aníbal T., 2017. "Energy storage system for self-consumption of photovoltaic energy in residential zero energy buildings," Renewable Energy, Elsevier, vol. 103(C), pages 308-320.
    7. Qunpeng Fan, 2022. "Management and Policy Modeling of the Market Using Artificial Intelligence," Sustainability, MDPI, vol. 14(14), pages 1-14, July.
    8. Ramin Nourollahi & Pouya Salyani & Kazem Zare & Behnam Mohammadi-Ivatloo & Zulkurnain Abdul-Malek, 2022. "Peak-Load Management of Distribution Network Using Conservation Voltage Reduction and Dynamic Thermal Rating," Sustainability, MDPI, vol. 14(18), pages 1-17, September.
    9. Anna Gawlak & Mirosław Kornatka, 2025. "The Impact of Photovoltaic Installations on Changes in Voltage Levels in the Low-Voltage Network," Energies, MDPI, vol. 18(12), pages 1-20, June.
    10. Ahsan, Syed M. & Khan, Hassan A. & Hassan, Naveed-ul & Arif, Syed M. & Lie, Tek-Tjing, 2020. "Optimized power dispatch for solar photovoltaic-storage system with multiple buildings in bilateral contracts," Applied Energy, Elsevier, vol. 273(C).
    11. Ji-Won Lee & Mun-Kyeom Kim & Hyung-Joon Kim, 2021. "A Multi-Agent Based Optimization Model for Microgrid Operation with Hybrid Method Using Game Theory Strategy," Energies, MDPI, vol. 14(3), pages 1-21, January.
    12. Ma, Cheng & Lei, Shunbo & Chen, Dong & Wang, Chong & Hatziargyriou, Nikos D. & Song, Ziyou, 2025. "Sequential service restoration with grid-interactive flexibility from building AC systems for resilient microgrids under endogenous and exogenous uncertainties," Applied Energy, Elsevier, vol. 377(PB).
    13. Ingrid Hopley & Mehrdad Ghahramani & Asma Aziz, 2024. "Techno-Economic Factors Impacting the Intrinsic Value of Behind-the-Meter Distributed Storage," Sustainability, MDPI, vol. 16(23), pages 1-26, November.
    14. Saleem, M.I. & Saha, S. & Izhar, U. & Ang, L., 2024. "Bi-Layer Model Predictive Control strategy for techno-economic operation of grid-connected microgrids," Renewable Energy, Elsevier, vol. 236(C).
    15. Yuan, Shengxi & Stainsby, Wendell & Li, Mo & Xu, Kewei & Waite, Michael & Zimmerle, Dan & Feiock, Richard & Ramaswami, Anu & Modi, Vijay, 2019. "Future energy scenarios with distributed technology options for residential city blocks in three climate regions of the United States," Applied Energy, Elsevier, vol. 237(C), pages 60-69.
    16. Ussama Assad & Muhammad Arshad Shehzad Hassan & Umar Farooq & Asif Kabir & Muhammad Zeeshan Khan & S. Sabahat H. Bukhari & Zain ul Abidin Jaffri & Judit Oláh & József Popp, 2022. "Smart Grid, Demand Response and Optimization: A Critical Review of Computational Methods," Energies, MDPI, vol. 15(6), pages 1-36, March.
    17. Alkmini Michaloglou & Nikolaos L. Tsitsas, 2021. "Feasible Optimal Solutions of Electromagnetic Cloaking Problems by Chaotic Accelerated Particle Swarm Optimization," Mathematics, MDPI, vol. 9(21), pages 1-23, October.
    18. Zhang, Li & Gao, Yan & Zhu, Hongbo & Tao, Li, 2022. "Bi-level stochastic real-time pricing model in multi-energy generation system: A reinforcement learning approach," Energy, Elsevier, vol. 239(PA).
    19. Zurisaddai Severiche-Maury & Carlos Eduardo Uc-Rios & Wilson Arrubla-Hoyos & Dora Cama-Pinto & Juan Antonio Holgado-Terriza & Miguel Damas-Hermoso & Alejandro Cama-Pinto, 2025. "Forecasting Residential Energy Consumption with the Use of Long Short-Term Memory Recurrent Neural Networks," Energies, MDPI, vol. 18(5), pages 1-19, March.
    20. Nimalsiri, Nanduni I. & Ratnam, Elizabeth L. & Mediwaththe, Chathurika P. & Smith, David B. & Halgamuge, Saman K., 2021. "Coordinated charging and discharging control of electric vehicles to manage supply voltages in distribution networks: Assessing the customer benefit," Applied Energy, Elsevier, vol. 291(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:18:y:2025:i:20:p:5377-:d:1769765. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.