TL;DR
This paper introduces a rigorous, seven-step reproducible workflow for solar PV power forecasting that bridges the gap between "black-box" machine learning and trustworthy industrial deployment. By combining automated model search (AutoML) with explainable AI (XAI) and conformal calibration, the authors demonstrate that careful feature engineering and time-aware validation are far more critical for accuracy and trust than simply picking the "best" algorithm.
What Problem Does This Paper Address?
While machine learning has become the standard for solar forecasting, the field suffers from a "reproducibility crisis." Many studies report high accuracy but use "leaky" validation methods (like random train-test splits that ignore time order), fail to compare results against simple baselines, or use private datasets that others cannot verify.
Furthermore, there is a "trust gap." Grid operators are hesitant to rely on black-box models. While Explainable AI (XAI) tools like SHAP are increasingly used to show which features drive a forecast, they are often applied uncritically. This paper tackles these issues by providing a standardized framework to ensure forecasts are not just accurate, but also reproducible, interpretable, and statistically sound.
Methods
The authors propose a seven-step AutoML–XAI workflow designed for real-world deployment:
- Data Ingestion: Gathering plant output, metadata, and Numerical Weather Prediction (NWP) data.
- Quality Control: Handling missing values and ensuring time-stamp alignment (a common source of hidden error).
- Feature Engineering: Incorporating physical knowledge (e.g., clear-sky index, solar geometry).
- Time-aware Splitting: Using chronological hold-outs instead of random splits to prevent data leakage.
- Model Search: Using AutoML (specifically the FLAML library) to efficiently scan a "model zoo" including tree ensembles and neural networks.
- Evaluation: Scoring against "smart persistence" baselines and assessing probabilistic coverage.
- Explanation: Using SHAP and permutation importance to verify that the model is learning physical relationships rather than data artifacts.
A standout technical addition is the use of split-conformal calibration. Raw probabilistic models often produce "too narrow" prediction intervals; this technique widens them based on a separate calibration set to guarantee that, for example, an 80% interval actually contains the observation 80% of the time.
Datasets
The workflow was validated using an openly available dataset from a 16.32 kWp PV plant at INESC TEC in Porto, Portugal. The weather inputs were derived from a 4 km resolution MeteoGalicia WRF (Weather Research and Forecasting) model grid. Using an open dataset is a deliberate choice by the authors to ensure that every number in the paper can be independently verified.
Key Insights and Ideas
- Features > Algorithms: The choice of input features (like adding physically-derived clear-sky indices) improved accuracy by ~2.8 percentage points. In contrast, switching between the top-performing algorithms (e.g., XGBoost vs. MLP) only changed results by ~0.2 points.
- The "Optimism" of Shuffled Validation: Validating with random splits (common in many papers) made models look about 6% better than they actually were in a real-world, time-ordered setting.
- SHAP is a Model Property, Not a Physical One: The authors found that SHAP rankings were stable over time but shifted significantly when correlated inputs were removed. This warns practitioners that feature attributions describe how a specific model works, not necessarily the underlying physics of the solar plant.
- Model Footprint Matters: While "Extra Trees" performed well, it produced model files 60 times larger and 80 times slower than LightGBM. For deployment on "edge" hardware (like inverters), these trade-offs are vital.
Key Results
- Accuracy: The best models achieved a normalised Root Mean Square Error (nRMSE) of 11.6%, roughly half the error of a "smart persistence" baseline.
- Probabilistic Reliability: Before calibration, nominal 80% prediction intervals only covered 64.5% of actual observations. After conformal calibration, coverage improved to 81.7%, making the uncertainty estimates much more "bankable" for grid operators.
- Interpretability: SHAP analysis confirmed that NWP irradiance is the dominant driver, but also revealed that the model uses temperature and solar azimuth to "correct" systematic biases in the weather forecasts.
Limitations and Future Work
- Non-stationarity: The paper notes that plants degrade and climates change. A model trained on today's weather might struggle with the "unseen" extremes of a 25-year plant life.
- Small Data/New Sites: The current workflow requires historical data. Future work should explore how "foundation models" or transfer learning can help forecast for new sites with zero history.
- Edge Deployment: While the paper compares model sizes, the actual implementation of these complex workflows on low-power microcontrollers remains an open engineering challenge.
Summary updated