Machine learning-based performance prediction for continuous power generation of solar water pumping system

Said M. A. Ibrahim, Alhasan M. Azouz, Hamdy H. El-Ghetany

Abstract


Integrating photovoltaic (PV) systems with pumped-water storage (PWS) enables continuous power generation and efficient water management in off-grid applications. Despite the growing use of machine learning (ML) in renewable energy, its application in hybrid PV–PWS configurations remains limited, particularly for real-time prediction. This study develops an ML-based framework to predict the electro-hydraulic behavior of a PV–PWS system. Input features include solar irradiance, ambient temperature, wind speed, PV cell temperature, and pump flow rate, targeting hydro turbine power and water head. A 1000-sample dataset is generated via validated MATLAB numerical simulations. Five algorithms—Random Forest, SVR, AdaBoost, CatBoost, and XGBoost—are trained using Python and evaluated via R², MAE, RMSE, and MAPE. The XGBoost model achieves the highest accuracy, with R² values of 0.9768 and 0.949 for power output and water head, respectively. SHAP analysis identifies pump flow rate and solar irradiance as the most influential features. The proposed framework demonstrates ML's effectiveness for real-time prediction and operational improvement of hybrid PV–PWS systems under varying weather conditions.

 

Received: 10 March 2026

Accepted: 14 April 2026

Published: 28 April 2026


Full Text:

PDF

References


M. Rawa et al., “Economical-technical-environmental operation of power networks with wind-solar-hydropower generation using analytic hierarchy process and improved grey wolf algorithm,” Ain Shams Engineering Journal, vol. 12, no. 3, pp. 2717–2734, Sep. 2021, doi: https://doi.org/10.1016/j.asej.2021.02.004.

B. Oryani, H. Kamyab, А. Mоridiаn, Z. Azizi, S. Rezania, and S. Chelliapan, “Does structural change boost the energy demand in a fossil fuel-driven economy? New evidence from Iran,” Energy, vol. 254, p. 124391, Sep. 2022, doi: https://doi.org/10.1016/j.energy.2022.124391.

H. Kamyab, A. Naderipour, M. Jahannoush, A. Abdullah, and M. H. Marzbali, “Potential effect of SARS-CoV-2 on solar energy generation: Environmental dynamics and implications,” Sustainable Energy Technologies and Assessments, vol. 52, p. 102027, Aug. 2022, doi: https://doi.org/10.1016/j.seta.2022.102027.

O. M. Abo Gabl, M. Y. Morgan, and M. S. El-Sobki (Jr.), “Decentralized economic operation of isolated AC, DC, and hybrid microgrids,” Renewable Energy and Sustainable Development, vol. 11, no. 2, p. 175, Aug. 2025, doi: https://doi.org/10.21622/resd.2025.11.2.1289.

M. S. Nazir, Z. M. Ali, M. Bilal, H. M. Sohail, and H. M. N. Iqbal, “Environmental impacts and risk factors of renewable energy paradigm—a review,” Environmental Science and Pollution Research, vol. 27, no. 27, pp. 33516–33526, Jun. 2020, doi: https://doi.org/10.1007/s11356-020-09751-8.

R. R. Elbanna, M. H. ElMessmary, H. Diab, and M. Abdelsalam, “A smart hybrid optimization model for DSSE in renewable energy-powered distribution networks,” Renewable Energy and Sustainable Development, vol. 11, no. 2, p. 314, Sep. 2025, doi: https://doi.org/10.21622/resd.2025.11.2.1271.

P. E. Campana, I. Papic, S. Jakobsson, and J. Yan, “Photovoltaic water pumping systems for irrigation: principles and advances,” Elsevier eBooks, pp. 113–157, Jan. 2022, doi: https://doi.org/10.1016/b978-0-323-89866-9.00007-9.

H. A. VAIDYA, M. K. RATHOD, and S. CHANNIWALA, “Performance enhancement of box solar cooker with photovoltaic panel,” Journal of Thermal Engineering, vol. 11, no. 6, pp. 1658–1670, 2025, doi: https://doi.org/10.14744/thermal.0001032.

A. K. Tiwari, V. R. Kalamkar, R. R. Pande, S. K. Sharma, V. C. Sontake, and A. Jha, “Effect of head and PV array configurations on solar water pumping system,” Materials Today: Proceedings, vol. 46, pp. 5475–5481, 2021, doi: https://doi.org/10.1016/j.matpr.2020.09.200.

A. Maleki, F. Heydari, and A. J. Moghadam, “Hybrid Optimization Method for Optimal Site Selection and Sizing of a Hybrid Photovoltaic Water Pumping/Diesel/Battery System,” Heliyon, vol. 11, no. 1, p. e40692, Nov. 2024, doi: https://doi.org/10.1016/j.heliyon.2024.e40692.

E. Sarmas, E. Spiliotis, V. Marinakis, G. Tzanes, J. K. Kaldellis, and H. Doukas, “ML-based energy management of water pumping systems for the application of peak shaving in small-scale islands,” Sustainable Cities and Society, vol. 82, pp. 103873–103873, Jul. 2022, doi: https://doi.org/10.1016/j.scs.2022.103873.

A. PAŞAOĞLU and A. HABIBNEZHAD, “Machine learning enhanced hybrid energy storage management system for renewable integration and grid stability optimization in smart microgrids,” Journal of Thermal Engineering, vol. 11, no. 4, pp. 1040–1050, 2025, doi: https://doi.org/10.14744/thermal.0000962.

C. Wang, C. Li, Y. Feng, and S. Wang, “Predicting hydropower generation: A comparative analysis of Machine learning models and optimization algorithms for enhanced forecasting accuracy and operational efficiency,” Ain Shams Engineering Journal, vol. 16, no. 3, p. 103299, Mar. 2025, doi: https://doi.org/10.1016/j.asej.2025.103299.

A. Rathore, Almas, and S. Sundaram, “Energy, exergy and performance analysis of a 380 kWP roof-top PV plant assisted with data-driven models for energy generation,” Journal of Thermal Engineering, vol. 10, no. 5, pp. 1164–1183, Jan. 2024, doi: https://doi.org/10.14744/thermal.0000859.

X. Zhang, Z. Zhang, Y. Liu, Z. Xu, and X. Qu, “A review of machine learning approaches for electric vehicle energy consumption modelling in urban transportation,” Renewable Energy, vol. 234, p. 121243, Aug. 2024, doi: https://doi.org/10.1016/j.renene.2024.121243.

R. A. Ibrahim and N. E. Zakzouk, “A machine learning framework for predicting fuel consumption and CO2 emissions in hybrid and combustion vehicles: comparative analysis and performance evaluation,” PLOS One, vol. 21, no. 2, p. e0342418, Feb. 2026, doi: https://doi.org/10.1371/journal.pone.0342418.

A. Kote, A. Khilari, C. Kadam, D. Hud, and A. Ramteke, “CO2 Emission Prediction Using Machine Learning,” in ICT for Intelligent Systems, Singapore: Springer Nature Singapore, 2024, pp. 317–326. doi: https://doi.org/10.1007/978-981-97-6681-9_28.

Z. Said et al., “Application of novel framework based on ensemble boosted regression trees and Gaussian process regression in modelling thermal performance of small-scale Organic Rankine Cycle (ORC) using hybrid nanofluid,” Journal of Cleaner Production, vol. 360, p. 132194, Aug. 2022, doi: https://doi.org/10.1016/j.jclepro.2022.132194.

L. Breiman, “Random Forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, Oct. 2001, doi: https://doi.org/10.1023/A:1010933404324.

P. S. Kumar, C. Chandrika, P. K. Rao, P. K. Rao, and S. K. Oruganti, “Interpretable hybrid machine learning models for renewable-powered smart grid stability prediction,” Renewable Energy and Sustainable Development, vol. 11, no. 2, p. 397, Oct. 2025, doi: https://doi.org/10.21622/resd.2025.11.2.1509.

J. Hoxha, Muhammed Yasin Çodur, Enea Mustafaraj, H. Kanj, and Ali El Masri, “Prediction of transportation energy demand in Türkiye using stacking ensemble models: Methodology and comparative analysis,” Applied energy, vol. 350, pp. 121765–121765, Nov. 2023, doi: https://doi.org/10.1016/j.apenergy.2023.121765.

M. A. Hassan, H. Salem, N. Bailek, and O. Kisi, “Random Forest Ensemble-Based Predictions of On-Road Vehicular Emissions and Fuel Consumption in Developing Urban Areas,” Sustainability, vol. 15, no. 2, p. 1503, Jan. 2023, doi: https://doi.org/10.3390/su15021503.

Z. Jinbo, L. Yufu, and M. Haitao, “Handling missing data of using the XGBoost-based multiple imputation by chained equations regression method,” Frontiers in Artificial Intelligence, vol. 8, Apr. 2025, doi: https://doi.org/10.3389/frai.2025.1553220.

A. A. Ajala, O. L. Adeoye, O. M. Salami, and A. Y. Jimoh, “An examination of daily CO2 emissions prediction through a comparative analysis of machine learning, deep learning, and statistical models,” Environmental Science and Pollution Research, vol. 32, no. 5, Jan. 2025, doi: https://doi.org/10.1007/s11356-024-35764-8.

S. Haddad, M. Benghanem, A. Mellit, and K. O. Daffallah, “ANNs-based modeling and prediction of hourly flow rate of a photovoltaic water pumping system: Experimental validation,” Renewable and Sustainable Energy Reviews, vol. 43, pp. 635–643, Mar. 2015, doi: https://doi.org/10.1016/j.rser.2014.11.083.

M. Sapitang, W. M. Ridwan, K. Faizal Kushiar, A. Najah Ahmed, and A. El-Shafie, “Machine Learning Application in Reservoir Water Level Forecasting for Sustainable Hydropower Generation Strategy,” Sustainability, vol. 12, no. 15, p. 6121, Jul. 2020, doi: https://doi.org/10.3390/su12156121.

M. Dehghani et al., “Prediction of Hydropower Generation Using Grey Wolf Optimization Adaptive Neuro-Fuzzy Inference System,” Energies, vol. 12, no. 2, p. 289, Jan. 2019, doi: https://doi.org/10.3390/en12020289.

B. S. Pali and S. Vadhera, “A novel solar photovoltaic system with pumped-water storage for continuous power at constant voltage,” Energy Conversion and Management, vol. 181, pp. 133–142, Feb. 2019, doi: https://doi.org/10.1016/j.enconman.2018.12.004.

J. A. Duffie and W. A. Beckman, Solar engineering of thermal processes. Wiley New York, 1980.

NASA, “NASA Langley Research Center POWER Data Access Viewer,” Nasa.gov, 2024. https://power.larc.nasa.gov/data-access-viewer/

Oussama Khouili, M. Hanine, and M. Louzazni, “Harnessing Principal Component Analysis and Artificial Neural Networks for Accurate Solar Radiation Prediction,” International Journal of Energy Research, vol. 2025, no. 1, p. p. 5846114, Jan. 2025, doi: https://doi.org/10.1155/er/5846114.

A. J. Smola and B. Schölkopf, “A tutorial on support vector regression,” Statistics and Computing, vol. 14, no. 3, pp. 199–222, Aug. 2004, doi: https://doi.org/10.1023/b:stco.0000035301.49549.88.

N. Nguyen and D. Ngo, “Comparative analysis of boosting algorithms for predicting personal default,” Cogent Economics & Finance, vol. 13, no. 1, Feb. 2025, doi: https://doi.org/10.1080/23322039.2025.2465971.

M. Hamid, F. Hajjej, A. S. Alluhaidan, and N. Waleed, “Fine tuned CatBoost machine learning approach for early detection of cardiovascular disease through predictive modeling,” Scientific Reports, vol. 15, no. 1, Aug. 2025, doi: https://doi.org/10.1038/s41598-025-13790-x.

C. Willmott and K. Matsuura, “Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance,” Climate Research, vol. 30, no. 1, pp. 79–82, 2005.

T. Chai and R. R. Draxler, “Root mean square error (RMSE) or mean absolute error (MAE)? – Arguments against avoiding RMSE in the literature,” Geoscientific Model Development, vol. 7, no. 3, pp. 1247–1250, Jun. 2014, doi: https://doi.org/10.5194/gmd-7-1247-2014.




DOI: https://dx.doi.org/10.21622/resd.2026.12.1.1993

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Said M. A.Ibrahim, Alhasan M. Azouz, Hamdy H. El-Ghetany


Renewable Energy and Sustainable Development

E-ISSN: 2356-8569

P-ISSN: 2356-8518

 

Published by:

Academy Publishing Center (APC)

Arab Academy for Science, Technology and Maritime Transport (AASTMT)

Alexandria, Egypt

resd@aast.edu