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

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

Authors

Institutions

Publication Details

Journal
Building Services Engineering Research and Technology
Published
2026-09-24
DOI
https://doi.org/10.1177/01436244261489950
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

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

Shahrad Samankan, M. Berker Yurtseven, Nadia Ahbab
Building Services Engineering Research and Technology
Energy Load and Power Forecasting
article

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

Shahrad Samankan, M. Berker Yurtseven, Nadia Ahbab
article en

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

Building Services Engineering Research and Technology
Istanbul Technical University (TR)
Affordable and clean energy
Openalex Percentile: Top 21%
Energy Load and Power Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.