Physics-Informed Metaheuristic Optimization of Distributed Renewable Microgrid Stability

Authors

  • Tarek Abdelrahman * Department of Electrical Power and Machines Engineering, Faculty of Engineering, Ain Shams University, Cairo, Egypt. https://orcid.org/0000-0002-1667-4857
  • Siti Nurhaliza Department of Electrical Engineering, Faculty of Engineering, Universiti Malaya, Kuala Lumpur, Malaysia.

https://doi.org/10.48313/maa.v1i1.69

Abstract

The rapid proliferation of distributed renewable generation within microgrids introduces critical stability challenges, including voltage fluctuations, frequency deviations, and power quality degradation, particularly at high penetration levels exceeding 70%. Conventional optimization approaches for microgrid control parameter tuning either rely on steady-state Optimal Power Flow (OPF) solvers that neglect transient dynamics, or employ metaheuristic algorithms that treat physics constraints as soft penalties, frequently producing electrically infeasible solutions. This paper presents Physics-Informed MEtaheuristic for Microgrid Stability (PI-MEMS), a novel framework that integrates fundamental power system physics directly into a hybrid Differential Evolution–Grey Wolf Optimizer (DE-GWO) metaheuristic. The key innovation is a Physics-Informed Fitness Evaluation (PIFE) that embeds Kirchhoff's laws, AC power flow equations, voltage/frequency droop control constraints, and inverter dynamics into the optimization loop, guaranteeing that every candidate solution satisfies electrical engineering constraints without post-hoc repair. Additional contributions include: 1) a Physics-Informed Neural Network (PINN) transient stability surrogate trained on swing equation dynamics for rapid stability margin assessment, 2) multi-timescale optimization addressing steady-state OPF and dynamic transient stability simultaneously, 3) stochastic scenario generation for renewable uncertainty using Gaussian copula models, and 4) an adaptive hybrid mechanism switching between Differential Evolution (DE) exploitation and Grey Wolf Optimizer (GWO) exploration based on constraint violation patterns. PI-MEMS is evaluated on Institute of Electrical and Electronics Engineers (IEEE) 33-bus and IEEE 69-bus modified distribution test systems with embedded microgrids, a Malaysian rural microgrid in Sarawak (Borneo), and an Egyptian industrial microgrid at the New Administrative Capital (NAC). Results demonstrate voltage deviation reductions of 38–52%, frequency stability improvements of 22–35% (measured by rate of change of frequency (RoCoF) and nadir metrics), and 15–24% reductions in total energy cost compared to standard DE, GWO, Particle Swarm Optimization (PSO), Genetic Algorithms (GA), and conventional OPF solvers. Critically, all PI-MEMS solutions are physics-feasible with zero constraint violations, compared to 3–12% violation rates in baseline metaheuristics.

Keywords:

Microgrid stability, Physics-informed optimization, Metaheuristic, Renewable energy, Droop control, Battery energy storage, Power system optimization, Distributed generation

References

  1. [1] (IEA), I. E. A. (2023). World energy outlook 2023. International Energy Agency. https://www.iea.org/reports/world-energy-outlook-2023

  2. [2] Hirsch, A., Parag, Y., & Guerrero, J. (2018). Microgrids: A review of technologies, key drivers, and outstanding issues. Renewable and sustainable energy reviews, 90, 402–411. https://doi.org/10.1016/j.rser.2018.03.040

  3. [3] Lasseter, R. H. (2002). Microgrids. 2002 IEEE power engineering society winter meeting. Conference proceedings (Vol. 1, pp. 305-308). IEEE. https://doi.org/10.1109/PESW.2002.985003

  4. [4] Hatziargyriou, N., Asano, H., Iravani, R., & Marnay, C. (2007). Microgrids. IEEE power and energy magazine, 5(4), 78–94. https://doi.org/10.1109/MPAE.2007.376583

  5. [5] Olivares, D. E., Mehrizi-Sani, A., Etemadi, A. H., Cañizares, C. A., Iravani, R., Kazerani, M., ... & Hatziargyriou, N. D. (2014). Trends in microgrid control. IEEE transactions on smart grid, 5(4), 1905-1919. https://doi.org/10.1109/TSG.2013.2295514

  6. [6] Bidram, A., & Davoudi, A. (2012). Hierarchical structure of microgrids control system. IEEE transactions on smart grid, 3(4), 1963–1976. https://doi.org/10.1109/TSG.2012.2197425

  7. [7] Guerrero, J. M., Vasquez, J. C., Matas, J., De Vicuña, L. G., & Castilla, M. (2010). Hierarchical control of droop-controlled AC and DC microgrids—A general approach toward standardization. IEEE transactions on industrial electronics, 58(1), 158–172. https://doi.org/10.1109/TIE.2010.2066534

  8. [8] Zimmerman, R. D., Murillo-Sánchez, C. E., & Thomas, R. J. (2010). MATPOWER: Steady-state operations, planning, and analysis tools for power systems research and education. IEEE transactions on power systems, 26(1), 12–19. https://doi.org/10.1109/TPWRS.2010.2051168

  9. [9] Holland, J. H. (1992). Adaptation in natural and artificial systems: An introductory analysis with applications to biology, control, and artificial intelligence. MIT Press. https://doi.org/10.7551/mitpress/1090.001.0001

  10. [10] Kennedy, J., & Eberhart, R. (1995). Particle swarm optimization. Proceedings of ICNN'95-international conference on neural networks (Vol. 4, pp. 1942-1948). IEEE. https://doi.org/10.1109/ICNN.1995.488968

  11. [11] Storn, R., & Price, K. (1997). Differential evolution-A simple and efficient heuristic for global optimization over continuous spaces. Journal of global optimization, 11(4), 341–359. https://doi.org/10.1023/A:1008202821328

  12. [12] Mirjalili, S., Mirjalili, S. M., & Lewis, A. (2014). Grey wolf optimizer. Advances in engineering software, 69, 46-61. https://doi.org/10.1016/j.advengsoft.2013.12.007

  13. [13] Parhizi, S., Lotfi, H., Khodaei, A., & Bahramirad, S. (2015). State of the art in research on microgrids: A review. IEEE access, 3, 890–925. https://doi.org/10.1109/ACCESS.2015.2443119

  14. [14] Parisio, A., Rikos, E., & Glielmo, L. (2014). A model predictive control approach to microgrid operation optimization. IEEE transactions on control systems technology, 22(5), 1813–1827. https://doi.org/10.1109/TCST.2013.2295737

  15. [15] Chen, T., Bu, S., Liu, X., Kang, J., Yu, F. R., & Han, Z. (2021). Peer-to-peer energy trading and energy conversion in interconnected multi-energy microgrids using multi-agent deep reinforcement learning. IEEE transactions on smart grid, 13(1), 715–727. https://doi.org/10.1109/TSG.2021.3124465

  16. [16] Raissi, M., Perdikaris, P., & Karniadakis, G. E. (2019). Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of computational physics, 378, 686–707. https://doi.org/10.1016/j.jcp.2018.10.045

  17. [17] Ngo, Q. H., Nguyen, B. L., Vu, T. V., Zhang, J., & Ngo, T. (2024). Physics-informed graphical neural network for power system state estimation. Applied energy, 358, 122602. https://doi.org/10.1016/j.apenergy.2023.122602

  18. [18] Donon, B., Clément, R., Donnot, B., Marot, A., Guyon, I., & Schoenauer, M. (2020). Neural networks for power flow: Graph neural solver. Electric power systems research, 189, 106547. https://doi.org/10.1016/j.epsr.2020.106547

  19. [19] Stiasny, J., & Chatzivasileiadis, S. (2023). Physics-informed neural networks for time-domain simulations: Accuracy, computational cost, and flexibility. Electric power systems research, 224, 109748. https://doi.org/10.1016/j.epsr.2023.109748

  20. [20] Chandorkar, M. C., Divan, D. M., & Adapa, R. (1993). Control of parallel connected inverters in standalone AC supply systems. IEEE transactions on industry applications, 29(1), 136–143. https://doi.org/10.1109/28.195899

  21. [21] Pogaku, N., Prodanovic, M., & Green, T. C. (2007). Modeling, analysis and testing of autonomous operation of an inverter-based microgrid. IEEE transactions on power electronics, 22(2), 613–625. https://doi.org/10.1109/TPEL.2006.890003

  22. [22] Katiraei, F., & Iravani, M. R. (2006). Power management strategies for a microgrid with multiple distributed generation units. IEEE transactions on power systems, 21(4), 1821-1831. https://doi.org/10.1109/TPWRS.2006.879260

  23. [23] Zhong, Q.-C., & Weiss, G. (2010). Synchronverters: Inverters that mimic synchronous generators. IEEE transactions on industrial electronics, 58(4), 1259–1267. https://doi.org/10.1109/TIE.2010.2048839

  24. [24] Bevrani, H., Ise, T., & Miura, Y. (2014). Virtual synchronous generators: A survey and new perspectives. International journal of electrical power & energy systems, 54, 244–254. https://doi.org/10.1016/j.ijepes.2013.07.009

  25. [25] Bottrell, N., Prodanovic, M., & Green, T. C. (2013). Dynamic stability of a microgrid with an active load. IEEE transactions on power electronics, 28(11), 5107–5119. https://doi.org/10.1109/TPEL.2013.2241455

  26. [26] Farrokhabadi, M., Canizares, C. A., Simpson-Porco, J. W., Nasr, E., Fan, L., Mendoza-Araya, P. A., ... & Reilly, J. (2019). Microgrid stability definitions, analysis, and examples. IEEE transactions on power systems, 35(1), 13-29. https://doi.org/10.1109/TPWRS.2019.2925703

  27. [27] Daly, P., Flynn, D., & Cunniffe, N. (2015). Inertia considerations within unit commitment and economic dispatch for systems with high non-synchronous penetrations. 2015 IEEE eindhoven powertech (pp. 1-6). IEEE. https://doi.org/10.1109/PTC.2015.7232567

  28. [28] Morais, H., Kádár, P., Faria, P., Vale, Z. A., & Khodr, H. M. (2010). Optimal scheduling of a renewable micro-grid in an isolated load area using mixed-integer linear programming. Renewable energy, 35(1), 151–156. https://doi.org/10.1016/j.renene.2009.02.031

  29. [29] Sumper, A. (2013). Experimental evaluation of a real time energy management system for stand-alone microgrids in day-ahead markets. Applied energy, 106, 365–376. https://doi.org/10.1016/j.apenergy.2013.02.018

  30. [30] Katsigiannis, Y. A., Georgilakis, P. S., & Karapidakis, E. S. (2012). Hybrid simulated annealing-tabu search method for optimal sizing of autonomous power systems with renewables. IEEE transactions on sustainable energy, 3(3), 330–338. https://doi.org/10.1109/TSTE.2012.2184840

  31. [31] Fossati, J. P., Galarza, A., Martín-Villate, A., & Fontan, L. (2015). A method for optimal sizing energy storage systems for microgrids. Renewable energy, 77, 539-549. https://doi.org/10.1016/j.renene.2014.12.039

  32. [32] Abou El Ela, A. A., Abido, M. A., & Spea, S. R. (2010). Optimal power flow using differential evolution algorithm. Electric power systems research, 80(7), 878–885. https://doi.org/10.1016/j.epsr.2009.12.018

  33. [33] Deb, K., Pratap, A., Agarwal, S., & Meyarivan, T. A. M. T. (2002). A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE transactions on evolutionary computation, 6(2), 182-197. https://doi.org/10.1109/4235.996017

  34. [34] Kamankesh, H., Agelidis, V. G., & Kavousi-Fard, A. (2016). Optimal scheduling of renewable micro-grids considering plug-in hybrid electric vehicle charging demand. Energy, 100, 285–297. https://doi.org/10.1016/j.energy.2016.01.063

  35. [35] Soroudi, A., & Amraee, T. (2013). Decision making under uncertainty in energy systems: State of. Renewable and sustainable energy reviews, 28, 376–384. https://doi.org/10.1016/j.rser.2013.08.039

  36. [36] Zhang, Y., Shen, S., & Mathieu, J. L. (2016). Distributionally robust chance-constrained optimal power flow with uncertain renewables and uncertain reserves provided by loads. IEEE transactions on power systems, 32(2), 1378–1388. https://doi.org/10.1109/TPWRS.2016.2572104

  37. [37] Zhao, C., Wang, J., Watson, J. P., & Guan, Y. (2013). Multi-stage robust unit commitment considering wind and demand response uncertainties. IEEE transactions on power systems, 28(3), 2708–2717. https://doi.org/10.1109/TPWRS.2013.2244231

  38. [38] Misyris, G. S., Venzke, A., & Chatzivasileiadis, S. (2020 ). Physics-informed neural networks for power systems. 2020 IEEE power & energy society general meeting (PESGM) (pp. 1-5). IEEE. https://doi.org/10.1109/PESGM41954.2020.9282004

  39. [39] Chen, Y., Huang, D., Zhang, D., Zeng, J., Wang, N., Zhang, H., & Yan, J. (2021). Theory-guided hard constraint projection (HCP): A knowledge-based data-driven scientific machine learning method. Journal of computational physics, 445, 110624. https://doi.org/10.1016/j.jcp.2021.110624

  40. [40] Daw, A., Thomas, R. Q., Carey, C. C., Read, J. S., Appling, A. P., & Karpatne, A. (2020). Physics-guided architecture (PGA) of neural networks for quantifying uncertainty in lake temperature modeling. Proceedings of the 2020 siam international conference on data mining (pp. 532-540). Society for Industrial and Applied Mathematics. https://doi.org/10.1137/1.9781611976236.60

  41. [41] Mirjalili, S., & Lewis, A. (2016). The whale optimization algorithm. Advances in engineering software, 95, 51–67. https://doi.org/10.1016/j.advengsoft.2016.01.008

  42. [42] Singh, N., & Singh, S. B. (2017). Hybrid algorithm of particle swarm optimization and grey wolf optimizer for improving convergence performance. Journal of applied mathematics, 2017(1), 2030489. https://doi.org/10.1155/2017/2030489

  43. [43] Zhang, J., & Sanderson, A. C. (2009). JADE: Adaptive differential evolution with optional external archive. IEEE transactions on evolutionary computation, 13(5), 945–958. https://doi.org/10.1109/TEVC.2009.2014613

  44. [44] Tanabe, R., & Fukunaga, A. (2013). Success-history based parameter adaptation for differential evolution. 2013 IEEE congress on evolutionary computation (pp. 71-78). IEEE. https://doi.org/10.1109/CEC.2013.6557555

  45. [45] Basu, M. (2011). Artificial immune system for dynamic economic dispatch. International journal of electrical power & energy systems, 33(1), 131–136. https://doi.org/10.1016/j.ijepes.2010.06.019

  46. [46] Deb, K. (2000). An efficient constraint handling method for genetic algorithms. Computer methods in applied mechanics and engineering, 186(2–4), 311–338. https://doi.org/10.1016/S0045-7825(99)00389-8

  47. [47] Coello, C. A. C. (2002). Theoretical and numerical constraint-handling techniques used with evolutionary algorithms: A survey of the state of the art. Computer methods in applied mechanics and engineering, 191(11–12), 1245–1287. https://doi.org/10.1016/S0045-7825(01)00323-1

  48. [48] Xu, B., Oudalov, A., Ulbig, A., Andersson, G., & Kirschen, D. S. (2016). Modeling of lithium-ion battery degradation for cell life assessment. IEEE transactions on smart grid, 9(2), 1131–1140. https://doi.org/10.1109/TSG.2016.2578950

  49. [49] Baran, M. E., & Wu, F. F. (1989). Network reconfiguration in distribution systems for loss reduction and load balancing. IEEE transactions on power delivery, 4(2), 1401–1407. https://doi.org/10.1109/61.25627

Published

2024-03-11

How to Cite

Abdelrahman, T., & Nurhaliza, S. (2024). Physics-Informed Metaheuristic Optimization of Distributed Renewable Microgrid Stability. Metaheuristic Algorithms With Applications, 1(1), 51-73. https://doi.org/10.48313/maa.v1i1.69

Similar Articles

21-27 of 27

You may also start an advanced similarity search for this article.