The Impact of Weather Variability on Renewable Energy Consumption: Insights from Explainable Machine Learning Models

The pursuit of carbon neutrality is reshaping global energy systems, making the transition to renewable energy critical for mitigating climate change. However, unstable weather conditions continue to challenge energy consumption stability and grid reliability. This study investigates the effectiveness of various machine learning (ML) models at predicting energy consumption differences and employs the SHapley Additive Explanations (SHAP) interpretability tool to quantify the influence of key weather variables, using five years of data (2017–2022) and 196,776 observations collected across Europe. The dataset consists of hourly weather and energy consumption records, and key variables such as Global Horizontal Irradiance (GHI), sunlight duration, day length, cloud cover, and humidity are identified as critical predictors. The results demonstrate that the Random Forest (RF) model achieves the highest accuracy and stability (R2 = 0.92, RMSE = 360.17, MAE = 208.84), outperforming other models in predicting energy consumption differences. Through SHAP analysis, this study demonstrates the profound influence of GHI, which exhibits a correlation coefficient of 0.88 with energy consumption variance. Incorporating advanced data preprocessing and predictor selection techniques remains the RMSE of RF but reduces the RMSE by approximately 25% for the XGBoost model, underlining the importance of selecting appropriate input variables. Hyperparameter tuning further enhances model performance, particularly for less robust algorithms prone to overfitting. The study reveals the complex seasonal and regional effects of weather conditions on energy demands. These findings underscore the effectiveness of ML models at addressing the challenges of complex energy systems and provide valuable insights for policymakers and practitioners to optimize energy management strategies, integrate renewable energy sources, and achieve sustainable development objectives.

Authors

Institutions

Publication Details

Journal
Sustainability
Published
2024-12-26
DOI
https://doi.org/10.3390/su17010087
Citations
12
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
2.50
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Impact of Weather Variability on Renewable Energy Consumption: Insights from Explainable Machine Learning Models

T. Zhang, Ruibing Kou, Rong Qu
12 citations
Sustainability
Energy Load and Power Forecasting
2.50
article

The Impact of Weather Variability on Renewable Energy Consumption: Insights from Explainable Machine Learning Models

T. Zhang, Ruibing Kou, Rong Qu
article en
12 citations

Abstract

The pursuit of carbon neutrality is reshaping global energy systems, making the transition to renewable energy critical for mitigating climate change. However, unstable weather conditions continue to challenge energy consumption stability and grid reliability. This study investigates the effectiveness of various machine learning (ML) models at predicting energy consumption differences and employs the SHapley Additive Explanations (SHAP) interpretability tool to quantify the influence of key weather variables, using five years of data (2017–2022) and 196,776 observations collected across Europe. The dataset consists of hourly weather and energy consumption records, and key variables such as Global Horizontal Irradiance (GHI), sunlight duration, day length, cloud cover, and humidity are identified as critical predictors. The results demonstrate that the Random Forest (RF) model achieves the highest accuracy and stability (R2 = 0.92, RMSE = 360.17, MAE = 208.84), outperforming other models in predicting energy consumption differences. Through SHAP analysis, this study demonstrates the profound influence of GHI, which exhibits a correlation coefficient of 0.88 with energy consumption variance. Incorporating advanced data preprocessing and predictor selection techniques remains the RMSE of RF but reduces the RMSE by approximately 25% for the XGBoost model, underlining the importance of selecting appropriate input variables. Hyperparameter tuning further enhances model performance, particularly for less robust algorithms prone to overfitting. The study reveals the complex seasonal and regional effects of weather conditions on energy demands. These findings underscore the effectiveness of ML models at addressing the challenges of complex energy systems and provide valuable insights for policymakers and practitioners to optimize energy management strategies, integrate renewable energy sources, and achieve sustainable development objectives.

SustainabilityVol. 17(1)
Queen's University Belfast (GB), Changsha University of Science and Technology (CN)
Openalex Percentile: Top 10%
Energy Load and Power Forecasting
2.50
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.