AI-Enabled IoT-Based Smart Grid Fault Detection and Load Optimization for Renewable Energy Integration
Main Article Content
Abstract
Rising penetration of renewable energy sources presents significant challenges to smart grid operations, especially in fault detection, power quality, and cost-effective energy management. In this research, suggest a smart grid framework with AI-supported IoT that combines real-time fault detection solution and intelligent load monitoring for the smart grid for grid reliability and the renewable energy supply optimization. Electrical and environmental information such as voltage, current, frequency, total harmonic distortion, power quantities, power factor, and temperature are gathered by IoT sensors and processed through an efficient, toolbox-free AI-powered, computationally efficient artificial intelligence model. A custom multi-class K-Nearest Neighbors classifier is applied in fault detection with a high sensitivity classification accuracy score of 97.67%, perfect detection accuracy for harmonic and overcurrent failures and strong classification results for voltage sag, swell and frequency deviation events. Concurrently, a mixed-integer linear programming–based optimization approach is proposed to plan flexible load utilization and reduce the energy requirement associated with grid use in an environment with time-varying tariffs and renewable resources. The optimization results indicate that about 700 kWh of renewable energy is used effectively as opposed to 490 kWh of grid-imported energy, yet renewable energy curtailment is below 1%, indicating that demand–supply is good coordination. At the same time, a fault-aware optimization framework drastically reduces the total operational cost and renewable energy waste and grid dependency, while guaranteeing high reliability in fault detection. The solutions demonstrate that the method proposed is suitable for real-time rollout in intelligent, reliable, and sustainable smart grid systems.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Licensed under a CC-BY license: https://creativecommons.org/licenses/by-nc-sa/4.0/
How to Cite
References
Adefarati, T., Sharma, G., Bokoro, P. N., & Kumar, R. (2025). Advancing Renewable-Dominant Power Systems Through Internet of Things and Artificial Intelligence: A Comprehensive Review. Energies, 18(19). https://doi.org/10.3390/en18195243
Alijoyo, F. A. (2024). AI-powered deep learning for sustainable industry 4.0 and internet of things: Enhancing energy management in smart buildings. Alexandria Engineering Journal, 104, 409-422. https://doi.org/10.1016/j.aej.2024.07.110
Areola, R. I., Adebiyi, A. A., & Moloi, K. (2025). Artificial Intelligence for Optimizing Solar Power Systems with Integrated Storage: A Critical Review of Techniques, Challenges, and Emerging Trends. Electricity, 6(4). https://doi.org/10.3390/electricity6040060
Arévalo, P., & Jurado, F. (2024). Impact of Artificial Intelligence on the Planning and Operation of Distributed Energy Systems in Smart Grids. Energies, 17(17). https://doi.org/10.3390/en17174501
Awad, H., & Bayoumi, E. H. E. (2025). Next-Generation Smart Inverters: Bridging AI, Cybersecurity, and Policy Gaps for Sustainable Energy Transition. Technologies, 13(4). https://doi.org/10.3390/technologies13040136
Bajahzar, A. (2024). The Importance of AI-Enabled Internet of everything Services for Smart Home Management. International Journal on Smart Sensing and Intelligent Systems, 17(1). https://doi.org/10.2478/ijssis-2024-0026
Bajwa, A., Jahan, F., Ahmed, I., & Siddiqui, N. A. (2025). A Systematic Literature Review on Ai-Enabled Smart Building Management Systems for Energy Efficiency and Sustainability. American Journal of Scholarly Research and Innovation, 03(02), 01-27. https://doi.org/10.63125/4sjfn272
Benson, S., & Eronu, E. (2025). Integration of Renewable Energy with Thermal-Based Power Systems: A Review of Grid Reliability, Optimization, and Storage. American Journal of Electrical Power and Energy Systems, 14(2), 28-44. https://doi.org/10.11648/j.epes.20251402.12
Das, D. K. (2025). Integrating IoT and AI for Sustainable Energy-Efficient Smart Building: Potential, Barriers and Strategic Pathways. Sustainability, 17(22). https://doi.org/10.3390/su172210313
Goudarzi, A., Ghayoor, F., Waseem, M., Fahad, S., & Traore, I. (2022). A Survey on IoT-Enabled Smart Grids: Emerging, Applications, Challenges, and Outlook. Energies, 15(19). https://doi.org/10.3390/en15196984
Ifeanyi Kingsley, E., Faisal Benna, S., Chinemeremma Collins, O., Damilola Emmanuel, O., Ezekiel Ezekiel, S., Olabode, A., & Paul Oluchukwu, M. (2025). Advances in AI-powered energy management systems for renewable-integrated smart grids. World Journal of Advanced Engineering Technology and Sciences, 15(2), 2300-2325. https://doi.org/10.30574/wjaets.2025.15.2.0685
Ikegwu, A. C., Obianuju, O. J., Nwokoro, I. S., Kama, M. O., & Ebem, D. U. (2025). Investigating the Impact of AI/ML for Monitoring and Optimizing Energy Usage in Smart Home. Artificial Intelligence Evolution, 30-43. https://doi.org/10.37256/aie.6120256065
Joshua, S. R., Yeon, A. N., Park, S., & Kwon, K. (2024). A Hybrid Machine Learning Approach: Analyzing Energy Potential and Designing Solar Fault Detection for an AIoT-Based Solar–Hydrogen System in a University Setting. Applied Sciences, 14(18). https://doi.org/10.3390/app14188573
Karim, M. A., Zaman, M. T. U., Nabil, S. H., & Joarder, M. M. I. (2025). https://doi.org/10.36227/techrxiv.175978935.59813154/v1
Mahmud, A. K. M. R., & Waheduzzaman. (2025). The Role of Artificial Intelligence in Advancing Smart Grid Technologies. Ejsmt, 1(3), 1-13. https://doi.org/10.59324/ejsmt.2025.1(3).01
Mawat, M., & Hamdan, A. N. (2023). Review of Mathematical Surface Water’s Hydrodynamic/Water Quality Models with Their Application on the Shatt Al Arab River Southern Iraq. European Journal of Engineering Science and Technology, 6(1), 30-49. https://doi.org/10.33422/ejest.v6i1.1057
Nuruzzaman, M., Limon, G. Q., Chowdhury, A. R., & Khan, M. A. M. (2025). Predictive Maintenance in Power Transformers: A Systematic Review of Ai and Iot Applications. ASRC Procedia: Global Perspectives in Science and Scholarship, 01(01), 34-47. https://doi.org/10.63125/r72yd809
Nuruzzaman, M., & Rana, S. (2025). Iot-Enabled Condition Monitoring in Power Distribution Systems: A Review of Scada-Based Automation, Real-Time Data Analytics, and Cyber-Physical Security Challenges. Journal of Sustainable Development and Policy, 01(01), 25-43. https://doi.org/10.63125/pyd1x841
Nuthakki, S., Kumar, S., Kulkarni, C. S., & Nuthakki, Y. (2022). Role of AI Enabled Smart Meters to Enhance Customer Satisfaction. International Journal of Computer Science and Mobile Computing, 11(12), 99-107. https://doi.org/10.47760/ijcsmc.2022.v11i12.010
Ojadi, J. O., Odionu, C. S., Onukwulu, E. C., & Owulade, O. A. (2024). AI-Enabled Smart Grid Systems for Energy Efficiency and Carbon Footprint Reduction in Urban Energy Networks. International Journal of Multidisciplinary Research and Growth Evaluation., 5(1), 1549-1566. https://doi.org/10.54660/.Ijmrge.2024.5.1.1549-1566
Rana, S. (2025). Ai-Driven Fault Detection and Predictive Maintenance in Electrical Power Systems: A Systematic Review of Data-Driven Approaches, Digital Twins, and Self-Healing Grids. American Journal of Advanced Technology and Engineering Solutions, 1(01), 258-289. https://doi.org/10.63125/4p25x993
Rojek, I., Mikołajewski, D., Mroziński, A., Macko, M., Bednarek, T., & Tyburek, K. (2025). Internet of Things Applications for Energy Management in Buildings Using Artificial Intelligence—A Case Study. Energies, 18(7). https://doi.org/10.3390/en18071706
Sankarananth, S., Karthiga, M., E, S., S, S., & Bavirisetti, D. P. (2023). AI-enabled metaheuristic optimization for predictive management of renewable energy production in smart grids. Energy Reports, 10, 1299-1312. https://doi.org/10.1016/j.egyr.2023.08.005
Sarin, G., Srivastava, A., Srivastava, I., Bhattacharjee, S., Gujaran, S., & Yogendra Sai Reddy, Y. (2025). Renewable microgrid optimization using AI: A B-SLR approach and future research directions. Energy Reports, 14, 4963-4975. https://doi.org/10.1016/j.egyr.2025.11.087
Stecuła, K., Wolniak, R., & Grebski, W. W. (2023). AI-Driven Urban Energy Solutions—From Individuals to Society: A Review. Energies, 16(24). https://doi.org/10.3390/en16247988
Udoka Eze, V. H. (2025). AI-advanced MPPT for optimized hybrid solar-wind energy harvesting in off-grid rural electrification: Fabrication and performance modeling. KIU journal of science engineering and technology, 4(1), 262-282. https://doi.org/10.59568/kjset-2025-4-1-25
Ukoba, K., Olatunji, K. O., Adeoye, E., Jen, T.-C., & Madyira, D. M. (2024). Optimizing renewable energy systems through artificial intelligence: Review and future prospects. Energy & Environment, 35(7), 3833-3879. https://doi.org/10.1177/0958305x241256293