Multi-energy coupling system safety response cooperative regulation and control method based on double-layer model
Through the dual-layer model and the regulation method involving hydrogen storage, the equipment output of the multi-energy coupling system is optimized, which solves the problems of operation risk and insufficient flexibility margin of the multi-energy coupling system, and improves the system's anti-interference ability and voltage stability.
Patent Information
- Application Number
- CN202410729364.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-01
AI Technical Summary
Multi-energy coupling systems have high operational risks, and the high proportion of new energy sources leads to system operational risks and insufficient flexibility margins.
A multi-energy coupling system safety response collaborative regulation method based on a two-layer model is adopted. By constructing the safety, resilience and flexibility indicators in the upper-layer model, and the operating cost, wind and photovoltaic absorption rate and voltage stability indicators in the lower-layer model, combined with Combined heat and power units, electric heating equipment and hydrogen storage models are used for system optimization and control, and the multi-objective particle swarm algorithm is used to solve the optimal equipment output.
It effectively improves the system's anti-interference capability and flexible control margin, improves voltage stability and operational safety, and reduces operational risks and costs in risky scenarios.
Smart Images

Figure CN118739360A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of new energy regulation and control, and in particular relates to a multi-energy coupling system safety response coordinated regulation method based on a double-layer model. Background Art
[0002] Because the multi-energy coupling system is composed of multiple subsystems, the more complex the structure and interaction of each subsystem, the greater the probability of operational risks. In addition, the current high proportion of new energy access, due to its uncertainty and randomness, may also cause problems such as system operation risks and insufficient flexibility margin.
[0003] Therefore, a new technical solution is urgently needed in the prior art to solve this problem. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a multi-energy coupling system safety response coordinated control method based on a double-layer model to solve the current technical problems such as high operating risks of multi-energy coupling systems, the access of a high proportion of new energy sources causing system operating risks and insufficient flexibility margin.
[0005] A method for coordinated regulation of safety response of a multi-energy coupling system based on a double-layer model includes the following steps, which are performed in sequence:
[0006] Step 1: construct a double-layer model including an upper model and a lower model;
[0007] (1) Upper model
[0008] In the upper model, a comprehensive index including the system security index, resilience index and flexibility index is constructed;
[0009] 1) Safety indicators
[0010] Based on the power flow calculation system voltage expected value deviation, the safety index ε1 is constructed:
[0011]
[0012] Where U i,t , U N,t are the voltage value and rated voltage value at node i at time t under the risk scenario, K represents the total number of grid nodes, and T represents 24 hours. The smaller the ε1 value is, the smaller the deviation of the expected value of the system node voltage is, and the better the safe operation performance of the system is.
[0013] 2) Toughness index
[0014] The resilience index ε2 of the system operation under the risk scenario is defined from the perspective of load loss as:
[0015]
[0016] In the formula, is the load loss of node i at time t under operation risk; E i,t is the benchmark load of node i; the smaller the ε2 value is, the smaller the system load loss is under the operation risk;
[0017] 3) Flexibility index
[0018] Based on the problem of insufficient system flexibility caused by source-load fluctuations in risk scenarios, the system flexibility index ε3 is defined according to the flexibility supply and demand relationship to characterize the difference between system supply and demand flexibility:
[0019]
[0020] In the formula, are the power output and load at node i at time t respectively; is the total load; the smaller the ε3 value is, the smaller the flexibility difference between system supply and demand is, and the more flexible the system is in risk scenarios;
[0021] (2) Lower-level model
[0022] In the lower-level model, multiple benefit indicators are constructed, including system operation cost, wind and solar power consumption rate, and voltage stability index;
[0023] 1) Operating cost γ1
[0024]
[0025] γ1=D CHP +D SOEC / SOFC +D H2 +D LT +D P +D UP +D EB
[0026] Where D CHP is the CHP cost of the combined heat and power unit, a g , b g 、c g is the cost coefficient of CHP; μ CHP It is the value of electric power reduction when CHP increases unit thermal power; are the CHP heating power and power supply power at time t, respectively, SOEC / SOFC is the SOEC / SOFC cost, where SOEC means the hydrogen storage model is in the hydrogen-to-electricity conversion state, SOFC means the hydrogen storage model is in the electricity-to-hydrogen conversion state, and λ SOEC is the unit electricity cost of SOEC, λ SOFC , κ SOFCare the unit power supply cost and unit heating cost of SOFC respectively; n is the total number of SOEC / SOFC in the system, is the maximum power consumption of the i-th SOEC, are the maximum power supply power and maximum heating power of the i-th SOFC respectively; D H2 is the electricity-hydrogen interaction cost, ρ H2 is the density of hydrogen, is the cost of the jth hydrogen storage device, is the operation and maintenance cost of the hydrogen storage device, D is the gas intake of the hydrogen storage tank; LT is the heat network loss cost, D P is the grid loss cost, z h is the unit network loss cost coefficient of the heating network, z g is the unit network loss cost coefficient of the power grid, ΔT v,t is the temperature difference between the beginning and the end of the pipeline v at time t, n1 is the total number of heating network nodes, m v is the flow rate of pipeline v, c is the specific heat capacity of water, P k , Q k , R k is the active power, reactive power and resistance value on the power grid branch k; U k is the voltage value of node k, D EB The cost of converting electric energy into electric heating, is the power of electric heating at time t; σ EB is the electric heating cost coefficient; D UP The cost of purchasing electricity from the upper power grid;
[0027] 2) Wind and solar power consumption rateγ2
[0028] Construct the wind and solar power consumption rate γ2 to evaluate the new energy consumption capacity:
[0029]
[0030] In the formula, They are wind and solar power output, wind abandonment and solar abandonment at time t respectively;
[0031] 3) Voltage stability index γ3
[0032] The voltage stability index γ3 is determined by the voltage offset and the standard voltage:
[0033]
[0034] Where U f,t+1 , U f,t are the voltage values of node f at time t and t+1 respectively; K represents the total number of grid nodes, T represents 24 hours; U f,Nis the rated voltage of node f; the smaller γ3 is, the better the system voltage stability is, and vice versa;
[0035] Step 2: construct a coupled device model, wherein the coupled device model includes a combined heat and power unit CHP and an electric heating device EB;
[0036] 1) Combined Heat and Power (CHP)
[0037] The air extraction unit in the cogeneration unit CHP achieves the balance of supply and demand of electric energy under the premise of satisfying heat supply by adjusting the air intake. The energy storage device in the heat network cooperates with the air extraction unit to improve the electric heat regulation capacity of the system. The CHP model is:
[0038]
[0039] In the formula, They are the maximum power supply power and the minimum power supply power of CHP at time t respectively; are the maximum and minimum heating powers of CHP at time t respectively; σ1, σ2, σ3 are the characteristic coefficients of CHP;
[0040] 2) Electric heating equipment EB is expressed as:
[0041]
[0042] In the formula, They are the maximum and minimum power of electric heating respectively; is the electric heating power at time t; η EB Thermoelectric conversion efficiency for electric heating;
[0043] Step 3: construct a hydrogen storage model;
[0044] Power based on hydrogen storage model unit Construct its hydrogen consumption / production rate As shown below:
[0045]
[0046] In the formula, is the hydrogen consumption / production rate of SOFC / SOEC at time t; are the minimum power supply of SOFC; η SOFC is the SOFC thermoelectric conversion efficiency; SOFC / SOEC SOFC / SOEC working efficiency; is the electrical power and thermal power of SOFC at time t; V H2 It is the high calorific value of hydrogen;
[0047] Hydrogen consumption / production rate based on hydrogen storage unit The air intake and air output are obtained to construct a hydrogen storage model, as shown in the following formula:
[0048]
[0049] In the formula, are the gas inlet and outlet volumes of the hydrogen storage unit, The gas volume purchased from the upper gas network; E H2 is the hydrogen storage capacity of the hydrogen storage unit, They are the maximum hydrogen storage capacity and the minimum hydrogen storage capacity of the hydrogen storage unit respectively;
[0050] Step 4: The coordinated regulation process of the safety response of the multi-energy coupling system based on the two-layer model is as follows:
[0051] ① Initialize the system's coupling equipment, hydrogen storage model, wind and solar output power, and load, and initialize the CHP power EB Power Hydrogen storage power Wind and solar power output System power output Load Load loss And the system grid structure parameters are input into the double-layer model;
[0052] ② Conduct risk scenario assessment:
[0053] System wind and solar power output The sum is lower than the system power output If the energy supply is less than 20%, it is considered as a non-full energy supply scenario;
[0054] System load loss Below system load If the energy consumption is less than 15%, it is considered as a non-full energy consumption scenario;
[0055] ③ Optimize and solve the double-layer model:
[0056] In the upper model, in the case of incomplete energy supply, the hydrogen storage model increases the output Hydrogen-to-electricity conversion is performed to release stored electricity, while CHP and EB also increase output To reduce the wind and solar power output System power output In the case of non-full energy consumption, the hydrogen storage model increases the output CHP, EB reduce output To compensate for the system power output With load difference;
[0057] By changing the hydrogen storage power CHP Power EB Power The size makes the system node voltage U i,t , load loss Difference between system power output and load The value decreases, thereby reducing the safety index ε1, resilience index ε2, and flexibility index ε3, and improving the system's ability to resist risks;
[0058] The hydrogen storage power after being changed by the upper model CHP Power EB Power And wind and solar power output System node voltage U after power flow calculation i,t The model is transferred to the lower layer to calculate the operating cost γ1, wind and solar power consumption rate γ2 and voltage stability index γ3; the multi-objective particle swarm algorithm is used to calculate the hydrogen storage power in the double-layer model. CHP Power EB Power Solve γ1, γ2 and γ3, set the number of iterations, calculate and obtain the hydrogen storage power under each iteration CHP Power EB Power γ1, γ2 and γ3; determine whether the maximum number of iterations has been reached. If it has not reached the maximum number, return to step ① to perform power initialization and re-solve. If it reaches the maximum number, the hydrogen storage power under each optimization control will be CHP Power EB Power Output γ1, γ2 and γ3; compare γ1, γ2 and γ3 of each iteration, and select the hydrogen storage power P and CHP power with the lowest γ3, the lowest γ2 and the lowest γ1 in order of priority. EB Power As the optimal solution;
[0059] ④Finally, the hydrogen storage power in the optimal solution is CHP Power EB Power and the system wind and solar output power P t w , P t v and load The system sequential power safety response result diagram and voltage stability index distribution diagram are formed to complete the coordinated regulation of the safety response of the multi-energy coupling system based on the double-layer model.
[0060] The system grid structure parameters mainly include the impedance value of each branch of the system.
[0061] Through the above design scheme, the present invention can bring the following beneficial effects:
[0062] The present invention fully considers the impact of operational risks on system safety, resilience and flexibility, and constructs a two-layer optimization model involving hydrogen storage. When the two-layer model is involved, the upper-layer model optimizes the output of each device input into the system for risk resistance, thereby improving the stability of system operation; the lower-layer model performs multi-benefit coordinated regulation on the output of the device output of the upper-layer model, and solves the device output results with the lowest wind and solar power consumption and the lowest voltage stability index as the goals, thereby improving the comprehensive benefits of system operation. The results verify that considering the participation of electric hydrogen energy storage in system safety response under risk scenarios can effectively improve voltage stability, enhance the system's anti-disturbance capability, and improve flexible regulation margin; the participation of the two-layer model and hydrogen storage, by regulating the system's safe response behavior under risk scenarios, can effectively improve the system's anti-disturbance and operating benefits under operational risks, thereby improving the safety and stability of system operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The present invention is further described below with reference to the accompanying drawings and specific embodiments:
[0064] Figure 1 It is a control flow chart of a double-layer model in a collaborative control method for safety response of a multi-energy coupling system based on a double-layer model of the present invention;
[0065] Figure 2 It is a framework diagram of a multi-energy coupling system under operation risk in a multi-energy coupling system safety response coordinated control method based on a double-layer model of the present invention;
[0066] Figure 3 A system source-load relationship diagram under various scenarios in a multi-energy coupling system safety response coordinated control method based on a double-layer model of the present invention;
[0067] Figure 4 It is a diagram of system safety response results in various scenarios in a multi-energy coupling system safety response collaborative control method based on a double-layer model of the present invention;
[0068] Figure 5 This is a voltage stability index diagram for each scenario in a multi-energy coupling system safety response coordinated control method based on a double-layer model of the present invention. DETAILED DESCRIPTION
[0069] The present invention provides a multi-energy coupling system safety response coordinated control method based on a double-layer model, such as Figure 1 As shown, the following steps are included:
[0070] 1. Build a two-layer model
[0071] (1) Upper model
[0072] In the upper-level model, system security, resilience and flexibility are comprehensively considered to construct a comprehensive indicator including the three.
[0073] 1) Safety indicators
[0074] Based on the power flow calculation system voltage expected value deviation, the safety index ε1 is constructed:
[0075]
[0076] Where U i,t , U N,t are the voltage value and rated voltage value at node i at time t in the risk scenario, respectively, and K represents the total number of nodes. If the ε1 value is smaller, it means that the deviation of the expected value of the system node voltage is smaller, and the system safety operation performance is better.
[0077] 2) Toughness index
[0078] Considering the resilience of system operation under risk scenarios from the perspective of load loss, the resilience index ε2 is defined as
[0079]
[0080] In the formula, is the load loss of node i at time t under operation risk; E i,t is the baseline load of node i. If the ε2 value is smaller, it means that the system load loss is smaller under the operation risk.
[0081] 3) Flexibility index
[0082] Considering the problem of insufficient system flexibility caused by source load fluctuations in risk scenarios, the system flexibility index ε3 is defined according to the flexibility supply and demand relationship to characterize the difference between system supply and demand flexibility.
[0083]
[0084] In the formula, are the power output and load at node i at time t respectively; The smaller the ε3 value is, the smaller the flexibility difference between system supply and demand is, and the more flexible the system is in risk scenarios.
[0085] (2) Lower-level model
[0086] The lower-level model comprehensively considers system operating costs, wind and solar power consumption rates, and voltage stability indicators.
[0087] 1) Operating cost γ1
[0088]
[0089] γ1=D CHP +D SOEC / SOFC +D H2 +D LT +D P +D UP +D EB
[0090] Where D CHP is the CHP cost of the combined heat and power unit, a g , b g 、c g is the cost coefficient of CHP; μ CHP It is the value of electric power reduction when CHP increases unit thermal power; are the CHP heating power and power supply power at time t, respectively, SOEC / SOFC is the SOEC / SOFC cost, where SOEC means the hydrogen storage model is in the hydrogen-to-electricity conversion state, SOFC means the hydrogen storage model is in the electricity-to-hydrogen conversion state, and λ SOEC is the unit electricity cost of SOEC, λ SOFC , κ SOFC are the unit power supply cost and unit heating cost of SOFC respectively; n is the total number of SOEC / SOFC in the system, is the maximum power consumption of the i-th SOEC, are the maximum power supply power and maximum heating power of the i-th SOFC respectively; D H2 is the electricity-hydrogen interaction cost, ρ H2 is the density of hydrogen, is the cost of the jth hydrogen storage device, is the operation and maintenance cost of the hydrogen storage device, D is the gas intake of the hydrogen storage tank; LT is the heat network loss cost, D P is the grid loss cost, z h is the unit network loss cost coefficient of the heating network, z g is the unit network loss cost coefficient of the power grid, ΔT v,t is the temperature difference between the beginning and the end of the pipeline v at time t, n1 is the total number of heating network nodes, m v is the flow rate of pipeline v, c is the specific heat capacity of water, P k , Q k , R k is the active power, reactive power and resistance value on the power grid branch k; U k is the voltage value of node k, D EB The cost of converting electric energy into electric heating, is the power of electric heating at time t; σ EB is the electric heating cost coefficient; D UP The cost of purchasing electricity from the upper power grid;
[0091] 2) Wind and solar power consumption rate
[0092] Construct the wind and solar power consumption rate γ2 index to evaluate the new energy consumption capacity:
[0093]
[0094] In the formula, They are wind and solar power output, wind abandonment and solar abandonment at time t respectively;
[0095] 3) Voltage stability index
[0096] The voltage stability γ3 is determined by the voltage offset and the standard voltage:
[0097]
[0098] Where U f,t+1 , U f,t are the voltage values of node f at time t and t+1 respectively; K represents the total number of grid nodes, T represents 24 hours; U f,N is the rated voltage of node f. The smaller γ3 is, the better the system voltage stability is, and vice versa.
[0099] 2. Build a coupled device model
[0100] 1) Combined Heat and Power (CHP)
[0101]
[0102] In the formula, They are the maximum power supply power and the minimum power supply power of CHP at time t respectively; are the maximum and minimum heating powers of CHP at time t respectively; σ1, σ2, σ3 are the characteristic coefficients of CHP;
[0103] 2) Electric heating equipment EB
[0104]
[0105] In the formula, They are the maximum and minimum power of electric heating respectively; is the electric heating power at time t; η EB Thermoelectric conversion efficiency for electric heating;
[0106] 3. Build a hydrogen storage model
[0107] Power based on hydrogen storage model unit Construct its hydrogen consumption / production rate As shown below:
[0108]
[0109] In the formula, is the hydrogen consumption / production rate of SOFC / SOEC at time t; are the minimum power supply of SOFC; η SOFC is the SOFC thermoelectric conversion efficiency; SOFC / SOEC SOFC / SOEC working efficiency; is the electrical power and thermal power of SOFC at time t; V H2 It is the high calorific value of hydrogen;
[0110] Hydrogen consumption / production rate based on hydrogen storage unit The air intake and air output are obtained to construct a hydrogen storage model, as shown in the following formula:
[0111]
[0112] In the formula, are the gas inlet and outlet volumes of the hydrogen storage unit, The gas volume purchased from the upper gas network; E H2 is the hydrogen storage capacity of the hydrogen storage unit, They are the maximum hydrogen storage capacity and the minimum hydrogen storage capacity of the hydrogen storage unit respectively;
[0113] 4. Double-layer model control process
[0114] by Figure 2 Taking the system source-load relationship diagram under each scenario as an example, in the two-layer model, the upper model configures the unit output of the system through comprehensive indicators including safety, resilience and flexibility, and the lower model considers the comprehensive benefits of system operation to obtain the unit output under the optimal comprehensive benefits. The specific steps are as follows:
[0115] ① Initialize the system's coupling equipment, hydrogen storage model, wind and solar output power, and load, and initialize the CHP power EB Power Hydrogen storage power Wind and solar power output System power output Load Load loss and inputting system grid structure parameters into the double-layer model; the system grid structure parameters mainly include impedance values of each branch of the system;
[0116] ② Conduct risk scenario assessment:
[0117] System wind and solar power output The sum is lower than the system power output If the energy supply is less than 20%, it is considered as a non-full energy supply scenario;
[0118] System load loss Below system load If the energy consumption is less than 15%, it is considered as a non-full energy consumption scenario;
[0119] ③ Optimize and solve the double-layer model:
[0120] In the upper model, in the case of incomplete energy supply, the hydrogen storage model increases the output Hydrogen-to-electricity conversion is performed to release stored electricity, while CHP and EB also increase output To reduce the wind and solar power output System power output In the case of non-full energy consumption, the hydrogen storage model increases the output CHP, EB reduce output To compensate for the system power output With load difference;
[0121] By changing the hydrogen storage power CHP Power EB Power The size makes the system node voltage U i,t , load loss Difference between system power output and load The value decreases, thereby reducing the safety index ε1, resilience index ε2, and flexibility index ε3, and improving the system's ability to resist risks;
[0122] The hydrogen storage power after being changed by the upper model CHP Power EB Power And wind and solar power output System node voltage U after power flow calculation i,t The model is transferred to the lower layer to calculate the operating cost γ1, wind and solar power consumption rate γ2 and voltage stability index γ3; the multi-objective particle swarm algorithm is used to calculate the hydrogen storage power in the double-layer model. CHP Power EB Power Solve γ1, γ2 and γ3, set the number of iterations, calculate and obtain the hydrogen storage power under each iteration CHP Power EB Power γ1, γ2 and γ3; determine whether the maximum number of iterations has been reached. If it has not reached the maximum number, return to step ① to perform power initialization and re-solve. If it reaches the maximum number, the hydrogen storage power under each optimization control will be CHP Power EB Power Output γ1, γ2 and γ3; compare γ1, γ2 and γ3 of each iteration, and select the hydrogen storage power P and CHP power with the lowest γ3, the lowest γ2 and the lowest γ1 in order of priority. EB Power As the optimal solution;
[0123] ④Through the optimal solution And the system wind and solar output power and load Formed as Figure 4 The system timing power safety response result diagram shown in the figure and Figure 5 The voltage stability index distribution diagram shown completes the coordinated regulation of the safety response of the multi-energy coupling system based on the double-layer model.
[0124] In-depth analysis Figures 3 to 5 The experimental results show that:
[0125] 1) By Figure 3 It can be seen that when the risk of incomplete energy supply occurs, due to the withdrawal of some wind power units 1, the system's source-load difference increases during the day and decreases at night. At this time, CHP adjusts the output to supplement the power difference while ensuring that the power does not exceed the limit. When the risk of load shedding occurs, load node 29 is cut off, resulting in a decrease in the peak-to-valley difference of the load curve during the day and an increase in the peak-to-valley difference at night, and the system's source-load difference decreases during the day and increases at night. Therefore, in risk scenarios, the system will experience problems such as source-load imbalance and supply-demand mismatch, resulting in reduced system reliability and flexibility. Figure 4 It can be seen that by introducing the double-layer model and hydrogen storage, the impact of incomplete energy supply and energy consumption on the system is reduced. With the help of double-layer model optimization and electricity, hydrogen and heat energy flow conversion, the system's ability to resist risks is effectively improved to maintain power supply reliability.
[0126] 2) By Figure 5It can be seen that at 0-5, the double-layer model and hydrogen storage participate in absorbing the abandoned wind volume of the system, balancing the source-load relationship through heterogeneous energy flow conversion, so that the voltage stability index of the system in the non-full supply / consumption scenario is effectively improved. At 7-14, the electric load demand increases and the peak-to-valley difference is large. After the participation of the double-layer model and hydrogen storage, the voltage stability index reaches [0.92, 0.94], avoiding the voltage fluctuation problem caused by risks and ensuring reliable power supply of the system. During the typical peak period of electricity consumption from 15 to 20, the peak values of the stability indicators under each risk scenario are reduced by 1.14% and 0.39% respectively after the double-layer model and hydrogen storage participate in regulation. The results show that considering the participation of electric hydrogen energy storage in the system safety response under risk scenarios can effectively improve voltage stability, enhance the system's anti-disturbance ability, and improve the flexible regulation margin. From the above, it can be seen that the participation of the double-layer model and hydrogen storage, by regulating the system's safety response behavior under risk scenarios, effectively improves the system's anti-disturbance and operation efficiency under operation risks, and improves the safety and stability of system operation.
[0127] The calculation conditions, legends, etc. in the embodiments of the present invention are only used to further illustrate the present invention, but are not exhaustive and do not constitute a limitation on the scope of protection of the claims. Those skilled in the art can think of other substantially equivalent alternatives based on the inspiration obtained from the examples of the present invention without creative work, and all of them are within the scope of protection of the present invention.
Claims
1. A collaborative control method for safety response of multi-energy coupling systems based on a two-layer model. Its characteristics are: The process includes the following steps, which are performed in sequence: Step 1: construct a double-layer model including an upper model and a lower model; (1) Upper model In the upper model, the system security index ε 1 , toughness index ε 2 and the flexibility index ε 3 Construct a comprehensive index that includes all three; 1) Safety indicators Based on the power flow calculation system voltage expected value deviation, the safety index ε is constructed 1 : Where U i,t , U N,t are the voltage value and rated voltage value at node i at time t under the risk scenario, K represents the total number of grid nodes, and T represents 24 hours; ε 1 The smaller the value, the smaller the deviation of the expected value of the system node voltage is, and the better the system safety operation performance is; 2) Toughness index Define the resilience index ε of the system operation under risk scenarios from the perspective of load loss 2 for: In the formula, is the load loss of node i at time t under operation risk; E i,t is the baseline load of node i; 2 The smaller the value, the smaller the system load loss under the operation risk; 3) Flexibility index Based on the problem of insufficient system flexibility caused by source-load fluctuations in risk scenarios, the system flexibility index ε is defined according to the flexibility supply and demand relationship. 3 , used to characterize the gap between system supply and demand flexibility: In the formula, are the power output and load at node i at time t respectively; is the total load; ε 3 The smaller the value, the smaller the flexibility difference between system supply and demand, and the more flexible the system is in risk scenarios; (2) Lower-level model In the lower-level model, multiple benefit indicators are constructed, including system operation cost, wind and solar power consumption rate, and voltage stability index; 1) Operating cost γ 1 γ 1 =D CHP +D SOEC / SOFC +D H2 +D LT +D P +D UP +D EB Where D CHP is the CHP cost of the combined heat and power unit, a g 、b g 、c g is the cost coefficient of CHP; μ CHP It is the value of electric power reduction when CHP increases unit thermal power; H t CHP , P t CHP are the CHP heating power and power supply power at time t, respectively, SOEC / SOFC is the SOEC / SOFC cost, where SOEC means the hydrogen storage model is in the hydrogen-to-electricity conversion state, SOFC means the hydrogen storage model is in the electricity-to-hydrogen conversion state, λSOEC is the unit electricity cost of SOEC, and λ SOFC , κ SOFC are the unit power supply cost and unit heating cost of SOFC respectively; n is the total number of SOEC / SOFC in the system, is the maximum power consumption of the i-th SOEC, are the maximum power supply power and maximum heating power of the i-th SOFC respectively; D H2 is the electricity-hydrogen interaction cost, ρ H2 is the density of hydrogen, is the cost of the jth hydrogen storage device, is the operation and maintenance cost of the hydrogen storage device, D is the gas intake of the hydrogen storage tank; LT is the heat network loss cost, D P is the grid loss cost, z h is the unit network loss cost coefficient of the heating network, z g is the unit network loss cost coefficient of the power grid, ΔT v,t is the temperature difference between the beginning and the end of the pipe v at time t, n 1 is the total number of heating network nodes, m v is the flow rate of pipeline v, c is the specific heat capacity of water, P k , Q k , R k is the active power, reactive power and resistance value on the power grid branch k; U k is the voltage value of node k, D EB The cost of converting electric energy into electric heating, is the power of electric heating at time t; σ EB is the electric heating cost coefficient; D UP The cost of purchasing electricity from the upper power grid; 2) Wind and solar power consumption rate γ 2 Building wind and solar power consumption rateγ 2 , used to evaluate the new energy consumption capacity: In the formula, They are wind and solar power output, wind abandonment and solar abandonment at time t respectively; 3) Voltage stability index γ 3 The voltage stability index γ 3 Determined by voltage offset and standard voltage: Where U f,t+1 , U f,t are the voltage values of node f at time t and t+1 respectively; K represents the total number of grid nodes, T represents 24 hours; U f,N is the rated voltage of node f; γ 3 The smaller it is, the better the system voltage stability is, and vice versa; Step 2: construct a coupled device model, wherein the coupled device model includes a combined heat and power unit CHP and an electric heating device EB; 1) Combined Heat and Power (CHP) The air extraction unit in the cogeneration unit CHP achieves the balance of supply and demand of electric energy under the premise of satisfying heat supply by adjusting the air intake. The energy storage device in the heat network cooperates with the air extraction unit to improve the electric heat regulation capacity of the system. The CHP model is: In the formula, They are the maximum power supply power and the minimum power supply power of CHP at time t respectively; are the maximum and minimum heating power of CHP at time t respectively; σ 1 , σ 2 , σ 3 is the CHP characteristic coefficient; 2) Electric heating equipment EB is expressed as: In the formula, They are the maximum and minimum power of electric heating respectively; is the electric heating power at time t; η EB Thermoelectric conversion efficiency for electric heating; Step 3: construct a hydrogen storage model; Power based on hydrogen storage model unit Construct its hydrogen consumption / production rate As shown below: In the formula, is the hydrogen consumption / production rate of SOFC / SOEC at time t; are the minimum power supply of SOFC; η SOFC is the SOFC thermoelectric conversion efficiency; SOFC / SOEC SOFC / SOEC working efficiency; is the electrical power and thermal power of SOFC at time t; V H2 It is the high calorific value of hydrogen; Hydrogen consumption / production rate based on hydrogen storage unit The air intake and air output are obtained to construct a hydrogen storage model, as shown in the following formula: In the formula, are the gas inlet and outlet volumes of the hydrogen storage unit, The gas volume purchased from the upper gas network; E H2 is the hydrogen storage capacity of the hydrogen storage unit, They are the maximum hydrogen storage capacity and the minimum hydrogen storage capacity of the hydrogen storage unit respectively; Step 4: The coordinated regulation process of the safety response of the multi-energy coupling system based on the two-layer model is as follows: ① Initialize the system's coupling equipment, hydrogen storage model, wind and solar output power, and load, and initialize the CHP power EB Power Hydrogen storage power Wind and solar power output System power output Load Load loss and the system grid structure parameters are input into the double-layer model; ② Conduct risk scenario assessment: System wind and solar power output The sum is lower than the system power output If the energy supply is less than 20%, it is considered as a non-full energy supply scenario; System load loss Below system load If the energy consumption is less than 15%, it is considered as a non-full energy consumption scenario; ③ Optimize and solve the double-layer model: In the upper model, in the case of incomplete energy supply, the hydrogen storage model increases the output Hydrogen-to-electricity conversion is performed to release stored electricity, while CHP and EB also increase output To reduce the wind and solar power output System power output In the case of non-full energy consumption, the hydrogen storage model increases the output CHP, EB reduce output To compensate for the system power output With load difference; By changing the hydrogen storage power CHP Power EB Power The size makes the system node voltage U i,t , load loss Difference between system power output and load The value decreases, thereby reducing the safety index ε 1 , toughness index ε 2 , flexibility index ε 3 , improve the system's ability to resist risks; The hydrogen storage power after being changed by the upper model CHP Power EB Power And wind and solar power output System node voltage U after power flow calculation i,t Passed to the lower model, calculate the running cost γ 1 , wind and solar power consumption rate γ 2 and voltage stability index γ 3 ; Using multi-objective particle swarm optimization to study the hydrogen storage power in a double-layer model CHP Power EB Power γ 1 , γ 2 and γ 3 Solve, set the number of iterations, calculate and obtain the hydrogen storage power at each iteration CHP Power EB Power γ 1 , γ 2 and γ 3 ; Determine whether the maximum number of iterations has been reached. If it has not reached the maximum number, return to step ① to perform power initialization and re-solve. If it reaches the maximum number, the hydrogen storage power under each optimization control is CHP Power EB Power γ 1 , γ 2 and γ 3 Output; compare the γ of each iteration 1 , γ 2 and γ 3 , select γ in order of priority 3 Minimum, γ 2 Minimum, γ 1 Minimum hydrogen storage power P, CHP power EB Power As the optimal solution; ④Finally, the hydrogen storage power in the optimal solution is CHP Power EB Power And the system wind and solar output power and load The system sequential power safety response result diagram and voltage stability index distribution diagram are formed to complete the coordinated regulation of the safety response of the multi-energy coupling system based on the double-layer model.
2. According to the method of coordinated control of safety response of multi-energy coupling system based on double-layer model in claim 1, Its characteristics are: The system grid structure parameters mainly include the impedance value of each branch of the system.
