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

    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.

    We have no bibliographic references for this item. You can help adding them by using 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.