Power grid stability prediction using stacked machine learning based classification and regression models
Uma Rani V1, Jebamalar Tamilselvi J 2, Karthika RN3, Deepa J4 and Hemavathy P5
Associate Professor, Department of Cybersecurity, Faculty of Science and Humanities,SRM Institute of Science and Technology, Ramapuram, Chennai,Tamil Nadu,India2
Assistant Professor, Department of Information Technology,Saveetha Engineering College, Chennai,Tamil Nadu,India3
Assistant Professor, Department of Information Technology,Vel Tech Rangarajan Dr. Sagunthala R&D Institute of Science and Technology,Tamil Nadu,India4
Assistant Professor, Department of Computer Science and Engineering,Saveetha Engineering College, Chennai,Tamil Nadu,India5
Corresponding Author : Uma Rani V
Recieved : 29-Oct-2024; Revised : 25-Jan-2026; Accepted : 27-Jan-2026
Abstract
Electrical power grid stability (EPGS) is critical for the reliable transmission and distribution of electricity and for preventing power outages. Consequently, the timely identification of potential grid disturbances, optimal resource allocation, and the implementation of proactive maintenance and stability control strategies are essential. This study aims to predict power grid stability using a hybrid stacked machine learning (ML) framework. The proposed approach develops a stacked ensemble classification model comprising ten different ML classifiers, along with a separate stacked regression model built using ten regression algorithms. The framework effectively captures complex relationships among multiple influencing factors, including load demand, frequency variations, and voltage stability. Advanced data preprocessing techniques—such as correlation analysis, multicollinearity assessment, and principal component analysis (PCA)—are employed to enhance data quality and improve feature interpretability. Experimental results demonstrate that the proposed stacked model achieves high predictive performance, with a classification accuracy of 0.95, an F1-score of 0.94, and strong regression performance, reflected by an R² score of 0.9412 across all base ML models. Furthermore, local interpretable model-agnostic explanations (LIME) and Shapley Additive exPlanations (SHAP) are integrated to provide both local and global interpretability, enabling transparent decision-making for EPGS prediction and identifying the key features influencing grid stability.
Keywords
Power grid stability, Stacked ensemble learning, Machine learning, Explainable artificial intelligence, LIME and SHAP, Feature engineering.
Cite this article
V UR, J JT, RN K, J D, P H. Power grid stability prediction using stacked machine learning based classification and regression models. International Journal of Advanced Technology and Engineering Exploration. 2026;13(134):144-159. DOI : 10.19101/IJATEE.2024.111101957
References
[1] Grieser IN, Gebhard T, Tundis A, Kersten J, Elssner T, Steinke F. Modeling and monitoring social media dynamics to predict electricity demand peaks. Energy Reports. 2025; 13:1548-57.
[2] Razak TR, Ismail MH, Darus MY, Jarimi H, Su Y. Artificial intelligence in renewable energy: a systematic review of trends in solar, wind, and smart grid applications. Research and Reviews in Sustainability. 2025; 1(1):1-22.
[3] Alhamrouni I, Abdul KNH, Salem M, Swadi M, Zahroui Y, Kadhim DJ, et al. A comprehensive review on the role of artificial intelligence in power system stability, control, and protection: insights and future directions. Applied Sciences. 2024; 14(14):1-39.
[4] Kumar KJ, Revathi V, Seng GH. Smart grid stability prediction using binary manta ray foraging-based machine learning. In green machine learning and big data for smart grids 2025 (pp. 79-97). Elsevier.
[5] Karpaga PR, Kavitha S, Malathi M, Sinthia P, Suresh KK. Single-phase bi-directional AC/DC converters for fast DC bus voltage controller. In international conference on emerging trends in expert applications & security 2023 (pp. 33-44). Singapore: Springer Nature Singapore.
[6] Hossain MS, Abido MA. Stability prediction in sustainable energy systems using machine learning models. Franklin Open. 2025; 11:1-7.
[7] Manonmani A, Sarigasri A, Brindha G. Green energy charging station. In disruptive technologies for sustainable development 2024 (pp. 187-90). CRC Press.
[8] Balamurugan M, Narayanan K, Raghu N, Arjun KGB, Trupti VN. Role of artificial intelligence in smart grid–a mini review. Frontiers in Artificial Intelligence. 2025; 8:1-7.
[9] Ejiyi CJ, Cai D, Thomas D, Obiora S, Osei-mensah E, Acen C, et al. Comprehensive review of artificial intelligence applications in renewable energy systems: current implementations and emerging trends. Journal of Big Data. 2025; 12(1):1-52.
[10] Mohsen S, Bajaj M, Kotb H, Pushkarna M, Alphonse S, Ghoneim SS. Efficient artificial neural network for smart grid stability prediction. International Transactions on Electrical Energy Systems. 2023; 2023(1):1-13.
[11] Guna G, Rani VA, Manonmani A, Yuvaraj P, Priya JS, Ambika A. Efficient design and analysis of inverse definite minimum time overcurrent relay: a matlab approach. In international conference on power, energy, control and transmission systems (ICPECTS) 2024 (pp. 1-5). IEEE.
[12] Cifci A. Interpretable prediction of a decentralized smart grid based on machine learning and explainable artificial intelligence. IEEE Access. 2025; 13:36285-305.
[13] Alaerjan A, Jabeur R. An online learning method for assessing smart grid stability under dynamic perturbations. Scientific Reports. 2025; 15(1):1-15.
[14] Awujoola JO, Enem TA, Owolabi JA, Akusu OC, Abioye O, Adelegan RO. Machine learning and predictive maintenance in smart grids. In AI and blockchain in smart grids 2025 (pp. 14-49). Auerbach Publications.
[15] Meridji T, Joós G, Restrepo J. A power system stability assessment framework using machine-learning. Electric Power Systems Research. 2023; 216:1-12.
[16] Li Y, Ding Y, He S, Hu F, Duan J, Wen G, et al. Artificial intelligence-based methods for renewable power system operation. Nature Reviews Electrical Engineering. 2024; 1(3):163-79.
[17] Sami NM, Naeini M. Machine learning applications in cascading failure analysis in power systems: a review. Electric Power Systems Research. 2024; 232:1-12.
[18] Titz M, Kaiser F, Kruse J, Witthaut D. Predicting dynamic stability from static features in power grid models using machine learning. Chaos: an Interdisciplinary Journal of Nonlinear Science. 2024; 34(1):013139.
[19] Lilhore UK, Dalal S, Radulescu M, Barbulescu M. Smart grid stability prediction model using two-way attention-based hybrid deep learning and MPSO. Energy Exploration & Exploitation. 2025; 43(1):142-68.
[20] Wang J, Ren Q, Wang L, He X, Zhao H. MSTM: multiscale spatio-temporal modeling for power grid line loss prediction. International Journal of High Speed Electronics and Systems. 2025: 2540323.
[21] Padmaja SM, Kumar A, Dhanesh L, Kamesh VV, Geetha H, Ramya D, et al. Stability and reliability analysis for multiple WT using deep reinforcement learning. Electric Power Components and Systems. 2024; 52(2):308-21.
[22] Danach K, Aly WH, Kanj H. Machine learning for smart grid stability: enhancing reliability in renewable energy integration. European Journal of Pure and Applied Mathematics. 2025; 18(2):1-20.
[23] Wang S, Huang Y. Spatio-temporal photovoltaic prediction via a convolutional based hybrid network. Computers and Electrical Engineering. 2025; 123:1-16.
[24] Lahon P, Kandali AB, Barman U, Konwar RJ, Saha D, Saikia MJ. Deep neural network-based smart grid stability analysis: enhancing grid resilience and performance. Energies. 2024; 17(11):1-17.
[25] Managre J, Gupta N. Demonstrate the predictive model of machine learning in smart grids to process large electricity data according to power demand and supply. Procedia Computer Science. 2025; 259:376-85.
[26] Aygul K, Srivastava AK, Genc I. Real-time transient stability prediction in power systems using ensemble learning and dynamic state estimation. IEEE Access. 2025; 13:31239-56.
[27] Qays MO, Ahmad I, Habibi D, Masoum MA. Forecasting data-driven system strength level for inverter-based resources-integrated weak grid systems using multi-objective machine learning algorithms. Electric Power Systems Research. 2025; 238:1-11.
[28] Alsharabi K, Bin SY, Aljalal M, Abdurraqeeb AM, Alturki FA. Long-term forecasting of solar irradiation in Riyadh, Saudi Arabia, using machine learning techniques. Big Data and Cognitive Computing. 2025; 9(2):1-30.
[29] Ilić D, Žarković M. Machine learning for power generator condition assessment. Electrical Engineering. 2024; 106(3):2691-703.
[30] Massaoudi M, Abu-rub H, Refaat SS, Chihi I, Oueslati FS. An effective ensemble learning approach-based grid stability assessment and classification. In Kansas power and energy conference (KPEC) 2021 (pp. 1-6). IEEE.
[31] Ch S, Chidambaram IA, Manikandan M. Hybrid renewable energy system with high gain modified Z-source boost converter for grid-tied applications. Problemele Energetiii Regionale. 2023:39-54.
[32] Dipto DR, Shib SK, Rahman MT, Shufian A. Predictive analysis of smart grid stability using diverse machine learning algorithms. In 4th international conference on robotics, electrical and signal processing techniques (ICREST) 2025 (pp. 307-11). IEEE.
[33] Grandón TG, Schwenzer J, Steens T, Breuing J. Electricity demand forecasting with hybrid classical statistical and machine learning algorithms: case study of Ukraine. Applied Energy. 2024; 355:1-12.
[34] Yaacoub JP, Noura HN, Salman O, Chahine K. Toward secure smart grid systems: risks, threats, challenges, and future directions. Future Internet. 2025; 17(7):1-87.
[35] Omomule TG, Oladejo SO, Babalola OP, Davidson I. Electrical grid stability prediction with in-bag and out-of-bag estimates on imbalanced dataset. In 33rd southern African universities power engineering conference (SAUPEC) 2025 (pp. 1-6). IEEE.
[36] Djukanovic MB, Popovic DP, Sobajic DJ, Pao YH. Prediction of power system frequency response after generator outages using neural nets. In proceedings C (generation, transmission and distribution) 1993 (pp. 389-98). IEE.
[37] Khan MR, Khan MR, Tonmoy DS. RBMET: a new machine learning approach for predicting grid stability in the electric grids. In 26th international conference on computer and information technology (ICCIT) 2023 (pp. 1-6). IEEE.
