Tree-based Forecasting of Day-ahead Solar Power Generation from Granular Meteorological Features

Nick Berlanger, Noah van Ophoven, Tim Verdonck, Ines Wilms

Abstract As renewable energy integration grows, the intermittency of solar power presents significant challenges for grid stability and economic dispatch. This paper evaluates a machine learning framework for day-ahead solar power forecasting using high-resolution spatial meteorological data and astronomical features. By comparing linear regression with tree-based models—Regression Trees, Random Forests, and XGBoost—the study demonstrates that non-parametric models, particularly XGBoost, significantly outperform traditional baselines. The results highlight the importance of granular weather data and sun positioning in capturing the complex, non-linear dynamics of solar generation at a national scale.

Introduction

The "intermittency problem" is a central hurdle in the global shift toward renewable energy. Solar power generation is highly volatile, susceptible to sudden cloud cover and diurnal cycles. For grid operators, this volatility necessitates expensive backup power plants to ensure stability. Accurate day-ahead forecasts are therefore essential for efficient grid management. This study addresses the limitations of traditional forecasting models, which often rely on coarse regional averages, by proposing a framework that leverages granular spatial weather data and advanced tree-based machine learning.

Methodology

The researchers compared four primary modeling approaches to determine the most effective method for Belgian grid-level forecasting: Linear Regression (LR), Regression Trees (RT), Random Forest (RF), and Extreme Gradient Boosting (XGBoost).

Spatial Granularity and Feature Engineering

To account for local weather variations without computational overload, the authors used K-means clustering to identify 5 and 12 "key locations" across Belgium. The feature set was expanded beyond simple radiation to include:

  • Meteorological Features: Net solar radiation, temperature, relative humidity, total cloud cover, and the Wind Chill Index.
  • Astronomical Features: Zenith and Azimuth angles, which serve as precise proxies for seasonal and daily cycles.

Normalization and Load Factor

A critical step in the methodology was forecasting the "Load Factor"—the actual generation divided by the installed capacity—rather than raw megawatts. This normalization removes the artificial upward trend caused by the rapid expansion of solar infrastructure over time, allowing the model to focus purely on meteorological relationships.

Figure 5: Comparison of Actual Solar Generation (ASG) and Installed Capacity (IC) trends (left) versus the normalized Load Factor (right).

Datasets

The study utilized a comprehensive dataset spanning January 2019 to June 2023, comprising nearly 40,000 hourly observations. Solar generation and capacity data were sourced from the Elia Group (Belgium’s Transmission System Operator), while meteorological variables were extracted from the ERA5 dataset on a 62-point grid across the country.

Figure 4: Multi-scale visualization of Actual Solar Generation (ASG) data, showing patterns across the entire dataset, a single year, a week, and a single day.

Key Results and Insights

  • XGBoost Superiority: The XGBoost configuration using 12 spatial clusters (XGBoost-(b)-12) was the top performer across all error metrics (RMSE, MAE, and SMAPE). It was also significantly more computationally efficient than Random Forest, training in roughly 2.7 minutes compared to 11 minutes.
  • Statistical Significance: Using the Model Confidence Set (MCS) procedure, the improvements offered by tree-based ensembles were proven to be statistically significant over simpler parametric models.
  • Feature Importance: SHAP (SHapley Additive exPlanation) analysis confirmed that while Surface Net Solar Radiation is the primary driver, astronomical angles and humidity are vital for refining accuracy during complex weather patterns.

Conclusion and Future Work

The study proves that combining granular spatial weather data with tree-based ensembles provides the precision required for modern electricity markets. While the current framework focuses on point forecasts, future research will explore probabilistic forecasting to provide grid managers with confidence intervals. Additionally, the authors suggest that this framework is highly adaptable for wind power forecasting, which faces similar spatial and intermittent challenges.

Summary updated

BibTeX
@inproceedings{berlanger2024tree,
  author = {Nick Berlanger and Noah van Ophoven and Tim Verdonck and Ines Wilms},
  title = {{Tree-based Forecasting of Day-ahead Solar Power Generation from Granular Meteorological Features}},
  booktitle = {Data},
  year = {2024},
  doi = {10.1080/26941899.2024.2426786},
}
Figure