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

A Hybrid Control Strategy Combining Reinforcement Learning and MPC-LSTM for Energy Management in Building

Author

Listed:
  • Amal Azzi

    (Multidisciplinary Laboratory of Research and Innovation (LPRI) Lab, Moroccan School of Engineering Sciences (EMSI), Casablanca 20250, Morocco
    Laboratory of Advanced Systems Engineering (LISA), Ibn Tofail University (UIT), Kenitra 14000, Morocco)

  • Meryem Abid

    (Multidisciplinary Laboratory of Research and Innovation (LPRI) Lab, Moroccan School of Engineering Sciences (EMSI), Casablanca 20250, Morocco)

  • Ayoub Hanif

    (Multidisciplinary Laboratory of Research and Innovation (LPRI) Lab, Moroccan School of Engineering Sciences (EMSI), Casablanca 20250, Morocco
    Computer Science, Artificial Intelligence and Cyber Security Laboratory (2IACS), ENSET, University Hassan II of Casablanca, Mohammedia 28830, Morocco)

  • Hassna Bensag

    (Multidisciplinary Laboratory of Research and Innovation (LPRI) Lab, Moroccan School of Engineering Sciences (EMSI), Casablanca 20250, Morocco
    Computer Science, Artificial Intelligence and Cyber Security Laboratory (2IACS), ENSET, University Hassan II of Casablanca, Mohammedia 28830, Morocco)

  • Mohamed Tabaa

    (Multidisciplinary Laboratory of Research and Innovation (LPRI) Lab, Moroccan School of Engineering Sciences (EMSI), Casablanca 20250, Morocco)

  • Hanaa Hachimi

    (Laboratory of Advanced Systems Engineering (LISA), Ibn Tofail University (UIT), Kenitra 14000, Morocco)

  • Mohamed Youssfi

    (Computer Science, Artificial Intelligence and Cyber Security Laboratory (2IACS), ENSET, University Hassan II of Casablanca, Mohammedia 28830, Morocco)

Abstract

Aware of the nefarious effects of excessive exploitation of natural resources and the greenhouse gases emissions linked to building sector, the concept of smart buildings emerged, referring to a building that uses clean energy efficiently. This requires intelligent control systems to manage the use of residential energy consuming devices, namely the HVAC (Heating, Ventilation, Air-conditioning) system. This system consumes up to 50% of the total energy used by a building. In this paper, we introduce a RL (Reinforcement Learning) and MPC-LSTM (Model Predictive Control-Long-Short Term Memory) hybrid control system that combines DNNs (Deep Neural Networks), through RL, with LSTM’s long-short memory technique and MPC’s control characteristics. The goal of our model is to maintain thermal comfort of residents while optimizing energy consumption. Consequently, to train and test our model, we generate our own dataset using a building model of a corporate building in Casablanca, Morocco, combined with weather data of the same city. Simulations confirm the robustness of our model as it outperforms basic control methods in terms of thermal comfort and energy consumption especially during summer. Compared to conventional methods, our approach resulted in a 45.4% and 70.9% reduction in energy consumption, in winter and summer, respectively. Our approach also resulted in 26 less comfort violations during winter. On the other hand, during summer, our approach found a compromise between energy consumption and comfort with no more than 2.5 °C above ideal temperature limit.

Suggested Citation

  • Amal Azzi & Meryem Abid & Ayoub Hanif & Hassna Bensag & Mohamed Tabaa & Hanaa Hachimi & Mohamed Youssfi, 2025. "A Hybrid Control Strategy Combining Reinforcement Learning and MPC-LSTM for Energy Management in Building," Energies, MDPI, vol. 18(17), pages 1-22, September.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:17:p:4783-:d:1744856
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. Dongsu Kim & Jongman Lee & Sunglok Do & Pedro J. Mago & Kwang Ho Lee & Heejin Cho, 2022. "Energy Modeling and Model Predictive Control for HVAC in Buildings: A Review of Current Research Trends," Energies, MDPI, vol. 15(19), pages 1-30, October.
    2. Muhammad Saidu Aliero & Muhammad Asif & Imran Ghani & Muhammad Fermi Pasha & Seung Ryul Jeong, 2022. "Systematic Review Analysis on Smart Building: Challenges and Opportunities," Sustainability, MDPI, vol. 14(5), pages 1-28, March.
    3. Amal Azzi & Mohamed Tabaa & Badr Chegari & Hanaa Hachimi, 2024. "Balancing Sustainability and Comfort: A Holistic Study of Building Control Strategies That Meet the Global Standards for Efficiency and Thermal Comfort," Sustainability, MDPI, vol. 16(5), pages 1-36, March.
    4. Omar Al-Ani & Sanjoy Das, 2022. "Reinforcement Learning: Theory and Applications in HEMS," Energies, MDPI, vol. 15(17), pages 1-37, September.
    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. Panagiotis Michailidis & Iakovos Michailidis & Dimitrios Vamvakas & Elias Kosmatopoulos, 2023. "Model-Free HVAC Control in Buildings: A Review," Energies, MDPI, vol. 16(20), pages 1-45, October.
    2. Stefano Converso & Paolo Civiero & Stefano Ciprigno & Ivana Veselinova & Saffa Riffat, 2023. "Toward a Fast but Reliable Energy Performance Evaluation Method for Existing Residential Building Stock," Energies, MDPI, vol. 16(9), pages 1-24, May.
    3. Amjad Almusaed & Ibrahim Yitmen & Asaad Almssad, 2023. "Reviewing and Integrating AEC Practices into Industry 6.0: Strategies for Smart and Sustainable Future-Built Environments," Sustainability, MDPI, vol. 15(18), pages 1-27, September.
    4. Lee, Ruda & Kim, Dongsu & Yoon, Jongho & Kang, Eunho & Cho, Heejin & Kim, Jinhwi, 2024. "Development and calibration of apartment building energy model based on architectural and energy consumption characteristics," Renewable and Sustainable Energy Reviews, Elsevier, vol. 206(C).
    5. Abdelatif Merabtine, 2025. "An Integrated Bond Graph Methodology for Building Performance Simulation," Energies, MDPI, vol. 18(15), pages 1-24, August.
    6. Omar al-Ani & Sanjoy Das & Hongyu Wu, 2023. "Imitation Learning with Deep Attentive Tabular Neural Networks for Environmental Prediction and Control in Smart Home," Energies, MDPI, vol. 16(13), pages 1-19, June.
    7. Helder Pereira & Bruno Ribeiro & Luis Gomes & Zita Vale, 2022. "Smart Grid Ecosystem Modeling Using a Novel Framework for Heterogenous Agent Communities," Sustainability, MDPI, vol. 14(23), pages 1-20, November.
    8. Farzaneh Mohammadi Jouzdani & Vahid Javidroozi & Hanifa Shah & Monica Mateo Garcia, 2025. "A Systemic Digital Transformation for Smart Net-Zero Cities: A State-of-the-Art Review," J, MDPI, vol. 8(1), pages 1-32, March.
    9. Nikoleta Andreadou & Evangelos Kotsakis & Marcelo Masera, 2022. "Interoperability Testing of a Smart Home Automation System under Explicit Demand Response Schemes," Energies, MDPI, vol. 15(21), pages 1-24, October.
    10. Hyang-A Park & Gilsung Byeon & Wanbin Son & Jongyul Kim & Sungshin Kim, 2023. "Data-Driven Modeling of HVAC Systems for Operation of Virtual Power Plants Using a Digital Twin," Energies, MDPI, vol. 16(20), pages 1-14, October.
    11. Hanna Koshlak, 2025. "A Review of Earth-Air Heat Exchangers: From Fundamental Principles to Hybrid Systems with Renewable Energy Integration," Energies, MDPI, vol. 18(5), pages 1-35, February.
    12. Cevdet Emin Ekinci & Belkis Elyigit, 2025. "A New Method in Certification of Buildings: BCA Method and a Case Study," Sustainability, MDPI, vol. 17(15), pages 1-22, August.
    13. Aleksander Skała & Jakub Grela & Dominik Latoń & Katarzyna Bańczyk & Michał Markiewicz & Andrzej Ożadowicz, 2023. "Implementation of Building a Thermal Model to Improve Energy Efficiency of the Central Heating System—A Case Study," Energies, MDPI, vol. 16(19), pages 1-27, September.
    14. Qingchang Chen & Zhuoyang Sun & Wenjing Li, 2023. "Effects of COVID-19 on Residential Planning and Design: A Scientometric Analysis," Sustainability, MDPI, vol. 15(3), pages 1-20, February.
    15. Zhansheng Liu & Xiaotao Sun & Zhe Sun & Liang Liu & Xiaolin Meng, 2023. "The Digital Twin Modeling Method of the National Sliding Center for Intelligent Security," Sustainability, MDPI, vol. 15(9), pages 1-20, April.
    16. Muhammad S. Aliero & Muhammad F. Pasha & David T. Smith & Imran Ghani & Muhammad Asif & Seung Ryul Jeong & Moveh Samuel, 2022. "Non-Intrusive Room Occupancy Prediction Performance Analysis Using Different Machine Learning Techniques," Energies, MDPI, vol. 15(23), pages 1-22, December.
    17. Fengchang Jiang & Haiyan Xie & Sai Ram Gandla & Shibo Fei, 2025. "Transforming Hospital HVAC Design with BIM and Digital Twins: Addressing Real-Time Use Changes," Sustainability, MDPI, vol. 17(8), pages 1-26, April.
    18. Saloux, Etienne & Candanedo, José A. & Vallianos, Charalampos & Morovat, Navid & Zhang, Kun, 2025. "From theory to practice: A critical review of model predictive control field implementations in the built environment," Applied Energy, Elsevier, vol. 393(C).
    19. Angelo Massafra & Carlo Costantino & Giorgia Predari & Riccardo Gulli, 2023. "Building Information Modeling and Building Performance Simulation-Based Decision Support Systems for Improved Built Heritage Operation," Sustainability, MDPI, vol. 15(14), pages 1-31, July.

    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:17:p:4783-:d:1744856. 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.