Skip to content
Open access

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

Sep 2026 · Building Services Engineering Research & Technology · 0 citations · 31 references

TL;DR

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 portfolios.

Abstract

Accurate forecasting of building energy consumption is crucial for increasing energy efficiency, enabling demand-side management, and improving decarbonization efforts. However, building load profiles are highly variable, impacted by operational schedules, tenant behavior, and weather conditions, limiting the accuracy of conventional forecasting systems. This study rigorously compares six forecasting approaches—Long Short-Term Memory (LSTM), Artificial Neural Networks (ANN), k-Nearest Neighbors (KNN), Extreme Gradient Boosting (XGBoost), Autoregressive Integrated Moving Average (ARIMA), and Seasonal ARIMA (SARIMA)—applied to 2 months of hourly consumption data from a commercial building. Short-term forecasting performance was evaluated at an hourly temporal resolution using MAE, MSE, RMSE, and R 2 to enable consistent comparison among the six models. Results show that LSTM achieved the lowest MAE and RMSE, while SARIMA achieved the highest test-set R 2 . ANN and KNN performed reliably under low-variance conditions, whereas XGBoost was more effective at lower consumption levels than at peak loads. ARIMA and SARIMA capture seasonality but struggle with outliers and near-zero loads. A separate supplementary synthetic-data analysis examined ANN forecasting over a 14-day daily horizon. The novelty of this work lies in systematic comparative benchmarking within a unified experimental framework that clarifies the forecasting horizon and quantifies performance differences. The findings provide actionable insights for the design of smart building energy management systems and inform policy initiatives aimed at improving demand-side flexibility and sustainable energy use. This study equips building services engineers, energy managers, and facility operators with a validated machine learning framework for forecasting electricity consumption in commercial buildings. By benchmarking six algorithms against real operational data, practitioners can identify the most suitable forecasting model for their context. 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 portfolios.

Read PDF

Similar papers

Open access Aug 2026

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

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...

H. S, S. Radhakrishnan · 0 citations
Aug 2026

A Data‐Driven Investigation of How Forecast Horizon and Training Data Size Influence Machine Learning Performance in Solar Irradiance Forecasting

Accurate short‐ and medium‐term solar irradiance forecasting is vital for integrating solar power into the grid, but high variability and weather dependence make it challenging. Machine learning (ML) models offer promise, but their performance often depends on forecast horizon and training data size. In this study, f...

Fatemeh Keramati, H. Mohammadi · 0 citations
Open access Sep 2026

An Explainable Machine Learning Framework for Healthcare Building Energy Demand Forecasting

Accurate building energy forecasting is essential for efficient energy management and operational optimization in intelligent building systems. This study presents an explainable machine learning framework for high-resolution healthcare building energy demand forecasting. Random Forest, XGBoost, Long Short-Term Memory...

Nurudeen Gbadegesin · 0 citations
Review Open access Aug 2026

Application and Comparative Study of Time Series Analysis Algorithms in New Energy Forecasting

The intermittent and volatile characteristics of new energy generation, together with the increasing demand for stable power supply in intelligent industrial systems, make accurate forecasting a critical issue for grid dispatch and electromagnetic energy management. This study systematically reviews the technological e...

M. S. Song, C. Yang, Z. Heng et al. · 0 citations
Sep 2026

A novel approach to multi-horizon wind speed forecasting based on advanced machine learning techniques using sparse meteorological data of indigenous wind farm of Pakistan

Wind energy represents one of the important sources of renewable energy (RE) and plays a pivotal role in the international decarbonization of energy systems. The novelty of the research work lies in the development and evaluation of a multi-horizon forecasting strategy under sparse-data conditions, where limited but...

Shakir Ali Soomro, N. H. Mirjat, K. Harijan et al. · 0 citations
Open access Aug 2026

Modeling the Interaction Between Meteorological Indicators and Electricity Production Using Machine Learning Methods: The Case of Türkiye

Accurate forecasting of electricity production has become increasingly critical for energy systems, particularly in countries where renewable energy penetration and climate variability are rapidly increasing. In this context, this study investigates the interaction between meteorological indicators and electricity prod...

Mustafa Güler · 0 citations

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