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

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.

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

An in‐depth comparison of four state‐of‐the‐art ML models across various horizons and training data sizes shows the importance of integrating MRMR, with guidelines for researchers and energy planners to achieve more accurate and efficient solar irradiance prediction.

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

The results validate that ensemble learning models are more reliable for sparse Meteorological datasets, whereas DL models are effective for capturing short-term temporal patterns, and provides a practical forecasting framework for wind farms, offering improved operational planning, reduced forecasting uncertainty.

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

The findings demonstrate that GRU-based models offer a robust and reliable framework for electricity production forecasting in meteorologically sensitive energy systems and provide valuable insights for energy planning, grid operation, and data-driven energy policy development.

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.