A knowledge-based safe reinforcement learning approach for real-time automatic control in a smart energy hub
File(s) EGY-D-25-17615_R1-pages.pdf (1.76 MB)
Accepted version
Author(s)
Hakami, Mohammad A
Qiu, Dawei
Angeli, David
Strbac, Goran
Type
Journal Article
Abstract
A multi-energy management system (MEMS) integrates diverse technologies and components to facilitate efficient interaction among multiple energy carriers. Ensuring the reliability of MEMS often relies on the optimal operation of components within energy hubs. However, conducting accurate economic and environmental assessments of energy hubs, as well as implementing real-time automatic energy management schemes, has become increasingly challenging. This is primarily due to integration of variable renewable energy sources (RESs) and dynamic demand profiles. Reinforcement learning (RL) has shown promise in addressing the complexities associated with renewable variability and system dynamics through computational methods. However, traditional model-free RL approaches cannot inherently guarantee compliance with the physical constraints of MEMS. To address this issue, this paper proposes a novel Knowledge-Based Safe Reinforcement Learning (KB-SRL) approach for the optimal control of MEMS under renewable variability and dynamic system conditions. The proposed approach consists of two main components: (1) a data-driven RL algorithm designed to optimize the dispatch of various MEMS components, and (2) a knowledge-based safety layer derived from the MEMS physical operation model, which ensures the adherence to physical constraints even during the RL training process. The performance of the KB-SRL approach is evaluated in terms of system costs, carbon emissions, and computational efficiency. The evaluation is conducted by training and testing the approach on a smart energy hub using real-world datasets and comparing it against various state-of-the-art learning and optimization control approaches. Finally, the generalization capability of the trained KB-SRL approach is demonstrated in four representative scenarios: typical days in summer, spring, autumn, and winter.
Date Issued
2026-04-01
Date Acceptance
2025-12-04
Citation
Energy, 2026, 348, pp.13956-13956
ISSN
0360-5442
Publisher
Elsevier BV
Journal / Book Title
Energy
Volume
348
Copyright Statement
Copyright © 2026 Copyright Owner. This is the author’s accepted manuscript made available under a CC-BY licence in accordance with Imperial’s Research Publications Open Access policy (www.imperial.ac.uk/oa-policy)
License URL
Publication Status
Published
Article Number
139569
Date Publish Online
2026-02-12
