Machine Learning Based Prediction of Solar Power Generation Using Weather Data

Accurate forecasting of solar photovoltaic (PV) power generation is critical for the efficient integration of renewable energy into modern power grids. This study presents a comparative evaluation of four supervised machine learning regression models — Linear Regression, Random Forest Regressor, Support Vector Regression (SVR), and XGBoost Regressor — for predicting DC power output from a solar PV installation. The dataset was constructed by merging solar generation records with meteorological data using aligned timestamps. Nighttime observations (solar irradiation = 0) were excluded from the analysis. The three principal input features employed were Solar Irradiation, Ambient Temperature, and Module Temperature, while the target variable was DC Power output. Experimental results demonstrate that ensemble-based models — Random Forest and XGBoost — achieve the highest predictive accuracy, attaining an R² of 0.968 with MAE values of 314.52 and 321.32, respectively. Linear Regression yielded moderate performance (R² = 0.956), while SVR exhibited substantially degraded accuracy (R² = 0.779, RMSE = 1828.67), attributed to its sensitivity to hyperparameter selection and high-variance input distributions. Solar irradiation was identified as the dominant predictor, consistent with the established physical relationship between photon flux and PV power conversion. These findings validate the superiority of ensemble methods for solar energy forecasting tasks and provide empirical guidance for model selection in grid-scale renewable energy management systems.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-03-23
DOI
https://doi.org/10.5281/zenodo.19177640
Primary Topic
Solar Radiation and Photovoltaics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning Based Prediction of Solar Power Generation Using Weather Data

Yash Jain, Manish Kumar
Zenodo (CERN European Organization for Nuclear Research)
Solar Radiation and Photovoltaics
article

Machine Learning Based Prediction of Solar Power Generation Using Weather Data

Yash Jain, Manish Kumar
article en

Abstract

Accurate forecasting of solar photovoltaic (PV) power generation is critical for the efficient integration of renewable energy into modern power grids. This study presents a comparative evaluation of four supervised machine learning regression models — Linear Regression, Random Forest Regressor, Support Vector Regression (SVR), and XGBoost Regressor — for predicting DC power output from a solar PV installation. The dataset was constructed by merging solar generation records with meteorological data using aligned timestamps. Nighttime observations (solar irradiation = 0) were excluded from the analysis. The three principal input features employed were Solar Irradiation, Ambient Temperature, and Module Temperature, while the target variable was DC Power output. Experimental results demonstrate that ensemble-based models — Random Forest and XGBoost — achieve the highest predictive accuracy, attaining an R² of 0.968 with MAE values of 314.52 and 321.32, respectively. Linear Regression yielded moderate performance (R² = 0.956), while SVR exhibited substantially degraded accuracy (R² = 0.779, RMSE = 1828.67), attributed to its sensitivity to hyperparameter selection and high-variance input distributions. Solar irradiation was identified as the dominant predictor, consistent with the established physical relationship between photon flux and PV power conversion. These findings validate the superiority of ensemble methods for solar energy forecasting tasks and provide empirical guidance for model selection in grid-scale renewable energy management systems.

Zenodo (CERN European Organization for Nuclear Research)
Affordable and clean energy
Openalex Percentile: Top 12%
Solar Radiation and Photovoltaics
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.