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

Optimizing Space Heating in Buildings: A Deep Learning Approach for Energy Efficiency

Author

Listed:
  • Fernando Almeida

    (NOVA Information Management School (NOVA IMS), Universidade NOVA de Lisboa, 2829-516 Caparica, Portugal)

  • Mauro Castelli

    (NOVA Information Management School (NOVA IMS), Universidade NOVA de Lisboa, 2829-516 Caparica, Portugal)

  • Nadine Corte-Real

    (NOVA Information Management School (NOVA IMS), Universidade NOVA de Lisboa, 2829-516 Caparica, Portugal)

  • Luca Manzoni

    (Dipartimento di Matematica, Informatica e Geoscienze, Università degli Studi di Trieste, 34127 Trieste, Italy)

Abstract

Building energy management is crucial in reducing energy consumption and maintaining occupant comfort, especially in heating systems. However, achieving optimal space heating efficiency while maintaining consistent comfort presents significant challenges. Traditional methods often fail to balance energy consumption with thermal comfort, especially across multiple zones in buildings with varying operational demands. This study investigates the role of deep learning models in optimizing space heating while maintaining thermal comfort across multiple building zones. It aims to enhance heating efficiency by developing predictive models for building temperature and heating consumption, evaluating the effectiveness of different deep learning architectures, and analyzing the impact of model-driven heating optimization on energy savings and occupant comfort. To address this challenge, this study employs Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and Transformer models to forecast area temperatures and predict space heating consumption. The proposed methodology leverages historical building temperature data, weather station measurements such as atmospheric pressure, wind speed, wind direction, relative humidity, and solar radiation, along with other weather parameters, to develop accurate and reliable predictions. A two-stage deep learning process is utilized: first, temperature predictions are generated for different building zones, and second, these predictions are used to estimate global heating consumption. This study also employs grid search and cross-validation to optimize the model configurations and custom loss functions to ensure energy efficiency and occupant comfort. Results demonstrate that the Long Short-Term Memory and Transformer models outperform the Gated Recurrent Unit regarding heating reduction, with a 20.95% and 20.69% decrease, respectively, compared to actual consumption. This study contributes significantly to energy management by providing a deep learning-driven framework that enhances energy efficiency while maintaining thermal comfort across different building areas, thereby supporting sustainable and intelligent building operations.

Suggested Citation

  • Fernando Almeida & Mauro Castelli & Nadine Corte-Real & Luca Manzoni, 2025. "Optimizing Space Heating in Buildings: A Deep Learning Approach for Energy Efficiency," Energies, MDPI, vol. 18(10), pages 1-25, May.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:10:p:2471-:d:1653613
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. Hyejung Chung & Kyung-shik Shin, 2018. "Genetic Algorithm-Optimized Long Short-Term Memory Network for Stock Market Prediction," Sustainability, MDPI, vol. 10(10), pages 1-18, October.
    2. Li, Xinyi & Yao, Runming, 2020. "A machine-learning-based approach to predict residential annual space heating and cooling loads considering occupant behaviour," Energy, Elsevier, vol. 212(C).
    3. Cui, Xuyang & Zhu, Junda & Jia, Lifu & Wang, Jiahui & Wu, Yusen, 2024. "A novel heat load prediction model of district heating system based on hybrid whale optimization algorithm (WOA) and CNN-LSTM with attention mechanism," Energy, Elsevier, vol. 312(C).
    4. Mauricio Nath Lopes & Roberto Lamberts, 2018. "Development of a Metamodel to Predict Cooling Energy Consumption of HVAC Systems in Office Buildings in Different Climates," Sustainability, MDPI, vol. 10(12), pages 1-25, December.
    5. Roozbeh Sadeghian Broujeny & Safa Ben Ayed & Mouadh Matalah, 2023. "Energy Consumption Forecasting in a University Office by Artificial Intelligence Techniques: An Analysis of the Exogenous Data Effect on the Modeling," Energies, MDPI, vol. 16(10), pages 1-21, 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. Dalia Mohammed Talat Ebrahim Ali & Violeta Motuzienė & Rasa Džiugaitė-Tumėnienė, 2024. "AI-Driven Innovations in Building Energy Management Systems: A Review of Potential Applications and Energy Savings," Energies, MDPI, vol. 17(17), pages 1-35, August.
    2. Dong, Shengming & Liu, Tong & Hu, Xiaowei & Zhang, Chen & Hu, Pengli & Zhuang, Wenhui & Liu, Qiyou, 2025. "Investigation on the long short-term memory-based models for rural heating load prediction in Northeast China," Energy, Elsevier, vol. 318(C).
    3. Zhou, Zhongbao & Gao, Meng & Liu, Qing & Xiao, Helu, 2020. "Forecasting stock price movements with multiple data sources: Evidence from stock market in China," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 542(C).
    4. Wang, Yijun & Andreeva, Galina & Martin-Barragan, Belen, 2023. "Machine learning approaches to forecasting cryptocurrency volatility: Considering internal and external determinants," International Review of Financial Analysis, Elsevier, vol. 90(C).
    5. Heon Baek, 2024. "A CNN-LSTM Stock Prediction Model Based on Genetic Algorithm Optimization," Asia-Pacific Financial Markets, Springer;Japanese Association of Financial Economics and Engineering, vol. 31(2), pages 205-220, June.
    6. Ehsan Hoseinzade & Saman Haratizadeh & Arash Khoeini, 2019. "U-CNNpred: A Universal CNN-based Predictor for Stock Markets," Papers 1911.12540, arXiv.org.
    7. Hernandez-Matheus, Alejandro & Löschenbrand, Markus & Berg, Kjersti & Fuchs, Ida & Aragüés-Peñalba, Mònica & Bullich-Massagué, Eduard & Sumper, Andreas, 2022. "A systematic review of machine learning techniques related to local energy communities," Renewable and Sustainable Energy Reviews, Elsevier, vol. 170(C).
    8. Anagnostopoulos, Argyrios & Xenitopoulos, Theofilos & Ding, Yulong & Seferlis, Panos, 2024. "An integrated machine learning and metaheuristic approach for advanced packed bed latent heat storage system design and optimization," Energy, Elsevier, vol. 297(C).
    9. Ding, Yan & Lyu, Yacong & Lu, Shilei & Wang, Ran, 2022. "Load shifting potential assessment of building thermal storage performance for building design," Energy, Elsevier, vol. 243(C).
    10. Razak Olu-Ajayi & Hafiz Alaka & Hakeem Owolabi & Lukman Akanbi & Sikiru Ganiyu, 2023. "Data-Driven Tools for Building Energy Consumption Prediction: A Review," Energies, MDPI, vol. 16(6), pages 1-20, March.
    11. Kumar S. Chandar & Hitesh Punjabi, 2021. "Cat Swarm Optimization Algorithm Tuned Multilayer Perceptron for Stock Price Prediction," International Journal of Web-Based Learning and Teaching Technologies (IJWLTT), IGI Global Scientific Publishing, vol. 17(7), pages 1-15, November.
    12. Zhang, Xiaofeng & Kong, Xiaoying & Yan, Renshi & Liu, Yuting & Xia, Peng & Sun, Xiaoqin & Zeng, Rong & Li, Hongqiang, 2023. "Data-driven cooling, heating and electrical load prediction for building integrated with electric vehicles considering occupant travel behavior," Energy, Elsevier, vol. 264(C).
    13. Se-Hak Chun & Jae-Won Jang, 2022. "A New Trend Pattern-Matching Method of Interactive Case-Based Reasoning for Stock Price Predictions," Sustainability, MDPI, vol. 14(3), pages 1-15, January.
    14. Jaime Alberto Gómez Vilchis & Federico Hernández Álvarez & Luis Ignacio Román de la Sancha, 2021. "Autómata Evolutivo (AE) para el mercado accionario usando Martingalas y un Algoritmo Genético," Remef - Revista Mexicana de Economía y Finanzas Nueva Época REMEF (The Mexican Journal of Economics and Finance), Instituto Mexicano de Ejecutivos de Finanzas, IMEF, vol. 16(4), pages 1-22, Octubre -.
    15. Mohan, Ritwik & Pachauri, Nikhil, 2025. "An ensemble model for the energy consumption prediction of residential buildings," Energy, Elsevier, vol. 314(C).
    16. Domenico Palladino & Iole Nardi & Cinzia Buratti, 2020. "Artificial Neural Network for the Thermal Comfort Index Prediction: Development of a New Simplified Algorithm," Energies, MDPI, vol. 13(17), pages 1-27, September.
    17. You-Da Jhong & Chang-Shian Chen & Bing-Chen Jhong & Cheng-Han Tsai & Song-Yue Yang, 2024. "Optimization of LSTM Parameters for Flash Flood Forecasting Using Genetic Algorithm," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 38(3), pages 1141-1164, February.
    18. Teddy Lazebnik & Tzach Fleischer & Amit Yaniv-Rosenfeld, 2023. "Benchmarking Biologically-Inspired Automatic Machine Learning for Economic Tasks," Sustainability, MDPI, vol. 15(14), pages 1-9, July.
    19. Hou, D. & Evins, R., 2024. "A protocol for developing and evaluating neural network-based surrogate models and its application to building energy prediction," Renewable and Sustainable Energy Reviews, Elsevier, vol. 193(C).
    20. Xian, Huafeng & Che, Jinxing, 2022. "Multi-space collaboration framework based optimal model selection for power load forecasting," Applied Energy, Elsevier, vol. 314(C).

    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:10:p:2471-:d:1653613. 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.