1. Introduction
The global energy transition is significantly challenged by the volatility of renewable energy sources and the uncertainty of multi-energy loads [
1,
2]. Integrated energy systems (IESs) have emerged as a key solution, coordinating multiple energy networks, such as electricity and heat [
3]. However, the reliance on traditional Combined Heat and Power (CHP) systems on fossil fuels and the integration challenges of renewable energy sources have limited IES flexibility, making hydrogen energy a crucial element. Through power-to-gas (P2G) and hydrogen-compressed natural gas (HCNG) technologies, hydrogen serves as both an energy storage medium and a facilitator of carbon recycling [
4].
Early P2G technologies successfully coupled hydrogen production via water electrolysis and methane synthesis with the power system, enhancing renewable energy absorption and economic benefits [
5]. However, their dependence on external carbon sources and low two-stage conversion efficiency necessitates a trade-off between cost and carbon emissions. Consequently, research has shifted towards combining P2G with carbon capture and storage (CCS) technologies. Reference [
6] utilized CCS to capture
emissions from gas turbines, converting the captured carbon into feedstock for a methane reactor. This closed-loop system established an internal carbon cycle, resulting in an 8.4% reduction in overall processing costs. Reference [
7] integrated P2G with CCS in IESs containing wind and solar energy, achieving renewable energy absorption rates of 22.48% for wind and 30.28% for solar. Reference [
8] further proposed a joint operation framework based on P2G, CCS, and Hydrogen Fuel Cells (HFCs), enhancing the coupling of various energy sources and improving system low-carbon performance and economic efficiency.
To reduce the dependence on carbon sources, an alternative approach focuses on the direct utilization of hydrogen. HCNG technology blends hydrogen with natural gas for use as fuel in gas turbines, promoting coupling and complementarity between different energy sources [
9]. However, HCNG technology requires further consideration to strike a balance between pipeline durability and emission reduction benefits. Reference [
10] achieved good scheduling results by compensating for economic factors through low-carbon mechanisms. Reference [
11] dynamically adjusted the hydrogen blending ratio at different times, improving the economic and environmental benefits of the system by 44.1% and 47.8%, respectively. Despite these advances, a research gap remains regarding the distribution pattern of dynamic hydrogen blending ratios and their ability to regulate system uncertainties. Specifically, considering the complexity of real-time control of the hydrogen blending ratio, there is a need to explore more simplified engineering solutions.
With the deep integration of hydrogen energy and multi-energy networks, the spatiotemporal correlation between wind and solar output fluctuations and load variations has further intensified uncertainty in integrated energy systems (IESs). Traditional stochastic optimization (SO) and robust optimization (RO) methods struggle to strike a balance between computational feasibility, conservativeness, and distributional accuracy. Traditional SO relies on precise probability distributions [
12,
13]; however, due to the scarcity of data for emerging hydrogen technologies, the cost of scenario enumeration becomes prohibitively high. Meanwhile, RO methods ensure system scheduling reliability by considering worst-case scenarios [
14], but their overly conservative nature may lead to cost overestimation. To address this, distributionally robust optimization (DRO) has emerged, reducing the conservativeness of RO while ensuring computational feasibility. Research on Wasserstein-based DRO models [
15] and unimodal transformation frameworks [
16] indicates that DRO can achieve a better balance between conservatism and economic efficiency in IES scheduling compared to traditional SO and RO methods. Additionally, Reference [
17] developed a data-driven DRO model that constructs an uncertainty probability distribution set using a combined 1-norm and
∞-norm, thereby avoiding the complexity of probability density functions. They also enhanced uncertainty modeling by forming high-fidelity renewable energy scenarios, improving both the operational economy and computational efficiency of the system.
However, static optimization models, such as DRO, struggle to address intraday wind and solar forecasting deviations and sudden changes in load demand. Therefore, research has shifted to a "day-ahead-intraday" two-stage scheduling framework. Reference [
18] adopted model predictive control (MPC) in the intraday stage using day-ahead scheduling results for real-time adjustments through rolling optimization and feedback correction, providing a reliable and adaptive solution. Nevertheless, differences in the response times of various energy systems, such as electricity and heat, make it difficult for a single MPC timescale to address the complexities of multi-energy coordination scheduling. To overcome this, Reference [
19] proposed a hierarchical MPC design where the heating system is scheduled hourly at the upper layer. At the same time, electricity and storage devices are regulated on a minute-by-minute and hourly basis at the lower layer, thereby achieving multi-energy coordination scheduling.
Building upon the literature review and to position our contribution precisely, we provide a comparative summary in
Table 1. This table highlights how our study advances the field by uniquely synergizing key technologies and methodologies. It reveals that prior studies often lack the simultaneous integration of CCS technology within an HCNG framework, while investigations into more flexible and practical hydrogen blending strategies remain insufficient. Furthermore, while some works address uncertainty with DRO [
18] or employ multi-timescale scheduling [
19], the combination of both within a comprehensive HCNG-CCS-P2G system has been overlooked.
Therefore, to bridge these gaps and fully leverage the advantages of IESs in mitigating renewable energy fluctuations and multi-energy load uncertainties, this paper proposes and establishes an HCNG-CCS-P2G system. This system integrates day-ahead DRO with intraday MPC rolling optimization methods, achieving optimized scheduling across different timescales through the coordinated operation of multiple energy flows. Based on the temporal variation characteristics of hydrogen blending, the dynamic hydrogen blending (DHB) strategy is further classified into Continuous Hydrogen Blending (CHB) and Time-phased Hydrogen Blending (THB), exploring their effectiveness and application value in various scenarios. The main contributions of this paper are as follows:
A novel two-stage DRO–MPC framework that optimizes source–load uncertainties and orchestrates multi-energy flow coordination across distinct timescales, thereby substantially enhancing the system’s capability to manage uncertainty risks;
Demonstration of the HCNG–CCS–P2G configuration’s advantages in improving low-carbon performance and economic efficiency, providing a practical framework for power system decarbonization;
Investigation into DHB’s effectiveness in day-ahead and intraday scheduling within an IES context, elucidating its regulatory role in mitigating system uncertainties and boosting economic outcomes;
As an engineering approximation of CHB, the superior performance of THB in both intraday and day-ahead scheduling is validated, providing a simplified engineering solution for practical operations.
4. Intraday MPC Rolling Optimization
MPC is a model-based closed-loop control method that utilizes the system’s dynamic model to forecast future behavior over a prediction horizon and determines the optimal control input by solving an online optimization problem. The principal variables involved in the MPC formulation include state variables, control variables, and disturbance variables. In this specific application, the output of each device at time
t is represented as a state variable vector, denoted by
x. The control variables, denoted by
u, represent the decisions or actions applied from time
t to
that govern the system’s evolution. Both the state and control variables are structured into upper and lower layers, and their detailed expressions will be presented in the subsequent section on rolling optimization. Disturbance variables, denoted by
, are employed to model uncertainties or external variations, such as fluctuations in renewable energy generation and load demand, at time
t. The formulation for these disturbances is given as follows:
MPC consists of prediction models, rolling optimization, and feedback correction. The following section will establish mathematical models for each of these three components.
4.1. Prediction Model
The prediction model is tasked with forecasting the system’s future output values (or states) at each sampling point across a prediction horizon, utilizing the current control input and historical state information. In the context of energy scheduling within this system, the forecasting model is primarily composed of two components: the dynamic transition model for the state variables and the prediction model for the disturbance variables.
where,
represents the short-term intraday forecast of
at time
t, and its value will be provided in
Section 5.3.1.
The prediction model incorporates two key parameters: the prediction horizon and the control horizon. The prediction horizon specifies the future period over which system dynamics are forecast, while the control horizon determines the duration during which control actions are optimized and applied. Due to the differing response speeds of the energy carriers—specifically, the rapid dynamics of the electrical load versus the slower transmission of thermal, cooling, gas, and hydrogen loads—a two-layer optimization control strategy is implemented. The upper layer, which manages heat, cooling, gas, and hydrogen loads, operates on a 1-h timescale with both horizons set to 2 h. The lower layer addresses the electrical load at a finer 5-min timescale, with its horizons configured to 1 h.
4.2. Rolling Optimization
The core principle of MPC resides in implementing a rolling optimization strategy. This strategy involves solving an optimization problem over the prediction horizon at each time step to determine an optimal sequence of control actions. However, only the first control action from this sequence is applied to the system. Subsequently, the optimization is repeated in the next time step, incorporating real-time feedback on the system’s state to update the control plan. The specific mathematical model for this rolling optimization process is formulated as follows:
The upper-layer model involves four types of energy: heating, cooling, gas, and hydrogen. The state variable
and control variable
are represented as follows:
They also satisfy the state-space Equation (
34) in the prediction model. Thus, the standard form of the objective function for the upper-layer MPC optimization model can be established as follows:
where
M is the prediction horizon length,
is the predicted value of the upper-layer state variable at time
given information at time
t, and
is the control variable relative to the time
given information at time
. The tracking term, denoted by
, minimizes the deviation of state variables from the day-ahead reference schedule, ensuring operational continuity across time steps. The regulation term, expressed as
, penalizes the magnitude of control adjustments to prevent aggressive fluctuations and safeguard the operational stability of energy conversion devices.
The constraints mainly include range constraints on state variables, internal coupling constraints, energy storage constraints, and balance constraints. These are expressed as follows:
- (2)
Lower Layer Model
The lower-layer model is coupled with the upper-layer model. Every hour, the upper layer performs rolling optimization and passes the coupling parameters to the lower-layer model. The variables involved include
and
. The lower-layer scheduling plans of these variables are directly determined by the upper-layer scheduling strategy based on the coupling relationship. Therefore, the remaining state variables
and control variables
for the lower layer are expressed as:
The standard form of the objective function for the lower-layer MPC optimization model can be established as
The constraints mainly include range constraints on state variables, energy storage constraints, and electrical balance constraints, which are expressed as follows:
4.3. Feedback Correction
In practical MPC applications, model mismatches and prediction errors can lead to deviations between the rolling optimization results and the actual system states. To mitigate these discrepancies, a dynamic feedback correction mechanism is incorporated. The mathematical model for this mechanism is presented as follows:
where,
is the prediction error of the system at time
t,
is the corrected actual state variable of the system at time
, and
is the error matrix coefficient.
Based on the principles described above, the step-by-step flow of the MPC is summarized in
Figure 3.