{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,28]],"date-time":"2026-02-28T04:53:42Z","timestamp":1772254422270,"version":"3.50.1"},"reference-count":36,"publisher":"MDPI AG","issue":"10","license":[{"start":{"date-parts":[[2025,5,12]],"date-time":"2025-05-12T00:00:00Z","timestamp":1747008000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"European Union","award":["UIDB\/04152\/2020"],"award-info":[{"award-number":["UIDB\/04152\/2020"]}]},{"name":"Funda\u00e7\u00e3o para a Ci\u00eanciae a Tecnologia","award":["UIDB\/04152\/2020"],"award-info":[{"award-number":["UIDB\/04152\/2020"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Energies"],"abstract":"<jats:p>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.<\/jats:p>","DOI":"10.3390\/en18102471","type":"journal-article","created":{"date-parts":[[2025,5,12]],"date-time":"2025-05-12T06:17:08Z","timestamp":1747030628000},"page":"2471","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Optimizing Space Heating in Buildings: A Deep Learning Approach for Energy Efficiency"],"prefix":"10.3390","volume":"18","author":[{"ORCID":"https:\/\/orcid.org\/0009-0008-3331-2373","authenticated-orcid":false,"given":"Fernando","family":"Almeida","sequence":"first","affiliation":[{"name":"NOVA Information Management School (NOVA IMS), Universidade NOVA de Lisboa, 2829-516 Caparica, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8793-1451","authenticated-orcid":false,"given":"Mauro","family":"Castelli","sequence":"additional","affiliation":[{"name":"NOVA Information Management School (NOVA IMS), Universidade NOVA de Lisboa, 2829-516 Caparica, Portugal"}]},{"given":"Nadine","family":"Corte-Real","sequence":"additional","affiliation":[{"name":"NOVA Information Management School (NOVA IMS), Universidade NOVA de Lisboa, 2829-516 Caparica, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6312-7728","authenticated-orcid":false,"given":"Luca","family":"Manzoni","sequence":"additional","affiliation":[{"name":"Dipartimento di Matematica, Informatica e Geoscienze, Universit\u00e0 degli Studi di Trieste, 34127 Trieste, Italy"}]}],"member":"1968","published-online":{"date-parts":[[2025,5,12]]},"reference":[{"key":"ref_1","unstructured":"Ezzati, P., Mohammadi, A., Reza, M., and Fard, A. Effect of insulation on energy saving of buildings with closed cell flexible elastomeric foam (FEF) insulation. In Proceedings of the 5th International Conference on Management Optimization and Development of Energy Infrastructures."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"663","DOI":"10.1016\/j.enbuild.2004.09.007","article-title":"A method of formulating energy load profile for domestic buildings in the UK","volume":"37","author":"Yao","year":"2005","journal-title":"Energy Build."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"118676","DOI":"10.1016\/j.energy.2020.118676","article-title":"A machine-learning-based approach to predict residential annual space heating and cooling loads considering occupant behaviour","volume":"212","author":"Li","year":"2020","journal-title":"Energy"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Lopes, M.N., and Lamberts, R. (2018). Development of a metamodel to predict cooling energy consumption of HVAC systems in office buildings in different climates. Sustainability, 10.","DOI":"10.3390\/su10124718"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"113508","DOI":"10.1016\/j.enbuild.2023.113508","article-title":"An energy consumption prediction method for HVAC systems using energy storage based on time series shifting and deep learning","volume":"298","author":"Liu","year":"2023","journal-title":"Energy Build."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"113436","DOI":"10.1016\/j.enbuild.2023.113436","article-title":"Advanced controls on energy reliability, flexibility and occupant-centric control for smart and energy-efficient buildings","volume":"297","author":"Liu","year":"2023","journal-title":"Energy Build."},{"key":"ref_7","first-page":"2","article-title":"New health & comfort promoting CEN standard","volume":"4","author":"Boerstra","year":"2019","journal-title":"REHVA J."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"64","DOI":"10.35940\/ijeat.C4383.13030224","article-title":"Artificial Intelligence Applications in Natural Gas Industry: A Literature Review","volume":"13","author":"Nuthakki","year":"2024","journal-title":"Int. J. Eng. Adv. Technol."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"100069","DOI":"10.1016\/j.clrc.2022.100069","article-title":"Using artificial intelligence models and degree-days method to estimate the heat consumption evolution of a building stock until 2050: A case study in a temperate climate of the Northern part of Europe","volume":"5","author":"Nishimwe","year":"2022","journal-title":"Clean. Responsible Consum."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Sadeghian Broujeny, R., Ben Ayed, S., and Matalah, M. (2023). Energy Consumption Forecasting in a University Office by Artificial Intelligence Techniques: An Analysis of the Exogenous Data Effect on the Modeling. Energies, 16.","DOI":"10.3390\/en16104065"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3609112","article-title":"ViT4Mal: Lightweight Vision Transformer for Malware Detection on Edge Devices","volume":"22","author":"Ravi","year":"2023","journal-title":"ACM Trans. Embed. Comput. Syst."},{"key":"ref_12","unstructured":"Khalel, A., and El-Saban, M. (2018). Automatic Pixelwise Object Labeling for Aerial Imagery Using Stacked U-Nets. arXiv."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Wei, P., Xia, S., and Jiang, X. (2018, January 8\u201311). Energy saving recommendations and user location modeling in commercial buildings. Proceedings of the UMAP 2018\u2014Proceedings of the 26th Conference on User Modeling, Adaptation and Personalization, Singapore.","DOI":"10.1145\/3209219.3209244"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"3586","DOI":"10.1016\/j.rser.2012.02.049","article-title":"A review on the prediction of building energy consumption","volume":"16","author":"Zhao","year":"2012","journal-title":"Renew. Sustain. Energy Rev."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"2196","DOI":"10.1109\/ACCESS.2021.3136091","article-title":"Heating and Cooling Loads Forecasting for Residential Buildings Based on Hybrid Machine Learning Applications: A Comprehensive Review and Comparative Analysis","volume":"10","author":"Moradzadeh","year":"2022","journal-title":"IEEE Access"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"104612","DOI":"10.1016\/j.jobe.2022.104612","article-title":"Data-driven simulation for energy and local comfort optimization: Case study of a laboratory","volume":"54","author":"Yadav","year":"2022","journal-title":"J. Build. Eng."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Mahjoub, S., Chrifi-Alaoui, L., Marhic, B., and Delahoche, L. (2022). Predicting Energy Consumption Using LSTM, Multi-Layer GRU and Drop-GRU Neural Networks. Sensors, 22.","DOI":"10.3390\/s22114062"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"584","DOI":"10.1016\/j.jobe.2018.06.012","article-title":"Energy trade off analysis of optimized daily temperature setpoints","volume":"19","author":"Ghahramani","year":"2018","journal-title":"J. Build. Eng."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Chen, Z., Tao, Z., and Chang, A. (2021, January 18\u201320). A data-driven approach to optimize building energy performance and thermal comfort using machine learning models. Proceedings of the 2021 1st International Conference on Control and Intelligent Robotics, Guangzhou, China.","DOI":"10.1145\/3473714.3473794"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"113406","DOI":"10.1016\/j.enbuild.2023.113406","article-title":"Heating setpoint recommendation strategy for thermal comfort and energy consumption optimization","volume":"296","author":"Almeida","year":"2023","journal-title":"Energy Build."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"878","DOI":"10.1016\/j.enbenv.2023.07.001","article-title":"Demystifying energy savings from dynamic temperature setpoints under weather and occupancy variability","volume":"5","author":"Talami","year":"2023","journal-title":"Energy Built Environ."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"536","DOI":"10.1016\/j.enbuild.2014.09.055","article-title":"A knowledge based approach for selecting energy-aware and comfort-driven HVAC temperature set points","volume":"85","author":"Ghahramani","year":"2014","journal-title":"Energy Build."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"105798","DOI":"10.1016\/j.jobe.2022.105798","article-title":"Dynamic room temperature setpoints of air-conditioning demand response based on heat balance equations with thermal comfort model as constraint: On-site experiment and simulation","volume":"65","author":"Li","year":"2023","journal-title":"J. Build. Eng."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"133536","DOI":"10.1016\/j.energy.2024.133536","article-title":"A novel heat load prediction model of district heating system based on hybrid whale optimization algorithm (WOA) and CNN-LSTM with attention mechanism","volume":"312","author":"Cui","year":"2024","journal-title":"Energy"},{"key":"ref_25","unstructured":"Miles, H. (2020). A Sequential Modelling Approach for Indoor Temperature Prediction and Heating Control in Smart Buildings. arXiv."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Yang, Y., and Yan, J. (2024). Applied sciences A Heat Load Prediction Method for District Heating Systems Based on the AE-GWO-GRU Model. Appl. Sci., 14.","DOI":"10.3390\/app14135446"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Qaisar, I., Sun, K., Zhao, Q., Xing, T., and Yan, H. (2023). Multi-Sensor-Based Occupancy Prediction in a Multi-Zone Office Building with Transformer. Buildings, 13.","DOI":"10.20944\/preprints202306.1808.v1"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"33","DOI":"10.1016\/j.enbuild.2018.08.013","article-title":"Energy consequences of Comfort-driven temperature setpoints in office buildings","volume":"177","author":"Aryal","year":"2018","journal-title":"Energy Build."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"1","DOI":"10.59717\/j.xinn-energy.2024.100058","article-title":"Intelligent optimization for building energy management considering indoor heat transfer Intelligent optimization for building energy management considering indoor heat transfer","volume":"1","author":"Jing","year":"2024","journal-title":"Innov. Energy"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"969","DOI":"10.1007\/s12273-020-0752-9","article-title":"Evaluating multiple parameters dependency of base temperature for heating degree-days in building energy prediction","volume":"14","author":"Meng","year":"2021","journal-title":"Build. Simul."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Sahu, A.K., Kumar Gupta, P., Dohare, A.K., Kumar Singh, A., Mishra, A., Rao, A., and Jha, S. (2023, January 20\u201321). Stock Market Prediction Using Machine Learning. Proceedings of the 2023 International Conference on Computational Intelligence, Communication Technology and Networking (CICTN), Ghaziabad, India.","DOI":"10.1109\/CICTN57981.2023.10140750"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"2451","DOI":"10.1162\/089976600300015015","article-title":"Learning to forget: Continual prediction with LSTM","volume":"12","author":"Gers","year":"2000","journal-title":"Neural Comput."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Chung, H., and Shin, K.S. (2018). Genetic algorithm-optimized long short-term memory network for stock market prediction. Sustainability, 10.","DOI":"10.3390\/su10103765"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"5929","DOI":"10.1007\/s10462-020-09838-1","article-title":"A review on the long short-term memory model","volume":"53","author":"Mosquera","year":"2020","journal-title":"Artif. Intell. Rev."},{"key":"ref_35","unstructured":"Beltagy, I., Peters, M.E., and Cohan, A. (2020). Longformer: The Long-Document Transformer. arXiv."},{"key":"ref_36","unstructured":"Patterson, D., Gonzalez, J., Le, Q., Liang, C., Munguia, L.-M., Rothchild, D., So, D., Texier, M., and Dean, J. (2021). Carbon Emissions and Large Neural Network Training. arXiv."}],"container-title":["Energies"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1996-1073\/18\/10\/2471\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T17:31:03Z","timestamp":1760031063000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1996-1073\/18\/10\/2471"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,5,12]]},"references-count":36,"journal-issue":{"issue":"10","published-online":{"date-parts":[[2025,5]]}},"alternative-id":["en18102471"],"URL":"https:\/\/doi.org\/10.3390\/en18102471","relation":{},"ISSN":["1996-1073"],"issn-type":[{"value":"1996-1073","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,5,12]]}}}