TL;DR
This paper tackles the challenge of accurately forecasting day-ahead electricity prices by exploring advanced machine learning techniques and novel features, including neighboring countries' price histories. The authors demonstrate that incorporating these external factors significantly improves forecast accuracy and provide crucial insights into how these models make predictions using explainable AI (XAI) methods.
What Problem Does This Paper Address?
Predicting electricity prices on the day-ahead market is a complex and increasingly important task. The energy transition, with its growing reliance on variable renewable sources, coupled with evolving market regulations and interconnected grids, makes price dynamics highly volatile and challenging to model. Traditional forecasting methods often struggle with these complexities, especially during periods of sudden market shifts. Furthermore, many advanced machine learning models, while powerful, operate as "black boxes," making it difficult for users to trust their predictions or understand the underlying drivers. This lack of transparency hinders adoption and limits the ability to debug or improve models. This paper aims to address these issues by developing accurate, reproducible, and explainable electricity price forecasting models.
Methods
The authors employ a rigorous and reproducible methodology, leveraging several machine learning models:
- Support Vector Regressor (SVR): A model with a strong mathematical foundation, adapted for multivariate time series using ChainSVR and MultiSVR approaches.
- Random Forest Regressor (RFR): A popular ensemble method that combines multiple decision trees.
- Deep Neural Networks (DNNs): Sequential models with multiple layers, capable of learning complex patterns.
- Convolutional Neural Networks (CNNs): A variant of DNNs, known for their effectiveness in image processing and increasingly applied to time series.
To enhance model interpretability, the paper heavily utilizes SHAP (SHapley Additive exPlanations) values. SHAP provides a way to attribute the contribution of each feature to a model's prediction, offering insights into feature importance and how models make decisions.
The study also emphasizes reproducibility by sharing code and using established benchmark datasets. They also detail their data preprocessing and hyperparameter tuning strategies, including a randomized grid search.
Datasets
The paper uses datasets from the EPFTOOLBOX, which include:
- SOTA datasets: Historical electricity prices for France (FR), Germany (DE), and Belgium (BE) over six years, along with two exogenous features (consumption and production forecasts).
- Enriched datasets: These extend the SOTA datasets by incorporating additional features such as prices from neighboring countries (Dutch, Spanish, Swiss), gas prices (EGSI index), and various date dummy variables (weekday, week number, day of month, month number). These enriched datasets are created for individual countries (FR, DE, BE) and a combined "Multi-Output" dataset.
The experiments are conducted over two distinct time periods:
- T₁: A 6-year period (2011-2016) used for training and validation, aligning with previous benchmark studies.
- T₂: A more recent period (training on 2016-2019, testing on 2020-2021) to evaluate model robustness and adaptability to current market conditions, including the impact of COVID-19 and the energy crisis.
Key Insights and Ideas
- External Features are Crucial: Incorporating data from neighboring countries (especially Swiss prices) and gas prices significantly boosts forecasting accuracy, highlighting the interconnectedness of European energy markets.
- RF and CNN Struggle: Random Forest and Convolutional Neural Network models, while popular, did not perform as well in this specific electricity price forecasting context. The authors suggest this might be due to how they handle input features or the nature of the data itself (e.g., CNNs being better suited for more spatially structured data).
- DNNs and SVR Excel: Deep Neural Networks and Support Vector Regressors demonstrated superior performance, effectively capturing complex market dynamics.
- Explainability Builds Trust: SHAP values reveal that models learn meaningful patterns, such as peak-load behavior and the influence of specific external factors like gas prices during volatile periods. This transparency is vital for user confidence.
- Market Volatility is a Challenge, But Models Adapt: Despite significant market shifts (like COVID-19 lockdowns), the models showed an ability to adapt, albeit with a slight initial performance dip, by re-weighting feature importance.
Key Results
- Performance Gains: Adding new features (especially those without lag, like consumption/production forecasts and Swiss prices) improved model performance by up to 15%.
- Country-Specific Dynamics: The importance of features varied by country, reflecting differences in energy mixes (e.g., France's reliance on nuclear vs. Germany's wind power) and consumption patterns (e.g., France's temperature sensitivity).
- Multi-Country Forecasting: While generally beneficial, the impact of multi-country forecasting was mixed. It significantly improved predictions for Belgium but offered less benefit for France and Germany, suggesting that the added features didn't always provide novel information for these markets.
- Period T₂ Performance: MAE and DAE metrics roughly doubled in the more volatile T₂ period, but the relative performance (RMAE) showed that models adapted better to these changes compared to a naive forecaster.
- Feature Importance: Swiss prices and gas prices were consistently identified as highly influential features across multiple models and datasets.
Limitations and Future Work
- Computational Cost: Retraining models for recalibration is computationally expensive, leading the authors to evaluate performance without it.
- Data Availability: The Belgian dataset's performance was limited in T₁ due to the unavailability of Swiss price forecasts.
- Model Adaptability: While models adapt, the adaptation is not instantaneous, leading to a short period of performance deterioration.
- Future Work:
- New Features: Incorporating coal, oil, or carbon prices, and more data from other European countries (Spain, Italy, Denmark).
- Other Prices: Including EXAA or UK prices, which are available before the EPEX market closes.
- Network Topology: Investigating Graph Neural Networks for managing European network topology.
- Transfer Capacities: Including data on available transfer capacities to better model cross-border energy flows.
- Alternative Models: Exploring other ML models like Gaussian processes, nearest neighbors, or multi-kernel SVR, as well as advanced time series models like RNNs and dynamic time warp models.
Summary updated