IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v350y2023ics030626192301156x.html
   My bibliography  Save this article

Optimization of building demand flexibility using reinforcement learning and rule-based expert systems

Author

Listed:
  • Zhou, Xinlei
  • Xue, Shan
  • Du, Han
  • Ma, Zhenjun

Abstract

The increasing use of renewable energy in buildings requires optimization of building demand flexibility to reduce energy costs and carbon emissions. Nevertheless, the optimization process is generally challenging that needs to consider the on-site intermittent energy supply, dynamic building energy demand, and proper utilization of energy storage systems. Leveraging the growing availability of operational data in buildings, data-driven strategies such as reinforcement learning (RL) have emerged as effective approaches to optimizing building demand flexibility. However, training a reliable RL agent is practically data-demanding and time-consuming, limiting its practical applicability. This study proposes a new strategy that integrates a rule-based expert system (RBES) and RL agents into the decision-making process to jointly reduce building energy costs, minimize the peak-to-average ratio (PAR) of grid power, and maximize PV self-consumption. In this strategy, the RBES determines system operation directly in less complex decision-making scenarios, while, in more intricate decision-making environments, it provides a reference decision for RL to explore optimal solutions further. This integration empowers RL agents to avoid unnecessary exploration and significantly enhance learning efficiency. The proposed strategy was tested using PV generation data and energy consumption data of a low energy office building. The results demonstrated an 85.7% improvement in RL learning efficiency and this strategy can successfully avoid sub-optimal convergence during policy learning. Compared to relying solely on the RBES, the proposed strategy led to 5.4% and 19.2% reductions in the electricity costs and daily PAR of grid power at peak hours, respectively. The strategy also achieved a satisfying PV self-consumption ratio of 62.4%, which is merely 0.4% lower than the optimal value determined by the RBES strategy that prioritized maximizing PV self-consumption. Additionally, compared with a model predictive control method developed for cost reduction, the strategy achieved similar cost savings while significantly reducing the decision time.

Suggested Citation

  • Zhou, Xinlei & Xue, Shan & Du, Han & Ma, Zhenjun, 2023. "Optimization of building demand flexibility using reinforcement learning and rule-based expert systems," Applied Energy, Elsevier, vol. 350(C).
  • Handle: RePEc:eee:appene:v:350:y:2023:i:c:s030626192301156x
    DOI: 10.1016/j.apenergy.2023.121792
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S030626192301156X
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2023.121792?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Azuatalam, Donald & Paridari, Kaveh & Ma, Yiju & Förstl, Markus & Chapman, Archie C. & Verbič, Gregor, 2019. "Energy management of small-scale PV-battery systems: A systematic review considering practical implementation, computational requirements, quality of input data and battery degradation," Renewable and Sustainable Energy Reviews, Elsevier, vol. 112(C), pages 555-570.
    2. Arroyo, Javier & Manna, Carlo & Spiessens, Fred & Helsen, Lieve, 2022. "Reinforced model predictive control (RL-MPC) for building energy management," Applied Energy, Elsevier, vol. 309(C).
    3. Ming, Fangzhu & Gao, Feng & Liu, Kun & Li, Xingqi, 2023. "A constrained DRL-based bi-level coordinated method for large-scale EVs charging," Applied Energy, Elsevier, vol. 331(C).
    4. Lizana, Jesus & Friedrich, Daniel & Renaldi, Renaldi & Chacartegui, Ricardo, 2018. "Energy flexible building through smart demand-side management and latent heat storage," Applied Energy, Elsevier, vol. 230(C), pages 471-485.
    5. Shen, Jianjian & Cheng, Chuntian & Wu, Xinyu & Cheng, Xiong & Li, Weidong & Lu, Jianyu, 2014. "Optimization of peak loads among multiple provincial power grids under a central dispatching authority," Energy, Elsevier, vol. 74(C), pages 494-505.
    6. Touzani, Samir & Prakash, Anand Krishnan & Wang, Zhe & Agarwal, Shreya & Pritoni, Marco & Kiran, Mariam & Brown, Richard & Granderson, Jessica, 2021. "Controlling distributed energy resources via deep reinforcement learning for load flexibility and energy efficiency," Applied Energy, Elsevier, vol. 304(C).
    7. Zhang, Yijie & Ma, Tao & Elia Campana, Pietro & Yamaguchi, Yohei & Dai, Yanjun, 2020. "A techno-economic sizing method for grid-connected household photovoltaic battery systems," Applied Energy, Elsevier, vol. 269(C).
    8. Nyholm, Emil & Goop, Joel & Odenberger, Mikael & Johnsson, Filip, 2016. "Solar photovoltaic-battery systems in Swedish households – Self-consumption and self-sufficiency," Applied Energy, Elsevier, vol. 183(C), pages 148-159.
    9. Wenninger, Simon & Kaymakci, Can & Wiethe, Christian, 2022. "Explainable long-term building energy consumption prediction using QLattice," Applied Energy, Elsevier, vol. 308(C).
    10. Wang, Zhe & Hong, Tianzhen, 2020. "Reinforcement learning for building controls: The opportunities and challenges," Applied Energy, Elsevier, vol. 269(C).
    11. Zou, Bin & Peng, Jinqing & Li, Sihui & Li, Yi & Yan, Jinyue & Yang, Hongxing, 2022. "Comparative study of the dynamic programming-based and rule-based operation strategies for grid-connected PV-battery systems of office buildings," Applied Energy, Elsevier, vol. 305(C).
    12. Dusonchet, L. & Telaretti, E., 2015. "Comparative economic analysis of support policies for solar PV in the most representative EU countries," Renewable and Sustainable Energy Reviews, Elsevier, vol. 42(C), pages 986-998.
    13. Tarroja, Brian & Chiang, Felicia & AghaKouchak, Amir & Samuelsen, Scott & Raghavan, Shuba V. & Wei, Max & Sun, Kaiyu & Hong, Tianzhen, 2018. "Translating climate change and heating system electrification impacts on building energy use to future greenhouse gas emissions and electric grid capacity requirements in California," Applied Energy, Elsevier, vol. 225(C), pages 522-534.
    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. Zou, Bin & Peng, Jinqing & Li, Sihui & Li, Yi & Yan, Jinyue & Yang, Hongxing, 2022. "Comparative study of the dynamic programming-based and rule-based operation strategies for grid-connected PV-battery systems of office buildings," Applied Energy, Elsevier, vol. 305(C).
    2. Yazhou Zhao & Xiangxi Qin & Xiangyu Shi, 2022. "A Comprehensive Evaluation Model on Optimal Operational Schedules for Battery Energy Storage System by Maximizing Self-Consumption Strategy and Genetic Algorithm," Sustainability, MDPI, vol. 14(14), pages 1-34, July.
    3. Ayas Shaqour & Aya Hagishima, 2022. "Systematic Review on Deep Reinforcement Learning-Based Energy Management for Different Building Types," Energies, MDPI, vol. 15(22), pages 1-27, November.
    4. Gao, Yuan & Matsunami, Yuki & Miyata, Shohei & Akashi, Yasunori, 2022. "Multi-agent reinforcement learning dealing with hybrid action spaces: A case study for off-grid oriented renewable building energy system," Applied Energy, Elsevier, vol. 326(C).
    5. Omar Al-Ani & Sanjoy Das, 2022. "Reinforcement Learning: Theory and Applications in HEMS," Energies, MDPI, vol. 15(17), pages 1-37, September.
    6. Li, Yanxue & Wang, Zixuan & Xu, Wenya & Gao, Weijun & Xu, Yang & Xiao, Fu, 2023. "Modeling and energy dynamic control for a ZEH via hybrid model-based deep reinforcement learning," Energy, Elsevier, vol. 277(C).
    7. Nweye, Kingsley & Sankaranarayanan, Siva & Nagy, Zoltan, 2023. "MERLIN: Multi-agent offline and transfer learning for occupant-centric operation of grid-interactive communities," Applied Energy, Elsevier, vol. 346(C).
    8. Homod, Raad Z. & Togun, Hussein & Kadhim Hussein, Ahmed & Noraldeen Al-Mousawi, Fadhel & Yaseen, Zaher Mundher & Al-Kouz, Wael & Abd, Haider J. & Alawi, Omer A. & Goodarzi, Marjan & Hussein, Omar A., 2022. "Dynamics analysis of a novel hybrid deep clustering for unsupervised learning by reinforcement of multi-agent to energy saving in intelligent buildings," Applied Energy, Elsevier, vol. 313(C).
    9. Nina Munzke & Felix Büchle & Anna Smith & Marc Hiller, 2021. "Influence of Efficiency, Aging and Charging Strategy on the Economic Viability and Dimensioning of Photovoltaic Home Storage Systems," Energies, MDPI, vol. 14(22), pages 1-46, November.
    10. Ma, Tao & Zhang, Yijie & Gu, Wenbo & Xiao, Gang & Yang, Hongxing & Wang, Shuxiao, 2022. "Strategy comparison and techno-economic evaluation of a grid-connected photovoltaic-battery system," Renewable Energy, Elsevier, vol. 197(C), pages 1049-1060.
    11. Zhang, Yijie & Ma, Tao & Yang, Hongxing, 2022. "Grid-connected photovoltaic battery systems: A comprehensive review and perspectives," Applied Energy, Elsevier, vol. 328(C).
    12. Lei, Yue & Zhan, Sicheng & Ono, Eikichi & Peng, Yuzhen & Zhang, Zhiang & Hasama, Takamasa & Chong, Adrian, 2022. "A practical deep reinforcement learning framework for multivariate occupant-centric control in buildings," Applied Energy, Elsevier, vol. 324(C).
    13. Wu, Yaling & Liu, Zhongbing & Li, Benjia & Liu, Jiangyang & Zhang, Ling, 2022. "Energy management strategy and optimal battery capacity for flexible PV-battery system under time-of-use tariff," Renewable Energy, Elsevier, vol. 200(C), pages 558-570.
    14. Zou, Bin & Peng, Jinqing & Yin, Rongxin & Li, Houpei & Li, Sihui & Yan, Jinyue & Yang, Hongxing, 2022. "Capacity configuration of distributed photovoltaic and battery system for office buildings considering uncertainties," Applied Energy, Elsevier, vol. 319(C).
    15. Amir Ali Safaei Pirooz & Mohammad J. Sanjari & Young-Jin Kim & Stuart Moore & Richard Turner & Wayne W. Weaver & Dipti Srinivasan & Josep M. Guerrero & Mohammad Shahidehpour, 2023. "Adaptation of High Spatio-Temporal Resolution Weather/Load Forecast in Real-World Distributed Energy-System Operation," Energies, MDPI, vol. 16(8), pages 1-16, April.
    16. Libo Zhang & Qian Du & Dequn Zhou, 2021. "Grid Parity Analysis of China’s Centralized Photovoltaic Generation under Multiple Uncertainties," Energies, MDPI, vol. 14(7), pages 1-19, March.
    17. Feng, Zhong-kai & Niu, Wen-jing & Wang, Wen-chuan & Zhou, Jian-zhong & Cheng, Chun-tian, 2019. "A mixed integer linear programming model for unit commitment of thermal plants with peak shaving operation aspect in regional power grid lack of flexible hydropower energy," Energy, Elsevier, vol. 175(C), pages 618-629.
    18. Kyriakopoulos, Grigorios L. & Arabatzis, Garyfallos & Tsialis, Panagiotis & Ioannou, Konstantinos, 2018. "Electricity consumption and RES plants in Greece: Typologies of regional units," Renewable Energy, Elsevier, vol. 127(C), pages 134-144.
    19. Voisin, Nathalie & Dyreson, Ana & Fu, Tao & O'Connell, Matt & Turner, Sean W.D. & Zhou, Tian & Macknick, Jordan, 2020. "Impact of climate change on water availability and its propagation through the Western U.S. power grid," Applied Energy, Elsevier, vol. 276(C).
    20. Pereira da Silva, Patrícia & Dantas, Guilherme & Pereira, Guillermo Ivan & Câmara, Lorrane & De Castro, Nivalde J., 2019. "Photovoltaic distributed generation – An international review on diffusion, support policies, and electricity sector regulatory adaptation," Renewable and Sustainable Energy Reviews, Elsevier, vol. 103(C), pages 30-39.

    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:eee:appene:v:350:y:2023:i:c:s030626192301156x. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .

    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.