An Ensemble Model of Attention-Enhanced N-BEATS and XGBoost for District Heating Load Forecasting

Accurate heat load forecasting is essential for the efficiency of District Heating Systems (DHS). Still, it is challenged by the need to model long-term temporal dependencies and nonlinear relationships with weather and other factors. This study proposes a hybrid deep learning framework combining an...

Full description

Saved in:
Bibliographic Details
Main Authors: Shaohua Yu, Xiaole Yang, Hengrui Ye, Daogui Tang, Hamidreza Arasteh, Josep M. Guerrero
Format: Article
Language:English
Published: MDPI AG 2025-07-01
Series:Energies
Subjects:
Online Access:https://www.mdpi.com/1996-1073/18/15/3984
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Accurate heat load forecasting is essential for the efficiency of District Heating Systems (DHS). Still, it is challenged by the need to model long-term temporal dependencies and nonlinear relationships with weather and other factors. This study proposes a hybrid deep learning framework combining an attention-enhanced Neural Basis Expansion Analysis for Time Series (N-BEATS) model and eXtreme Gradient Boosting (XGBoost). The N-BEATS component, with a multi-head self-attention mechanism, captures temporal dynamics, while XGBoost models non-linear impacts of external variables. Predictions are integrated using an optimized weighted averaging strategy. Evaluated on a dataset from 103 heating units, the model outperformed 13 baselines, achieving an MSE of 0.4131, MAE of 0.3732, RMSE of 0.6427, and R<sup>2</sup> of 0.9664. This corresponds to a reduction of 32.6% in MSE, 32.0% in MAE, and 17.9% in RMSE, and an improvement of 5.1% in R<sup>2</sup> over the best baseline. Ablation studies and statistical tests confirmed the effectiveness of the attention mechanism and ensemble strategy. This model provides an efficient solution for DHS load forecasting, facilitating optimized energy dispatch and enhancing system performance.
ISSN:1996-1073