Abstract
Increasing uncertainties in electricity prices, load demand, and renewable energy generation pose significant challenges for optimal microgrid operation in deregulated electricity markets. This paper proposes a self-adaptive Gravitational Search Algorithm (SGSA), which enhances the standard GSA by incorporating a self-adaptive mutation operator with two movement strategies to mitigate premature convergence and improve solution quality. To model uncertainties in load demand, market prices, and renewable outputs, the 2 m-Point Estimation Method (PEM) is employed as a computationally efficient alternative to conventional stochastic approaches. The proposed SGSA-PEM framework is applied to a low-voltage microgrid consisting of microturbines, phosphoric acid fuel cells, photovoltaic units, wind turbines, and battery storage. Simulation results indicate that the integration of battery storage reduces the total generation cost by up to 49.7%, while renewable energy penetration increases by approximately 10% during peak demand periods. Furthermore, comparative analysis shows that SGSA achieves lower operating costs and converges about 25% faster than standard GSA and Particle Swarm Optimization (PSO). The results confirm that the proposed framework provides a computationally efficient and robust solution for probabilistic microgrid energy management under uncertainty.
Data availability
All data generated or analysed during this study are included in this published article.
Abbreviations
- DER:
-
Distributed Energy Resources (microturbines, fuel cells, photovoltaic units, wind turbines, and battery storage)
- MGCC:
-
Microgrid Central Controller (distributed generation and load management controller)
- SGSA:
-
Self-Adaptive Gravitational Search Algorithm (the modified GSA that implements adaptive mutation strategies)
- PEM:
-
2 m-Point Estimation Method (type used for model uncertainties in load, prices, and renewable outputs)
- GSA:
-
Gravitational Search Algorithm, a metaheuristic optimization methodology based on Newtonian Gravity
- PSO:
-
Particle Swarm Optimization (a heuristic optimization algorithm)
- OPF:
-
Optimal Power Flow (a method for microgrid power dispatch)
- FESS:
-
Flywheel Energy Storage System (used for load support mode in islanded)
- Mean_k, t:
-
Mean position for all particles in dimension t at iteration k in SGSA
- Gl_k, t:
-
Global best position in dimension t at iteration k in SGSA
- α:
-
The learning rate for probability updates in SGSA, set to 0.142
- Prb1, Prb2:
-
Probabilities of mutating with mutation strategies 1 and 2 in SGSA
- Accum1, Accum2:
-
Accumulators for the probabilities used to update the mutation strategy using strategy 1 and strategy 2, respectively in SGSA
- PDG :
-
The power output from the distributed generators (including but not limited to microturbines, PV, and wind turbines)
- Ctotal :
-
The total generation cost of the microgrid, expressed in (€)
- Rpen :
-
The renewable percentage penetration (%)
- µX :
-
Mean of the input random variable X in PEM (e.g., load demand, market price)
- σX :
-
Standard deviation of the input random variable X in PEM
- ξX, i :
-
Location of the i-th concentration point in PEM for variable X
- wX, i :
-
Weight of the i-th concentration point in PEM for variable X
- Z:
-
Output random variable in PEM (e.g., total cost, power output)
- E[Zk]:
-
k-th moment of the output random variable Z in PEM
References
Liang, H. & Zhuang, W. Stochastic modeling and optimization in a microgrid: a survey, Energies. 7(4), 2027–2050 (2014).
Bayindir, R., Hossain, E., Kabalci, E. & Perez, R. A comprehensive study on microgrid technology. Int. J. Renew. Energy Res. (IJRER). 4 (4), 1094–1107 (2014).
Ackermann, T., Andersson, G. & Söder, L. Distributed generation: A definition. Electr. Power Syst. Res. 57 (3), 195–204 (2001).
Østergaard, P. A. Reviewing optimisation criteria for energy systems analyses of renewable energy integration. Energy. 34(9), 1236–1245 (2009).
Fadlullah, Z. M., Elbouchikhi, E. & Benbouzid, M. Microgrids energy management systems: a critical review on methods, solutions, and prospects. Appl. Energy. 282, 116060 (2020).
Gao, Y. et al. A bi-level hybrid game framework for stochastic robust optimization in multi-integrated energy microgrids. Sustain. Energy Grids Netw, vol. 44, p.102024. (2025).
Li, S., Bai, H., Yao, R., Wang, Y. & Liu, T. Causes identification and sources localization method for multistage voltage sag under the influence of high penetration of renewable energy sources. Available at SSRN 5333972.
Liang, J., Wu, S. & Lu, T. Portfolio selection and optimal planning for hydrogen energy storage systems composed of heterogeneous electrolyzer and fuel cell technologies in industrial park multi-energy systems. Appl. Energy. 403, 127001. (2026).
Baradar, M. On the efficiency and accuracy of simulation methods for optimal power system operation: convex optimization models for power system analysis, optimal utilization of vsc-type dc wind farm grids and facts devices. PhD diss., KTH Royal Institute of Technology, (2015).
Niknam, T., Golestaneh, F. & Malekpour, A. Probabilistic energy and operation management of a microgrid containing wind/photovoltaic/fuel cell generation and energy storage devices based on point estimate method and self-adaptive gravitational search algorithm. Energy. 43(1), 427–437 (2012).
Pantos, M. Stochastic optimal charging of electric-drive vehicles with renewable energy. Energy. 36(11), 6567–6576 (2011).
Choudhry, M. A. & Khan, H. Power loss reduction in radial distribution system with multiple distributed energy resources through efficient islanding detection. Energy. 35(12), 4843–4861 (2010).
Afzali, P., Hosseini, S. A. & Peyghami, S. A comprehensive review on uncertainty and risk modeling techniques and their applications in power systems. Appl. Sci. 14(24), 12042 (2024).
Cabrera-Tobar, A., Massi Pavan, A., Petrone, G. & Spagnuolo, G. A review of the optimization and control techniques in the presence of uncertainties for the energy management of microgrids. Energies. 15(23), 9114 (2022).
Harr, E. Probabilistic estimates for multivariate analysis. Appl. Math. Model. 13 (5), 313–318 (1989).
Rashedi, E., Nezamabadi-pour, H. & Saryazdi, S. GSA: a gravitational search algorithm. Inf. Sci. 179, 2232–2248 (2009).
Formato, R. A. Central force optimization: a new meta-heuristic with applications in applied electromagnetics. Progress Electromagnet. Res. 77, 425–491 (2007).
Gao, K. et al. A review of optimization of microgrid operation. Energies 14(10), 2842 (2021).
Tsikalakis, A. G. & Hatziargyriou, N. D. Centralized control for optimizing microgrids operation. In 2011 IEEE power and energy society general meeting (pp. 1–8). IEEE. (2011).
Chedid, R., Sawwas, A. & Fares, D. Optimal design of a university campus micro-grid operating under unreliable grid considering PV and battery storage. Energy 200, 117510 (2020).
Kharrich, M. et al. Optimization based on movable damped wave algorithm for design of photovoltaic/wind/diesel/biomass/battery hybrid energy systems. Energy Rep. 8, pp488–499 (2022).
Dayalan, S. & Rathinam, R. Energy management of a microgrid using demand response strategy including renewable uncertainties. Int. J. Emerg. Electr. Power Syst. 23 (2), 159–174 (2022).
Dai, S. et al. Optimal energy management of multi-energy multi-microgrid networks using mountain gazelle optimizer for cost and emission reduction. Energy 329, 136640 (2025).
Akter, A. et al. A review on microgrid optimization with meta-heuristic techniques: Scopes, trends and recommendation. Energy Strategy Rev. 51, 101298 (2024).
Dali, M., Belhadj, J. & Roboam, X. Hybrid solar–wind system with battery storage operating in grid-connected and standalone mode: Control and energy management – experimental investigation. Energy. 35(6), 2587–2595 (2010).
Moghaddam, A., Seifi, A., Niknam, T. & Pahlavani, M. R. Multi-objective operation management of a renewable microgrid with back-up micro-turbine/fuel cell/battery hybrid power source. Energy. 36(11), 6490–6507 (2011).
Rosenblueth, E. Point estimates for probability moments. Proc. Natl. Acad. Sci. USA. 72, 3812–3814 (1975).
Hong, H. P. An efficient point estimate method for probabilistic analysis. Reliab. Eng. Syst. Saf. 59, 261–267 (1998).
Meng, Q., Hussain, S., He, Y., Lu, J. & Guerrero, J. M. Multi-timescale stochastic optimization for enhanced dispatching and operational efficiency of electric vehicle photovoltaic charging stations. Int. J. Electric. Power Energy Syst. 172, 111096 (2025).
Zhou, Y. et al. A data-and-model-driven acceleration approach for large-scale network-constrained unit commitment problem with uncertainty. IEEE Trans. Sustain. Energy, vol. 16, pp. 2299-2311 (2025).
Zheng, J., Zhai, L., Tao, M., Tang, W. & Li, Z. Low-carbon economic dispatch in integrated energy systems: a set-based interval optimization with decision support under uncertainties. Prot. Control Mod. Power Syst. 11 (1), 68–87 (2025).
Malekpour, A. R. & Niknam, T. A probabilistic multi-objective daily Volt/Var control at distribution networks including renewable energy sources. Energy. 36(5), 3477–3488 (2011).
Acknowledgements
This work was funded by the Deanship of Graduate Studies and Scientific Research at Jouf University under grant No. (DGSSR-2025-02-01318).
Funding
This work was funded by the Deanship of Graduate Studies and Scientific Research at Jouf University under Grant No. (DGSSR-2025-02-01318).
Author information
Authors and Affiliations
Contributions
Emad M. Ahmed: conceptualization, methodology, software, validation, formal analysis, investigation, resources, data curation, writing – review & editing, visualization. Zaki A. Zaki: conceptualization, methodology, software, validation, formal analysis, investigation, resources, data curation, writing – review & editing, visualization. Mehrdad Ahmadi Kamarposhti: conceptualization, methodology, software, validation, formal analysis, investigation, resources, data curation, writing – original draft, writing – review & editing, visualization, supervision, project administration, funding acquisition. El Manaa Barhoumi: conceptualization, methodology, software, validation, formal analysis, investigation, resources, data curation, writing – review & editing, visualization. Ilhami Colak: conceptualization, methodology, software, validation, formal analysis, investigation, resources, data curation, writing – review & editing, visualization. All authors have read and agreed to the published version of the manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Ahmed, E.M., Zaki, Z.A., Kamarposhti, M.A. et al. Probabilistic operational management of a renewable-based microgrid considering uncertainties using the self-adaptive gravitational search algorithm. Sci Rep (2026). https://doi.org/10.1038/s41598-026-42839-8
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-42839-8