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. 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.
    2. 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.
    3. 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).
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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).
    10. 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.
    11. 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).
    12. 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).
    13. 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.
    14. 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).
    15. 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.
    16. 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.
    17. 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.
    18. 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.
    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. 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).
    3. 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).
    4. 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).
    5. 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.
    6. 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.
    7. 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).
    8. 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.
    9. 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.
    10. 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.
    11. Javed, Muhammad Shahzad & Ma, Tao & Jurasz, Jakub & Amin, Muhammad Yasir, 2020. "Solar and wind power generation systems with pumped hydro storage: Review and future perspectives," Renewable Energy, Elsevier, vol. 148(C), pages 176-192.
    12. Hou, Min & Liu, Xinrui & Wang, Rui & Wang, Yating & Li, Zhengmao & Sun, Qiuye, 2025. "Coordinated operation of source–station–road–network system considering traffic flow uncertainty," Renewable Energy, Elsevier, vol. 238(C).
    13. 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.
    14. Zhao, Yi-Bo & Dong, Xiao-Jian & Shen, Jia-Ni & He, Yi-Jun, 2024. "Simultaneous sizing and scheduling optimization for PV-wind-battery hybrid systems with a modified battery lifetime model: A high-resolution analysis in China," Applied Energy, Elsevier, vol. 360(C).
    15. Jodeiri-Seyedian, Seyed-Sadra & Veysi, Mohammad, 2025. "Microgrid-level reliability assessment of mid-term electricity provision under intermittency of renewable distributed generation: A probabilistic conditional value at risk modeling," Reliability Engineering and System Safety, Elsevier, vol. 261(C).
    16. Weiqiang Dong & Yanjun Li & Ji Xiang, 2016. "Optimal Sizing of a Stand-Alone Hybrid Power System Based on Battery/Hydrogen with an Improved Ant Colony Optimization," Energies, MDPI, vol. 9(10), pages 1-17, September.
    17. Rovick Tarife & Yosuke Nakanishi & Yining Chen & Yicheng Zhou & Noel Estoperez & Anacita Tahud, 2022. "Optimization of Hybrid Renewable Energy Microgrid for Rural Agricultural Area in Southern Philippines," Energies, MDPI, vol. 15(6), pages 1-29, March.
    18. Araoye, Timothy Oluwaseun & Ashigwuike, Evans Chinemezu & Mbunwe, Muncho Josephine & Bakinson, Oladipupo Idris & Ozue, ThankGod Izuchukwu, 2024. "Techno-economic modeling and optimal sizing of autonomous hybrid microgrid renewable energy system for rural electrification sustainability using HOMER and grasshopper optimization algorithm," Renewable Energy, Elsevier, vol. 229(C).
    19. Javed, Muhammad Shahzad & Song, Aotian & Ma, Tao, 2019. "Techno-economic assessment of a stand-alone hybrid solar-wind-battery system for a remote island using genetic algorithm," Energy, Elsevier, vol. 176(C), pages 704-717.
    20. Javed, Muhammad Shahzad & Ma, Tao & Jurasz, Jakub & Ahmed, Salman & Mikulik, Jerzy, 2020. "Performance comparison of heuristic algorithms for optimization of hybrid off-grid renewable energy systems," Energy, Elsevier, vol. 210(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: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.