Research Article | ![]()
Energy Storage System Optimal Allocation for Improving Microgrid Operation
Author(s): Hager A. Elwelily1*, Sayed H. A. El-Banna2,3, Mahmoud A. El-Dabah3
Published In : International Journal of Electrical and Electronics Research (IJEER) Volume 14, Issue 2
Publisher : FOREX Publication
Published : 30 June 2026
e-ISSN : 2347-470X
Page(s) : 526-541
Abstract
The rapid expansion of microgrids (MGs) is driven by the need to meet growing electricity demand sustainably through high penetration of renewable energy resources (RERs). However, the intermittency of RERs introduces significant operational uncertainty, making energy storage systems (ESSs) essential for reliable MG operation. The ESS planning problem is formulated as a constrained optimization model that incorporates power balance, battery capacity limits, and technical and operational constraints of MGs. Because it offers a viable solution, this study investigates the optimal method to allocate ESSs (batteries) using metaheuristic optimization techniques. In this work, the newly proposed Walrus Optimizer (WO) approach, which shows promising results, is used. A modified IEEE 33-bus distribution test system is employed as the benchmark. The performance of the WO is compared with five established metaheuristics: Detective Behavior Algorithm (DBA), Stochastic Social Learning Optimization (SSLO), Improved Grey Wolf Optimizer (I-GWO), Particle Swarm Optimization (PSO), and Genetic Algorithm (GA). All of these algorithms aspire to reduce power losses, boost voltage profiles, and enhance overall efficiency, reliability, stability, and operational cost reduction. Simulation results show that the WO-based framework yields a 53.56% reduction in total system power losses. Moreover, it strengthens the weakest bus voltage to 0.9803 p.u., improves the voltage stability index (VSI) to 1.0201 p.u., and accomplish a cost reduction of 10.74%, outperforming other competitive algorithms. The results demonstrate the originality and effectiveness of the WO for optimal ESS integration in RER-dominated MGs, providing an encouraging tool for enhancing voltage stability, reducing losses, and supporting reliable, sustainable, and cost-effective MG operation.
Keywords: Microgrid, Energy Storage System, Intermittency Mitigation, Voltage Profile, Power Loss, Walrus Optimizer.
Hager A. Elwelily, Electrical Power and Machines Department, International Academy for Engineering and Media Science, Giza, Egypt; Email: hager.ashraf.sobhey@iaems.edu.eg
Sayed H. A. El-Banna,Electrical Engineering Department, Al-Jazeera Higher Institute of Engineering and Technology, Giza, Egypt; Email: sayedelbanna@hotmail.com
Sayed H. A. El-Banna,Electrical Engineering Department, Faculty of Engineering, Al-Azhar University, Cairo 11651, Egypt; Email: dr_mdabah@azhar.edu.eg
Mahmoud A. El-Dabah, Electrical Engineering Department, Faculty of Engineering, Al-Azhar University, Cairo 11651, Egypt; Email: dr_mdabah@azhar.edu.eg
-
[1] S. Dawn et al., “Integration of Renewable Energy in Microgrids and Smart Grids in Deregulated Power Systems: A Comparative Exploration,” Adv. Energy Sustain. Res., vol. 5, no. 10, Oct. 2024, doi: 10.1002/aesr.202400088.
-
[2] M. Hamidieh and M. Ghassemi, “Microgrids and Resilience: A Review,” 2022, Institute of Electrical and Electronics Engineers Inc. doi: 10.1109/ACCESS.2022.3211511.
-
[3] Y. Shang, D. Han, G. Gozgor, M. K. Mahalik, and B. K. Sahoo, “The impact of climate policy uncertainty on renewable and non-renewable energy demand in the United States,” Renew. Energy, vol. 197, pp. 654–667, Sep. 2022, doi: 10.1016/j.renene.2022.07.159.
-
[4] Chijioke Paul Agupugo, Husseini Musa Kehinde, and Helena Nbéu Nkula Manuel, “Optimization of microgrid operations using renewable energy sources,” Eng. Sci. Technol. J., vol. 5, no. 7, pp. 2379–2401, Jul. 2024, doi: 10.51594/estj.v5i7.1360.
-
[5] D. A. Elalfy, E. Gouda, M. F. Kotb, V. Bureš, and B. E. Sedhom, “Comprehensive review of energy storage systems technologies, objectives, challenges, and future trends,” Energy Strateg. Rev., vol. 54, p. 101482, Jul. 2024, doi: 10.1016/j.esr.2024.101482.
-
[6] M. Gholami, S. M. Muyeen, and S. Lin, “Optimizing microgrid efficiency: Coordinating commercial and residential demand patterns with shared battery energy storage,” J. Energy Storage, vol. 88, May 2024, doi: 10.1016/j.est.2024.111485.
-
[7] T. Kerdphol, K. Fuji, Y. Mitani, M. Watanabe, and Y. Qudaih, “Optimization of a battery energy storage system using particle swarm optimization for stand-alone microgrids,” Int. J. Electr. Power Energy Syst., vol. 81, pp. 32–39, 2016, doi: 10.1016/j.ijepes.2016.02.006.
-
[8] M. V. T. Khanh Trinh, “Research On Genetic Algorithms: Concepts, Models, And Applications,” Int. J. Educ. Soc. Sci. Res., vol. 08, no. 03, pp. 354–373, 2025, doi: 10.37500/IJESSR.2025.8324.
-
[9] S. P. Collins et al., “Techno-Economic Analysis Of Off-Grid Hybrid Pv-Diesel-Battery System In Katsina State, Nigeria,” Arid Zo. J. Eng. Technol. Environ., Vol. 14, No. 2, Pp. 167–186, 2021.
-
[10] P. Tozzi and J. H. Jo, “A comparative analysis of renewable energy simulation tools: Performance simulation model vs. system optimization,” Renew. Sustain. Energy Rev., vol. 80, no. August 2016, pp. 390–398, 2017, doi: 10.1016/j.rser.2017.05.153.
-
[11] H. A. Kazem, T. Khatib, and K. Sopian, “Sizing of a standalone photovoltaic/battery system at minimum cost for remote housing electrification in Sohar, Oman,” Energy Build., vol. 61, no. March 2013, pp. 108–115, 2013, doi: 10.1016/j.enbuild.2013.02.011.
-
[12] S. Saremi, S. Mirjalili, and A. Lewis, “Grasshopper Optimisation Algorithm: Theory and application,” Adv. Eng. Softw., vol. 105, pp. 30–47, 2017, doi: 10.1016/j.advengsoft.2017.01.004.
-
[13] T. Kerdphol, Y. Qudaih, and Y. Mitani, “Optimal Battery Energy Storage Size Using Particle Swarm Optimization for Microgrid System,” Int. Rev. Electr. Eng., vol. 10, no. 2, p. 277, Apr. 2015, doi: 10.15866/iree.v10i2.5350.
-
[14] N. Skunana, “Optimal Placement of Battery Energy Storage System for Voltage Profile Improvement and Reduction of Power Losses,” 2025 33rd South. African Univ. Power Eng. Conf., pp. 1–6, 2025, doi: 10.1109/SAUPEC65723.2025.10944322.
-
[15] K. Kaiyawong, C. Plongkrathoke, and K. Chayakulkheeree, “Bi-level Planning Model for Optimal Battery Energy Storage Allocation Considering Optimal Daily Scheduling Using Mixed-Integer Particle Swarm Optimization,” Eng. J., vol. 27, no. 8, pp. 13–27, Aug. 2023, doi: 10.4186/ej.2023.27.8.13.
-
[16] X. Feng, J. Gu, and X. Guan, “Optimal allocation of hybrid energy storage for microgrids based on multi-attribute utility theory,” J. Mod. Power Syst. Clean Energy, vol. 6, no. 1, pp. 107–117, 2018, doi: 10.1007/s40565-017-0310-3.
-
[17] S. Sharma, S. Bhattacharjee, and A. Bhattacharya, “Grey wolf optimisation for optimal sizing of battery energy storage device to minimise operation cost of microgrid,” IET Gener. Transm. Distrib., vol. 10, no. 3, pp. 625–637, Feb. 2016, doi: 10.1049/iet-gtd.2015.0429.
-
[18] S. Garip and S. Ozdemir, “Optimization of PV and Battery Energy Storage Size in Grid-Connected Microgrid,” Appl. Sci., vol. 12, no. 16, p. 8247, Aug. 2022, doi: 10.3390/app12168247.
-
[19] L. A. Wong, V. K. Ramachandaramurthy, S. L. Walker, P. Taylor, and M. J. Sanjari, “Optimal placement and sizing of battery energy storage system for losses reduction using whale optimization algorithm,” J. Energy Storage, vol. 26, no. May, p. 100892, Dec. 2019, doi: 10.1016/j.est.2019.100892.
-
[20] F. Mohamad, J. Teh, and C. M. Lai, “Optimum allocation of battery energy storage systems for power grid enhanced with solar energy,” Energy, vol. 223, 2021, doi: 10.1016/j.energy.2021.120105.
-
[21] T. Boonraksa, W. Pinthurat, P. Wongdet, P. Boonraksa, B. Marungsri, and B. Hredzak, “Optimal Capacity and Cost Analysis of Hybrid Energy Storage System in Standalone DC Microgrid,” IEEE Access, vol. 11, pp. 65496–65506, 2023, doi: 10.1109/ACCESS.2023.3289821.
-
[22] A. A. Hassan and D. M. Atia, “Optimizing microgrid integration of renewable energy for sustainable solutions in off/on-grid communities,” J. Electr. Syst. Inf. Technol., vol. 11, no. 1, p. 61, Dec. 2024, doi: 10.1186/s43067-024-00186-6.
-
[23] P. Gao, H. Chen, and X. Wu, “Optimal planning of energy storage systems in active distribution networks considering multiple operation optimisation measures,” CIRED - Open Access Proc. J., vol. 2020, no. 1, pp. 4–8, 2020, doi: 10.1049/oap-cired.2021.0005.
-
[24] M. H. Moradi and M. Abedini, “A novel method for optimal DG units capacity and location in Microgrids,” Int. J. Electr. Power Energy Syst., vol. 75, pp. 236–244, 2016, doi: 10.1016/j.ijepes.2015.09.013.
-
[25] M. Lehtonen, “Enhancing Renewable Energy Hosting Capacity in Unbalanced Microgrids via Empowering Smart Inverters,” IEEE Access, vol. 13, no. January, pp. 17161–17181, 2025, doi: 10.1109/ACCESS.2025.3533043.
-
[26] J. Liao, J. Lin, and G. Wu, “Two-layer optimization configuration method for distributed photovoltaic and energy storage systems based on IDEC-K clustering,” Energy Reports, vol. 11, no. April, pp. 5172–5188, 2024, doi: 10.1016/j.egyr.2024.04.047.
-
[27] Z. Wang, Y. Gao, and Y. Gao, “Optimization of Distributed Photovoltaic Energy Storage System Double-Layer Planning in Low-Carbon Parks Considering Variable Operating Conditions and Complementary Synergy of Energy Storage Devices,” 2025, doi: 10.3390/en18081881.
-
[28] J. Ye, “Knowledge-Based Systems Stochastic social learning optimization : Combining social learning and bucket theory for efficient optimization,” Knowledge-Based Syst., vol. 341, no. March, p. 115767, 2026, doi: 10.1016/j.knosys.2026.115767.
-
[29] Jun Cheng, Wim De Waele, “Detective Behavior Algorithm (DBA): A New Metaheuristic for Design and Engineering Optimization,” vol. 338, no. 0950-7051,, doi: 1016/j.knosys.2026.115434.
-
[30] S. Khunkitti, P. Boonluk, and A. Siritaratiwat, “Optimal Location and Sizing of BESS for Performance Improvement of Distribution Systems with High DG Penetration,” Int. Trans. Electr. Energy Syst., vol. 2022, 2022, doi: 10.1155/2022/6361243.
-
[31] S. Zanoni and B. Marchi, “Optimal Sizing of Energy Storage Systems for Industrial Production Plants,” IFIP Adv. Inf. Commun. Technol., vol. 439, no. PART 2, pp. 342–350, 2014, doi: 10.1007/978-3-662-44736-9_42.
-
[32] E. Jacob and H. Farzaneh, “Modeling and performance evaluation of hybrid photovoltaic thermal, wind, and battery microgrids using optimization and dynamic simulation,” Sci. Rep., vol. 15, no. 1, pp. 1–28, 2025, doi: 10.1038/s41598-025-95149-w.
-
[33] J. Jung, K. Baek, E. Lee, W. Ko, and J. Kim, “Economic Analysis of Special Rate for Renewable Energy Based on the Design of an Optimized Model for Distributed Energy Resource Capacities in Buildings,” Energies, vol. 14, no. 3, p. 645, Jan. 2021, doi: 10.3390/en14030645.
-
[34] T. Kerdphol, K. Fuji, Y. Mitani, M. Watanabe, and Y. Qudaih, “Optimization of a battery energy storage system using particle swarm optimization for stand-alone microgrids,” Int. J. Electr. Power Energy Syst., vol. 81, no. October, pp. 32–39, 2016, doi: 10.1016/j.ijepes.2016.02.006.
-
[35] K. N. Ukoima, O. I. Okoro, U. B. Akuru, and I. E. Davidson, “Determination of the Weibull parameters and wind power potential: A case of Okorobo-Ile town, Rivers state, Nigeria,” Wind Energy Eng. Res., vol. 2, no. November, p. 100006, 2024, doi: 10.1016/j.weer.2024.100006.
-
[36] M. Hosseina, M. S. Moghaddam, and A. Hassannia, “Optimizing energy and load management in island microgrids for enhancing resilience against resource interruptions,” Sci. Rep., vol. 15, no. 1, pp. 1–25, 2025, doi: 10.1038/s41598-025-99974-x.
-
[37] P. Nikolaidis and A. Poullikkas, “A comparative review of electrical energy storage systems for better sustainability,” J. Power Technol., vol. 97, no. 3, pp. 220–245, 2011.
-
[38] D. Wang, J. Qiu, L. Reedman, K. Meng, and L. L. Lai, “Two-stage energy management for networked microgrids with high renewable penetration,” Appl. Energy, vol. 226, pp. 39–48, Sep. 2018, doi: 10.1016/j.apenergy.2018.05.112.
-
[39] S. Ahmed, “Energy Storage Systems : Scope , Technologies , Characteristics , Progress , Challenges , and Future Suggestions — Renewable Energy Community Perspectives,” pp. 1–32, 2025, doi: 10.3390/en18112679.
-
[40] S. S. Kanojia and B. N. Suthar, “Voltage stability index : a review based on analytical method , formulation and comparison in renewable dominated power system,” vol. 13, no. 2, pp. 508–520, 2024, doi: 10.11591/ijape.v13.i2.pp508-520.
-
[41] M. Chakravorty and D. Das, “Voltage stability analysis of radial distribution networks,” Int. J. Electr. Power Energy Syst., vol. 23, no. 2, pp. 129–135, Feb. 2001, doi: 10.13140/2.1.1729.8884 CITATION.
-
[42] M. H. Mostafa, S. H. E. A. Aleem, S. G. Ali, A. Y. Abdelaziz, S. Member, and P. F. Ribeiro, “Robust Energy Management and Economic Analysis of Microgrids Considering Different Battery Characteristics,” IEEE Access, vol. PP, p. 1, 2020, doi: 10.1109/ACCESS.2020.2981697.
-
[43] G. A. Setia, G. HM Sianipar, K. Samudra, F. Haz, N. Winanti, and H. R. Iskandar, “Implementation of Backward-Forward Sweep Method on Load Model Variation of Distribution Systems,” in 2019 2nd International Conference on High Voltage Engineering and Power Systems (ICHVEPS), IEEE, Oct. 2019, pp. 1–5. doi: 10.1109/ICHVEPS47643.2019.9011141.
-
[44] P. Trojovský and M. Dehghani, “Walrus Optimization Algorithm: A New Bio-Inspired Metaheuristic Algorithm,” Oct. 24, 2022, Scientific Reports. doi: 10.21203/rs.3.rs-2174098/v1.
-
[45] M. Aicha, B. Lamia, L. Salima, and B. Ibtissam, “Optimal Energy Management of a Microgrid Using Walrus Optimizer Algorithm,” vol. 12, no. 1, pp. 362–370, 2026, doi: 10.22399/ijcesen.4785.
-
[46] H. M. Hasanien, I. Alsaleh, Z. Ullah, and A. Alassaf, “Probabilistic optimal power flow in power systems with Renewable energy integration using Enhanced walrus optimization algorithm,” Ain Shams Eng. J., vol. 15, no. 3, p. 102663, Mar. 2024, doi: 10.1016/j.asej.2024.102663.
-
[47] H. M. Sultan, M. A. Mossa, and A. Y. Abdelaziz, “Parameter Identification of Solar Cell Mathematical Models Using Metaheuristic Algorithms,” in Advances in Solar Photovoltaic Energy Systems, IntechOpen, 2024. doi: 10.5772/intechopen.1004044.
-
[48] D. Sanin-Villa, H. A. Figueroa-Saavedra, and L. F. Grisales-Noreña, “Efficient BESS Scheduling in AC Microgrids via Multiverse Optimizer: A Grid-Dependent and Self-Powered Strategy to Minimize Power Losses and CO2 Footprint,” Appl. Syst. Innov., vol. 8, no. 3, p. 85, Jun. 2025, doi: 10.3390/asi8030085.
-
[49] T. Oluwaseun, S. Vincent, M. Josephine, and O. Anthony, “Walrus optimizer algorithm for techno-economic modeling of an autonomous hybrid microgrid energy management system,” Energy Convers. Manag., vol. 344, no. August, p. 120277, 2025, doi: 10.1016/j.enconman.2025.120277.
-
[50] V. A. Cicirello and S. F. Smith, “Modeling GA Performance for Control Parameter Optimization,” no. July, 2013.
-
[51] Y. Qiu, X. Yang, and S. Chen, “An improved gray wolf optimization algorithm solving to functional optimization and engineering design problems,” Sci. Rep., pp. 1–25, 2024, doi: 10.1038/s41598-024-64526-2.
-
[52] T. M. Shami, A. A. El-Saleh, M. Alswaitti, Q. Al-Tashi, M. A. Summakieh, and S. Mirjalili, “Particle Swarm Optimization: A Comprehensive Survey,” IEEE Access, vol. 10, pp. 10031–10061, 2022, doi: 10.1109/ACCESS.2022.3142859.

I. J. of Electrical & Electronics Research