Machine learning framework for short- and medium-term building energy consumption forecasting
Nadia Ahbab, Shahrad Samankan, Mustafa Berker Yurtseven
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
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.