Table of Contents
Fetching ...

Advancing Heat Demand Forecasting with Attention Mechanisms: Opportunities and Challenges

Adithya Ramachandran, Thorkil Flensmark B. Neergaard, Andreas Maier, Siming Bayer

TL;DR

The paper tackles accurate heat demand forecasting for District Heating Systems in the transition toward renewables and decarbonization. It introduces a deep learning architecture that uses time-frequency representations via Continuous Wavelet Transform and a cross-attention mechanism to fuse endogenous and exogenous drivers, forecasting up to $n=24$ steps ahead. Key contributions include a two-branch architecture with cross-attention, decomposition of features into $\text{trend}$, $\text{seasonal}$, and $\text{residual}$ components, and a major reduction in parameters (from ~155M to ~5.7M) while preserving accuracy, demonstrated on three Danish DMAs with hourly data from 2016–2020. The results show improved forecasting accuracy and robustness, with interpretable feature decomposition that supports practical deployment in sustainable district heating operations.

Abstract

Global leaders and policymakers are unified in their unequivocal commitment to decarbonization efforts in support of Net-Zero agreements. District Heating Systems (DHS), while contributing to carbon emissions due to the continued reliance on fossil fuels for heat production, are embracing more sustainable practices albeit with some sense of vulnerability as it could constrain their ability to adapt to dynamic demand and production scenarios. As demographic demands grow and renewables become the central strategy in decarbonizing the heating sector, the need for accurate demand forecasting has intensified. Advances in digitization have paved the way for Machine Learning (ML) based solutions to become the industry standard for modeling complex time series patterns. In this paper, we focus on building a Deep Learning (DL) model that uses deconstructed components of independent and dependent variables that affect heat demand as features to perform multi-step ahead forecasting of head demand. The model represents the input features in a time-frequency space and uses an attention mechanism to generate accurate forecasts. The proposed method is evaluated on a real-world dataset and the forecasting performance is assessed against LSTM and CNN-based forecasting models. Across different supply zones, the attention-based models outperforms the baselines quantitatively and qualitatively, with an Mean Absolute Error (MAE) of 0.105 with a standard deviation of 0.06kW h and a Mean Absolute Percentage Error (MAPE) of 5.4% with a standard deviation of 2.8%, in comparison the second best model with a MAE of 0.10 with a standard deviation of 0.06kW h and a MAPE of 5.6% with a standard deviation of 3%.

Advancing Heat Demand Forecasting with Attention Mechanisms: Opportunities and Challenges

TL;DR

The paper tackles accurate heat demand forecasting for District Heating Systems in the transition toward renewables and decarbonization. It introduces a deep learning architecture that uses time-frequency representations via Continuous Wavelet Transform and a cross-attention mechanism to fuse endogenous and exogenous drivers, forecasting up to steps ahead. Key contributions include a two-branch architecture with cross-attention, decomposition of features into , , and components, and a major reduction in parameters (from ~155M to ~5.7M) while preserving accuracy, demonstrated on three Danish DMAs with hourly data from 2016–2020. The results show improved forecasting accuracy and robustness, with interpretable feature decomposition that supports practical deployment in sustainable district heating operations.

Abstract

Global leaders and policymakers are unified in their unequivocal commitment to decarbonization efforts in support of Net-Zero agreements. District Heating Systems (DHS), while contributing to carbon emissions due to the continued reliance on fossil fuels for heat production, are embracing more sustainable practices albeit with some sense of vulnerability as it could constrain their ability to adapt to dynamic demand and production scenarios. As demographic demands grow and renewables become the central strategy in decarbonizing the heating sector, the need for accurate demand forecasting has intensified. Advances in digitization have paved the way for Machine Learning (ML) based solutions to become the industry standard for modeling complex time series patterns. In this paper, we focus on building a Deep Learning (DL) model that uses deconstructed components of independent and dependent variables that affect heat demand as features to perform multi-step ahead forecasting of head demand. The model represents the input features in a time-frequency space and uses an attention mechanism to generate accurate forecasts. The proposed method is evaluated on a real-world dataset and the forecasting performance is assessed against LSTM and CNN-based forecasting models. Across different supply zones, the attention-based models outperforms the baselines quantitatively and qualitatively, with an Mean Absolute Error (MAE) of 0.105 with a standard deviation of 0.06kW h and a Mean Absolute Percentage Error (MAPE) of 5.4% with a standard deviation of 2.8%, in comparison the second best model with a MAE of 0.10 with a standard deviation of 0.06kW h and a MAPE of 5.6% with a standard deviation of 3%.

Paper Structure

This paper contains 5 sections, 3 figures.

Figures (3)

  • Figure 1: Wavelet-based forecasting network with cross attention between the primary demand features and the supporting exogenous features. $N_{c}$, $N_{w}$, and $N_{t}$ represent the number of consumption, weather and time based features.
  • Figure 2: Seasonal decomposition of demand data and maximum temperature sampled hourly for a specific DMA.
  • Figure 3: Quantitative evaluation for the year 2019 - MAE (top left), and MAPE (top right) across DMAs; Qualitative plots of forecasts over a week in December 2019 for DMA A and DMA B.