Early warning model for anticipating extreme electricity prices

A comparison of early warning models for extreme prices in the Dutch day-ahead electricity market, using open data, cross-border information and weather conditions

Master Thesis (2026)
Author(s)

S.A.E. Weites (TU Delft - Technology, Policy and Management)

Contributor(s)

P.W.G. Bots – Graduation committee member (TU Delft - Technology, Policy and Management)

M. Kroesen – Graduation committee member (TU Delft - Technology, Policy and Management)

Faculty
Technology, Policy and Management
More Info
expand_more
Publication Year
2026
Language
English
Graduation Date
02-07-2026
Awarding Institution
Delft University of Technology
Programme
Complex Systems Engineering and Management (CoSEM)
Faculty
Technology, Policy and Management
Page Views
132
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

The Dutch electricity system is becoming increasingly renewable, weather-dependent, and interconnected. This development is essential for the energy transition, but it also changes the behaviour of the day-ahead electricity market. High wind and solar generation can contribute to low or negative prices when supply exceeds demand, while scarcity and limited flexibility can contribute to price spikes. At the same time, the Netherlands is strongly connected to neighbouring bidding zones, which means that Dutch day-ahead prices are influenced not only by domestic conditions, but also by cross-border exchange, neighbouring residual load, renewable generation, and market coupling. Extreme prices should therefore be understood as events in an interconnected regional electricity system.

This creates a challenge for market participants. Traders, retailers, producers, flexibility providers, and large consumers make decisions before delivery, while the actual system conditions are not yet fully known. Anticipating hours with increased downward or upward price risk is therefore valuable. However, negative prices and price spikes are rare, irregular, and difficult to predict with standard price-forecasting approaches. This thesis therefore focuses on probabilistic early warning rather than exact price forecasting. The main research question is:

“How can ex-ante probabilistic machine-learning models be developed and evaluated to estimate hourly probabilities of negative prices, normal prices, and price spikes in the Dutch day-ahead electricity market, using domestic, weather, and cross-border indicators available before market closure, and how can these probabilities support market decision-making under asymmetric error costs?”

The research addresses this question by developing a reproducible ex-ante early-warning framework. Dutch day-ahead prices are translated into a three-class target variable consisting of negative prices, normal prices, and price spikes. Negative prices are defined as prices below 0 EUR/MWh, while price spikes are defined as prices above the 95th percentile of the Dutch day-ahead price distribution within the corresponding month and year. The feature set combines Dutch price-history variables, domestic system forecasts, weather variables, cross-border indicators, neighbouring-system variables, and calendar controls. Only variables that can be retrieved before the day-ahead market closes are included. Multiple probabilistic classification models are compared using a chronological train-validation-test split, in which earlier years are used for model development and 2025 is kept as the final unseen test year. The candidate models are logistic regression, a PNN, an MLP, GBDT, and XGBoost. Because negative prices and price spikes occur much less often than normal prices, model performance is not evaluated through overall accuracy alone. Instead, the evaluation combines class-specific recall and precision, the macro F2 score, balanced accuracy, warning behaviour, probability-quality metrics, calibration diagnostics, target-definition sensitivity, and feature-removal analysis.

The final model comparison shows that tree-based models provide the strongest early-warning performance. XGBoost is selected as the preferred final model because it gives the best overall balance between detecting negative-price and price-spike events, limiting unnecessary warnings, and producing useful probability estimates. On the final 2025 test set, XGBoost achieves a macro F2 score of 0.812 and a balanced accuracy of 0.895, with high recall for both negative prices (0.969) and price spikes (0.845). It also shows the strongest probability-quality results among the compared models. GBDT achieves comparable results and therefore serves as an important benchmark. In line with the reviewed literature, logistic regression and PNN show that models can detect many rare event hours, while still producing lower precision, more false warnings, and weaker probability quality. This confirms that high recall alone is not sufficient for an early-warning model. The predicted probabilities must also translate into useful warning behaviour for decision support.

The results also show that cross-border information improves the prediction of Dutch extreme prices. For XGBoost, the macro F2 score increases from 0.702 with the domestic baseline to 0.813 with the core cross-border feature set. This indicates that Dutch extreme-price prediction should not be treated as a purely domestic problem. The strongest contribution comes from neighbouring-system features, such as load, generation, renewable generation, and residual-load forecasts. Germany/Luxembourg contributes most consistently to the predictive value of the cross-border feature set. The explainability results support this interpretation. Negative-price risk is mainly associated with residual-load conditions, renewable and neighbouring-system indicators, and scheduled exchange, whereas price-spike risk is more strongly linked to residual load, lagged Dutch prices, solar forecasts, and calendar timing. This suggests that Dutch extreme prices are shaped by a combination of domestic market stress, weather-dependent system conditions, and cross-border market coupling.

The estimated probabilities should be interpreted as decision-support signals rather than automatic trading, hedging, or dispatch rules. The model can identify hours with increased negative-price or price-spike risk before day-ahead market outcomes are known, but the appropriate actions depend on the position, contracts, flexibility options, and risk preferences of the user. A lower warning threshold may be suitable when missed events are more costly than false warnings, while a higher threshold may be more appropriate when false warnings trigger costly or unnecessary actions. The validation-selected thresholds are therefore useful for model comparison and warning-behaviour analysis, but actor-specific operational thresholds require additional information about costs and decision context.

The main contribution of this thesis is a Dutch ex-ante probabilistic early-warning framework that combines extreme-price classification, open data, cross-border information, model comparison, explainability, and cost-sensitive interpretation. The practical deliverable is a reproducible modelling pipeline that forms the basis for an early-warning tool. Such a tool could provide hourly probabilities of negative prices and price spikes, together with interpretable drivers that help market participants identify hours requiring closer attention or preparation. At the same time, operational use should also account for possible feedback effects. If many market participants respond to similar warning signals, their bidding, hedging, scheduling, or flexibility decisions may influence the price outcome that the model tries to predict. Several limitations should be taken into account. The final evaluation is based on one out-of-sample test year, and the analysis is limited to hourly day-ahead prices. Intraday and balancing-market outcomes, as well as actor-specific trading and flexibility strategies, are therefore outside the scope of the model. These limitations do not undermine the value of the framework, but they show that operational use requires further development and alignment with actor-specific decision-making processes.

Files

License info not available