A Machine Learning-Based Early Warning System for Electricity Outage Due to Extreme Weather
##plugins.themes.academic_pro.article.main##
Abstract
Electricity is a critical resource that supports various sectors in Indonesia, especially during extreme weather. Outages have become serious for operational risks during extreme weather. This study proposes a machine learning-based early warning system to predict electricity outages caused by extreme weather. Historical weather and outage data were combined using spatial alignment. Key innovation of this study involved geospatial feature enrichment via HDBSCAN, Yeo-Johnson transformation, robust scaling, and class resampling using SMOTE, ADASYN, and SMOTE-ENN. Four ensemble classification models (Random Forest, XGBoost, AdaBoost, and LightGBM) were evaluated. LightGBM with SMOTE yielded the highest recall (0.99) and the fewest false negatives. These findings suggest a solution for a proactive early warning system risk mitigation in electricity under extreme weather conditions.
##plugins.themes.academic_pro.article.details##

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
[2] C. M. Furse, M. Kafal, R. Razzaghi, and Y. J. Shin, “Fault Diagnosis for Electrical Systems and Power Networks: A Review,” IEEE Sens J, vol. 21, no. 2, pp. 888–906, Jan. 2021, doi: 10.1109/JSEN.2020.2987321.
[3] A. M. Brockway and L. N. Dunn, “Weathering adaptation: Grid infrastructure planning in a changing climate,” Jan. 01, 2020, Elsevier B.V. doi: 10.1016/j.crm.2020.100256.
[4] K. Alexakis, A. Michalitsi-Psarrou, D. Papaleloudis, P. Kokkinakos, and D. Askounis, “Proactive Alerting Solution: An LSTM Model for Power Outage Forecasting in Chalki, Greece,” in Proceedings of the 30th ICE IEEE/ITMC Conference on Engineering, Technology, and Innovation: Digital Transformation on Engineering, Technology and Innovation, ICE 2024, Institute of Electrical and Electronics Engineers Inc., 2024. doi: 10.1109/ICE/ITMC61926.2024.10794288.
[5] P. Chang, B. Tian, G. Li, Y. Sun, and H. Gao, “Prediction of Power Grid Line Faults Under Cold Wave Weather Based on Hybrid Model of XGBoost and LSTM,” in 2024 4th International Conference on Intelligent Power and Systems, ICIPS 2024, Institute of Electrical and Electronics Engineers Inc., 2024, pp. 400–406. doi: 10.1109/ICIPS64173.2024.10900043.
[6] X. Wang, W. Liu, F. Ding, Y. Yao, and J. Zhao, “Preventive Power Outage Estimation Based on A Novel Scenario Clustering Strategy,” in IEEE Power and Energy Society General Meeting, IEEE Computer Society, 2024. doi: 10.1109/PESGM51994.2024.10760283.
[7] K. R. Saunders, A. G. Stephenson, and D. J. Karoly, “A regionalisation approach for rainfall based on extremal dependence,” Extremes (Boston), vol. 24, no. 2, pp. 215–240, Jun. 2021, doi: 10.1007/s10687-020-00395-y.
[8] S. Das and B. Khan, “Synergistic Deep Learning Framework for Forecasting Power Outages,” Feb. 26, 2025. doi: 10.36227/techrxiv.174058858.84414705/v1.
[9] N. Anggraini, S. J. Putra, L. K. Wardhani, F. D. U. Arif, N. Hakiem, and I. M. Shofi, “A Comparative Analysis of Random Forest, XGBoost, and LightGBM Algorithms for Emotion Classification in Reddit Comments,” JURNAL TEKNIK INFORMATIKA, vol. 17, no. 1, pp. 88–97, May 2024, doi: 10.15408/jti.v17i1.38651.
[10] B. Ghasemkhani et al., “Machine Learning Model Development to Predict Power Outage Duration (POD): A Case Study for Electric Utilities,” Sensors, vol. 24, no. 13, Jul. 2024, doi: 10.3390/s24134313.
[11] M. Abdelsattar, A. AbdelMoety, and A. Emad-Eldeen, “Advanced machine learning techniques for predicting power generation and fault detection in solar photovoltaic systems,” Neural Comput Appl, May 2025, doi: 10.1007/s00521-025-11035-6.
[12] J. Raymaekers and P. J. Rousseeuw, “Transforming variables to central normality,” Mach Learn, vol. 113, no. 8, pp. 4953–4975, Aug. 2024, doi: 10.1007/s10994-021-05960-5.
[13] A. C. Atkinson, M. Riani, and A. Corbellini, “The Box–Cox Transformation: Review and Extensions,” Statistical Science, vol. 36, no. 2, pp. 239–255, 2021, doi: 10.1214/20-STS778.
[14] A. Shareef, H. Taha Mohammed Ali, and A. Adil Shareef, “ON SELECTING POWER TRANSFORMATION PARAMETERS WITH THE PRESENCE OF AN OUTLIER”, doi: 10.5281/zenodo.8285749.
[15] M. Riani, A. C. Atkinson, and A. Corbellini, “Automatic robust Box–Cox and extended Yeo–Johnson transformations in regression,” Stat Methods Appt, vol. 32, no. 1, pp. 75–102, Mar. 2023, doi: 10.1007/s10260-022-00640-7.
[16] P. Röchner, H. O. Marques, R. J. G. B. Campello, A. Zimek, and F. Rothlauf, “Robust Statistical Scaling of Outlier Scores: Improving the Quality of Outlier Probabilities for Outliers (Extended Version),” Aug. 2024, doi: 10.1007/978-3-031-75823-2_18.
[17] Y. Han and I. Joe, “Enhancing Machine Learning Models Through PCA, SMOTE-ENN, and Stochastic Weighted Averaging,” Applied Sciences (Switzerland), vol. 14, no. 21, Nov. 2024, doi: 10.3390/app14219772.
[18] F. Ahmed and R. Shamsuddin, “A comparative study of credit card fraud detection using the combination of machine learning techniques with data imbalance solution,” in Proceedings - 2021 2nd International Conference on Computing and Data Science, CDS 2021, Institute of Electrical and Electronics Engineers Inc., Jan. 2021, pp. 112–118. doi: 10.1109/CDS52072.2021.00026.
[19] A. M. Halim, M. Dwifebri, and F. Nhita, “Handling Imbalanced Data Sets Using SMOTE and ADASYN to Improve Classification Performance of Ecoli Data Sets,” Building of Informatics, Technology and Science (BITS), vol. 5, no. 1, Jun. 2023, doi: 10.47065/bits.v5i1.3647.
[20] X. Jiang and Z. Ge, “Data Augmentation Classifier for Imbalanced Fault Classification,” IEEE Transactions on Automation Science and Engineering, vol. 18, no. 3, pp. 1206–1217, Jul. 2021, doi: 10.1109/TASE.2020.2998467.
[21] K. Umam Syaliman, “http://infor.seaninstitute.org/index.php/infokum/index INFOKUM is licensed under a Creative Commons Attribution-Non Commercial 4.0 International License (CC BY-NC 4.0) ENHANCE THE ACCURACY OF K-NEAREST NEIGHBOR (K-NN) FOR UNBALANCED CLASS DATA USING SYNTHETIC MINORITY OVERSAMPLING TECHNIQUE (SMOTE) AND GAIN RATIO (GR),” JURNAL INFOKUM, vol. 10, no. 1, 2021, [Online]. Available: http://infor.seaninstitute.org/index.php/infokum/index
[22] D. Salifu, L. Chepkemoi, E. A. Ibrahim, K. Nkoba, and H. E. Z. Tonnang, “Data Augmentation and Machine Learning algorithms for multi-class imbalanced morphometrics data of stingless bees,” Heliyon, vol. 11, no. 3, p. e42214, 2025, doi: https://doi.org/10.1016/j.heliyon.2025.e42214.
[23] R. Bounab, K. Zarour, B. Guelib, and N. Khlifa, “Enhancing Medicare Fraud Detection Through Machine Learning: Addressing Class Imbalance With SMOTE-ENN,” IEEE Access, vol. 12, pp. 54382–54396, 2024, doi: 10.1109/ACCESS.2024.3385781.
[24] G. Husain et al., “SMOTE vs. SMOTEENN: A Study on the Performance of Resampling Algorithms for Addressing Class Imbalance in Regression Models,” Algorithms, vol. 18, no. 1, Jan. 2025, doi: 10.3390/a18010037.
[25] Z. M. Alhakeem, Y. M. Jebur, S. N. Henedy, H. Imran, L. F. A. Bernardo, and H. M. Hussein, “Prediction of Ecofriendly Concrete Compressive Strength Using Gradient Boosting Regression Tree Combined with GridSearchCV Hyperparameter-Optimization Techniques,” Materials, vol. 15, no. 21, Nov. 2022, doi: 10.3390/ma15217432.
[26] Open-Meteo.com, “Weather Forecast API,” Open-Meteo.com.
[27] M. Imani, A. Beikmohammadi, and H. R. Arabnia, “Comprehensive Analysis of Random Forest and XGBoost Performance with SMOTE, ADASYN, and GNUS Under Varying Imbalance Levels,” Technologies (Basel), vol. 13, no. 3, Mar. 2025, doi: 10.3390/technologies13030088.
[28] W. Shan, D. Li, S. Liu, M. Song, S. Xiao, and H. Zhang, “A random feature mapping method based on the AdaBoost algorithm and results fusion for enhancing classification performance,” Expert Syst Appl, vol. 256, Dec. 2024, doi: 10.1016/j.eswa.2024.124902.
[29] W. Tao, Z. Sun, Z. Yang, B. Liang, G. Wang, and S. Xiao, “Transformer fault diagnosis technology based on AdaBoost enhanced transferred convolutional neural network,” Expert Syst Appl, vol. 264, Mar. 2025, doi: 10.1016/j.eswa.2024.125972.
[30] S. Meng, Z. Shi, C. Xia, C. Zhou, and Y. Zhao, “Exploring LightGBM-SHAP: Interpretable predictive modeling for concrete strength under high temperature conditions,” Structures, vol. 71, Jan. 2025, doi: 10.1016/j.istruc.2024.108134.
[31] E. Lodhi, F. Y. Wang, G. Xiong, A. Dilawar, T. S. Tamir, and H. Ali, “An AdaBoost Ensemble Model for Fault Detection and Classification in Photovoltaic Arrays,” IEEE Journal of Radio Frequency Identification, vol. 6, pp. 794–800, 2022, doi: 10.1109/JRFID.2022.3212310.