IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v17y2025i23p10882-d1810859.html

A Generalizable Hybrid AI-LSTM Model for Energy Consumption and Decarbonization Forecasting

Author

Listed:
  • Khaled M. Salem

    (Department of Basic and Applied Science Engineering, Arab Academy for Science, Technology and Maritime Transport (Smart Village Campus), Smart Village, Giza 12577, Egypt
    Department of Energy and Fluid Mechanics, Engineering School (EII), University of Valladolid (UVa), 47002 Valladolid, Spain)

  • A. O. Elgharib

    (Department of Basic and Applied Science Engineering, Arab Academy for Science, Technology and Maritime Transport (Smart Village Campus), Smart Village, Giza 12577, Egypt)

  • Javier M. Rey-Hernández

    (Department of Mechanical Engineering, Fluid Mechanics and Thermal Engines, Engineering School, University of Malaga (UMa), 29016 Málaga, Spain
    Institute of Advanced Production Technologies (ITAP), University of Valladolid (UVa), 47002 Valladolid, Spain
    GIRTER Research Group, Consolidated Research Unit (UIC053) of Castile and Leon, 47002 Valladolid, Spain)

  • Francisco J. Rey-Martínez

    (Department of Energy and Fluid Mechanics, Engineering School (EII), University of Valladolid (UVa), 47002 Valladolid, Spain
    Institute of Advanced Production Technologies (ITAP), University of Valladolid (UVa), 47002 Valladolid, Spain
    GIRTER Research Group, Consolidated Research Unit (UIC053) of Castile and Leon, 47002 Valladolid, Spain)

Abstract

This research presents a solution to the problem of controlling the energy demand and carbon footprint of old buildings, with the focus being on a (heated) building located in Madrid, Spain. A framework that incorporates AI and advanced hybrid ensemble approaches to make very accurate energy consumption predictions was developed and tested using the MATLAB environment. At first, the study evaluated six individual AI models (ANN, RF, XGBoost, RBF, Autoencoder, and Decision Tree) using a dataset of 100 points that were collected from the building’s sensors. Their performance was evaluated with high-quality data, which were ensured to be free of missing values or outliers, and they were prepared using L1/L2 normalization to guarantee optimal model performance. Later, higher accuracy was achieved through combining the models by means of hybrid ensemble techniques (voting, stacking, and blending). The main contribution is the application of a Long Short-Term Memory (LSTM) model for predicting the energy consumption of the building and, very importantly, its carbon footprint over a 30-year period until 2050. Additionally, the proposed methodology provides a structured pathway for existing buildings to progress toward nearly Zero-Energy Building (nZEB) performance by enabling more effective control of their energy demand and operational emissions. The comprehensive assessment of predictive models definitively concludes that the blended ensemble method is the most powerful and accurate forecasting tool, achieving 97% accuracy. A scenario where building heating energy use jumps to 135 by 2050 (a 35% increase above 2020 levels) represents an alarming complete failure to achieve energy efficiency and decarbonization goals, which would fundamentally jeopardize climate targets, energy security, and consumer expenditure.

Suggested Citation

  • Khaled M. Salem & A. O. Elgharib & Javier M. Rey-Hernández & Francisco J. Rey-Martínez, 2025. "A Generalizable Hybrid AI-LSTM Model for Energy Consumption and Decarbonization Forecasting," Sustainability, MDPI, vol. 17(23), pages 1-23, December.
  • Handle: RePEc:gam:jsusta:v:17:y:2025:i:23:p:10882-:d:1810859
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/17/23/10882/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/17/23/10882/
    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:jsusta:v:17:y:2025:i:23:p:10882-:d:1810859. 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 The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (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.