Skip to main content

ORIGINAL RESEARCH article

Front. Energy Res., 11 April 2022
Sec. Smart Grids
This article is part of the Research Topic Hydrogen Technologies Integrated into Smart Grids View all 5 articles

Research on the Flexibility Margin of an Electric–Hydrogen Coupling Energy Block Based on Model Predictive Control

Zijiao Han,Zijiao Han1,2Shun Yuan,Shun Yuan1,3Yannan DongYannan Dong1Shaohua Ma
Shaohua Ma1*Yudong BianYudong Bian4Xinyu MaoXinyu Mao5
  • 1Institute of Electrical Engineering, Shenyang University of Technology, Shenyang, China
  • 2Liaoning Electric Power Company, State Grid Corporation of China, Shenyang, China
  • 3National Energy Administration, Beijing, China
  • 4Jiangmen Power Supply Bureau of Guangdong Power Grid Corporation, Jiangmen, China
  • 5School of Electrical Engineering, Northeast Electric Power University, Jilin, China

Hydrogen energy plays an important role in the transformation of low-carbon energy, and electric–hydrogen coupling will become a typical energy scenario. Aiming at the operation flexibility of a low-carbon electricity–hydrogen coupling system with high proportion of wind power and photovoltaic, this work studies the flexibility margin of an electricity–hydrogen coupling energy block based on model predictive control. By analyzing the power exchange characteristics of heterogeneous energy, the homogenization models of various heterogeneous energy sources are established. According to the analysis of power system flexibility margin, three dimensions of flexibility margin evaluation indexes are defined from the dimension of system operation, and an electricity–hydrogen coupling energy block scheduling model is established. The model predictive control algorithm is used to optimize the power balance operation of the electro–hydrogen coupling energy block, and the flexibility margin of the energy block is quantitatively analyzed and calculated. Through the example analysis, it is verified that the calculation method proposed in this article can not only realize the online power balance optimization of the electric–hydrogen coupling energy block but also effectively quantify the operation flexibility margin of the electric–hydrogen coupling energy block.

Introduction

As the penetration ratio of renewable energy increases year by year, there is a reverse change between supply and demand of power system flexibility, and the phenomenon of renewable energy power limitation is increasing day by day (Mahesh and Singh Sandhu, 2015; Li et al., 2022a). This transition not only undoubtedly brings huge economic and environmental benefits but also brings huge challenges to the secure and stable operation of today’s power system because of the uncertainties of renewable power generations (Li et al., 2021a; Li et al., 2022b; Shi et al., 2022). As a clean secondary energy (Pan et al., 2020), it is particularly important for hydrogen to completely call all links of source charge storage to participate in flexibility adjustment and balance through an electric–hydrogen coupling power generation system and cooperate with the consumption of renewable energy (Shao et al., 2021; Zhu et al., 2022). Power to gas (P2G), as links of multi-energy carriers, has been successfully adopted to strengthen the coupling of different energy systems (Li et al., 2021b). Hydrogen–electric coupling will greatly contribute to promote renewable energy consumption and build a low-carbon sustainable modern energy system (Xiaochen et al., 2021; Wang et al., 2022). To solve the problems of large differences in heterogeneous energy models and difficult flexibility margin analysis in an electro–hydrogen coupling module, it is important to build an effective electric–hydrogen coupling contract qualitative energy module and carry out flexibility margin calculations.

At present, many experts and scholars around the world have carried out research on the modeling and flexibility margin analysis of an electro–hydrogen coupling module. Khan and Iqbal (2009) established a linear model of a wind hydrogen hybrid energy system based on empirical and physical relations and analyzed the performance of a hybrid energy system through digital simulation. Fakehi et al. (2015) carried out the conceptual modeling of the hybrid renewable energy system based on a wind energy/electrolyzer/proton exchange membrane fuel cell. At the same time, based on the thermodynamic, electrochemical, and mechanical models of different components of the hybrid system, the energy analysis framework of the hybrid system was established. Also, the model was used for simulation analysis to calculate the influence of different operating parameters on energy application efficiency. Sharma and Sathans (2015) established a renewable energy hybrid system model composed of photovoltaic cells, wind turbines, battery energy storage systems, and diesel power generation systems. Three cases are set to analyze the impact of system performance and intermittent renewable energy on the system. In addition, in the operation and analysis of the multi-energy power system, research institutions at home and abroad have carried out relevant research on the flexibility evaluation of two or a few energy resource systems. Starting from the dimension of flexibility planning, Ma et al. (2012) defined power system flexibility as the ability of the system to allocate its resources when the system network or load changes and took this flexibility as one of the indicators to evaluate whether the planning scheme is reasonable. The flexibility of the power system described in the literature (Adams et al., 2010) is the ability to quickly adapt and restore stability when the system undergoes unpredictable fluctuations or changes under certain economic constraints. Agency (2009) qualitatively described the system flexibility in this area by using the switching capacity of hydropower and thermal power generation, and the economic benefits brought by hydrothermal power switching can measure the advantages and disadvantages of switching schemes under different operating states. Meibom et al. (2007) and Lannoye et al. (2012) define the unit flexibility index and system flexibility index according to the unit flexibility parameters and establish the unit combination model considering the unit expansion with the goal of minimizing the total cost.

The aforementioned literature lacks homogeneous equivalent modeling of heterogeneous energy systems and a multi-dimensional quantitative understanding of flexibility. Moreover, the flexibility evaluation index is one-sided and single, and it is difficult for the flexibility evaluation to reveal the flexibility boundary of the system operation. Therefore, this study analyzes the power characteristics of the heterogeneous energy of electricity and hydrogen, and carries out the homogeneity modeling of the heterogeneous energy. From the three dimensions of climbing, power, and energy, the energy block balance criterion and flexibility margin index of electric-hydrogen coupling are proposed. The flexibility margin of the electric-hydrogen coupling energy block was analyzed, and the power balance optimization calculation method of the energy block based on model predictive control (MPC) was proposed. Finally, combined with the historical data of a new energy demonstration area in my country, the calculation method of the flexibility margin of the electricity-hydrogen coupling energy block proposed in study paper was verified.

Electro–Hydrogen Coupling Energy Block and Homogenization Modeling

Based on the existing gas turbine, wind power, and photovoltaic structures, combined with the characteristics of an electrolytic cell and fuel cell, an electric- hydrogen coupling energy block was constructed, as shown in Supplementary Figure S1.

It can be seen from Supplementary Figure S1 that in the energy block composed of a variety of heterogeneous energy sources, wind power, photovoltaic, and gas units were coupled with hydrogen energy storage devices. At the same time, the balance supply of electric load and hydrogen load was realized through internal energy regulation. The mutual conversion between hydrogen energy and electric energy was the medium connecting various heterogeneous energy models in the electric- hydrogen coupling energy block. For the outside of the electric- hydrogen coupling energy block, the energy module was supplied by wind energy, solar energy, gas, and hydrogen, and the supply and demand balance of source load was met through internal energy conversion. For the inside of the electric- hydrogen coupling energy block, wind airports and photovoltaic stations convert the supplied energy into electric energy. When the power output was higher than the electric load demand, the electrolytic cell absorbed the excess power of the system, converted the electric energy into hydrogen energy and stored it. When the power output is less than the electric load demand, the fuel cell will supplement the missing power. The hydrogen storage capacity is determined by the electric load and hydrogen load. The battery energy storage can balance the climbing power and make up for the power shortage.

The electro–hydrogen coupling energy block involves a variety of heterogeneous energy units with different physical media and technical characteristics. For its complex parameters and boundary conditions, it is important to establish a unified model for analysis.

Combined with the structure of the electro–hydrogen coupling energy block and considering the power exchange characteristics of heterogeneous energy, the model framework is shown in Supplementary Figure S2.

As can be seen from the figure, the supply and demand side of the model includes the energy supply process (ζi > 0), demand process (ζi < 0), and spillover energy (wi ≥ 0). The model system side includes the homogenization model and the conversion and transmission process of electric energy and hydrogen energy. By changing the model parameters, the model can characterize the elements in the energy block.

The model set is i∈{w, pv, b, h, f, ···}, where w represents wind farm, pv represents photovoltaic station, b represents battery energy storage, h represents hydrogen energy storage system, and f represents gas unit. The general formula of model i is

Cidxi=ηex,iξiηgen,ipgen,iΔt+ηload,ipload,iΔtwi,(1)

where Ci is the energy storage capacity, dxi is the change in state of charge (SOC) of energy storage, ηgen,i is the output efficiency, pgen,i is the output power, ηload is the load efficiency, pload,i is the load power, ηex,i is the conversion efficiency of external energy, ζi is the output/consumption of external energy, wi is the overflow energy, and Δt is the dispatching cycle of energy storage.

According to the existence of energy storage, the heterogeneous energy models in the energy module are divided into two categories. The renewable energy power generation model without energy storage (Cidxi = 0) is as follows:

The wind farm model is formulated by

Cwdxw=0=ξwηgen,wpgen,wΔtww,(2)

where ζw is the wind energy collected by the wind farm for the collection and calculation of wind speed data, ηgen,w is the power generation efficiency of the wind farm itself, pgen,w is the output power of the wind farm, and ww is the waste air volume in the dispatching cycle.

The PV station model is given as follows:

Cpvdxpv=0=ξpvηgen,pvpgen,pvΔtwpv,(3)

where ζpv is the solar energy collected by the photovoltaic station for the collection and calculation of irradiation data, ηgen,pv is the power generation efficiency of the photovoltaic power plant itself, pgen,pv is the output power of the photovoltaic station, and wpv is the light rejection in the dispatching cycle.

The heterogeneous energy model with energy storage (Cidxi≠0) can be depicted in the following section.

The battery energy storage model is

Cbdxb=ηload,bpload,bΔtηgen,bpgen,bΔt,(4)

where Cb represents the energy storage capacity of the battery, ηload,b represents the charging efficiency of the battery, pgen,b represents the charging power of the battery, ηgen,b represents the discharge efficiency of the battery, and pgen,b represents the discharge power of the battery.

The hydrogen energy storage system model is calculated as

Chdxh=ξh+ηload,hpload,hΔtηgen,hpgen,hΔt,(5)

where Ch represents the capacity of the hydrogen storage tank, ζh represents the hydrogen supply and demand, when ζh > 0, it represents the hydrogen supply, when ζh < 0, it represents the hydrogen demand, ηload,h represents the hydrogen production efficiency of the electrolytic cell, pload,h represents the power of the electrolytic cell, ηgen,h represents the power generation efficiency of the fuel cell, and pgen,h represents the output power of the fuel cell.

The gas unit model is given as follows:

Cfdxf=ξfηgen,fpgen,fΔt,(6)

where Cf represents the capacity of the gas storage pipe, ζf is the gas input, ηgen,f is the gas power generation efficiency, and pgen,f is the output power of the gas unit.

The constraints to be met by the model are as follows:

1) Climbing constraint: unit and load climbing rate constraint:

dpload.i.mindpload,idpload,i,max,(7)

where dpload,i,min and dpload,i,max are the lower limit and upper limit of the load climbing rate, respectively.

dpgen,i,mindpgen,idpgen,i,max,(8)

where dpgen,i,min and dpgen,i,max are the lower limit and upper limit of unit climbing rate, respectively.

2) Output power constraints: system load and output constraints:

0kpload,i,minkpload,ikpload,i,max,(9)

where pload,i,min and pload,i,max are, respectively, the upper and lower limit values of load demand, and each efficiency parameter is a variable, which changes with the change of input/output power, where ηgen,i = f (pgen,i), ηload,i = f (pload,i), ηex,i = f (ζi), k is a binary variable. Here, k = 1 or 0 represents if the load is running or not running, respectively.

0Xpgen,i,minXpgen,iXpgen,i,max,(10)

where pgen,i,min and pgen,i,max are, respectively, the upper limit and lower limit of unit output, and each efficiency parameter is a variable, which changes with the change of input/output power, where ηgen,i = f (pgen,i), ηload,i = f (pload,i), ηex,i = f (ζi), X is a binary variable. Here, X = 1 or 0 represents a unit that is running or not running, respectively.

3) Energy storage constraints: state of charge and energy storage capacity constraints:

{Ci>0,xminxixmaxCi=0,(11)

where xmin and xmax are the upper and lower limits of the state of charge, respectively. When there is energy storage, C > 0, otherwise, when C = 0, there is no state of charge constraint.

4) Renewable energy abandonment constraints: energy input/consumption and spillover energy constraints:

{ζi>0,wi0,ζiwi0ζi<0,(12)

where ζi > 0 represents the external input of energy, wi ≥ 0 represents the existence of overflow energy (wind and light abandonment), and ζi < 0 represents the external consumption of energy.

Flexbility Margin Analysis and Evaluation Index of the Energy Block

Energy Block Flexibility Margin Analysis

The flexibility demand of the energy block mainly comes from the intermittence and fluctuation of the load and renewable energy, and has certain directionality. Flexibility can be divided into upward flexibility requirements and downward flexibility requirements. When the system has an upward flexibility demand (pnet≤0), the flexibility resource response is gas unit, battery energy storage and discharge, fuel cell, and load rejection. When the system has a downward flexibility demand (pnet≥0), the flexibility resource response is battery energy storage charging, electrolytic cell, and renewable energy abandonment.

Aiming at the balance between the supply and demand of flexibility in an electro–hydrogen coupling energy block, this study will analyze flexibility from three dimensions: climbing power, output power, and power supply (Dingyao et al., 2014; Dingyao et al., 2015; Li et al., 2020).

As shown in Supplementary Figure S3, four operation points were set to analyze the flexibility margin of the system at t2 time. Operation points A and B have downward flexibility requirements, and the flexibility provided at t1 time is rp, pp, ep, while the downward flexibility required by operation point A is rn, pn, en. It can be seen from the figure that the flexibility margin required for the operation point A is outside the system flexibility margin envelope, rp, pp, ep < rn, pn, en and the system cannot meet the flexibility requirements of the operation point A. The flexibility margin required by the operation point B is within the system flexibility margin envelope, and the system can meet the flexibility margin requirements of the operation point B.

Operation points C and D have upward flexibility requirements. The operation point C is within the flexibility margin envelope, which can meet the requirements of the flexibility margin. The operation point D is outside the envelope of flexibility margin, rp+, pp+, ep+>rn+, pn+, en+, which cannot meet the requirements of the flexibility margin.

The flexibility balance criterion of the electric–hydrogen coupling energy block is

{irp,i,t+rn,t+,irp,i,trn,tipp,i,t+pn,t+,ipp,i,tpn,tiep,i,t+en,t+,iep,i,ten,t,(13)

where r+p,i,t and r-p,i,t are the uphill power and downhill power, respectively, provided by unit i at time t, rn,t is the uphill power required by the system at time t, p+p,i,t and p-p,i,t are the up output power and down output power, respectively, provided by unit i at time t, pn,t is the output power required by the system at time t, e+p,i,t and e-p,i,t are the upper power supply and lower power supply, respectively, provided by unit i at time t, and en,t is the power supply required by the system at time t.

Energy Block Evaluation Index

The flexibility margin required at each running time and the upper and lower limits of the flexibility margin provided by the energy block were calculated, the flexibility margin envelope was drawn, and the boundary of the system flexibility margin was analyzed (Ulbig and Andersson, 2015; Ji et al., 2019). Through the analysis of the flexibility margin required by the operation point, the expectation of an insufficient flexibility margin in each dimension is defined as an index to measure the flexibility margin of the energy block.

To enable it to effectively reflect the system’s ability to respond to changes in net load, the indicators are as follows:

1) The climbing power does not meet the index EIR, which indicates the expected value of the difference between the up/down climbing power provided by the system and the actual demand climbing power within the operation day.

EIR=ρs(t=1NL|dPnet,ti=1NGdPgen,i|+|i=1NLdPload,idPnet,t|).(14)

In formula (14),

ρs=βs,tNT,(15)

where dPnet,t represents the net load climbing rate at time t, ρs represents the probability of an insufficient flexibility margin in scenario s, NT represents the number of system dispatching intervals, βs,t represents the number of insufficient flexibility margins, NG represents the number of generator units, and NL represents the number of loads.

2) The output power does not meet the index EIO, which indicates the expected value of the difference between the up/down power provided by the system and the actual demand power within the operation day.

EIO=ρs(t=1NT|Pnet,ti=1NGPgen,i|+|i=1NLPload,iPnet,t|),(16)

where Pnet,t represents the net load power at time t.

3) The provided electric energy does not meet the EIC index, which indicates the expected value of the difference between the up/downregulated electric energy provided by the system energy storage unit and the actual demand electric energy within the operation day.

EIC=ρs(t=1NT|tt+1Pnet,tdti=1NGtt+1Pgen,idt|+|i=1NLtt+1Pload,idttt+1Pnet,tdt|).(17)

The abovementioned three indicators show the expectation of an insufficient flexibility margin as that the flexibility margin unit cannot meet the change of system static load.

Online Solution of Energy Block Flexibility Margin Based on Model Predictive Control

The state space of a linear discrete system is expressed as

{x(k+1)=Ax(k)+Bu(k)+Dd(k)y(k)=Cx(k),(18)

where x is the state variable, u is the control variable, d is the disturbance variable, y is the controlled output, A, B, and C are the system matrix, control matrix, and disturbance matrix, respectively, C is the output matrix, k is the current time, and k+1 is the next time.

Bringing eqs 26 into eq 18, the specific form of state space expression is

{xw(k+1)=ζw(k)ηgen,wpgen,w(k)Δtww(k)xpv(k+1)=ζpv(k)ηgen,pvpgen,pv(k)Δtwpv(k)xb(k+1)=xb(k)+1Cb(ηload,bpload,b(k)Δtηgen,bpgen,b(k)Δt)xh(k+1)=xh(k)+1Ch(ζh(k)+ηload,hpload,h(k)Δtηgen,hpgen,h(k)Δt)xf(k+1)=xf(k)+ζf(k)ηgen,fpgen,f(k).(19)

The vector formed by the energy storage SOC is selected as the state variable, namely,

x(k)=[xw(k),xpv(k),xe(k),xh(k),xf(k)]T.(20)

The vector composed of the output, load power, and overflow energy of each unit is taken as the control variable, namely,

u(k)=[pgen,w(k),pgen,pv(k),pgen,b(k),pload,b(k),pgen,h(k),pload,h(k),pgen,f(k),ww(k),wpv(k)]T.(21)

We take wind power, photovoltaic, hydrogen, and coal energy supply vectors as disturbance variables, namely,

d(k)=[ξw(k),ξpv(k),ξh(k),ξf(k)]T.(22)

We take the vector composed of battery energy storage and hydrogen energy storage SOC as the output variable, namely,

y(k)=[xb(k),xh(k)]T.(23)

The system matrix, control matrix, output matrix, and disturbance matrix of the energy module are, respectively,

A=[0000000000001000001000001],(24)
BT=[ηgen,w00000ηgen,pv00000ηgen,bΔtCb0000ηload,eΔtCe00000ηgen,hΔtCh0000ηload,hΔtCh00000ηgen,f1000001000],(25)
C=[0010000010],(26)
D=[10000100000000100001].(27)

The error between the estimated output value of spilled energy and stored energy SOC and the daily planned value was the smallest, and the control active power regulation increment of each unit was the smallest. The objective function of the electro–hydrogen coupling energy block is

minJ(k)=j=1Npy(k+j)yref(k+j)Q2+j=0NcΔu(k+j)R2,(28)

where yref is the reference trajectory of state quantity, Q and R are the error and input weighting matrix, respectively, and Np and Nc are, respectively, the prediction time domain and control time domain.

The constraints are as follows:

Sti=1NGpgen,ii=1NLpload,iPloadt=0,(29)
ΔuminΔuΔumax,(30)
uminuumax,(31)
xminxxmax,(32)

where Ptload represents the system load demand power at time t.

Vector E(k) is defined as the deviation between the system free response and the future target trajectory:

E(k)=Yref(k)Mx1x(k)Mu1u(k1).(33)

In formula (33),

Mx1=[CACA2CANcCANc+1CANp]Mu1=[CBCAB+CBi=0Nc1CAiBi=0NcCAiBi=0Np1CAiB],(34)

where for matrices A, B, and C are as in Eqs 24–26; Eq 33 is substituted into Eq 28 to obtain

Jk=Y(k)Yref(k)Q2+ΔU(k)R2,=MΔu1ΔU(k)E(k)Q2+ΔU(k)R2,=ΔUT(k)[MΔu1TQMΔu1+R]ΔU(k)2ET(k)QMΔu1ΔU(k)+ET(k)QE(k).(35)

The abovementioned formula is written as the standard form of secondary planning:

Jk=12ΔUT(k)H(k)ΔU(k)+fTΔU(k).(36)

In formula (36),

H=2(MΔu1TQMΔu1+R),f=2(MΔu1TQE(k)),(37)
MΔu1=[CB0CAB+CB0i=0Nc1CAiBBi=0NcCAiBCAB+CBi=0Np1CAiBi=0NpNcCAiB].(38)

The constraint condition of Eq 36 is

A˜ΔU(k)b˜.(39)

In formula (39),

A˜=[ΠΠΛΛMΔu2MΔu2]T,(40)
b˜=[ΔUmaxΔUminUmaxΨu(k1)Umin+Ψu(k1)YmaxMx2x(k)Mu2u(k1)Ymin+Mx2x(k)+Mu2u(k1)],(41)
Λ=[I00II0III]Nc×NcΨ=[III]Nc×1,(42)
Mx2=[CACA2CANcCANc+1CANp],Mu2=[CBCAB+CBi=0Nc1CAiBi=0NcCAiBi=0Np1CAiB],(43)
MΔu2=[CB0CAB+CB0i=0Nc1CAiBBi=0NcCAiBCAB+CBi=0Np1CAiBi=0NpNcCAiB],(44)

where I is the identity matrix of m dimension, and m is the number of control quantities.

According to the aforementioned derivation process, it can be transformed into a quadratic programming problem for a solution. As shown in formula (45), the first item of the solved control sequence is applied to the system, and the control quantity is executed until the next time. At the new time, the system repredicts the output of the next time domain according to the state information. Then, the next new control increment sequence is obtained through the optimization process. This cycle is repeated until the system completes the control process.

{Δu(k)=[I00]ΔU(k)u(k)=u(k1)+Δu(k),(45)

where k-1 is the last time.

The flexibility margin envelope is drawn according to the calculated control variable sequence, and it is brought into Eqs 14 – 17 to calculate the indicators of EIR, EIO, and EIO.

The flow chart of the flexibility margin analysis is shown in Supplementary Figure S4.

Example Simulation

Energy Block Parameter Setting

The example system structure is shown in Supplementary Figure S1. In the electric- hydrogen coupling energy block constructed in this study, the installed capacity of the wind farm was 60 MW, that of the photovoltaic power generation system was 60 MW, and that of the gas turbine assembly was 30 MW. In terms of the hydrogen energy system, including a 30 MW fuel cell power generation system and 30 MW electrolytic cell system, the initial SOC of hydrogen energy storage was taken as 40%. The energy storage device adopts a battery with a total capacity of 120 mwh, its rated charge discharge power was ±10 MW, and the initial SOC value of the battery was 45%. Refer to the literature (Makarov et al., 2009; Hong, 2013; Kong et al., 2018; Tuinema et al., 2020) for the parameters of matrix B in Eq 25.

Relevant technical parameters of the electro–hydrogen coupling system are shown in Supplementary Table S1.

The data of wind power, photovoltaic, power load, and hydrogen load are shown in Supplementary Figure S5.

Flexibility Margin Analysis of the Energy Block

To analyze the differences in flexibility margins in different scenarios, this section designed three calculation scenarios to evaluate the flexibility margins of fast energy.

Scenario 1: In the absence of controllable components, analyze the lack of the flexibility margin in the initial operating state.

Scenario 2: Add hydrogen storage and analyze the flexibility margin of the system.

Scenario 3: Based on scenario 2, battery energy storage and gas generators are added to further increase the adjustment capability of the energy block and analyze the flexibility margin of the system.

The energy block model was established according to each scene, and the system output power at the step size of 5 min was calculated and analyzed. According to the operation of each scene at each time, draw the operation diagram of the energy block and the boundary envelope of the dynamic flexibility margin. The flexibility margin analysis required for scenario 1 is shown in Supplementary Figure S8; the simulation analysis of scenario 2 and scenario 3 is shown in Supplementary Figure S6 and Supplementary Figure S7 and Supplementary Figure S8, and the corresponding flexibility margin boundary envelope analysis is shown in Supplementary Figure S9 and Supplementary Figure S10. The flexibility margin index and flexibility maximum value of each scenario are shown in Supplementary Table S2 and Supplementary Table S3.

In scenario 1, high permeability renewable energy was accessed, and there was no controllable element in the system to adjust. At this time, the air and light rejection can only be adjusted through the overflow energy W, resulting in the mismatch of the flexibility margin of the system and the increase of the flexibility margin index. In scenarios 2 and 3, controllable elements such as hydrogen energy storage and battery energy storage were added. At this time, the flexibility margin of the energy module was effectively increased through the integration of resources. In scenario 2, the flexibility margin requirements of the module in terms of energy storage and output were supplemented through the combination of a fuel cell and electrolytic cell. The operation requirement was to avoid the frequent startup and shutdown of the unit on the basis of full supply of the load and consumption of renewable energy. In scenario 3, the battery energy storage and gas unit further supplement the flexibility margin requirements in the climbing power and unit output required by the module, further improving the flexibility margin level of the system. Scenario two and scenario three supplement the corresponding units based on the flexibility margin index. It can be seen from Supplementary Table S2 and Supplementary Table S3 that through the comparison of various scenarios, the integration of controllable resources effectively increases the flexibility margin of the energy module.

As shown in Supplementary Figure S9, S10, because of the high proportion of renewable energy connected to the energy module, its strong volatility leads to insufficient upregulation or downregulation capacity at many operation points. For scenario 2, in the 5–33 h interval, there was no wind at night, the fan and photovoltaic output were insufficient, and the climbing power and unit output in the energy module were insufficient, which cannot provide sufficient flexibility resources. During this period, the maximum climbing power shortage was 3.6 MW/min, the maximum output power shortage was 18.5 MW, and the maximum supply power shortage was 4.27 MWh. In the 163–205 h interval, the output of the fan and photovoltaic decreased sharply, the SOC of hydrogen energy storage was maintained at a low level, and the fuel cell cannot provide enough electric energy, so the normal operation of the system can only be maintained through load shedding.

The maximum value of the climbing power shortage during this period was 4.67 MW/min, the maximum value of output power shortage was 20.7 MW, and the maximum value of power supply shortage was 36.27 MWh. In the 42–46, 115, 155–165, 230, 300–310, 325–355 h intervals, energy modules cannot fully absorb renewable energy. These parts of the electricity discarded account for 7% of the total renewable energy power generation. The flexibility margin index of scenario two was EIR = 5.631 MW/min, EIO = 26.173 MW, and EIC = 32.089 MWh. For scenario 3, on the basis of scenario 2, the combination of battery energy storage and gas generator sets makes up for the corresponding flexibility margin deficiency.

It can be seen from Supplementary Figure S7 that the battery energy storage has the ability to respond quickly. The rapid discharge supplements the system’s demand in the climbing power dimension, while the gas-fired unit supplements the lack of output power. Scenario three can basically meet the upward flexibility requirements of the energy modules, but in the 44, 114–115, and 155–160 h intervals, there were still situations where renewable energy power generation could not be fully absorbed. The power discarded in these parts accounts for 1.5% of the total renewable energy power generation. The flexibility margin index of scenario three was EIR = 0 MW/min, EIO = 1.1MW, and EIC = 3.62 MWh. To avoid the abandonment and load shedding of renewable energy sources, we can invest in flexibility resources with corresponding adjustment capabilities and adjustment directions based on the calculation results.

The Influence of Renewable Energy Penetration Rate on the Flexibility Margin of the Energy Block

Compared renewable energy has the characteristics of intermittency and volatility, and a high proportion of renewable energy access will have a certain impact on the flexibility of the system. According to scenario 3, study the impact of different access ratios of renewable energy on the flexibility margin, gradually increase the ratio of the wind power and photovoltaic access from 0 to 50%, and calculate the abandonment rate of renewable energy by formula (46). The flexibility margin of the system under different penetration rates is shown in Supplementary Table S4.

Ew=t=1NTi=12Pgen,i,tPgen,i,t+wi,t.(46)

With the continuous improvement of renewable energy penetration, the flexibility margin of the energy module gradually decreases. As can be seen from Supplementary Figure S11, there is a threshold for renewable energy penetration. When the access ratio exceeds 40%, the flexibility margin index of each dimension of the energy module shows a rapid growth trend. The comparison between scenario two and scenario three shows that PV requires a higher flexibility margin than wind power. However, because of the intermittent characteristics of wind power generation, the demand for the flexibility margin in the dimension of climbing power is high. The comparison of different scenarios shows that when the renewable energy penetration rate exceeds 40%, the EIC and EIO indicators increase significantly. When the permeability exceeds 60%, the EIC index increases significantly. It can be seen that the deficiency of the unit output and power supply index has a greater impact on the system flexibility margin.

When analyzing the system flexibility margin, analysis indicators of different dimensions are required. According to the analysis results, the corresponding flexibility margin resources were increased in each dimension to ensure the economy of the system while maintaining the balance of system flexibility margin as far as possible.

Conclusion

By analyzing the power exchange characteristics of heterogeneous energy sources, this study established the homogenization model of various flexibility margin resources. On this basis, the energy block model of electro–hydrogen coupling was established. The flexibility margin evaluation index was proposed from the dimension of system operation, and the flexibility margin of the module was analyzed from the three dimensions of climbing power, unit output, and power supply. The model predictive control algorithm was introduced to solve the problem, and then the system flexibility margin was quantitatively analyzed. The conclusions are as follows:

1) By analyzing the power exchange characteristics of heterogeneous energy, a homogenization model was established based on the energy balance relationship of each unit of the energy module. The complex model of multiple physical fields was simplified and equivalent, which lays a model foundation for the online calculation of flexibility margin.

2) In this study, an optimal calculation method of energy block power balance based on MPC was proposed, and the flexibility margin of electro–hydrogen coupling energy block was analyzed. In this study, the energy block balance criterion and flexibility margin index of electro–hydrogen coupling are proposed from the three dimensions of climbing, power, and energy. Through the analysis of the flexibility margin of the operation point, the deficiency of the flexibility margin of the system was judged, the flexibility margin analysis of the energy module was better realized, and suggestions were provided for the system scheduling.

3) The simulation results show that the flexibility index of each operation point is different because of the different intermittent and fluctuation distribution of the energy module at each time. At the same time, nodes and moments with an insufficient flexibility margin can be found according to the drawing of the flexibility margin envelope of operating points. The indicators proposed in this study can help the system coordinate the configuration and operation of flexibility resources.

4) Through the analysis of permeability, it can be seen that there is a threshold of renewable energy permeability. When the threshold is exceeded, the flexibility margin index of each dimension of the energy module shows an increasing trend. Compared with wind power, PV has higher requirements on the flexibility margin.

This study only models from the steady-state dimension and does not involve the transient model of the system and the capacity matching of the wind solar hydrogen system. In the follow-up research, many technical and economic factors such as hydrogen storage and hydrogen sales will be mainly considered. In addition, it is also interesting to investigate the planning and energy management of microgrids and integrated energy systems incorporating the presented electric–hydrogen coupling energy block (Li et al., 2019; Li et al., 2022c).

Data Availability Statement

The original contributions presented in the study are included in the article/Supplementary Material; further inquiries can be directed to the corresponding author.

Author Contributions

ZH is mainly responsible for technical aspects, conception, and design of manuscripts. SY investigated the homogenization modeling and calculated the main methods. YD contributed to the flexibility margin analysis. SM provided valuable help for calculation. YB and XM participated in the production of the paper chart and the preparation of some content.

Funding

This study received funding from “Liaoning BaiQianWan Talents Program” and Liaoning Electric Power Co., Ltd. science and technology project (2021YF-81) of State Grid. The funder was not involved in the study design, collection, analysis, and interpretation of data, the writing of this article, or the decision to submit it for publication. All authors declare no other competing interests.

Conflict of Interest

ZH was employed by Liaoning Electric Power Company. YB was employed by Jiangmen Power Supply Bureau of Guangdong Power Grid Corporation.

The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest

Publisher’s Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Acknowledgments

The authors thank the “Liaoning BaiQianWan Talents Program” and Liaoning Electric Power Co., Ltd. science and technology project (2021YF-81) of State Grid, which funded them, and also the experts and scholars who have helped them in the process of scientific research.

Supplementary Material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fenrg.2022.879244/full#supplementary-material

Supplementary Figure S1 | Electro–hydrogen coupling energy module.

Supplementary Figure S2 | Heterogeneous energy homogenization model.

Supplementary Figure S3 | Flexibility margin analysis.

Supplementary Figure S4 | Flowchart of the flexibility margin calculation method.

Supplementary Figure S5 | Value of load, photovoltaic plant output, and wind farms output.

Supplementary Figure S6 | Simulation analysis of scenario 2.

Supplementary Figure S7 | Simulation analysis of scenario 3.

Supplementary Figure S8 | Flexibility margin analysis of scenario 1.

Supplementary Figure S9 | Flexibility margin analysis of scenario 2.

Supplementary Figure S10 | Flexibility margin analysis of scenario 3.

Supplementary Figure S11 | Renewable energy abandonment rate.

References

Adams, J. O., Malley, M., and Hanson, K. (2010). Flexibility Requirements and Potential Metrics for Variable Generation: Implications for System Planning Studies. Princeton, NJ:NERC, 14–17.

Google Scholar

Agency, I. E. (2009). Empowering Variable Renewables-Options for Flexible Electricity Systems. OECD Publishing, 11–13.

Google Scholar

Dingyao, X., Chengmin, W., Pingliang, Z., et al. (2014). A Survey on Power System Flexibility and its Evaluations. Power Syst. Tech. 38 (6), 1569–1576.

Google Scholar

Dingyao, X., Chengmin, W., Pingliang, Z., et al. (2015). Power Source Flexibility Evaluation Considering Renewable Energy Generation Uncertainty. Automation Electric Power Syst. 35 (7), 120–125.

Google Scholar

Fakehi, A. H., Ahmadi, S., and Mirghaed, M. R. (2015). Optimization of Operating Parameters in a Hybrid Wind–Hydrogen System Using Energy and Exergy analysis:Modeling and Case Study. Energ. Convers. Manag. 106, 1318–1326. doi:10.1016/j.enconman.2015.10.003

CrossRef Full Text | Google Scholar

Hong, C. (2013). Model Predictive Control. Beijing: Science Press.

Google Scholar

Ji, H., Wang, C., Li, P., Song, G., Yu, H., and Wu, J. (2019). Quantified Analysis Method for Operational Flexibility of Active Distribution Networks with High Penetration of Distributed Generators. Appl. Energ. 239, 706–714. doi:10.1016/j.apenergy.2019.02.008

CrossRef Full Text | Google Scholar

Khan, M. J., and Iqbal, M. T. (2009). Analysis of a Small Wind-Hydrogen Stand-Alone Hybrid Energy System. Appl. Energ. 86 (11), 2429–2442. doi:10.1016/j.apenergy.2008.10.024

CrossRef Full Text | Google Scholar

Kong, L., Cai, G., Li, L., and Ji, R. (2018). Online Energy Control Strategy and Experimental Platform of Integrated Energy System of Wind, Photovoltaic and Hydrogen. Trans. China Electrotechnical Soc. 33 (14), 3371–3384. doi:10.19595/j.cnki.1000-6753.tces.170597

CrossRef Full Text | Google Scholar

Lannoye, E., Flynn, D., and O′malley, M. (2012). Evaluation of Power System Flexibility. IEEE Trans. Power Syst. 27 (2), 922–931. doi:10.1109/tpwrs.2011.2177280

CrossRef Full Text | Google Scholar

Li, Y., Yang, Z., Li, G., Zhao, D., and Tian, W. (2019). Optimal Scheduling of an Isolated Microgrid with Battery Storage Considering Load and Renewable Generation Uncertainties. IEEE Trans. Ind. Electron. 66 (2), 1565–1575. doi:10.1109/tie.2018.2840498

CrossRef Full Text | Google Scholar

Li, Y., Wang, C., Li, G., Wang, J., Zhao, D., and Chen, C. (2020). Improving Operational Flexibility of Integrated Energy System with Uncertain Renewable Generations Considering thermal Inertia of Buildings. Energ. Convers. Manag. 207, 112526. doi:10.1016/j.enconman.2020.112526

CrossRef Full Text | Google Scholar

Li, Y., Han, M., Yang, Z., and Li, G. (2021). Coordinating Flexible Demand Response and Renewable Uncertainties for Scheduling of Community Integrated Energy Systems with an Electric Vehicle Charging Station: A Bi-level Approach. IEEE Trans. Sustain. Energ. 12 (4), 2321–2331. doi:10.1109/tste.2021.3090463

CrossRef Full Text | Google Scholar

Li, Y., Wang, B., Yang, Z., Li, J., and Li, G. (2021). Optimal Scheduling of Integrated Demand Response-Enabled Smart Park Integrated Energy Systems in Uncertain Environment. IEEE Trans. Ind. Applicat., 1. to be published. doi:10.1109/TIA.2021.3106573

CrossRef Full Text | Google Scholar

Li, Y., Li, K., Yang, Z., Yu, Y., Xu, R., and Yang, M. (2022). Stochastic Optimal Scheduling of Demand Response-Enabled Microgrids with Renewable Generations: An Analytical-Heuristic Approach. J. Clean. Prod. 330, 129840. doi:10.1016/j.jclepro.2021.129840

CrossRef Full Text | Google Scholar

Li, Y., Wang, R., and Yang, Z. (2022). Optimal Scheduling of Isolated Microgrids Using Automated Reinforcement Learning-Based Multi-Period Forecasting. IEEE Trans. Sustain. Energ. 13 (1), 159–169. doi:10.1109/tste.2021.3105529

CrossRef Full Text | Google Scholar

Li, Y., Wang, B., Yang, Z., Li, J., and Chen, C. (2022). Hierarchical Stochastic Scheduling of Multi-Community Integrated Energy Systems in Uncertain Environments via Stackelberg Game. Appl. Energ. 308, 118392. doi:10.1016/j.apenergy.2021.118392

CrossRef Full Text | Google Scholar

Ma, J., Silva, V., Belhomme, R., Kirschen, D. S., and Ochoa, L. F. (2012). Evaluating and Planning Flexibility in Sustainable Power Systems. IEEE Trans. Sust. Energ. 4 (1), 200–209. doi:10.1109/tste.2012.2212471

CrossRef Full Text | Google Scholar

Mahesh, A., and Singh Sandhu, K. (2015). Hybrid Wind/photovoltaic Energy System Developments:critical Review and Findings. Renew. Sust. Energ. Rev. 5 (2), 1135–1147. doi:10.1016/j.rser.2015.08.008

CrossRef Full Text | Google Scholar

Makarov, Y., Loutan, C., Ma, J., and de Mello, P. (2009). Operational Impacts of Wind Generation on California Power Systems. IEEE Trans. Power Syst. 24 (2), 1039–1050. doi:10.1109/tpwrs.2009.2016364

CrossRef Full Text | Google Scholar

Meibom, P., Weber, C., Barth, R., and Brand, H. (2007). Operational Costs Induced by Fluctuating Wind Power Production in Germany and Scandinavia. IET Renew. Power Generation 3 (1), 75–83. doi:10.1049/iet-rpg:20070075

CrossRef Full Text | Google Scholar

Pan, G., Gu, W., Lu, Y., Qiu, H., Lu, S., and Yao, S. (2020). Optimal Planning for Electricity-Hydrogen Integrated Energy System Considering Power to Hydrogen and Heat and Seasonal Storage. IEEE Trans. Sustain. Energ. 11 (4), 2662–2676. doi:10.1109/tste.2020.2970078

CrossRef Full Text | Google Scholar

Shao, C., Feng, C., Shahidehpour, M., Zhou, Q., Wang, X., and Wang, X. (2021). Optimal Stochastic Operation of Integrated Electric Power and Renewable Energy with Vehicle-Based Hydrogen Energy System. IEEE Trans. Power Syst. 36 (5), 4310–4321. doi:10.1109/tpwrs.2021.3058561

CrossRef Full Text | Google Scholar

Sharma, P., and Sathans, (2015). “Performance Analysis of a Stand-Alone Hybrid Renewable Energy Power System- a Simulation Study,” in Proceeding of the 2015 Annual IEEE India Conference (INDICON), New Delhi, India, Dec. 2015 (IEEE).

CrossRef Full Text | Google Scholar

Shi, Z., Wang, W., Huang, Y., Li, P., Dong, L., member, , et al. (2022). Simultaneous Optimization of Renewable Energy and Energy Storage Capacity with the Hierarchical Control. CSEE J. Power Energ. Syst. 8 (1), 95–104. doi:10.17775/cseejpes.2019.01470

CrossRef Full Text | Google Scholar

Tuinema, B. W., Adabi, E., Ayivor, P. K. S., García Suárez, V., Liu, L., Perilla, A., et al. (2020). Modelling of Large-Size Electrolysers for Real-Time Simulation and Study of the Possibility of Frequency Support by Electrolysers. IET Generation Transm. Distribution 14 (10), 25–37. doi:10.1049/iet-gtd.2019.1364

CrossRef Full Text | Google Scholar

Ulbig, A., and Andersson, G. (2015). Analyzing Operational Flexibility of Electric Power Systems. Int. J. Electr. Power Energ. Syst. 72 (nov), 155–164. doi:10.1016/j.ijepes.2015.02.028

CrossRef Full Text | Google Scholar

Wang, L., Jiao, S., Xie, Y., Xia, S., Zhang, D., Zhang, Y., et al. (2022). Two-way Dynamic Pricing Mechanism of Hydrogen Filling Stations in Electric-Hydrogen Coupling System Enhanced by Blockchain. Energy 239, 122194. doi:10.1016/j.energy.2021.122194

CrossRef Full Text | Google Scholar

Xiaochen, W., Mengxuan, L., and Yifan, F. (2021). Analysis of Key Issues in Electric-Hydrogen Coupled Operation. E3s Web Conf. 248, 01055. doi:10.1051/e3sconf/202124801055

CrossRef Full Text | Google Scholar

Zhu, Y., Wen, H., Chu, G., Wang, X., Peng, Q., Hu, Y., et al. (2022). Power-rating Balance Control and Reliability Enhancement in Mismatched Photovoltaic Differential Power Processing Systems. IEEE Trans. Power Electron. 37 (1), 879–895. doi:10.1109/tpel.2021.3094220

CrossRef Full Text | Google Scholar

Keywords: MPC, electro–hydrogen coupling, homogenization modeling, power balance, flexibility margin

Citation: Han Z, Yuan S, Dong Y, Ma S, Bian Y and Mao X (2022) Research on the Flexibility Margin of an Electric–Hydrogen Coupling Energy Block Based on Model Predictive Control. Front. Energy Res. 10:879244. doi: 10.3389/fenrg.2022.879244

Received: 19 February 2022; Accepted: 11 March 2022;
Published: 11 April 2022.

Edited by:

Tomislav Capuder, University of Zagreb, Croatia

Reviewed by:

Chen Liang, Nanjing University of Information Science and Technology, China
Jun Yin, North China University of Water Resources and Electric Power, China

Copyright © 2022 Han, Yuan, Dong, Ma, Bian and Mao. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Shaohua Ma, mash_dq@sut.edu.cn

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.