AAU Student Projects - visit Aalborg University's student projects portal
A master thesis from Aalborg University

LSTM-Based Forecasting of Danish Electricity Imbalance Price: A Comparative Study of Classical and Machine Learning Models

[LSTM-Based Forecasting of Danish Electricity Imbalance Price]

Author(s)

Term

4. term

Education

Publication year

2025

Submitted on

2025-05-27

Pages

42 pages

Abstract

Forecasting imbalance prices in electricity markets has become increasingly relevant due to volatility in part from renewable integration and regulatory reforms. This thesis explores the feasibility of modelling the Danish DK1 balancing market using LSTM, with the goal of enabling flexible assets to act after the clo- sure of the ID market. A stateful LSTM model was trained under cuDNN constraints utilized GPU acceleration, mixed precision training, and memory optimization to support a hyper- parameter tuning process that would other- wise have been computationally prohibitive. The tuning itself was performed using a combi- nation of Hyperband and Bayesian Optimiza- tion. The LSTM model was benchmarked against ARIMA, naive baselines, and methods such as Random Forest and XGBoost. Results showed consistent improvements in predictive accuracy after transforming the target variable through co-integration (assuming unit root) with the day ahead spot price, capturing the structural anchoring relationship and improv- ing the signal to noise ratio. Despite the com- plexity of LSTMs, simple AR models performed surprisingly well after transformation, under- lining the short term dynamics that dominate the imbalance market. Ultimately, the opti- mized LSTM model demonstrated strong per- formance in capturing extreme price spikes and directional shifts, opening for post ID op- erations. The thesis highlight the importance of aligning model design with market struc- ture and how simple models, under the right conditions can serve as an alternative.

Keywords

Documents


Colophon: This page is part of the AAU Student Projects portal, which is run by Aalborg University. Here, you can find and download publicly available bachelor's theses and master's projects from across the university dating from 2008 onwards. Student projects from before 2008 are available in printed form at Aalborg University Library.

If you have any questions about AAU Student Projects or the research registration, dissemination and analysis at Aalborg University, please feel free to contact the VBN team. You can also find more information in the AAU Student Projects FAQs.