AI-Driven Stability Prediction of Renewable Electrical Networks with Green Hydrogen Integration

Safaa ESSAID, Loubna LAZRAK

Abstract. This paper presents a data-driven framework to assess the impact of green hydrogen integration on the voltage stability of a part of the Moroccan electrical transmission network. The main contribution lies in modeling green hydrogen as a long-duration energy storage system capable of absorbing surplus solar and wind generation and reinjecting it into the grid to enhance voltage stability under high renewable penetration. A time-series power flow methodology, implemented in Python using the pandapower library, is developed to generate a large dataset based on voltage criteria. This dataset is then used to train and evaluate four machine learning models (RBF-SVM, Random Forest, QDA and Naive Bayes) through confusion matrices and standard performance metrics. The comparative results indicate that the RBF-SVM model clearly outperforms the other classifiers across all evaluation metrics, including accuracy, precision, recall and F1-score. Beyond model performance, the proposed approach introduces an integrated framework that combines hydrogen-based long-term energy storage modeling with machine learning–based stability prediction.

Keywords
Green Hydrogen Integration, Energy Storage, Voltage Stability, Renewable Energy, Machine Learning, Stability prediction, Radial Basis Function Support Vector Machine RBF SVM, Random Forest, Quadratic Discriminant Analysis QDA, Naive Bayes

Published online 4/25/2026, 8 pages
Copyright © 2026 by the author(s)
Published under license by Materials Research Forum LLC., Millersville PA, USA

Citation: Safaa ESSAID, Loubna LAZRAK, AI-Driven Stability Prediction of Renewable Electrical Networks with Green Hydrogen Integration, Materials Research Proceedings, Vol. 64, pp 832-839, 2026

DOI: https://doi.org/10.21741/9781644904091-103

The article was published as article 103 of the book Energy Futures

Content from this work may be used under the terms of the Creative Commons Attribution 3.0 license. Any further distribution of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.

References
[1] S. Essaid, Renewable energy impact integration in Moroccan grid-load flow analysis, International Journal of Electrical and Computer Engineering, August 2025, pp. 3632–3648. https://doi.org/10.11591/ijece.v15i4.pp3632-3648
[2] J. Barba, Integrating Hydrogen into Power Systems: A Comprehensive Review, Sustainability, 17(13), 6117, 2025. https://doi.org/10.3390/su17136117
[3] Danish, M.; Kanwal, S.; Perwez, U.; Iftikhar, S.H.; Ahmed, B.A.; Hakeem, A.S.; Askar, K.
“A comprehensive review of green hydrogen-based hybrid energy systems: Technologies, evaluation, and process safety.” Energy Reviews, Vol. 4, No. 3, Article 100154, Sep. 2025.https://doi.org/10.1016/j.enrev.2025.100154
[4] B. Boukhchina, M. Hamdi, S. El Alimi, Power-to-hydrogen: A review of applications, market development, and policy landscape, AIMS Energy, 13(3), 696–731, 2025. https://doi.org/10.3934/energy.2025025
[5] Y. Zhai, Y. He, J. Shao, W. Zhang, X. Tong, Z. Wang, W. Weng, Review of Hydrogen-Driven Power-to-X Technology and Application Status in China, Processes, 12(7), 1518, 2024. https://doi.org/10.3390/pr12071518
[6] K. Kwon, H.-B. Lee, N. Kim, S. Park, S. R. Joshua, Integrated Battery and Hydrogen Energy Storage for Enhanced Grid Power Savings and Green Hydrogen Utilization, Applied Sciences, 14(17), 7631, 2024. https://doi.org/10.3390/app14177631
[7] M. Wong, H. N. Afrouzi, Hydrogen Energy Storage System: Review on Recent Progress, Energy Engineering, 122(1), 1–39, 2025. https://doi.org/10.32604/ee.2024.056707
[8] Karol, V., “Review of Energy Storage Devices: Fuel Cells, Hydrogen Storage Fuel Cells, Rechargeable Batteries, PV Solar Cells” in Materials for Boosting Energy Storage. Volume 3, ACS Books/Chapters, 2024. Chapter 1. https://doi.org/10.1021/bk-2024-1488.ch001
[9] R. Cozzolino, G. Hervàs, A. J. N. Pérez, et al., A review of electrolyzer-based systems providing grid ancillary services: current status, market, challenges and future directions, Frontiers in Energy Research, 12, 1358333, 2024. https://doi.org/10.3389/fenrg.2024.1358333
[10] Mekonnin A. S.; Wacławiak K.; Humayun M.; Zhang S.; Ullah H. Hydrogen Storage Technology, and Its Challenges: A Review. Catalysts 2025, 15(3), 260.https://doi.org/10.3390/catal15030260
[11] Y. Che, “Hydrogen Storage Systems for Renewable Energy: Technologies, Challenges, and Future Prospects,” Technology & Engineering, Article 2735, 2025. https://doi.org/10.61173/n3zd4421
[12] Pera, L.; Gandiglio, M.; Marocco, P. Techno-Economic Assessment of Hydrogen-Based Power-to-Power Systems: Operational Strategies and Feasibility Within Energy Communities. Energies 2025, 18(13), 3254. https://doi.org/10.3390/en18133254
[13] Genovese, M., Schlüter, A., Scionti, E., Piraino, F., Corigliano, O., Fragiacomo, P.
“Power-to-hydrogen and hydrogen-to-X energy systems for the industry of the future in Europe,” International Journal of Hydrogen Energy, 48(3), 2023, Article S0360319923003889. https://doi.org/10.1016/j.ijhydene.2023.01.194
[14] Danish, M.; Kanwal, S.; Perwez, U.; Iftikhar, S. H.; Ahmed, B. A.; Hakeem, A. S.; Askar, K.
“AI-Enabled Smart Hybrid Energy Optimization Management System for Green Hydrogen-Based Islanded Microgrids,” in Proceedings of NILES 2024, IEEE, 2024. https://doi.org/10.1109/NILES63360.2024.10753178
[15] Qi, N., Huang, K., Fan, Z., Xu, B., “Long-Term Energy Management for Microgrid with Hybrid Hydrogen-Battery Energy Storage: A Prediction-Free Coordinated Optimization Framework”, arXiv preprint arXiv:2407.21698, 2024. https://doi.org/10.48550/arXiv.2407.21698
[16] Y. Zheng, J. Jia, D. An, Energy management for microgrids with hybrid hydrogen–battery storage: a reinforcement learning framework Integrated Multi-Objective Dynamic Regulation, Processes, 13(8), 2558, 2025. https://doi.org/10.3390/pr13082558
[17] Maior C. B., “Machine learning for hydrogen storage applications: An exploration of the current literature” International Journal of Hydrogen Energy, 50(5), 2025, Article S0360319925032173. https://doi.org/10.1016/j.ijhydene.2025.150219
[18] C. Cortes, V. Vapnik, Support-vector networks, Machine Learning 20 (1995) 273-297. https://doi.org/10.1007/BF00994018
[19] L. Breiman, Random forests, Machine Learning 45 (2001) 5-32. https://doi.org/10.1023/A:1010933404324
[20] T. Hastie, R. Tibshirani, J. Friedman, The Elements of Statistical Learning: Data Mining, Inference, and Prediction, second ed., Springer, New York, 2009. https://doi.org/10.1007/978-0-387-84858-7
[21] P. Domingos, M. Pazzani, On the Optimality of the Simple Bayesian Classifier under Zero-One Loss, Machine Learning 29 (1997) 103-130. https://doi.org/10.1023/A:1007413511361