IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v396y2025ics0306261925010037.html

Microgrid sizing with EV flexibility: Cascaded MILP and embedded APSO-MILP approaches

Author

Listed:
  • Agha Kassab, Fadi
  • Celik, Berk
  • Locment, Fabrice
  • Sechilariu, Manuela
  • Liaquat, Sheroze
  • Hansen, Timothy M.

Abstract

The optimization of microgrid sizing and energy management (EM) presents a significant challenge due to the complexity of decision variables and constraints. This study addresses these challenges by proposing two distinct optimization algorithms aimed at enhancing microgrid component sizing and EM efficiency. The first approach, a cascaded Mixed-Integer Linear Programming (MILP) methodology, operates in two distinct stages. In the first stage, an annual optimization over 8760 h determines the optimal sizes of microgrid components and their energy management strategies, excluding electric vehicle (EV) flexibility to reduce computational complexity. This stage employs a single MILP formulation where both investment and operational decisions are jointly optimized. The second stage conducts a series of 24-h MILP optimizations for each day of the year, incorporating EV flexibility as a decision variable. This structure allows for refined energy management that adapts to daily variations in renewable generation, EV availability, and demand, while preserving the long-term sizing decisions established in the first stage. The second approach, an embedded Accelerated Particle Swarm Optimization-MILP (APSO-MILP) algorithm, performs an iterative 24-h optimization across the entire year, inherently integrating EV flexibility into both sizing and operational decisions. In this hybrid framework, APSO is responsible for exploring optimal capacity configurations for the microgrid components, while MILP handles detailed daily energy management for each capacity set. By coupling the global search capability of APSO with the precision of MILP under linear constraints, this approach ensures more adaptive and accurate system sizing. The embedded structure enables the algorithm to continuously update and refine component sizes and operational strategies based on performance feedback, thereby achieving improved cost and emission outcomes over the full operational timeline. Both algorithms seek to minimize the Levelized Cost of Energy (LCOE) and Life Cycle Emissions (LCE) over the microgrid’s operational lifespan. The microgrid under study consists of photovoltaic panels, wind turbines, a battery energy storage system (BESS), power converters, and an electric grid connection serving both EV charging stations and university building loads. Additionally, both optimization strategies account for battery degradation and load shedding, incorporating the Value of Lost Load (VoLL) as a constraint. Results indicate that the embedded APSO-MILP algorithm outperforms the cascaded MILP approach, significantly reducing LCOE and LCE–by approximately 194 % and 520 %, respectively—when considering load shedding and EV flexibility. Moreover, the APSO-MILP approach effectively prevents load shedding across all scenarios, whereas the cascaded MILP method experiences occasional shedding under constrained conditions. Both algorithms highlight the seasonal dependency of energy sources, with increased reliance on energy injections from the grid during autumn and winter, underscoring the importance of BESS in maintaining energy balance. This study provides a comparative evaluation of two advanced optimization techniques for microgrid planning, demonstrating the critical role of EV flexibility and integrated optimization in reducing both economic and environmental costs. The findings offer valuable insights for decision-makers seeking to optimize microgrid configurations while ensuring cost-effectiveness, sustainability, and energy reliability.

Suggested Citation

  • Agha Kassab, Fadi & Celik, Berk & Locment, Fabrice & Sechilariu, Manuela & Liaquat, Sheroze & Hansen, Timothy M., 2025. "Microgrid sizing with EV flexibility: Cascaded MILP and embedded APSO-MILP approaches," Applied Energy, Elsevier, vol. 396(C).
  • Handle: RePEc:eee:appene:v:396:y:2025:i:c:s0306261925010037
    DOI: 10.1016/j.apenergy.2025.126273
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0306261925010037
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2025.126273?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Zhang, Bin & Hu, Weihao & Xu, Xiao & Li, Tao & Zhang, Zhenyuan & Chen, Zhe, 2022. "Physical-model-free intelligent energy management for a grid-connected hybrid wind-microturbine-PV-EV energy system via deep reinforcement learning approach," Renewable Energy, Elsevier, vol. 200(C), pages 433-448.
    2. Sharafi, Masoud & ELMekkawy, Tarek Y., 2014. "Multi-objective optimal design of hybrid renewable energy systems using PSO-simulation based approach," Renewable Energy, Elsevier, vol. 68(C), pages 67-79.
    3. Ahmad Alzahrani & Ghulam Hafeez & Sajjad Ali & Sadia Murawwat & Muhammad Iftikhar Khan & Khalid Rehman & Azher M. Abed, 2023. "Multi-Objective Energy Optimization with Load and Distributed Energy Source Scheduling in the Smart Power Grid," Sustainability, MDPI, vol. 15(13), pages 1-21, June.
    4. Kalim Ullah & Sajjad Ali & Taimoor Ahmad Khan & Imran Khan & Sadaqat Jan & Ibrar Ali Shah & Ghulam Hafeez, 2020. "An Optimal Energy Optimization Strategy for Smart Grid Integrated with Renewable Energy Sources and Demand Response Programs," Energies, MDPI, vol. 13(21), pages 1-17, November.
    5. Phap Vu Minh & Sang Le Quang & Manh-Hai Pham, 2021. "Technical Economic Analysis of Photovoltaic-Powered Electric Vehicle Charging Stations under Different Solar Irradiation Conditions in Vietnam," Sustainability, MDPI, vol. 13(6), pages 1-20, March.
    6. Malheiro, André & Castro, Pedro M. & Lima, Ricardo M. & Estanqueiro, Ana, 2015. "Integrated sizing and scheduling of wind/PV/diesel/battery isolated systems," Renewable Energy, Elsevier, vol. 83(C), pages 646-657.
    7. Guo, Shiliang & Li, Pengpeng & Ma, Kai & Yang, Bo & Yang, Jie, 2022. "Robust energy management for industrial microgrid considering charging and discharging pressure of electric vehicles," Applied Energy, Elsevier, vol. 325(C).
    8. Kalim Ullah & Taimoor Ahmad Khan & Ghulam Hafeez & Imran Khan & Sadia Murawwat & Basem Alamri & Faheem Ali & Sajjad Ali & Sheraz Khan, 2022. "Demand Side Management Strategy for Multi-Objective Day-Ahead Scheduling Considering Wind Energy in Smart Grid," Energies, MDPI, vol. 15(19), pages 1-14, September.
    9. Bordin, Chiara & Anuta, Harold Oghenetejiri & Crossland, Andrew & Gutierrez, Isabel Lascurain & Dent, Chris J. & Vigo, Daniele, 2017. "A linear programming approach for battery degradation analysis and optimization in offgrid power systems with solar energy integration," Renewable Energy, Elsevier, vol. 101(C), pages 417-430.
    10. Homeyra Akter & Harun Or Rashid Howlader & Ahmed Y. Saber & Paras Mandal & Hiroshi Takahashi & Tomonobu Senjyu, 2021. "Optimal Sizing of Hybrid Microgrid in a Remote Island Considering Advanced Direct Load Control for Demand Response and Low Carbon Emission," Energies, MDPI, vol. 14(22), pages 1-19, November.
    11. Anoune, Kamal & Bouya, Mohsine & Astito, Abdelali & Abdellah, Abdellatif Ben, 2018. "Sizing methods and optimization techniques for PV-wind based hybrid renewable energy system: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 93(C), pages 652-673.
    12. Ma, Tao & Yang, Hongxing & Lu, Lin & Peng, Jinqing, 2015. "Pumped storage-based standalone photovoltaic power generation system: Modeling and techno-economic optimization," Applied Energy, Elsevier, vol. 137(C), pages 649-659.
    13. Al Wahedi, Abdulla & Bicer, Yusuf, 2022. "Techno-economic optimization of novel stand-alone renewables-based electric vehicle charging stations in Qatar," Energy, Elsevier, vol. 243(C).
    14. Mohseni, Soheil & Khalid, Roomana & Brent, Alan C., 2023. "Stochastic, resilience-oriented optimal sizing of off-grid microgrids considering EV-charging demand response: An efficiency comparison of state-of-the-art metaheuristics," Applied Energy, Elsevier, vol. 341(C).
    15. Kassab, Fadi Agha & Celik, Berk & Locment, Fabrice & Sechilariu, Manuela & Liaquat, Sheroze & Hansen, Timothy M., 2024. "Optimal sizing and energy management of a microgrid: A joint MILP approach for minimization of energy cost and carbon emission," Renewable Energy, Elsevier, vol. 224(C).
    16. Duchaud, Jean-Laurent & Notton, Gilles & Darras, Christophe & Voyant, Cyril, 2019. "Multi-Objective Particle Swarm optimal sizing of a renewable hybrid power plant with storage," Renewable Energy, Elsevier, vol. 131(C), pages 1156-1167.
    17. Hassan, Aakash & Al-Abdeli, Yasir M. & Masek, Martin & Bass, Octavian, 2022. "Optimal sizing and energy scheduling of grid-supplemented solar PV systems with battery storage: Sensitivity of reliability and financial constraints," Energy, Elsevier, vol. 238(PA).
    18. Jiménez-Vargas, Iván & Rey, Juan M. & Osma-Pinto, German, 2023. "Sizing of hybrid microgrids considering life cycle assessment," Renewable Energy, Elsevier, vol. 202(C), pages 554-565.
    19. Elkholy, M.H. & Elymany, Mahmoud & Metwally, Hamid & Farahat, M.A. & Senjyu, Tomonobu & Elsayed Lotfy, Mohammed, 2022. "Design and implementation of a Real-time energy management system for an isolated Microgrid: Experimental validation," Applied Energy, Elsevier, vol. 327(C).
    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. Kassab, Fadi Agha & Celik, Berk & Locment, Fabrice & Sechilariu, Manuela & Liaquat, Sheroze & Hansen, Timothy M., 2024. "Optimal sizing and energy management of a microgrid: A joint MILP approach for minimization of energy cost and carbon emission," Renewable Energy, Elsevier, vol. 224(C).
    2. Mohtasim, Md. Shahriar & Das, Barun K. & Paul, Utpol K. & Kibria, Md. Golam & Hossain, Md Sanowar, 2025. "Hybrid renewable multi-generation system optimization: Attaining sustainable development goals," Renewable and Sustainable Energy Reviews, Elsevier, vol. 212(C).
    3. Julia Schulz & Daniel Leinmüller & Adam Misik & Michael F. Zaeh, 2021. "Renewable On-Site Power Generation for Manufacturing Companies—Technologies, Modeling, and Dimensioning," Sustainability, MDPI, vol. 13(7), pages 1-27, April.
    4. Bilal, Mohd & Ahmad, Fareed & Mohammad, Arshad & Rizwan, Mohammad, 2025. "Techno-economic evaluation and sensitivity analysis of renewable energy based designing of plug-in electric vehicle load considering load following strategy," Applied Energy, Elsevier, vol. 377(PC).
    5. Duchaud, Jean-Laurent & Notton, Gilles & Fouilloy, Alexis & Voyant, Cyril, 2019. "Hybrid renewable power plant sizing – Graphical decision tool, sensitivity analysis and applications in Ajaccio and Tilos," Applied Energy, Elsevier, vol. 254(C).
    6. Galindo Noguera, Ana Lisbeth & Mendoza Castellanos, Luis Sebastian & Silva Lora, Electo Eduardo & Melian Cobas, Vladimir Rafael, 2018. "Optimum design of a hybrid diesel-ORC / photovoltaic system using PSO: Case study for the city of Cujubim, Brazil," Energy, Elsevier, vol. 142(C), pages 33-45.
    7. Fahd A. Alturki & Emad Mahrous Awwad, 2021. "Sizing and Cost Minimization of Standalone Hybrid WT/PV/Biomass/Pump-Hydro Storage-Based Energy Systems," Energies, MDPI, vol. 14(2), pages 1-20, January.
    8. Islam, M.S. & Das, Barun K. & Das, Pronob & Rahaman, Md Habibur, 2021. "Techno-economic optimization of a zero emission energy system for a coastal community in Newfoundland, Canada," Energy, Elsevier, vol. 220(C).
    9. Amara, Sihem & Toumi, Sana & Salah, Chokri Ben & Saidi, Abdelaziz Salah, 2021. "Improvement of techno-economic optimal sizing of a hybrid off-grid micro-grid system," Energy, Elsevier, vol. 233(C).
    10. Oviedo-Cepeda, J.C. & Serna-Suárez, Ivan & Osma-Pinto, German & Duarte, Cesar & Solano, Javier & Gabbar, Hossam A., 2020. "Design of tariff schemes as demand response mechanisms for stand-alone microgrids planning," Energy, Elsevier, vol. 211(C).
    11. Wen, Xin & Sun, Yuanliang & Tan, Qiaofeng & Tang, Zhengyang & Wang, Zhenni & Liu, Zhehua & Ding, Ziyu, 2022. "Optimizing the sizes of wind and photovoltaic plants complementarily operating with cascade hydropower stations: Balancing risk and benefit," Applied Energy, Elsevier, vol. 306(PA).
    12. Mokhtara, Charafeddine & Negrou, Belkhir & Settou, Noureddine & Settou, Belkhir & Samy, Mohamed Mahmoud, 2021. "Design optimization of off-grid Hybrid Renewable Energy Systems considering the effects of building energy performance and climate change: Case study of Algeria," Energy, Elsevier, vol. 219(C).
    13. Jamiu O. Oladigbolu & Asad Mujeeb & Amir A. Imam & Ali Muhammad Rushdi, 2022. "Design, Technical and Economic Optimization of Renewable Energy-Based Electric Vehicle Charging Stations in Africa: The Case of Nigeria," Energies, MDPI, vol. 16(1), pages 1-32, December.
    14. Ahmad Alzahrani & Ghulam Hafeez & Sajjad Ali & Sadia Murawwat & Muhammad Iftikhar Khan & Khalid Rehman & Azher M. Abed, 2023. "Multi-Objective Energy Optimization with Load and Distributed Energy Source Scheduling in the Smart Power Grid," Sustainability, MDPI, vol. 15(13), pages 1-21, June.
    15. Superchi, Francesco & Moustakis, Antonis & Pechlivanoglou, George & Bianchini, Alessandro, 2025. "On the importance of degradation modeling for the robust design of hybrid energy systems including renewables and storage," Applied Energy, Elsevier, vol. 377(PD).
    16. Andrade Furtado, Gilton Carlos de & Amarante Mesquita, André Luiz & Morabito, Alessandro & Hendrick, Patrick & Hunt, Julian D., 2020. "Using hydropower waterway locks for energy storage and renewable energies integration," Applied Energy, Elsevier, vol. 275(C).
    17. Duchaud, Jean-Laurent & Notton, Gilles & Darras, Christophe & Voyant, Cyril, 2019. "Multi-Objective Particle Swarm optimal sizing of a renewable hybrid power plant with storage," Renewable Energy, Elsevier, vol. 131(C), pages 1156-1167.
    18. Javed, Muhammad Shahzad & Ma, Tao & Jurasz, Jakub & Mikulik, Jerzy, 2021. "A hybrid method for scenario-based techno-economic-environmental analysis of off-grid renewable energy systems," Renewable and Sustainable Energy Reviews, Elsevier, vol. 139(C).
    19. Rahmat Khezri & Amin Mahmoudi & Hirohisa Aki & S. M. Muyeen, 2021. "Optimal Planning of Remote Area Electricity Supply Systems: Comprehensive Review, Recent Developments and Future Scopes," Energies, MDPI, vol. 14(18), pages 1-29, September.
    20. Ihsan, Abbas & Jeppesen, Matthew & Brear, Michael J., 2019. "Impact of demand response on the optimal, techno-economic performance of a hybrid, renewable energy power plant," Applied Energy, Elsevier, vol. 238(C), pages 972-984.

    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:eee:appene:v:396:y:2025:i:c:s0306261925010037. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .

    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.