Skip to content
Open access

Joint probabilistic forecasting of electricity and heat demand in residential buildings using LSTM and weather-driven features

Aug 2026 · Discover Sustainability · 0 citations

TL;DR

A probabilistic forecasting framework designed to jointly predict hourly electricity and heat demand for a residential building using deep learning is presented, based on a Long Short-Term Memory neural network trained using look-back windows of 48 h.

Abstract

Forecasting energy demand is critical to resource optimization, grid operation, and sustainability for smart buildings and urban energy systems. This study presents a probabilistic forecasting framework designed to jointly predict hourly electricity and heat demand for a residential building using deep learning. The model ingests hourly multivariate data spanning multiple years, comprising two energy targets — electricity and heat demand — and five weather covariates — air temperature, relative humidity, wind speed, solar irradiation, and air pressure — all of which are known to significantly influence building energy consumption. The proposed framework is based on a Long Short-Term Memory (LSTM) neural network trained using look-back windows of 48 h. Performance is evaluated using Mean Absolute Error (MAE) and Root Mean Square Error (RMSE). The proposed LSTM-based framework achieves strong forecasting accuracy, with a 1-hour horizon yielding MAE = 157.7 kW and RMSE = 218.4 kW for electricity, and MAE = 128.0 kW and RMSE = 184.8 kW for heat. Even for 720-hour forecasts, errors remain low, and the uncertainty intervals are well-calibrated (Mean Prediction Interval Width (MPIW) ≈ 308–377 kW, Prediction Interval Normalized Average Width (PINAW) ≈ 0.20–0.25). Ablation experiments highlight the significance of interpolation, normalization, cyclic encoding, and weather features, while SHapley Additive exPlanations (SHAP)-based explainability provides interpretable insights into energy demand behaviour. Comprehensive benchmark evaluation against Persistence, Linear Regression (LR), Vector Autoregression (VAR), and Quantile Regression (QR) baselines confirms superior probabilistic performance (Continuous Ranked Probability Score (CRPS) improvement of 21.6% for electricity, 22.9% for heat; Energy Score (ES) improvement of 16.1%; Variogram Score (VS) improvement of 16.8%). An empirical comparison between the proposed joint model and two independent LSTMs validates the joint architecture through a 21.4% Variogram Score improvement and 12.8% Energy Score improvement.

Read PDF

Similar papers

Open access Sep 2026

Residential Electrical Load, Solar Energy and Electricity Bill Forecasting Using Hybrid Machine Learning Models with Time-of-Use Tariffs: A Case Study of Durban, South Africa

The hybrid ensemble model accomplished the highest forecasting accuracy of the electricity bill with MAE, RMSE, MSE, MASE and R2 of 0.97978 when compared to other models.

T. Adefarati, Gulshan Sharma, P. Bokoro et al. · 0 citations
Open access Sep 2026

Machine learning framework for short- and medium-term building energy consumption forecasting

The LSTM model’s superior accuracy supports its integration into Building Energy Management Systems (BEMS) for demand response, anomaly detection, and predictive control, enabling professionals to reduce operational energy costs, enhance occupant comfort, and advance sustainability targets within modern building portfo...

Nadia Ahbab, Shahrad Samankan, Mustafa Berker Yurtseven · 0 citations
Open access Sep 2026

Open-Source Machine Learning Framework for Fully Electrified Residential Load Prediction: A Temperature-to-kWh Model Using XGBoost

An open-source, scalable temperature-driven extreme gradient boosting (XGBoost) algorithm model is developed to predict temperature-to-kWh for residential houses and showed the novel XGBoost configuration outperformed baseline methods and yielded accuracy comparable to or better than reported deep-learning implementati...

Shafquat Rana, Amanullah Quamer, J. Pearce · 0 citations
Conference Sep 2026

Comparative Analysis of Linear and Ensemble Models for Short-Term Residential Energy Forecasting Across Multiple Forecast Horizons

Accurate forecasting of household appliance energy consumption is essential for supporting smart-home energy management and residential electricity efficiency. This study compares the forecasting performance of Linear Models (LM), Random Forest (RF), and Extreme Gradient Boosting (XGBoost) using a multivariate dataset....

Leyton Raynaldo Ozzora, Aaron Ng, Nicholas Reynard Kusuma et al. · 0 citations
Open access Aug 2026

Short-term load forecasting using artificial neural network and linear regression across multi-city smart grid dataset

The experimental findings indicate that Linear Regression (LR) model is better than the Artificial Neural Network (ANN) model because it has a small Root Mean Square Error (RMSE), which means that the underlying data set is more linear in nature and in this case, simpler models can be more effective than the more compl...

Shorya Mittal, N. Saxena, K. Gandhi et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.