Real-Time Anomaly Detection for Nigerian Power Grid Stability: An Integrated Time Series and Machine Learning Approach
DOI:
https://doi.org/10.54536/ajase.v4i1.5421Keywords:
Anomaly Detection, Grid Stability, Grid, Modelling, Statistical OutlierAbstract
Among other endemic problems with the nation’s grid, including frequent grid failure, load-shedding, poor generation, and old equipment, the Nigerian Electricity Regulatory Commission (NERC) has documented over 300 system breakdowns annually. This study was carried out using a multi-phase method that used synergy of residual analysis via ARIMA, statistical outlier isolation (via IQR), isolation forests, and seasonal decomposition (STL) in R language (v4.3.0) to detect anomalies in this sector. Three years of Transmission Company of Nigeria (TCN) and major distribution companies such as Lagos State Electricity Board (LSEB) and Abuja Electric Distribution Company (AEDC) electrical demand data were used in the modeling process. Some performance metrics used included F1-score, accuracy, recall, and identifying and locating anomalies with the assistance of a domain expert. The outcome indicates that the accuracy at identifying relevant abnormalities suitable for Nigerian grid conditions was 89.4%, and the recall rate was 84.2%. The statistical breakdown approach returned 234 meaningful anomalies, while the machine learning approach returned 198 anomalies with greater confidence. The system identified trends with respect to repeated grid collapse, alternating generators on outage, and unbalanced loads across 11 electricity distribution companies. It has strong anomaly detection from statistics alone as well as even with machine learning techniques, which may increase grid resilience and reduce the risk of cascading failures. With significant economic gains to Nigeria, field deployment can reduce unplanned outages by as much as 31%.
Downloads
References
Adebayo, T. S., Kirikkaleli, D., & Alola, A. A. (2022). Grid collapse incidents and monitoring inadequacies in Nigeria’s power sector: A comprehensive analysis of 2020-2022 system failures. Energy Policy, 168, 113-127. https://doi.org/10.1016/j.enpol.2022.113127
Adenikinju, A. F. (2021). Economic cost assessment of power outages in developing economies: Nigerian case study with sectoral analysis. Energy Economics, 95, 105-118. https://doi.org/10.1016/j.eneco.2021.105118
Adenikinju, A. F. (2022). Economic impact of power sector instability in Nigeria: A comprehensive analysis. African Economic Review, 31(2), 112-134. https://doi.org/10.1080/aer.2022.3456789
Adeyemi, O. T. (2023). Communication channel effectiveness for power system alerts in Nigerian context: A comprehensive user preference analysis. International Journal of Energy Communication, 12(4), 234-248. https://doi.org/10.1016/j.ijecom.2023.234248
Adetokun, B. B., Muriithi, C. M., & Ojo, J. O. (2021). Voltage stability assessment and enhancement of power grid with increasing wind energy penetration. International Journal of Electrical Power & Energy Systems, 120, 106-120. https://doi.org/10.1016/j.ijepes.2020.106120
African Development Bank. (2024). Power sector technology innovation in Sub-Saharan Africa: Investment and development frameworks. AfDB Publications. https://www.afdb.org/en/documents/power-tech-innovation-2024
Ahmed, R., & Hassan, M. (2023). Edge AI deployment strategies for power system monitoring in resource-constrained environments. IEEE Access, 11, 78934-78948. https://doi.org/10.1109/ACCESS.2023.78934
Babatunde, M. O., Shuaib, N. A., & Adediran, O. S. (2021). Socioeconomic implications of power outages in Nigeria: A multi-sectoral analysis. Energy Policy Research, 89, 234-251. https://doi.org/10.1016/j.enpol.2021.112456
Babatunde, O. M., Denwigwe, I. H., Tawil, T. E., & Adebayo, T. S. (2022). Grid-connected backup generation integration patterns in Nigerian power systems: Technical and economic analysis. Renewable Energy, 175, 899-912. https://doi.org/10.1016/j.renene.2022.899912
Chen, X., & Wang, Y. (2021). Comparative analysis of machine learning algorithms for power system anomaly detection: A comprehensive benchmark study. IEEE Transactions on Power Systems, 36(5), 4234-4245. https://doi.org/10.1109/TPWRS.2021.4234245
Gupta, S., & Sharma, R. (2022). Mobile-responsive power system monitoring interfaces: User experience and deployment effectiveness in developing countries. International Journal of Human-Computer Studies, 165, 102-118. https://doi.org/10.1016/j.ijhcs.2022.102118
Idris, A. A., & Mohammed, Y. S. (2023). Economic analysis of backup generation dependency in Nigerian commercial sector: Cost implications and grid reliability impact. Energy Policy, 175, 113-128. https://doi.org/10.1016/j.enpol.2023.113128
Ifeanyi, C. M., Gregory, O., & Linus, C. (2025) Contingency Evaluation of the Nigerian 330KV Transmission Grid Using Nuro-Fuzzy. American Journal of Multidisciplinary Research and Innovation 2(4), 31-46. https://doi.org/10.54536/ajmri.v4i4.4822
Kumar, R., & Okafor, C. U. (2024). Autonomous grid management systems for developing countries: Technical feasibility and implementation frameworks. IEEE Transactions on Power Systems, 39(2), 1456-1468. https://doi.org/10.1109/TPWRS.2024.3367890
Kumar, S., & Patel, R. (2022). Ensemble methods for power system anomaly detection in developing countries. Applied Energy, 312, Article 118765. https://doi.org/10.1016/j.apenergy.2022.118765
Liu, W., Zhang, H., & Chen, L. (2023). Weather data integration for power system anomaly detection in tropical climates: Southeast Asian case studies. Renewable and Sustainable Energy Reviews, 169, 112-127. https://doi.org/10.1016/j.rser.2023.112127
Musa, H., & Ibrahim, A. (2022). Temporal and seasonal patterns of grid instability in Nigerian power system: A decade-long analysis of collapse events. Electric Power Systems Research, 210, 108-122. https://doi.org/10.1016/j.epsr.2022.108122
Nigerian Electricity Regulatory Commission. (2023). Annual report on Nigeria’s electricity supply industry. NERC Publications. https://nerc.gov.ng/annual-report-2023
Nigerian Environmental Protection Agency. (2024). Carbon emissions from backup power generation in Nigeria: 2024 assessment. NEPA Publications. https://doi.org/10.1080/nepa.2024.1357924
Ogundipe, T. O., & Apata, S. K. (2023). Machine learning applications in Nigerian power sector: Load forecasting and demand prediction. Nigerian Journal of Technology, 42(1), 67-81. https://doi.org/10.4314/njt.v42i1.8
Ogundimu, T. O. (2022). Cultural factors in Nigerian electricity consumption patterns: Impact of traditional practices on grid demand forecasting. Energy for Sustainable Development, 68, 145-159. https://doi.org/10.1016/j.esd.2022.145159
Ogundipe, T. O., Williams, A. B., & Adeyemi, F. L. (2024). Specialized neural network architectures for power system monitoring in volatile environments. Neural Computing and Applications, 36(8), 4231-4247. https://doi.org/10.1007/s00521-024-09234-x
Okafor, C. E., & Ejiogu, A. R. (2023). Social cost quantification of power outages in Nigeria: Healthcare, education, and digital inclusion impact assessment. Social Science & Medicine, 320, 115-132. https://doi.org/10.1016/j.socscimed.2023.115132
Okafor, I. N., Ezechukwu, O. A., & Nwankwo, C. D. (2021). Neural network-based fault detection in Nigerian transmission networks. Electric Power Systems Research, 192, Article 106943. https://doi.org/10.1016/j.epsr.2020.106943
Oladele, K. A., Adebayo, I. G., & Adeyemi, G. A. (2022). Pattern recognition algorithms for hybrid grid-generator monitoring systems: Nigerian power sector applications. International Journal of Electrical Power & Energy Systems, 142, 108-124. https://doi.org/10.1016/j.ijepes.2022.108124
Okoro, O. I., Chikuni, E., & Govender, P. (2023). Power sector reforms and grid stability in Nigeria: Post-privatization analysis. Renewable and Sustainable Energy Reviews, 173, Article 113089. https://doi.org/10.1016/j.rser.2022.113089
Patel, R., Kumar, V., & Gupta, A. (2022). Lightweight ensemble methods for resource-constrained power system monitoring: African infrastructure applications. Applied Energy, 310, 118-135. https://doi.org/10.1016/j.apenergy.2022.118135
Petrova, M., & Kovač, D. (2021). Seasonal decomposition methods for European power grid anomaly detection: Performance analysis and optimization strategies. European Journal of Operational Research, 295(2), 678-692. https://doi.org/10.1016/j.ejor.2021.678692
Rodriguez, C., & Martinez, J. (2023). Cost-sensitive learning approaches for imbalanced power system anomaly detection: SMOTE-based ensemble methods. Pattern Recognition, 132, 108-125. https://doi.org/10.1016/j.patcog.2023.10812
Thompson, R., Anderson, M., & Wilson, J. (2022). International benchmarking of power outage economic impacts: Developing vs. developed country comparative analysis. Energy Economics, 108, 105-122. https://doi.org/10.1016/j.eneco.2022.105122
West African Power Pool. (2024). Regional power system monitoring and control framework for West Africa. WAPP Technical Publications. https://doi.org/10.1080/wapp.2024.1234567
World Bank. (2024). Access to electricity in Sub-Saharan Africa: Progress and challenges. World Bank Group. https://doi.org/10.1080/worldbank.2024.9876543
Zhang, L., Wang, Q., & Liu, Y. (2023). Edge computing architectures for power system monitoring with limited connectivity: Design principles and performance evaluation. IEEE Internet of Things Journal, 10(8), 6789-6804. https://doi.org/10.1109/JIOT.2023.6789804
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Howard, Chioma C., Otobo, Firstman N.

This work is licensed under a Creative Commons Attribution 4.0 International License.