Hybrid renewable energy systems (HRES) combining photovoltaic generation, battery storage, and backup sources are increasingly used in microgrids and remote installations. Despite improved sustainability, these systems remain vulnerable to short-term supply interruptions caused by irradiance variability, load changes, battery depletion, or backup unavailability. Conventional threshold-based alarms often fail to capture the multi-factor nature of outage formation, motivating data-driven prediction approaches. This paper presents an IoT-based monitoring and supervised learning framework for near-term outage-risk prediction in HRES. An Arduino-based edge device collects key electrical measurements and transmits time-stamped telemetry to a cloud platform via GSM/GPRS. Using a power-balance perspective, features are engineered to represent system adequacy, including irradiance conditions, battery state-of-charge (SoC), depletion trends, and backup availability. Horizon-based labeling is applied so that samples are marked as outage-risk when a failure occurs within a defined future window, enabling early warning rather than post-event detection. Three supervised classifiers-logistic regression, decision tree, and random forest-are trained and evaluated on a synthetic one-year dataset sampled at five-minute intervals. Performance is assessed using accuracy, precision, recall, F1-score, and ROC-AUC metrics. Results show that tree-based models, especially random forests, provide stronger recall and risk ranking performance, enabling earlier detection of outage-prone conditions. The proposed approach demonstrates that combining IoT telemetry with probabilistic prediction can support proactive actions such as generator start, load shedding, and maintenance planning, while providing a practical foundation for future validation using real operational data.
Keywords
Power Outage PredictionHybrid Renewable EnergyIoT MonitoringSupervised LearningLogistic RegressionDecision Tree
References
B. Lei, Y. Ren, H. Luan, R. Dong, X. Wang, J. Liao, S. Fang, and K. Gao, “A review of optimization of microgrid,” Mathematics, vol. 11, no. 4, art. 822, 2023, [Online]. Available: https://doi.org/10.3390/math11040822.
A. Nargeszar, A. Ghaedi, M. Nafar, and M. Simab, “Reliability evaluation of the renewable energy-based microgrids considering resource variation,” IET Renewable Power Generation, vol. 17, no. 3, pp. 507-527, 2023, [Online]. Available: https://doi.org/10.1049/rpg2.12611.
T. Adefarati and R. C. Bansal, “Reliability and economic assessment of a microgrid power system with the integration of renewable energy resources,” Applied Energy, vol. 206, pp. 911-933, 2017, [Online]. Available: https://doi.org/10.1016/j.apenergy.2017.08.228.
A. H. Fathima and K. Palanisamy, “Optimization in microgrids with hybrid energy systems-A review,” Renewable and Sustainable Energy Reviews, vol. 45, pp. 431-446, 2015, [Online]. Available: https://doi.org/10.1016/j.rser.2015.01.059.
B. Jesus et al., “An approach to assess robustness of MQTT-based IoT systems,” Internet of Things, vol. 31, art. 101590, 2025, [Online]. Available: https://doi.org/10.1016/j.iot.2025.101590.
X. Wang et al., “Deep learning-based weather-related power outage prediction with socio-economic and power infrastructure data,” in Proc. IEEE Power & Energy Society General Meeting (PESGM), 2024, pp. 1-5, [Online]. Available: https://doi.org/10.1109/PESGM51994.2024.10688596.
F. Yang et al., “Enhancing weather-related power outage prediction by event severity classification,” IEEE Access, vol. 8, pp. 60029-60042, 2020, [Online]. Available: https://doi.org/10.1109/ACCESS.2020.2983159.
N. Rouibah et al., “Smart monitoring of photovoltaic energy systems: An IoT-based prototype approach,” Scientific African, vol. 30, art. e02973, 2025, [Online]. Available: https://doi.org/10.1016/j.sciaf.2025.e02973.
M. N. Razali et al., “Development of IoT based smart photovoltaic energy monitoring system,” AIP Conference Proceedings, vol. 2991, art. 050048, pp. 050048-1-050048-10, 2024, [Online]. Available: https://doi.org/10.1063/5.0200747.
L. Breiman, “Random forests,” Machine Learning, vol. 45, no. 1, pp. 5-32, 2001, [Online]. Available: https://doi.org/10.1023/A:1010933404324.
D. W. Hosmer Jr., S. Lemeshow, and R. X. Sturdivant, Applied Logistic Regression, 3rd ed. Hoboken, NJ, USA: Wiley, 2013, [Online]. Available: https://doi.org/10.1002/9781118548387.
T. Fawcett, “An introduction to ROC analysis,” Pattern Recognition Letters, vol. 27, no. 8, pp. 861-874, 2006, [Online]. Available: https://doi.org/10.1016/j.patrec.2005.10.010.
P. L. Watson et al., “Improved quantitative prediction of power outages caused by extreme weather events,” Weather and Climate Extremes, vol. 37, art. 100487, 2022, [Online]. Available: https://doi.org/10.1016/j.wace.2022.100487.
P. Gyasi et al., “Design of alarm thresholds and delay timers for non-IID process variables based on alarm durations,” Process Safety and Environmental Protection, vol. 170, pp. 1173-1187, Feb. 2023, [Online]. Available: https://doi.org/10.1016/j.psep.2022.12.069.
N. A. Adnan et al., “Study of generalized delay-timers in alarm configuration,” Journal of Process Control, vol. 23, no. 3, pp. 382-395, 2013, [Online]. Available: https://doi.org/10.1016/j.jprocont.2012.12.013.
T. Saito and M. Rehmsmeier, “The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets,” PLOS ONE, vol. 10, no. 3, art. e0118432, 2015, [Online]. Available: https://doi.org/10.1371/journal.pone.0118432.
I. Kh. Siddikov and A. A. Abdumalikov, “Modeling and research signals conversion proceses of multhipase power measure and control devices,” in Proc. 2020 Int. Conf. Information Science and Communications Technologies (ICISCT), Nov. 2020, pp. 1-4, [Online]. Available: https://doi.org/10.1109/ICISCT50599.2020.9351458.