IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i15p4160-d1718260.html
   My bibliography  Save this article

Machine Learning Forecasting of Commercial Buildings’ Energy Consumption Using Euclidian Distance Matrices

Author

Listed:
  • Connor Scott

    (Department of Engineering, Manchester Met University, Manchester M1 5GD, UK)

  • Alhussein Albarbar

    (Department of Engineering, Manchester Met University, Manchester M1 5GD, UK)

Abstract

Governments worldwide have set ambitious targets for decarbonising energy grids, driving the need for increased renewable energy generation and improved energy efficiency. One key strategy for achieving this involves enhanced energy management in buildings, often using machine learning-based forecasting methods. However, such methods typically rely on extensive historical data collected via costly sensor installations—resources that many buildings lack. This study introduces a novel forecasting approach that eliminates the need for large-scale historical datasets or expensive sensors. By integrating custom-built models with existing energy data, the method applies calculated weighting through a distance matrix and accuracy coefficients to generate reliable forecasts. It uses readily available building attributes—such as floor area and functional type to position a new building within the matrix of existing data. A Euclidian distance matrix, akin to a K-nearest neighbour algorithm, determines the appropriate neural network(s) to utilise. These findings are benchmarked against a consolidated, more sophisticated neural network and a long short-term memory neural network. The dataset has hourly granularity over a 24 h horizon. The model consists of five bespoke neural networks, demonstrating the superiority of other models with a 610 s training duration, uses 500 kB of storage, achieves an R 2 of 0.9, and attains an average forecasting accuracy of 85.12% in predicting the energy consumption of the five buildings studied. This approach not only contributes to the specific goal of a fully decarbonized energy grid by 2050 but also establishes a robust and efficient methodology for maintaining standards with existing benchmarks while providing more control over the method.

Suggested Citation

  • Connor Scott & Alhussein Albarbar, 2025. "Machine Learning Forecasting of Commercial Buildings’ Energy Consumption Using Euclidian Distance Matrices," Energies, MDPI, vol. 18(15), pages 1-18, August.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:15:p:4160-:d:1718260
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/15/4160/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/15/4160/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ciulla, G. & D'Amico, A., 2019. "Building energy performance forecasting: A multiple linear regression approach," Applied Energy, Elsevier, vol. 253(C), pages 1-1.
    2. Gao, Zhikun & Yu, Junqi & Zhao, Anjun & Hu, Qun & Yang, Siyuan, 2022. "A hybrid method of cooling load forecasting for large commercial building based on extreme learning machine," Energy, Elsevier, vol. 238(PC).
    3. Chaturvedi, Shobhit & Rajasekar, Elangovan & Natarajan, Sukumar & McCullen, Nick, 2022. "A comparative assessment of SARIMA, LSTM RNN and Fb Prophet models to forecast total and peak monthly energy demand for India," Energy Policy, Elsevier, vol. 168(C).
    4. Mohanad S. Al-Musaylh & Ravinesh C. Deo & Yan Li, 2020. "Electrical Energy Demand Forecasting Model Development and Evaluation with Maximum Overlap Discrete Wavelet Transform-Online Sequential Extreme Learning Machines Algorithms," Energies, MDPI, vol. 13(9), pages 1-19, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Arkar, C. & Žižak, T. & Domjan, S. & Medved, S., 2020. "Dynamic parametric models for the holistic evaluation of semi-transparent photovoltaic/thermal façade with latent storage inserts," Applied Energy, Elsevier, vol. 280(C).
    2. Wu, Junqi & Niu, Zhibin & Li, Xiang & Huang, Lizhen & Nielsen, Per Sieverts & Liu, Xiufeng, 2023. "Understanding multi-scale spatiotemporal energy consumption data: A visual analysis approach," Energy, Elsevier, vol. 263(PD).
    3. Zhang, Yagang & Wang, Hui & Wang, Jingchao & Cheng, Xiaodan & Wang, Tong & Zhao, Zheng, 2024. "Ensemble optimization approach based on hybrid mode decomposition and intelligent technology for wind power prediction system," Energy, Elsevier, vol. 292(C).
    4. Alejandra Martínez-Martínez & Rafael Llorca-Vivero, 2025. "The Taxonomy of Climate Change: How Rising Temperatures Unequally Impact Nations’ Discomfort," Working Papers 2507, Department of Applied Economics II, Universidad de Valencia.
    5. Rao, Congjun & Zhang, Yue & Wen, Jianghui & Xiao, Xinping & Goh, Mark, 2023. "Energy demand forecasting in China: A support vector regression-compositional data second exponential smoothing model," Energy, Elsevier, vol. 263(PC).
    6. Mohammed A. Shams & Hussein I. Anis & Mohammed El-Shahat, 2021. "Denoising of Heavily Contaminated Partial Discharge Signals in High-Voltage Cables Using Maximal Overlap Discrete Wavelet Transform," Energies, MDPI, vol. 14(20), pages 1-22, October.
    7. Aliyeva, Xeniya & Memon, Shazim Ali & Nazir, Kashif & Kim, Jong, 2024. "Energy consumption forecasting in PCM-integration buildings considering building and environmental parameters for future climate scenarios," Energy, Elsevier, vol. 310(C).
    8. Ole Øiene Smedegård & Thomas Jonsson & Bjørn Aas & Jørn Stene & Laurent Georges & Salvatore Carlucci, 2021. "The Implementation of Multiple Linear Regression for Swimming Pool Facilities: Case Study at Jøa, Norway," Energies, MDPI, vol. 14(16), pages 1-24, August.
    9. Wenting Zhao & Haoran Xu & Peng Chen & Juan Zhang & Jing Li & Tingting Cai, 2025. "Elastic Momentum-Enhanced Adaptive Hybrid Method for Short-Term Load Forecasting," Energies, MDPI, vol. 18(13), pages 1-25, June.
    10. He, Yan & Zhang, Hongli & Dong, Yingchao & Wang, Cong & Ma, Ping, 2024. "Residential net load interval prediction based on stacking ensemble learning," Energy, Elsevier, vol. 296(C).
    11. Yifei Chen & Zhihan Fu, 2023. "Multi-Step Ahead Forecasting of the Energy Consumed by the Residential and Commercial Sectors in the United States Based on a Hybrid CNN-BiLSTM Model," Sustainability, MDPI, vol. 15(3), pages 1-21, January.
    12. Dai, Ting-Yu & Niyogi, Dev & Nagy, Zoltan, 2025. "CityTFT: A temporal fusion transformer-based surrogate model for urban building energy modeling," Applied Energy, Elsevier, vol. 389(C).
    13. Shaohua Yu & Xiaole Yang & Hengrui Ye & Daogui Tang & Hamidreza Arasteh & Josep M. Guerrero, 2025. "An Ensemble Model of Attention-Enhanced N-BEATS and XGBoost for District Heating Load Forecasting," Energies, MDPI, vol. 18(15), pages 1-22, July.
    14. Lumbreras, Mikel & Garay-Martinez, Roberto & Arregi, Beñat & Martin-Escudero, Koldobika & Diarce, Gonzalo & Raud, Margus & Hagu, Indrek, 2022. "Data driven model for heat load prediction in buildings connected to District Heating by using smart heat meters," Energy, Elsevier, vol. 239(PD).
    15. Nazir, Kashif & Memon, Shazim Ali & Saurbayeva, Assemgul, 2024. "A novel framework for developing a machine learning-based forecasting model using multi-stage sensitivity analysis to predict the energy consumption of PCM-integrated building," Applied Energy, Elsevier, vol. 376(PA).
    16. Wu, Han & Du, Pei, 2024. "Dual-stream transformer-attention fusion network for short-term carbon price prediction," Energy, Elsevier, vol. 311(C).
    17. Qingwen, Wang & XiaoHui, Chu & Chao, Yu, 2024. "Modeling of heat gain through green roofs utilizing artificial intelligence techniques," Energy, Elsevier, vol. 303(C).
    18. Feng, Yayuan & Yao, Jian & Li, Zhonghao & Zheng, Rongyue, 2022. "Uncertainty prediction of energy consumption in buildings under stochastic shading adjustment," Energy, Elsevier, vol. 254(PA).
    19. Marian Kampik & Marcin Fice & Adam Pilśniak & Krzysztof Bodzek & Anna Piaskowy, 2023. "An Analysis of Energy Consumption in Small- and Medium-Sized Buildings," Energies, MDPI, vol. 16(3), pages 1-21, February.
    20. Adam Nassif & Pasidu Dharmasena & Nabil Nassif, 2025. "Application of Machine Learning Techniques for Predicting Heating Coil Performance in Building Heating Ventilation and Air Conditioning Systems," Energies, MDPI, vol. 18(9), pages 1-30, April.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:18:y:2025:i:15:p:4160-:d:1718260. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.