Advancing Smart Grid Security and Stability Through Machine Learning Techniques

Advancing Smart Grid Security and Stability Through Machine Learning Techniques

Nayeemuddin MOHAMMED, Hiren MEWADA, Tasneem SULTANA, Syam Sundar LINGALA

Abstract. Smart grids with increased operational efficiency and bidirectional energy flows.. Resilience has been developed as a result of a complete shift in the responsibilities of energy market participants. The transition from a traditional energy ecosystem to a more dynamic system, in which end users can both consume and produce energy, has led to more dynamic interactions. The redundant stability ensures that power stays in the range, maintaining safe infrastructure. To determine the stability, three different machine learning algorithms were employed and compared. The results reveal that the Random Forest model achieved an R² of 0.99647 on training and 0.97143 on testing. The Gradient Boosting model achieves a score of 0.9848 for training and 0.98 for testing. In addition, the Bayesian Ridge model performed well, with 0.9963 on training and 0.971 on testing. These results also indicate that Random Forest performed consistently across all. GB and Bayesian Ridge perform well with slightly higher error rates than RF. In addition, new and advance methods of energy management and distribution are required, utilizing more sophisticated technologies, such as advance machine learning, deep learning to enhance grid stability and predictability to incorporate renewable energy.

Keywords
Grids, Stability, Prediction, Reliability, Security, Algorithm, Training, Testing

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: Nayeemuddin MOHAMMED, Hiren MEWADA, Tasneem SULTANA, Syam Sundar LINGALA, Advancing Smart Grid Security and Stability Through Machine Learning Techniques, Materials Research Proceedings, Vol. 64, pp 268-275, 2026

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

The article was published as article 33 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] Massoud Amin S (2011) Smart Grid: Overview, Issues and Opportunities. Advances and Challenges in Sensing, Modeling, Simulation, Optimization and Control. European Journal of Control 17:547–567. https://doi.org/10.3166/ejc.17.547-567
[2] khan S, Mazhar T, Shahzad T, et al (2025) Integration of smart grid with Industry 5.0: Applications, challenges and solutions. Measurement: Energy 5:100031. https://doi.org/10.1016/j.meaene.2024.100031
[3] Cavus M (2025) Advancing Power Systems with Renewable Energy and Intelligent Technologies: A Comprehensive Review on Grid Transformation and Integration. Electronics 14:1159. https://doi.org/10.3390/electronics14061159
[4] Breviglieri P, Erdem T, Eken S (2021) Predicting Smart Grid Stability with Optimized Deep Models. SN COMPUT SCI 2:73. https://doi.org/10.1007/s42979-021-00463-5
[5] Bashir AK, Khan S, Prabadevi B, et al (2021) Comparative analysis of machine learning algorithms for prediction of smart grid stability. International Transactions on Electrical Energy Systems 31:e12706. https://doi.org/10.1002/2050-7038.12706
[6] Mohsen S, Bajaj M, Kotb H, et al (2023) Efficient Artificial Neural Network for Smart Grid Stability Prediction. International Transactions on Electrical Energy Systems 2023:9974409. https://doi.org/10.1155/2023/9974409
[7] Önder M, Dogan MU, Polat K (2023) Classification of smart grid stability prediction using cascade machine learning methods and the internet of things in smart grid. Neural Comput & Applic 35:17851–17869. https://doi.org/10.1007/s00521-023-08605-x
[8] Bashir AK, Khan S, Prabadevi B, et al (2021) Comparative analysis of machine learning algorithms for prediction of smart grid stability†. Int Trans Electr Energ Syst 31:. https://doi.org/10.1002/2050-7038.12706
[9] Lahon P, Kandali AB, Barman U, et al (2024) Deep Neural Network-Based Smart Grid Stability Analysis: Enhancing Grid Resilience and Performance. Energies 17:2642. https://doi.org/10.3390/en17112642
[10] Marevac E, Kadusic E, Ruland C, Zivic N (2024) Application of Deep Learning and Neural Networks for Smart Grid Stability Predictions. In: 2024 IEEE 12th International Conference on Smart Energy Grid Engineering (SEGE). pp 84–89
[11] Khaleefah SH, Mostafa SA, Gunasekaran SS, et al (2024) Optimizing Smart Power Grid Stability Based on the Prediction of a Deep Learning Model. JOIV : International Journal on Informatics Visualization 8:1091–1098. https://doi.org/10.62527/joiv.8.3.2758
[12] Tang X, Wang J (2025) Deep Reinforcement Learning-Based Multi-Objective Optimization for Virtual Power Plants and Smart Grids: Maximizing Renewable Energy Integration and Grid Efficiency. Processes 13:1809. https://doi.org/10.3390/pr13061809
[13] Talukdar A, Panda B, Hota S, et al (2024) Intelligent Solar Power Forecast with Machine Learning
[14] Nayeemuddin M, andi asiz, Mohammad AK, et al (2024) A comprehensive review on computing methods for the prediction of energy cost in Kingdom of Saudi Arabia. In: Materials Research Proceedings. pp 156–163
[15] Nayeemuddin M, PALANIANDYA P, Shaik F, Mewada H (2023) Experimental and computational analysis for optimization of seawater biodegradability using photo catalysis. IIUM Engineering Journal 24:11–33