Photovoltaic power generation forecasting with Bayesian optimization and stacked ensemble learning

• Introduced Bayesian Optimization through the Optuna framework in PV energy forecasting. • Developed preprocessing techniques for missing values, outliers, and feature engineering. • Designed a Stacked Model with tuned RFR, GBR, and KNN with LR as a meta-learner. • Validated findings on real-world PV datasets of Sharda University, India and DKASC, Australia. • Achieved R² scores of 0.9777 (Sharda) and 0.9967 (DKASC), surpassing previous approaches. Accurate photovoltaic (PV) power forecasting is essential for optimizing energy management and ensuring grid stability in renewable energy systems. This study leverages advanced machine learning regression models and hyper-parameter optimization techniques to enhance predictive accuracy for PV power generation. Using two distinct datasets, the Sharda University PV dataset (2022 Edition) and the DKASC Hanwha Solar dataset, this research evaluates model performance across diverse geographic and climatic conditions. Extensive data preprocessing addressed missing values, outliers, and feature engineering. Among the evaluated models, Random Forest Regressor (RFR) and Gradient Boosting Regressor (GBR) demonstrated superior baseline performance, achieving accuracies of 95.61 % (Sharda) and 99.61 % (DKASC). Bayesian Optimization via the Optuna framework was employed to fine-tune hyperparameters, resulting in significant improvements. The optimized RFR achieved R² scores of 0.9777 (Sharda) and 0.9967 (DKASC), while a Stacked Model combining tuned RFR, GBR, and KNN further enhanced accuracy, achieving R² scores of 0.9788 (Sharda) and 0.9970 (DKASC). These findings highlight the importance of robust preprocessing, effective feature selection, and advanced optimization in improving machine learning model performance for renewable energy forecasting. The proposed methodology offers a scalable framework for integrating machine learning into PV systems, supporting the transition to sustainable energy solutions.

Authors

Institutions

Publication Details

Journal
Results in Engineering
Published
2025-04-18
DOI
https://doi.org/10.1016/j.rineng.2025.104950
Citations
17
Primary Topic
Solar Radiation and Photovoltaics
Type
article
Field-Weighted Citation Impact
42.18
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Photovoltaic power generation forecasting with Bayesian optimization and stacked ensemble learning

Houssem Ben Aribia, Abdullah M. Shaheen, Ferchichi Noureddine, Mohamed A. Atiea et al.
17 citations
Results in Engineering
Solar Radiation and Photovoltaics
42.18
article

Photovoltaic power generation forecasting with Bayesian optimization and stacked ensemble learning

Houssem Ben Aribia, Abdullah M. Shaheen, Ferchichi Noureddine, Mohamed A. Atiea, Abdelrhman A. Abdelghaffar
article en
17 citations

Abstract

• Introduced Bayesian Optimization through the Optuna framework in PV energy forecasting. • Developed preprocessing techniques for missing values, outliers, and feature engineering. • Designed a Stacked Model with tuned RFR, GBR, and KNN with LR as a meta-learner. • Validated findings on real-world PV datasets of Sharda University, India and DKASC, Australia. • Achieved R² scores of 0.9777 (Sharda) and 0.9967 (DKASC), surpassing previous approaches. Accurate photovoltaic (PV) power forecasting is essential for optimizing energy management and ensuring grid stability in renewable energy systems. This study leverages advanced machine learning regression models and hyper-parameter optimization techniques to enhance predictive accuracy for PV power generation. Using two distinct datasets, the Sharda University PV dataset (2022 Edition) and the DKASC Hanwha Solar dataset, this research evaluates model performance across diverse geographic and climatic conditions. Extensive data preprocessing addressed missing values, outliers, and feature engineering. Among the evaluated models, Random Forest Regressor (RFR) and Gradient Boosting Regressor (GBR) demonstrated superior baseline performance, achieving accuracies of 95.61 % (Sharda) and 99.61 % (DKASC). Bayesian Optimization via the Optuna framework was employed to fine-tune hyperparameters, resulting in significant improvements. The optimized RFR achieved R² scores of 0.9777 (Sharda) and 0.9967 (DKASC), while a Stacked Model combining tuned RFR, GBR, and KNN further enhanced accuracy, achieving R² scores of 0.9788 (Sharda) and 0.9970 (DKASC). These findings highlight the importance of robust preprocessing, effective feature selection, and advanced optimization in improving machine learning model performance for renewable energy forecasting. The proposed methodology offers a scalable framework for integrating machine learning into PV systems, supporting the transition to sustainable energy solutions.

Results in EngineeringVol. 26
Suez University (EG), University of Sfax (TN), National Engineering School of Tunis (TN), Egyptian Consulting & Trading Co. Ltd (EG), Jazan University (SA)
Affordable and clean energy
Openalex Percentile: Top 0%
Solar Radiation and Photovoltaics
42.18
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.