High-resolution photovoltaic power forecasting using machine learning models under seasonal and stress conditions
Accurate short-term photovoltaic (PV) power forecasting at sub-hourly resolutions is essential for maintaining grid reliability and supporting renewable energy integration. This study benchmarks six machine learning models against a persistence baseline using high-resolution data from the Yulara Solar System (327.6 kW) resampled at 5-, 10-, and 15-minute intervals. A comprehensive preprocessing framework was developed, incorporating cyclical temporal encoding, lag and rolling statistical features, interquartile-range-based outlier filtering, and hyperparameter optimization using RandomizedSearchCV with TimeSeriesSplit. The evaluated models include XGBoost, Decision Tree, Linear Regression, Ridge, Lasso, and Elastic Net. Performance was assessed using multiple error metrics (MAE, RMSE, WAPE, SMAPE, and skill score) across training, validation, testing, seasonal subsets, and stress scenarios involving night-time and highly variable irradiance conditions. Results demonstrate that tree-based models substantially outperform linear regressors in both accuracy and robustness. The Decision Tree achieved the best overall performance, with MAE values of 0.33–0.54 kW and RMSE values of 0.82–1.65 kW, corresponding to 97–98% skill-score improvements over persistence forecasting. XGBoost also showed strong and consistent performance across temporal resolutions and seasonal variations. In contrast, linear models exhibited limited capability in capturing nonlinear PV behavior, particularly under highly variable conditions. These findings highlight the suitability of tree-based approaches for accurate, interpretable, and resilient short-term PV forecasting in smart grid applications.
Authors
- Hany S. E. Mansour (ORCID: https://orcid.org/0000-0001-8729-8329)
- AL-Wesabi Ibrahim
- Hassan M. Hussein Farh (ORCID: https://orcid.org/0000-0002-5524-5887)
- Abdullahi Bala Kunya (ORCID: https://orcid.org/0000-0001-5558-358X)
- Hany S. Elnashar
- Amira S. Mohamed
- Abdullah M. Al-Shaalan
Institutions
- Beni-Suef University (EG)
- Suez Canal University (EG)
- Higher Technological Institute (EG)
- Hunan University (CN)
- Imam Mohammad ibn Saud Islamic University (SA)
- Kampala International University (UG)
- King Saud University (SA)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-06-18
- DOI
- https://doi.org/10.1038/s41598-026-56832-8
- Primary Topic
- Solar Radiation and Photovoltaics
- Type
- article
- Field-Weighted Citation Impact
- 0.00