Indexed in
SCI
EI
Scopus
Supervisory by: Global Energy Interconnection Development and Cooperation Organization
Sponsored by: Global Energy Interconnection Group Limited

Contents

Figure(0)

    Tables(0)

      Global Energy Interconnection

      Volume 9, Issue 5, Oct 2026, Pages 965-989
      Ref.

      Multi-timescale coordinated scheduling approach for integrated energy system based on hierarchical reinforcement learning

      Hong Liua ,Jie Wua,b ,Xingtang Hea,* ,Zihan Qia
      ( a State Key Laboratory of Intelligent Power Distribution Equipment and System, Tianjin University, Tianjin 300072, PR China , b The International Joint Institute of Tianjin University, Fuzhou, Tianjin University, Tianjin 300072, PR China )

      Abstract

      Abstract Real-time coordinated scheduling of integrated energy systems (IES) equipped with coupled multi-energy conversions is essential for mitigating renewable energy intermittency and dynamic load fluctuations. However, the deep intertwining of the fast-dynamic characteristics of electricity flows and the slow-dynamic characteristics of heat-hydrogen-gas flows creates a superimposed feature of mixed dynamics, posing significant challenges to traditional optimization and scheduling. To tackle these issues, an IES optimal scheduling model considering key factors such as supply-demand mismatch deviations and energy storage lifespan degradation is constructed in this paper.Targeting the training instability of conventional single-layer deep reinforcement learning when handling such multi-timescale coupling and strict physical boundaries, a hierarchical reinforcement learning coordinated scheduling framework based on the bi-level deep deterministic policy gradient (HRL-DDPG) is proposed. The proposed framework strictly decouples the complex decision-making process into high-level slow-dynamic economic baseline scheduling and low-level fast-dynamic real-time adaptive correction. The two layers are tightly coupled through a structured information pathway, where the high-level state observation integrates the cumulative adjustment feedback from the low-level fast-dynamic units,thereby ensuring the physical implementability of economic scheduling that accommodates both fast- and slow-dynamic resources. Furthermore, this paper fully exploits the algorithmic advantages of HRL-DDPG by employing a hybrid exploration strategy tailored to the distinct physical inertia of different units, equipped with dual experience replay buffers to eliminate temporal autocorrelation, which effectively enhances the training efficiency and policy stability of the deep neural networks. Simulation results demonstrate that the proposed method can not only substantially reduce the overall operating costs and online solving time of the system but also effectively smooth out high-frequency power fluctuations under source-load perturbations,while maintaining operational feasibility under the prescribed device-level physical limits in the tested scenarios.

      0 Intr oduction

      1) Research backgro und

      The escalating severity of global climate change and the depletion of fossil fuels have significantly accelerated the global transition toward low-carbon and sust ainable energy paradigms [1,2]. To achieve carbon neutrality,renewable energy sources (RES), predominantly wind and solar power, have been integrated into modern power grids at an unprecedented scale [3]. However, the inherent intermittency, volatility, and unpredictability of RES pose formidable challenges to the power balance and operational stability of single-carrier energy systems [4]. To address these profound challenges, the integrated energy system (IES) has emerged as a structurally transformative solution.

      By seamlessly coupling multiple energy carriers, IES facilitates multi-energy complementarity and spatial-temporal cascading utilization. Therefore, it is widely recognized as the physical backbone for enhancing system flexibility and accommodating high-penetration renewables[5,6]. Despite these distinct advantages, the deep integration of heterogeneous energy flows introduces extreme complexities in system operation. Specifically, an IES exhibits intrinsically disparate timescale dynamics. Electrical power flows and transients occur within milliseconds to second s. In contrast, fluid mechanics and thermal inertia govern thermal and gas dynamics, leading to significant temporal delays that span from minutes to hours [7,8].

      This fundamental multi-timescale discrepancy renders traditional day-ahead or intra-day static scheduling strategies structurally inadequate. The core reason is that dispatch must simultaneously ensure fast feasibility and slow consistency. Under high-frequency stochastic fluctuations from RES or abrupt demand variations, dispatch commands derived from low-resolution forecasts frequently fail. These failures subsequently result in severe operational constraint violations, voltage deviations, or substantial renewable curtailment [9,10]. Consequently,real-time scheduling becomes essential for secure, economic, and flexible IES operation [11]. On the one hand,fast-dynamic units should be adjusted within a minute or sub-minute window to respond to rapid source-load fluctuations. On the othe r hand, the macroscopic states of slow-dynamic units must be coordinated to maintain long-term operational consistency.

      Tackling this high-dimensional multi-timescale scheduling dilemma introduces significant computational and algorithmic bottlenecks. Traditional model-driven approaches, such as mixed-integer optimization and model predictive control (MPC), provide strong interpretability and explicit constraint ha ndling.However,these optimization methodologies suffer from the dimensionality curse and computational intractability when applied to online decision-making scenarios [12]. Deep reinforcement learning (DRL) has therefore attracted growing interest for real-time energy scheduling, as it can learn closed-loop policies through interacti on with a simulator or digital twin and then deliver near-instant decisions by neural inference [13]. Nevertheless, conventional DRL faces structural challenges in IESs, notably multi-timescale credit assignment difficulty, action-space explosion, and safety-critical constraint satisfaction. Recent studies have shown that hierarchical DRL can effectively decompose multi-timescale energy management tasks into coordinated high-level planning and low-level control, thereby improving learning efficiency and stabilizing online scheduling performance [14]. In addition, hybrid frameworks that integrate DRL with optimization decomposition have recently demonstrated a promising pathway to reconcile fast decision making while reducing constraint violations through model- or safety-aware execution mechanisms.

      In summary, the multi-timescale scheduling problem of IES has become both more critical and more challenging in high-renewable, multi-vector energy systems. Developing a scheduling framework that is simultaneously fast,robust to uncertainty, and consistent with physical constraints is of high theoretical and practical significance.To achieve this, researchers have historically transitioned from classical mathematical programming to advanced data-driven paradigms.

      2) Literature review and contributions

      In the evolutionary trajectory of IES multi-timescale scheduling, conventional optimization approaches based on precise physical models have historically predominated.To mitigate the impacts of source-load uncertainties,model-based optimization has been extensively inves tigated. For instance, Zhang et al. [15] proposed a triplelayer joint optimization framework coordinating capacity and operation across multiple timescales, demonstrating its efficacy in smoothing short-term power fluctuations.Furthermore, recent studies have incorporated building thermal dynamics and forecast uncertainty into twotimescale coordinated optimal control frameworks,thereby improving the flexibility and energ y efficiency of building-integrated energy systems [16]. However, as the topology and device scale of an IES expands, the joint scheduling problem often involves both continuous operating variables and discrete device states. This usually leads to a complex mixed-integer nonlinear programming(MINLP) problem. Recent studies have shown that online optimization of multi-energy systems remains c omputationally burdensome for minute-level dispatch [17]. This limitation motivates the development of accelerated scheduling frameworks and learning-assisted solution methods. Additionally,Zou et al.[18] emphasized that traditional optimization algorithms are overly reliant on precise deterministic models; any unmodeled dynamic disturbances or structural variations can severely degrade the robustness of the scheduling policies. These limitations motivate a shift from model-driven optimization to datadriven scheduling methods. In particular, DRL can learn state-action mappings through interactions with the operation environment, thereby enabling fast online decisionmaking under uncertain source-load fluctuations.

      To overcome the computational latency and modeldependency bottlenecks inherent in traditional mathematical programming, data-driven DRL has been extensively adopted in energy scheduling. Ye et al. [19] constructed a real-time autonomous control model based on modelfree reinforcement learning, leveraging its ‘‘offline training,online execution” paradigm to achieve sub-second dispatch decisions. For interconnected scenarios, Zhang et al. [20] and Zhang et al. [21] utilized multi-agent deep deterministic policy gradient (MADDPG) and distributed architectures, respectively, to effectively enhance the collaborative optimization and topological generalization capabilities.

      Despite the remarkable success of flat, single-layer DRL in single-timescale energy systems, it exposes critical architectural flaws when applied to multi-energy flows. Zhou et al. [22] proved that forcing slow-dynamic thermal networks and fast-dynamic power grids into the same highfrequency Markov Decision Process (MDP) results in extreme dilution of reward signals over extended time steps,triggering a catastrophic‘‘credit assignment”failure.Simultaneously, empirical studies by Yi et al. [23] and Liang et al. [24] demonstrated that when confronting hybrid action spaces—comprising both continuous power regulations and discrete equipment switching—standard DRL suffers from profound exploration inefficiency, frequently converging to suboptimal policies and exhibiting severe training instability. These limitations indicate that improving the learni ng algorithm alone is not sufficient.The scheduling architecture itself should also reflect the inherent timescale separation between slow energy-state coordination and fast physical correction.

      Given the inherent limitations of flat DRL architectures, Hierarchical Reinforcement Learning (HRL) has rapidly emerged as a frontier paradigm for resolving complex energy system scheduling. Recent hierarchical DRL studies have shown that decomposi ng long-horizon scheduling tasks across temporal layers can reduce decision complexity and improve coordination in large-scale energy management problems [25]. Cheng et al. [26] pioneered a hierarchical rolling optimization strategy for hybrid systems. In this framework, the high-level agent formulates macroscopic targets and the low-level agent executes minute-level power tracking, thereby substantially improving renewable energy utilization. Recent HDRL-based studi es have further shown that separating slow and fast control loops can improve long-horizon coordination under delayed system responses and complex operational objectives [27]. Moreover, Jiang et al. [28]applied HRL to achieve dimensionality reduction in the task space, independently managing macroscopic economic dispatch and local device-level power control, which effectively neutralized the ‘‘dimensio nality explosion”caused by hybrid action spaces. Recent studies have further combined hierarchical and multi-agent reinforcement learning to address decentralized decision-making and resilience-oriented scheduli ng problems in multi-energy systems [29].

      Although HRL has demonstrated disruptive potential in multi-timescale scheduling, existing literature exhibits two glaring research gaps. First, the physical consistency between learned decisions and practical operational constraints is still not sufficiently characterized.Recent studies have recognized this issue from different perspectives.Sayed et al. [30] investigated online operational decisionmaking for IES under coupled operational constraints.Liang et al. [31] incorporated electricity, heat, and hydrogen storage constraints into DRL-based IES scheduling through penalty-guided reward design. Ye et al. [32]emphasized the influence of distribution-network constraints and spatial-temporal state perception on microgrid energy management. Wang et al. [33] further introduced physical information into reinforcement learning to improve the feasibility of multi-energy microgrid operation.Nguyen et al. [34] focused on online DRL control for inverter-based peak shaving and Volt-VAR regulation, while Hu et al. [35] discussed the difficulty of satisfying complex constraints in real-time securityconstrained dispatch. These studies collectively suggest that reinforcement-learning-based scheduling should not only optimize economic object ives,but also maintain consistency with device dynamics, storage states and energyconversion constraints.

      Second, the interaction mechanism between hierarchical layers remains insufficiently explored. In many existing HRL-based energy scheduling frameworks, the high-level agent generates economic targets or reference trajectories,while the low-level agent performs short-timescale tracking or correction [36]. However, the tracking difficulty and cumulative corrective effort of the low-level agent are rarely fed back to the high-level decision process in an explicit manner. As a result, the high-level policy may generate economically attractive baselines that are difficult to execute under renewable fluctuations, load disturbances, and multi-energy conversion constraints [37]. In electricity-he at-hydrogen-gas coupled IESs, such weak feedback may enlarge the mismatch between slow-timescale economic scheduling and fast-timescale corrective execution. This mismatch can further weaken multi-tim escale coordination and empirical operational feasibility under renewable fluctuations, load disturbances, and system constraints.

      In summary, existing studies on multi-timescale IES scheduling can be divided into three methodological streams: model-driven optimization, flat single-layer DRL,and hierarchical DRL. Model-driven MILP, MINLP, and MPC methods provide transparent constraints but become computationally demanding when heterogeneous conversion units, storage states, ramping limits, and multi-energy balance constraints are jointly considered at minute-level resolution. Flat DRL methods reduce online computation through neural inference, but directly embedding slow dynamics and fast-response resources into one highfrequency MDP may cause reward dilution, inefficient exploration, and unstable policy learning [26]. Existing HRL methods provide a useful decomposition idea, but the physical trackability of high-level setpoints and the feedback from low-level correction burden to high-level ec onomic scheduling still need further exploration.

      To systematically bridge the aforementioned research gaps, this paper proposes a novel, stable, and interaction-aware HRL-based multi-timescale coordinated scheduling framework tailored for a highly coupled electricity-heat-hydrogen-gas IES. Bypassing the conventional reliance on disconnected single-layer modeling, this study establishes a comprehensive optimization closedloop from macroscopic economic decision-making to microscopic physical corrective execution. The primary contributions of this paper are comprehensively summarized in three aspects:

      To address the complexity of multi-timescale dynamics and heterogeneous energy interactions, a comprehensive IES optimization model is formulated. The model explicitly incorporates supply-demand deviations, energy storage degradation, multi-energy conversion constraints,and operational costs, capturing both the fast dyn amics of electricity and the slow dynamics of heat, hydrogen,and gas, providing a physically feasible and economically meaningful foundation for optimized scheduling.

      A hierarchical scheduling framework is developed that decomposes the optimization problem into a high-level long-timescale baseline planning agent and a low-level short-timescale corrective agent. The high-level agent coordinates slow-response units and storage systems to generate smooth economic baselines, while the low-level agent dynamically adjusts fast-response resources to track renewable and load fluctuations. The structured interaction between the two layers ensures that economic dispatch is physically implementable with both scheduling efficiency and real-time adaptability, facilitating multienergy coordination.

      To guarantee efficient policy learning and stable convergence, a hierarchical DDPG-based solution algorithm is designed. The approach employs layer-specific experience replay buffers, a mixed exploration strategy tailored to device-specific physical inertia, and gradient-based optimiza tion. This mechanism stabilizes training, accelerates convergence, and enables efficient hierarchical decisionmaking across high-dimensional, multi-timescale state spaces in IES.

      The remainder of this paper is organized as follows:Section 1 establishes the IES scheduling model; Section 2 proposes the HRL scheduli ng framework based on the DDPG algorithm; Section 3 analyses the case studies and validates the effectiveness of the proposed scheduli ng framework through simulation results; finally, Section 4 summarizes the entire paper and draw s the conclusions.

      1 Mathematical formulation of the proposed integrated energy system

      1.1 System configuration

      Fig. 1. Schematic diagram of the proposed integrated energy system.

      An integrated energy system (IES) equipped with coupled electricity-heat-hydrogen-gas conversion and multitype energy storage is considered in this paper. As illustrated in Fig. 1, the electricity demand, together with the electricity consumption of the electric boiler (EB) and the power-to-hydrogen (P2H) unit represented by electrolyzer (EL), can be supplied by the upper power network(UPN), renewable generation from wind turbines (WT)and photovoltaic (PV) units, the gas turbine (GT), the hydrogen fuel cell (HFC), and the electric energy storage(EES). The heating demand can be satisfied by multiple thermal sources, including the recovered heat from the GT,the thermal output of the gas boiler(GB),the electric boiler (EB), and the co-produced heat of the HFC, with thermal energy storage (TES) serving as an intertemporal buffer for heat shifting.

      The gas consumption of GT and GB is supported by the upper natural gas network (UNGN). Meanwhile, a methanation reactor (MR) is incorporated to convert hydrogen into gaseous fuel, and gas energy storage(GSS) is included to mitigate gas supply-demand mismatch. The hydrogen demand of the hydrogenconsuming units, including the HFC and the MR, can be provided by the EL and the hydrogen storage tank(HST). By exploiting the complementary characteristics of electricity, heat, hydrogen, and gas conversion routes,the proposed IES forms a tightly coupled multi-energy structure that supports real-time coordinated scheduling.

      1.2 Modeling of energy conversion units

      This paper models each conversion unit by an efficiency-based input-output relationship, which preserves physical interpretability while remaining tractable for real-time coordinated scheduling.

      where ηGBis the boiler thermal efficiency. In contrast to GT heat recovery, the boiler output is directly dispatchable, which makes it particularly effective for ensuring heating adequacy under stringent operating constraints.

      By establishing a direct electricity-to-heat pathway, the EB offers an additional degree of freedom for coordinating the coupled electricity-heat operation, especially under renewable intermittency. Let PEB tdenote the electrical input power and determine the produced heat, and the co nversion relationship is given by:

      where ηEBrepresents the electricity-to-heat efficiency.

      The EL is introduced to implement P2H, thereby converting electricity into chemical energy for inter-temporal regulation. Let PEL trepresent the electricity input power of EL and refer to the hydrogen production power in terms of equivalent energy rate.The electrolysis process is modeled as:

      where ηELdenotes the electrolysis efficiency.

      The MR is introduced to convert hydrogen into gaseous fuel, thereby strengthening compatibility with gas-fired units and gas storage. Let PMR tdescribe the hydrogen input power and denote the gaseous output power.The conv ersion is expressed as:

      where ηMRis the methanation efficiency.

      Complementary to EL, the HFC reconverts hydrogen into electricity and simultaneously provides recoverable heat, thereby closing the electrici ty-hydrogen loop and enriching the portfolio of flexible resources.Let PFC tdelineate the hydrogen consumption power, the produced electricity and he at should separately satisfy :

      whereand indicate the electrical efficiency and heat recovery efficiency, respectively. Owing to its coproduction property, HFC can be dispatched not only as an electrical support resource but also as a contributor to heating adequacy.

      For all conversion units within the IE S, the dispatchable power Px tis constrained by rated capacities:

      1.3 Dynamic models of multiple energy storage systems

      Providing inter-temporal flexibility across distinct energy forms, EES, TES, HST, and GSS are incorporated into the proposed IES. Each storage device is characterized by a state-of-charge (SOC) evolution equation coupled with operational bounds, ensuring that charging and discharging decisions remain physically consistent while influencing future feasibility.

      where and signify the charging efficiency and the discharging efficiency of the energy storage model, respectively. This model explicitly accounts for conversion losses and establishes the inter-temporal coupling that underpins storage-enabled balancing.

      Operational feasibility further requires that the initial conditions are consistent and that the store d energy remains within admissible bounds at each time slot:

      where and E sare the maximum and minimum values of the energy storage model SOC; Es start and E s enddenote the initial and final SOCs in a scheduling cycle, respectively.The charging/discharging power should fulfill the following operational constraints:

      whereand refer to the maximum values of energy storage model’s charging power and discharging power, respectively. Additionally, to preclude the nonphysical solution of simultaneous charging and discharging within the same time slot, mutually exclusive chargedischarge constraints are incorporated into the above model.

      1.4 Operational boundaries and dynamic feasibility constraints

      To ensure that the resulting dispatch policies can be executed by physical devices without violating operational boundaries, the constraints that reflect dynamic feasibility are further incorporated in this subsection. Besides capacity bounds of conversion units and storage charging/discharging constraints, ramp-rate constraints are considered for devices whose outputs cannot change arbitrarily fast due to actuator response and thermal inertia.

      For a unit x subject to ramping limitations, the interslot change in its dispatch power is constrained by:

      where ΔPxdenotes the ramp-rate parameter of unit x. By preventing abrupt jumps, these constraints enhance the practical implementability and stability of real-time schedules under sharp fluctuations in renewable generation or multi-energy load demand.

      In addition, external procurement is bounded by upstream supply and contractual limits. The purchased electricity and purchased gas should satisfy the following constraints:

      where anddenote the maximum admissible purchasing powers from UPN and UNGN, respectively,ensuri ng consistency with upstream network constraints.

      1.5 Multi-energy balance relationships with explicit deviation representation

      Maintaining supply-demand consistency across electricity, heat, hydrogen, and gas is fundamental to feasible IES operation. In view of real-time execution and potential stochastic disturbances, explicit deficit and surplus variables are introduced to quantify imbalance, and these deviation terms are subsequently penalized in the objective function. Such a formulation preserves robustness while maintaining a strong incentive toward balance.

      For the heating balance, heat supply consists of recovered heat from GT, thermal outputs of GB and EB, recoverable heat from HFC, and TES dischar ge, whereas heat demand includes the heating load and TES charging.The supply and demand are defined as:

      This representation enables occasional short-term mismatch to be handled in a controlled manner whi le still steering the dispatch toward heating adequacy.

      Turning to the hydrogen balance, hydrogen supply originates from EL production and HST discharge,whereas hydrogen demand stem s from HFC consumption,MR consumption, and HST charging. Accordingly,

      By explicitly measuring hydrogen mismatch, the model consistently coordinates P2H production, hydrogen utilization, and hydrogen storage operation.

      Regarding the gas balance, gas supply comprises external gas purchase, MR gas production, and GSS discharge,while demand consists of GT and GB gas consumption and GSS charging. The balance can be expressed as:

      The above formulation enables explicit trade-offs among gas procurement, methanation, storage buffering,and gas-fired operation.

      With respect to the electricity balance, supply consists of grid purchase, renewable generation from WT and PV, electricity production by GT and HFC, and EES discharge,whereas demand includes electric load,EL electricity consumption, EB electricity consumption, and EES charging. Let PWT t and PPV tdenote the available wind and PV power, respectively. The supp ly-demand relationship is formulated as:

      with the practical requirement that realizable curtailment does not exceedThis treatment keeps the formulation feasible without enforcing strict equality at every time slot, while still penalizing deviations to promote reliable operation.

      1.6 Objective function of the proposed model

      This study aims to seek the global optimum of the comprehensive operational cost over the entire scheduling horizon within a complex and dynamically uncertain environment. To achieve this objective, a multi-dimensional objective function is constructed, encompassing energy procurement cost, unit operation and maintenance(O&M) cost, energy storage lifespan degradation costs,and dynamic balance penalt ies associated with deficit and surplus terms. The objective function serves not only as a benchmark for directly evaluating the superiority of scheduling strategies but also collectively provides a coherent economic signal for coordinated decision-making.

      Accompanying the time-varying fluctuations of external spot market prices , the electricity and gas purchasing prices during time slot t are denoted as c e t and c g t ,respectively. Consequently, the procurement cost over the entire scheduling horizon can be cumulatively formulated as:

      Regarding the frequent dispatch of energy storage systems, every deep charge-discharge cycle is accompanied by irreversible cell degradation or mechanical fatigue.Consequently, this study adopts the form of bidirectional power amplitude weighting to quantify the energy storage lifespan degradation cost Cstbased on the storage usage coefficient and the mathematical expect ation is formulated as:

      On this basis, the ultimate optimization proposition of the IES is condensed into seeking the minimum of the weighted sum of the above multi-dimensional costs, and its comprehensive objective function is finalized as:

      The design of this composite objective framework ensures that the scheduling model, while pursuing the maximization of economic benefits, consistently maintains strong convergence toward the physical balance baselines and system safety constraints. Consequently, it provides a high-quality interactive environment endowed with excellent analytical properties and informative feedback signals for the subsequently deployed methodology.

      2 Hierarchical deep reinforcement learning-based real-time schedul ing framework for the IES

      2.1 Motivation and overall framework

      Real-time scheduling of an IES is intrinsically characterized by multi-energy coupling, heterogeneous device dynamics, and time-varying external conditions. In practical operation, a subset of decisions evolves slowly and is typically scheduled on a coarse timescale due to thermal inertia, fuel logistics, and operational scheduling requirements, whereas another subset must respond rapidly to renewable intermittency and fast load variations [38]. To explicitly reflect this operational reality and to improve learning stability under continuous control, this chapter develops an HRL-based scheduling framework in which the IES dispat ch problem is decomposed into a highlevel slow-timescale decision process and a low-level fasttimescale corrective decision process.

      As illustrated in the overarching fram ework diagram of Fig. 2, the proposed framework deploys two actor-critic agents that are independent in their function approximation and experience storage, while remaining coupled through a structured information pathway and an explicitly coordinated reward design. The two levels interact through a tightly coupled environment in which the high-level decisions serve as setpoints and constraints perceived by the low-level, while the low-level response induces measurable adjustment effort that is fed back to the upper layer as a coupling signal. Building upon this topology, the deep deterministic policy gradient (DDPG)algorithm is introduced as the core solution engine for the scheduling framework. Leveraging the algorithm’s effi-cient gradient guidance and nonlinear function approximation capabilities in continuous action spaces, a complete optimization closed-loop from macroscopic economic decision-making to microscopic physical execution is seamlessly established.

      To ensure that the learned hierarchical policy is consistent with the physical dispatch model established in Section 1, the interaction between the HRL agents and the IES environment is designed in a constraint-aware manner. The action variables generated by the high-level and low-level agents correspond to actual dispatchable quantities of energy conversion units, storage systems, and external energy procurement. Before the environment state is updated, these actions are checked and processed according to the operational constraints of the modeled IES,including device capacity limits, ramp-rate limits, storage SOC bounds, charging/discharging exclusiveness, and external procurement limits. Meanwhile, the remaining electricity, heat, hydrogen, and gas supply-demand deviations are quantified through the deficit and surplus variables defined in the energy-balance model and are penalized in the reward functions. In this way, the proposed framework links reinforcement-learning decisions with the physical scheduling model, so that economic optimization, multi-timescale coordination, and operationalconstraint consistency can be considered within the same closed-loop interaction process.

      Fig. 2. Hierarchical deep reinforcement learning-b ased real-time scheduling framework.

      2.2 Bi-level markov decision process formulation

      The low-level agent interacts with the physical environment at the time slot Δt,which is modeled as a standard MDP tuple:

      2.3 High-level agent

      The high-level agent strives to optimize comprehensive economic performance over a wide temporal horizon, providing forward-looking goal guidance for the underlying control layer.

      1) State space

      At every time slot t,the state observation of the highlevel encompasses not only the current slow-dynamic energy inventories and exter nal environment but also innovatively introduces the cumulative adjustment feedback from the low-level fast-dynamic units. The state vectoris precisely form ulated as:

      2) Action space

      3) Reward function

      2.4 Low-level agent

      The low-level agent directly confronts rapidly changing physical source-load disturbances. It aims to maintain the system’s real-time power balance by scheduling fastdynami c units, under the premise of strictly adhering to the gas/thermal operational baselines dictated by the high-level.

      1) Action space

      2) State space

      To ensure the low-level decisions are tractively constrained by the high-level baselines while maintaining high-frequency operational continuity, the low-level state vectorundergoes multi-dimensional information augmentation. At each time step k, the actual observation is rigorously defined as:

      3) Reward function

      Confronting rapidly changing physical source-load disturbances, the primary imperative of the low-level agent is to smooth power fluc tuations within an extremely short cycle. Thus, the low-level reward function concentrates on the high-frequency electrical energy balance and the costs of fast-dynamic units within time step k:

      where the first three terms respectively denote the real-time electricity purchasing cost, the O&M costs of fast-dynamic units including EL, HFC and EB, and the lifespan degradation cost induced by the high-frequ ency charging and discharging of EES. The fourth term corresponds to the electrical energy deficit and surplus penalties. The final termacts as an out-of-bounds penalty functional established to prevent deep ov ercharging or overdischarging of energy storage.

      2.5 Constraint-consistent action execution and reward evaluation

      To clarify how the modeled operational constraints are implemented at the action-output stage, the policy generated by the actor is not directly executed by the IES simulator. Instead, before calculating the state transition and reward, the policy action is processed into an executable action according to the feasible operating region defined by the physical scheduling model in Section 1. For the high-level and low-level agents, this process is expressed as

      For a controllable conversion unit i, the executable output is obtained by capacity bounding and ramp-rate clipping:

      For a storage unit s, the executable charging and discharging powers are bounded by the current stored energy and next-step SOC limits:

      whereThe charging/discharging exclusiveness is imposed before execution according to the direction of the storage command. Therefore, if the current storage state is feasib le,the processed charging/discharging action keeps the next-step stored energy within the prescribed SOC range.

      After the executable actions are obtained, the rew ard functions defined in Eqs. (29) and (31) are evaluated.The deficit and surplus variables are calculated from the residual supply-demand deviations after action execution:

      2.6 Heterogeneous network architecture and stable parameter optimization mechanism

      1) Critic network optimization based on Huber loss

      where δis the predefined hyperparameter defining the threshold of the quadratic to linear transition. This design maintains smooth differentiability near the error zero point while linearly down-weighting anomalous gradients in regions of severe prediction deviation.

      2) Actor network optimization based on de terministic policy gradient

      Following the deterministic policy gradient theorem,the Actor network updates its parameters to maximize the expected return, utilizing the online Critic network as a differentiable surrogate objective. Via the chain rule of calculus, the gradient update rule is represented as:

      During backpropagation, to further enhance the model’s robustness in complex manifold spaces and prevent catastrophic parame ter divergence, a gradient clipping constraint based on the L2norm is uniformly applied:

      where αrepresents the adaptive learning rate of the Adam optimizer, and clipnormdenotes the preset upper bound for the gradient norm.

      3) Target network soft update mechanism

      After completing the batch gradient descent, the target network parameters are updated using a Polyak averaging soft-update mechanism:

      whereis the smoothing tracking coefficient. The mechanism forces the target networks to evolve quasi-statically, effectively severing the auto-correlated feedback loops in the continuous time-varying system and safeguarding the agents from policy collapse during multi-timescale learning.

      2.7 Hybrid exploration strategy and dual experience replay

      1) Heterogeneous noise injection mechanism

      To facilitate exploration within the DDPG framework,a hybrid noise injection strategy is employed, tailored to the disparate physical inertia of the multi-timescale IES.For the macroscopic upper-level agent, which dispatches large thermal equipment subject to strict rampi ng limits,temporally correlated noise is essential to prevent highfrequency mechanical chattering. Therefore, the Ornstein-Uhlenbeck (OU) process is applied to the highlevel action:

      Conversely, the low-level agent regulates zero-inertia power electronic devices. To prevent sustained power deviations while ensuring extens ive isotropic exploration,a linearly annealed Gaussian noise is adopted:

      where standard deviationdecays linearly over training episodes to shift the focus from global exploration to local exploitation.

      2) Dual-level experience replay buffers

      2.8 Overall execution workflow of the proposed HRL-DDPG algorithm

      This section delineates the overall execution framework of the proposed HRL-DDPG algorithm for the mult itimescale scheduling of the IES. Driven by exogenous inputs—specifically, the sequences of multi-energy load demands, wind and PV generation profiles, and time-ofuse (ToU) electricity and gas prices—the framework outputs a structurally coordinated sequence of multi-energy control setpoints. The intermediate execution paradigm is characterized by a mathematically nested loop architecture. A high-level macroscopic loop formulates temporally extended, slow-dynamic operational baselines, while a low-level microscopic loop executes high-frequency, realtime power corrections.As indicated by the low-level state in Eq. (30), the high-level action is passed to the low-level agent as the baseline reference, so the low-level layer tracks the high-level schedule rather than replacing it.

      The information feedback between the two layers is implemented in a delayed manner. At the beginning of high-level interval t,the high-level agent observes the correction burden from the previous interval, and generates the current economic baseline. The low-level agent then performs multiple 5-min corrective decisions within this interval. After these corrections are completed, the aggregated correction burden is fed back to the next high-level interval and is also reflected in the adjustment-related term of the high-level reward in Eq.(29). Therefore, the interaction sequence is high-level baseline generation →low-level real-time correction → correction-burden aggregation →-next-interval high-level feedback. The specific algorithmic execution steps for each episode are sequentially detailed in Fig. 3.

      Fig. 3. Execution workflow of the HRL-DDPG scheduling framework.

      3 Simulation results and discussions

      3.1 Simulation setup

      Table 2 presents the effective hyperparameters and network architecture of the HRL-DDPG framework. The high-level and low-level agents share the same actor-critic structure and the same training hyperparameters. Each actor is implemented as a three-hidden-layer multilayer perceptron with ReLU activations and a Tanh output layer,while each critic adopts the same hidden architecture and outputs a scalar Q-value.

      In addition to device specifications and algorithmic parameters, exogenous environmental inputs constitute another essential component of the case-study setup. During typical-day operation, the IES is subject to multiple external disturbances, primarily including time-of-use(TOU) electricity and natural gas prices, variations in wind speed and solar irradiance,as well as time-varying electricity and heat demands. To ensure that the case study more closely reflects practical operating conditions, TOU pric-ing schemes together with fluctuating renewable generation profiles and load demand curves are adopted as dispatch inputs, thereby enabling a comprehensive evaluation of the proposed method’s decision-making adaptability under complex operating environments.Fig. 4 presents the TOU trajectories of natural gas and electricity prices over the typical day. The wind speed and solar irradiance profiles shown in Fig. 5 characterize the availability of renewable energy resources throughout the day. Finally,Fig. 6 illustrates the temporal variation patterns of enduser electricity and heat demands over the typical day.

      Table 2 Hyperparameters of HRL-DDPG framework.

      Hyperparameters High-level / low-level agent Discount factor 0.995 Soft update factor 0.005 Actor Learning rate 1e-4 Critic learning rate 1e-3 Replay buffer size 500,000 Mini-batch size 512 Gradient clipping norm 5.0 Initial std of noise 0.30 Minimum std of noise 0.01 Decay factor of noise 0.9995 Hidden units 256-256-256 Hidden layer activation ReLU Output layer Activation Tanh

      The proposed algorithm is implemented in Python 3.9 utilizing the PyCharm integrated development environment. The deep learning networks are constructed and trained based on the PyTorch 2.3.0 framework, accelerated by CUDA 12.1. All simulations are executed on a high-performance computing platform equipped with an Intel Core i9-10900X CPU and an NVIDIA GeForce RTX 3080 Ti GPU.

      3.2 Performance verification

      This section examines the proposed method from three aspects. First, the convergence characteristics of the high-level and low-level agents are analysed through the evolution of episodic rewards. Second, the optimization dynamics of the actor and critic networks are evaluated based on the corresponding loss curves. Third, the training stability and corrective control behaviour of the hierarchical framework are further discussed using the relevant stability and adjustment indicators. Thes e analyses provide a necessary basis for the subsequent interpretation of the dispatch results.

      Table 1 Technical parameters of the proposed IES.

      Component Power limit (Max/Min) Conversion efficiency Ramping rate Storage capacities SOC bounds GT 2000 kW / 0 kW = 0.45 = 0.40 0.2 / /GB 1000 kW / 0 kW 0.95 0.2 / /EL 1500 kW / 0 kW 0.88 0.3 / /MR 1500 kW / 0 kW 0.60 0.2 / /HFC 1000 kW / 0 kW = 0.50 = 0.40 1.0 / /EB 400 kW / 0 kW 0.98 1.0 / /WT 1500 kW / 0 kW / / / /PV 2000 kW / 0 kW / / / /TES 100 kW / 0 kW 0.95 / 0.95 / 200 kWh 0.2 / 0.8 / 0.4 GSS 100 kW / 0 kW 0.95 / 0.95 / 200 kWh 0.2 / 0.8 / 0.4 HST 500 kW / 0 kW 0.95 / 0.95 / 1000 kWh 0.2 / 0.8 / 0.4 EES 100 kW / 0 kW 0.95 / 0.95 / 200 kWh 0.2 / 0.8 / 0.4 ηe GT ;ηh GT ηe FC ;ηh F C

      Fig. 4. TOU price of electricity and natural gas.

      Fig. 5. Wind speed and solar irradiance profiles.

      Fig. 6. Electric load and thermal load on a typical day.

      1) Reward convergence analys is

      Fig. 7. Training reward curves of the proposed method: (a) High-level agent; (b) Low-level agent.

      As shown in Fig. 7(a) and (b), both the high-level and low-level agents exhibit clear convergence trends during training, demonstrating the effectiveness of the proposed HRL-DDPG framework in learning hierarchical scheduling policies for the IES. Training was performed based on 10 independent random seeds, respectively. For the high-level agent, the reward increases rapidly within the first 100 episodes, then enters a relatively stable plateau from about episode 100 to episode 450. This is primarily because, during the initial exploration phase, as the samples in the experience replay buffers were still in the early stages of accumulation and a high level of exploration noise was applied, the agent frequently encountere d the physical ramp-rate boundaries of units or the capacity limits of energy storage systems during stochastic interactions with the heterogeneous energy environment. Around episodes 450-550, the curve shows another obvious improvement,indicating that the agent has learned a more effective long-timescale scheduling strategy through continuous mini-batch gradient updates.

      After that, the reward continues to increase more smoothly and gradually converges in the later episodes.By contrast, the low-level agent follows a similar overall trend but with stronger fluctuations. After the initial rapid improvement and a short plateau, two noticeable oscillations appear around episodes 450-600, reflecting the higher difficulty of learning short-timescale corrective control under renewable and load disturbances. Nevertheless,these fluctuations are temporary, and the reward quickly recovers and becomes much smoother after about episode 600, finally reaching a stable level. It’s confirmed that the smoothed episodic rewards of the two agents increase significantly with the number of training episodes and gradually stabilize in the later stage, indicating that the learned policies become increasingly effective and robust. Moreover, in the final 50 episodes, the 50-episode rolling mean rewards of both agents remain above their corresponding stable-region thresholds, indicating that both agents have reached convergence according to the defined criterion.Thus, the two training curves confirm that the proposed hierarchical framework can achieve stable convergence for both long-timescale scheduling and short-timescale real-time adjustment.

      2) Loss dynamics analys is

      From the optimization dynamics shown in Figs. 8 and 9, the actor and critic losses of both the high-level and low-level agents exhibit clear stage-wise evolution characteristics, which further verifies the training stability of the proposed hierarchical framework.

      In Fig. 8, for the high-level agent, the actor loss rises quickly at the beginning and then levels offafter roughly 30,000 training steps, suggesting that the policy network reaches a relatively stable update regime early on. The critic loss, after a brief drop in the initial stage, increases gradually and becomes steady after about 35,000-40,000 steps ,with only mild fluctuations thereafter.This indicates that the critic progressively learns a consistent estimate of long-timescale value under the high-level scheduling task.

      The low-level agent follows a similar overall pattern,but with a longer adjustment period and more visible oscillations in Fig. 9. Its actor loss increases rapidly in the early stage, reaches a high level around 100,000-150,000 training steps, and then declines gradually as training continues, eventually becoming smoother in the later stage.The critic loss also rises sharply at first, remains relatively high for a period, and then starts to decrease after around 200,000 steps. Compared with the high-level agent, the low-level curves fluctuate more strongly and converge more slowly, which is consistent with the greater difficulty of learning short-timescale corrective control under frequent renewable and load variations.

      3) Stability and adjustment analysis

      Fig. 8. Normalized actor and critic loss during the high-level optimization process.

      Fig. 9. Normalized actor and critic loss during the low-level optimization process.

      Fig. 10. Fast-timescale adjustment intensity over the training process.

      Fig. 11. The evolution of training stability indices for the proposed algorithm.

      To further examine how the low-level policy evolves during training,Fig. 1 0 plots the fast-timescale adjustment intensity over the training process. In the early stage,roughly before episode 300, the curve fluctuates strongly and remains at a relatively high level, indicating that the low-level agent still relies on frequent real-time corrections during exploration. Between about episodes 300 and 800,the adjustment intensity remains active, with several noticeable peaks, which suggests that the agent is still refining its fast-timescale response strategy. After approximately episode 900, the curve becomes visibly smoother and stays within a narrower range. It indica tes that the learned policy no longer depends on excessive corrective actions and is able to achieve real-time adjustment in a more stable and efficient manner.

      To assess the change in trai ning robustness more directly, Fig. 11 presents the evolution of the stability indices for the high-level and low-level agents. In the early stage, both curves show pronounced spikes, especially before episode 500, reflecting large fluctuations in episodic returns during the exploration process. The low-level stability index is generally higher and more volatile than the high-level one, which is consistent with the greater diffi-culty of learning fast-timescale corrective control. As training proceeds, both curves gradually decline, and their fluctuation amplitudes become much smaller. After about episode 900,the two indices remain at relatively low levels and continue to decrease toward the end of training, indicating that both agents enter a more stable learning regime.

      4) Comparison with different DRL algorithms

      To further verify the training performance of the proposed hierarchical framework, HRL-DDPG is compared with three representative flat DRL algorithms, namely TD3, SAC, and DDPG. For method-level comparison,the HRL-DDPG episode reward is expressed as the combined scaled task return, while the high-level and lowlevel rewards are additionally retained as internal convergence diagnostics, as shown in (45). Other algorithms are evaluated using their corresponding episode-level task retur ns.All algorithms are trained for 1500 episodes under the same simulation environment and random-seed setting.

      Fig. 12. Training curves of HRL-DDPG and flat DRL baselines.

      Table 3 Technical parameters of the proposed IES.

      Method Last-100 reward CV Stable episode HRL-DDPG 546.51±24.38 4.46% 1238 TD3 714.52±120.66 16.89% 802 SAC 862.43±156.51 18.15% 1267 DDPG 902.10±132.64 14.70% 446

      Fig. 12 shows the training curves of HRL-DDPG and the flat DRL baselines. Compared with TD3, SAC, and DDPG, HRL-DDPG gradually converges to a higher reward level and maintains a smaller fluctuation range in the later training stage. Although the reward improvement of HRL-DDPG is slower in the early stage, it continues to improve after approximately 500 episodes and eventually reaches the best final reward region. In contrast, DDPG enters a relatively stable region earlier but remains at a much lower reward plateau, indicating premature convergence to an inferior policy. TD3 and SAC exhibit better performance than DDPG but still show larger reward fluctuations and lower final rewards than HRL-DDPG.

      Although DDPG reaches its stable region at episode 446, it converges to an inferior reward plateau. Therefore,the stable episode should be interpreted together with the last-100 reward and CV. To further examine whether the observed performance differences are statistically significant, the last-100 episode reward distributions are compared in Fig. 13. HRL-DDPG exhibits a more concentrated distribution around a higher reward level,while TD3, SAC, and DDPG show wider distributions and lower median rewards. This distributional comparison confirms that the perfor mance advantage of HRL-DDPG is not caused by a few isolated high-reward episodes but is consistently reflected across the final training stage.

      Fig. 13. Last-100 episode reward distribution and statistical significance evidence.

      Table 4 Statistical tests for the last-100 episode reward distributions.

      Comparison Mean gain Mann-Whitney p Welch p Cohen’s d Proposed vs DDPG 355.59 1.44e-34 1.39e-48 3.73 Proposed vs TD3 168.01 2.13e-26 1.77e-25 1.93 Proposed vs SAC 315.92 5.38e-34 1.36e-37 2.82

      Fig. 14. Ablation analysis of the proposed hierarchical interaction framework.

      The statistical test results are reported in Table 4. Onesided Mann-Whitney U tests are conducted between HRLDDPG and each flat DRL baseline using the last-100 episode rewards. As can be seen, the p-values of these methods are far below the 0.001 significance level. Besides , the corresponding Cohen’s dvalues are 3.73, 1.93, and 2.82,indicating large effect sizes. Therefore, the proposed HRL-DDPG not only achieves better convergence performance in terms of final reward and CV, but also demonstrates statistically significant and practically meaningful improvements over the flat DRL baselines.

      5) Ablation analysis of the proposed method

      To examine the contribution of the hierarchical interaction design, an ablation study is conducted with three variants: the full HRL-DDPG, HRL-DDPG without the highlow feedback pathway, and HRL-DDPG without the lowlevel correction layer. The full model retains the high-level economic scheduling, low-level real-time correction, highlow feedback, hybrid exploration strategy, and layerspecific replay buffers. The two ablated variants are used to evaluate whether the feedback pathway and the lowlevel corrective policy are necessary for multi-timescale scheduling.

      Fig. 14 compares the ablation results from both normalized performance indices and physical/cost-related indices. Removing the high-low feedback pathway increases the operating cost by 69.0%, which indicates that the high-level agent can no longer perceive the correction burden imposed on the low-level policy. Disabling the low-level correction layer increases the operating cost by 66.8%. More importantly, the cumulative electric deficit rises from 101.93 kW-step to 15,739.22 kW-step, showing that the low-level layer is essential for tracking 5-min renewable and load fluctuations. These results confirm that the performance gain of HRL-DDPG is not only due to the DDPG backbone. The high-low feedback pathway improves the compatibility be tween economic scheduling and real-time correction, while the low-level policy suppresses short-timescale imbalance. The hybrid exploration strategy and layer-specific replay buffers further support the stable training of the two agents by matching their different decision timescales and reward semantics.

      3.3 Online scheduling results analysis

      Fig. 15. Online scheduling results of electric power balance.

      Fig. 16. Online scheduling results of thermal power balance.

      Fig. 17. Online scheduling results of gas power balance.

      Fig. 18. Online scheduling results of hydrogen power balance.

      After the HRL-DDPG model completes training, the online scheduling results of the IES based on the model are shown in Figs. 15-18. To further clarify the operating mechanism of the proposed HRL-DDPG method, this section analyses the typical-day scheduling results based on the electricity, thermal, hydrogen, and gas power-balance profiles. Unlike conventional approaches, the proposed coordinated scheduling method exhibits a clear division of roles across timescales.The high-level agent is responsible for intertemporal economic coordination, determining external energy purchases, the baseline outputs of slowresponse units, and the reference operating states of the storage systems. The low-level agent, by contrast, performs fast corrective control in response to renewable fluctuations and load deviations, mainly through flexible resources such as the EL, HFC, EB, and EES. It is precisely the proposed coordination mechanism—where the high-level agent sets the baseline and the low-level agent refines it in real time—that enables stable balancing and flexible conversion among multiple energy carriers over the typical day.

      1) Electric power balance analysis

      The electricity balance illustrated in Fig. 15 shows a clear renewable-dominated supply pattern. Over the typical day, WT and PV generation contribute about 11.69 MWh and 13.00 MWh, respectively, together far exceeding the amount purchased from the upstream grid. It indicates that renewable energy serves as the primary electricity source in the IES. Around midday, photovoltaic output reaches a peak of 1880.30 kW, while wind generation also remai ns high, and the system’s dependence on external electricity is correspondingly reduced. At this stage, the high-level agent does not maintain a high gridpurchase baseline; instead,it steers the system toward prioritizing local renewable utilization,thereby reducing electricity procurement costs.

      More importantly, the midday renewable surplus is not left unused. Under the low-level agent’s fast corrective actions, flexible coupling units actively absorb the excess electricity. The EL input reaches 1328.16 kW around midday and consumes about 5.70 MWh over the day, while the electric boiler uses roughly 1.58 MWh.It suggests that the low-level agent effectively exploits short-timescale flexibility during periods of abundant renewable generation,redirecting what would otherwise become curtailed electricity into the hydrogen and thermal energy. In other words, the electricity subsystem does not operate in isolation; rather, through real-time adjustments, it is tightly coupled with hydrogen production and electric heating,which significantly improves RES utilization.

      During the morning and evening peak periods, As PV generation declines sharply and eventually disappears,the system increases grid purchases and brings the HFC into service. The HFC reaches a maximum electric output of 250 kW, indicating that hydrogen produced and stored earlier in the day is converted back into electricity to support peak demand. The behaviour reflects the essence of the hierarchical strategy: the high-level agent allocates sufficient flexibility across the day, while the low-level agent activates the fuel cell and storage resources in real time to correct short-term imbalances. The electricity balance therefore clearly demonstrates the interaction between long-timescale scheduling and short-timescale corrective control.

      2) Thermal power balance analysis

      The thermal balance shown in Fig. 16 reveals a supply structure characterized by GB dominance, supplementary support from coupling units, and peak shifting through TES. Over the day, the GB remains the main heat source,providing about 5.15 MWh of thermal energy. At the same time, GT waste heat, EB, and HFC waste heat all contribute to the thermal supply. It indicates that, under the high-level strategy, the GB continues to provide the basic guarantee for meeting thermal demand, while the other heat sources serve primarily as flexible supporting resources.

      In temporal terms, thermal demand peaks in the morning, when the high-level agent tends to maintain a relatively high baseline output from the GB to ensure supply security. During the midday period of maximum renewable generation, however, the low-level agent increases EB output, converting surplus electricity into heat and coordinating this process with thermal storage charging. Later in the afternoon and evening, TES is gradually discharged to support subsequent heating demand. It shows that the thermal subsystem does not rely on a single heat source,but instead operates under a coordinated supply pattern shaped by the hierarchical strategy, where base-load heat sources, coupling units, and thermal storage all play complementary roles.

      3) Gas power balance analysis

      The gas-side dispatch results further demonstrate the advantage of the hierarchical method in cross-network coordination. Overall, the UNGN remains the main gas source, with total purchases of about 7.69 MWh over the day. At the same time, however, the MR contributes 2.19 MWh of gas output, serving as an important internal supplement. This suggests that the system does not rely statically on the external gas network.Instead,during periods of renewable surplus, it develops an internal gasproduction capability through the electricity-hydrogen-g as conversion chain,thereby offsetting part of the external gas demand.

      This behavior is closely tied to the division of labor between the two agents. The high-level agent mainly determines the baseline level of gas procurement and the operating conditions of slow-response gas-side units such as the GB and GT, ensuring the basic energy supply for the electricity and heat subsystems. The low-level agent, in turn,increases the participation of MR during midday renewable-rich periods, allowing the gas network to absorb part of the surplus energy transferred from the electricity and hydrogen subsystems. Although GSS is relatively small in scale, it still provides a useful buffering function by storing gas when internal production is strong and releasing it later when demand rises, thereby smoothing variations in gas procurement. The gas balance thus reflects not only the substitution relationship between external gas purchases and internal gas production, but also the ability of the hierarchical strategy to unlock flexibility on the gas side.

      4) Hydrogen power balance analysis

      Within the overall dispatch results, the hydrogen subsystem clearly acts as a bridge linking the electricity, gas,and storage networks. The EL is the dominant hydrogen source, producing about 5.02 MWh over the day, far exceeding the amount released from HST. It indicates that hydrogen in the IES is generated primarily through the active conversion of surplus midday electricity rather than through passive reliance on pre-existing storage. In other words, the high-level agent has learned the intertemporal value of hydrogen and allocates operating space accordingly, enabling hydrogen production during periods of renewable surplus and hydrogen release later in the day.

      Hydrogen is also distributed along multiple downstream pathways. Part of it is sent to HST and later converted back into electricity through the HFC during peak periods, while another part is fed directly into the MR unit and transformed into synthetic gas. Around midday, hydrogen consumption by MR increases markedly,indicating that the low-level agent does not simply store all surplus hydrogen, but dynamically allocates it between HST and MR according to real-time operating conditions.It improves the flexibility of hydrogen utilization and further highlights the central role of the hydrogen subsystem as a coupling hub within IES.

      5)Solving speed and economic performance comparison

      To further evaluate the practical value of the proposed scheduling method, this subsection compares the proposed HRL-DDPG framework with several representative benchmark methods from the perspectives of solving speed and economic performance. Five additional types of algorithms are employed for comparison: the MILP mathematical programming (based on MPC method), particle swarm o ptimization (PSO), flat DRL baselines (DDPG,TD3, and SAC). Table 5 and Fig. 1 9 summarize the expanded comparison results. The comparison shows that the proposed HRL-DDPG method achieves a total cost only slightly higher than MILP by 1. 68% while reducing online computation time by approximately 27 times. Compared with PSO, the total cost is around 15% lower, and the solving time is roughly 40 times shorter. MILP achieves the lowest cost due to precise iterative optimization but requires more than 400 s for solution,which limitsits real-time applicability. PSO exhibits both the highest cost and the longest computation time, as heuristic exploration is less efficient and prone to local optima.

      Table 5 Comparison of solving speed and economic performance among different methods.

      Method Energy purchase cost ($) O&M cost ($) Energy storage cost ($) Adjustment cost ($) Total cost ($) Solving time (s)MPC 11,070.15 440.05 170.08 316.83 11,997.11 411.18 PSO 13,200.50 520.30 190.10 398.20 14,308.70 597.45 Proposed 11,271.77 436.73 171.70 318.47 12,198.67 15.46 TD3 11474.60 455.20 174.60 331.40 12435.80 12.84 SAC 11995.00 478.80 181.40 331.20 12986.40 22.35 DDPG 13200.10 520.30 190.10 398.20 14308.70 11.95

      Fig. 19. Economy and online computation efficiency comparison.

      Compared with the flat DRL baselines, HRL-DDPG also achieves better economic performance. TD3, SAC,and DDPG obtain total daily costs of 12,435.80 dollars,12,986.40 dollars, and 14,308.70 dollars, respectively, with cost gaps of 3.66%, 8.25%, and 19.27% relative to MPC.These gaps are much larger than the 1.68% gap of HRLDDPG. This indicates that the high-low hierarchical decomposition improves the coordination between slowtimescale economic scheduling and fast-timescale corrective control. It allows the system to dynamically respond to renewable fluctuations and load changes, efficiently absorb surplus energy into storage and energy conversion,and redistribute resources during peak demand. The trained model outputs online dispatch decisions in just 15 s, achieving near-optimal economic performance while enabling real-time operation, which highlights the significant advantage of the hierarchical structure over traditional optimization and heuristic approaches.

      4 Conc lusions

      To address the critical challenges of multi-timescale dynamic coupling, multi-energy interactions, and strict operational constraints in integrated electricity-heat-hyd rogen-gas systems under high renewable penetration, this paper formulates a comprehensive dispatch framework based on a HRL architecture driven by the DDPG algorithm. The framework decouples the scheduling problem along the temporal dimens ion into high-level slowdynamic baseline scheduling and low-level fast-dynamic real-time correction, allowing efficient handling of highdimensional state spaces and dynamic uncertainties. The main conclusions are summarized as follows:

      1) The hierarchical structure mitigates training instability and exploration inefficiency inherent in conventional approaches. Convergence analysis indicates that the two-level experience replay and gradient optimization allow directional exploration across the heterogeneous, high-dimensional state space.After an initial warm-up, cumulative rewards and loss trajectories of both agents converge smoothly toward near-optimal policies, demonstrating robust learning despite strong interdependencies among electricity, heat, gas, and hydrogen subsystems.

      2) The high-level agent, operating on an hourly resolution, coordinates slow-response units to generate smooth economic baselines, preventing frequent start-stop cycles and ensuring stable multi-hour supply. The low-level agent, operating at five-minute resolution, dynamically adjusts fast-response resources to track transient renewable fluctuations. Surplus electricity is allocated to hy drogen production, electric heating, and storage charging, while deficits are compensated via storage discharge, fuel-cell generation,and controlled external procurement.This hierarchical coordination mitigates renewable variability and facilitates deep cross-energy synergy.

      3)The constraint-aware interaction between the learned policy and the dispatch environment maintains consistency with supply-demand balance requirements, storage SOC limits, and ramp-rate limits of different units. All storage units remain within the prescribed SOC ranges, and energy conversion units operate within their ramp-rate limits throughout operation. The trained hierarchical networks generate daily dispatch decisions in 15.46 s,achieving a 26.6-fold acceleration over the MPC benchmark while retaining much lower online computation time than model-based optimization.

      4) The proposed framework achieves a total operating cost only 1.68% higher than MPC, while outperforming TD3, SAC, and DDPG by reducing their cost gaps from 3.66%, 8.25%, and 19.27% to 1.68%. The ablation study further verifies the necessity of the hierarchical interaction: removing the high-low feedback pathway or disabling low-level correct ion increases the operating cost by 69.0% and 66.8%,respectively.These results demonstrate that the hierarchical design improves economic dispatch quality,short-timescale tracking capability,and online applicability across multiple energy vectors.

      In summary, the proposed HRL-DDPG hierarchical framework effectively integrates high-level baseline scheduling with low-level adaptive corrections, captures multi-timescale and multi-energy coupling, maintains consistency with the modeled operating constraints, and delivers near-optimal economic outcomes with minimal computation time. It establishes a theoretically grounded and practically implementable paradigm for real-time,multi-energy system dispatch.

      While the HRL-DDPG scheduling framework demonstrates robust, scalable, and high-performance dispatch,future work could focus on incorporating stochastic forecasts of renewable generation and load demand, extending the framework to multi-agent coordination in distributed energy systems, integrating additional objectives such as emission reduction and network reliability, and developing safety-oriented constraint verification mechanisms for detailed power-flow security and gas-pipeline pressure limits. These extensions would further enhance the practical applicability of hierarchical DRL for complex, multiobjective IES.

      CRediT authorship contribution statement

      Hong Liu: Writing - review & editing, Methodology,Conceptualization. Jie Wu: Writing - original draft, Visualization, Software, Methodology, Investigation, Formal analysis, Data curation, Conceptualization. Xingtang He:Writing - revie w & editing, Formal analysis, Conceptualization. Zihan Qi: Writing - original draft, Software,Methodology, Data curation.

      Declaration of competing interest

      The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

      Acknowledgments

      This work was supported by the Smart Grid-National Science and Technology Major Project(2025ZD0804600).

      References

      1. [1]

        Y. Zhu, S. Wu, J. Li, et al.,Towards a carbon-neutral community:integrated renewable energy systems (IRES)—sources, storage,optimization, challenges, strategies and opportun ities, J. Energy Storage 83 (2024) 110663. [百度学术]

      2. [2]

        M.M. Ferdaus, T. Dam, S. Anavatti, et al.,Digital technologies for a net-zero energy future: a comprehensive review, Renew. Sustain.Energy Rev. 202 (2024) 114681. [百度学术]

      3. [3]

        W. Zheng, H. Lu, M. Zhang, et al., Distributed energy management of multi-entity integrated electricity and heat systems: a review of architectures, optimization algorithms, and prospects, IEEE Trans. Smart Grid 15 (2) (2024) 1544-1561. [百度学术]

      4. [4]

        Z. Wang, S. Bu, J. Wen, et al., A comprehensive review on uncertainty modeling methods in modern power systems, Int. J.Electr. Power Energy Syst. 166 (2025) 110534. [百度学术]

      5. [5]

        H. Zhu, X. Wang, Y. Wen, et al., A review of integrated energy system modeling and operation, Appl. Energy 400 (2025) 126572. [百度学术]

      6. [6]

        D. Song, W. Meng, M. Dong, et al.,A critical survey of integrated energy system: summaries, methodologies and analysis, Energy Convers. Manag. 266 (2022) 115863. [百度学术]

      7. [7]

        W. Shen, B. Zeng, M. Zeng, Multi-timescale rolling optimization dispatch method for integrated energy system with hybrid energy storage system, Energy 283 (2023) 129006. [百度学术]

      8. [8]

        H. Tian, H. Zhao, H. Li, et al., Interval-probabilistic electricityheat-gas flow calculation by dual-level surrogate structure, IEEE Trans. Smart Grid 14 (6) (2023) 4333-4344. [百度学术]

      9. [9]

        H. Xiao, F. Long, L. Zeng, et al., Optimal scheduling of regional integrated energy system considering multiple uncertainties and integrated demand response, Electr. Power Syst. Res. 217 (2023)109169. [百度学术]

      10. [10]

        M. Wang, H. Zhao, C. Liu, et al.,Refined multi-time scale optimal scheduling of dynamic integrated energy system based on superposition of energy flow response, Appl. Energy 380 (2025)125071. [百度学术]

      11. [11]

        Y. Chen, F. Pan, F. Qiu, et al., Security-constrained un it commitment for electricity market: modeling, solution methods, an d future challenges, IEEE Trans. Power Syst. 38 (5) (2023)4668-4681. [百度学术]

      12. [12]

        T.M. Alabi, E.I. Aghimien, F.D. Agbajor, et al., A review on the integrated optimization techniques and machine learning approaches for modeling, prediction, and decision making on integrated energy systems, Renew. Energy 194 (2022) 822-849. [百度学术]

      13. [13]

        X. Chen, G. Qu, Y. Tang, et al., Reinforcement learning for selective key applications in power systems: recent advances and future challenges, IEEE Trans. Smart Grid 13 (4)(2022) 2935-2958. [百度学术]

      14. [14]

        P. Zhang, T. Yang, H. Yan, et al., Two-level deep reinforcement learning approach for energy managem ent of integrated energy system considering deep peak shaving for combined heat and power and coordinated scheduling of electric vehicles, Appl.Therm. Eng. 275 (2025) 126773. [百度学术]

      15. [15]

        L. Zhang, B. Sun, F. Li, Triple-layer joint optimization of capacity and operation for integrated energy systems by coordination on multiple timescales, Energy 302 (2024) 131775. [百度学术]

      16. [16]

        H. Li, S. Wang, Two-time-scale coordinated optimal control of building energy systems for demand response considering forecast uncertainties, Energy 253 (2022) 124204. [百度学术]

      17. [17]

        K. Su, C. Yang, Y. Shao, et al., Accelerating multi-energy system online optimization via integer state variable prediction with operation strategy learning, Energy 341 (2025) 139337. [百度学术]

      18. [18]

        J. Zou, S. Ahmed, X.A. Sun, Multistage stochastic unit commitment using stochastic dual dynamic integer programming,IEEE Trans. Power Syst. 34 (3) (2019) 1814-1823. [百度学术]

      19. [19]

        Y. Ye, D. Qiu, X. Wu, et al., Model-free real-time a utonomous control for a residential multi-energy system using deep reinforcement learning, IEEE Trans. Smart Grid 11 (4) (2020)3068-3082. [百度学术]

      20. [20]

        B. Zhang, W. Hu, D. Cao, et al., Novel data-driven decentralized coordination model for electric vehicle aggregator and energy hub entities in multi-energy system using an improved multi-agent DRL approach, Appl. Energy 339 (2023) 120902. [百度学术]

      21. [21]

        G. Zhang, W. Hu, D. Cao, et al., A multi-agent deep reinforcement learning approach enabled distributed energy management schedule for the coordinate control of multi-energy hub with gas,electricity, and freshwater, Energy Convers. Manag. 255 (2022)115340. [百度学术]

      22. [22]

        Y. Zhou, Z. Ma, X. Shi, et al., Multi-agent optimal scheduling for integrated energy system considering the global carbon emission constraint, Energy 288 (2024) 129732. [百度学术]

      23. [23]

        Z. Yi, Y. Luo, T. Westover, et al., Deep reinforcement learning based optimization for a tightly coupled nuclear renewable integrated energy system, Appl. Energy 328 (2022) 120113. [百度学术]

      24. [24]

        T. Liang, L. Chai, J. Tan, et al., Dynamic optimization of an integrated energy system with carbon capture and power-to-gas interconnection: a deep reinforcement learning-based scheduling strategy, Appl. Energy 367 (2024) 123390. [百度学术]

      25. [25]

        Y. Li, W. Chang, Q. Yang, Deep reinforcement learning based hierarchical energy management for virtual power plant with aggregated multiple heterogeneous microgrids, Appl. Energy 382(2025) 125333. [百度学术]

      26. [26]

        H. Cheng, J. Chen, S. Jung, et al.,Hierarchical rolling optimization strategy for hybrid electric-hydrogen system based on deep reinforcement learning, Energy 338 (2025) 138952. [百度学术]

      27. [27]

        C. Liao, S. Miyata, M. Qu, et al., Year-round operational optimization of HVAC systems using hierarchical deep reinforcement learning for enhancing indoor air quality and reducing energy consumption, Appl. Energy 390 (2025) 125816. [百度学术]

      28. [28]

        W. Jiang, K. Yang, J. Yang, et al.,A multiagent-based hierarchical energy management strategy for maximization of renewable energy consumption in interconnected multi-microgrids, IEEE Access 7(2019) 169931-1699 45. [百度学术]

      29. [29]

        D. Qiu, Y. Wang, T. Zhang, et al., Hierarchical multi-agent reinforcement learning for repair crews dispatch control towards multi-energy microgrid resilience, Appl. Energy 336(2023)120826. [百度学术]

      30. [30]

        A.R. Sayed, X. Zhang, G. Wang, et al., Online operational decision-making for integrated electric-gas systems with safe reinforcement learning, IEEE Trans. Power Syst. 39 (2) (2024)2893-2906. [百度学术]

      31. [31]

        T. Liang, X. Zhang, J. Tan, et al., Deep reinforcement learningbased optimal scheduling of integrated energy systems for electricity, heat, and hydrogen storage, Electr. Power Syst. Res.233 (2024) 110480. [百度学术]

      32. [32]

        Y. Ye, H. Wang, P. Chen, et al., Safe deep reinforcement learning for microgrid energy management in distribution networks with leveraged spatial-temporal perception, IEEE Trans. Smart Grid 14(5) (2023) 3759-3775. [百度学术]

      33. [33]

        Y. Wang, D. Qiu, M. Sun, et al., Secure energy management of multi-energy microgrid: a physical-informed safe reinforcement learning approach, Appl. Energy 335 (2023) 120759. [百度学术]

      34. [34]

        H.T. Nguyen, D.-H. Choi, Three-stage inverter-based peak shaving and volt-VAR control in active distribution networks using online safe deep reinforcement learning, IEEE Trans. Smart Grid 13 (4)(2022) 3266-3277. [百度学术]

      35. [35]

        J. Hu, Y. Ye, Y. Wu, et al., Rethinking safe policy learning for complex constraints satisfaction: a glimpse in real-time security constrained economic dispatch integrating energy storage units,IEEE Trans. Power Syst. 40 (1) (2025) 1091-1104. [百度学术]

      36. [36]

        I. Jendoubi, F. Bouffard, Multi-agent hierarchical reinforcement learning for energy management, Appl.Energy 332(2023)120500. [百度学术]

      37. [37]

        N. Zhang, J. Yan, C. Hu, et al., Price-matching-based regional energy market with hierarchical reinforcemen t learning algorithm,IEEE Trans. Ind. Inform. 20 (9) (2024) 11103-11114. [百度学术]

      38. [38]

        P. Aslami, T. Aryal, N. Bhujel, et al., Reinforcement learningbased fast frequency response using energy storage for remote microgrids, IET Energy Syst. Integr. 8 (1) (2026) e70030. [百度学术]

      Fund Information

      Author

      • Hong Liu

        received the M.S. and Ph.D. degrees in electrical engineering from Tianjin University, Tianjin, China, in 2005 and 2009, respectively. He is currently a Professor with the School of Electrical and Information Engineering, Tianjin University. His research interests include the planning and operation of integrated energy systems and distribution systems.

      Publish Info

      Received:

      Accepted:

      Pubulished:2026-10-16

      Reference: Hong Liu,Jie Wu,Xingtang He,et al.(2026) Multi-timescale coordinated scheduling approach for integrated energy system based on hierarchical reinforcement learning.Global Energy Interconnection,9(5):965-989.

      Share to WeChat friends or circle of friends

      Use the WeChat “Scan” function to share this article with
      your WeChat friends or circle of friends