Hydrogen-containing comprehensive energy system control method and device considering hybrid energy storage

By building an energy hub model and a low-carbon economic optimization control model, the energy distribution and conversion of hydrogen-containing comprehensive energy systems are optimized, and the problems of high system operation costs and difficult to reduce carbon emissions are solved, and efficient energy management and renewable energy consumption are achieved. In.

CN119026869APending Publication Date: 2024-11-26HYDROPOWER WATER CONSERVANCY GUIHUA DESIGN ZONGYUAN +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411209673.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The prior art is difficult to effectively coordinate the hybrid energy storage and demand response mechanisms in hydrogen-containing integrated energy systems, resulting in high operating costs and difficult to reduce carbon emissions.

Method used

Build a hydrogen-containing comprehensive energy system model based on the energy hub model, combine it with the low-carbon economic optimization control model, optimize energy allocation and conversion through the in-point method to minimize the total operating costs, including electricity purchase, gas purchase, carbon emissions, and maintenance costs and load compensation balance.

Benefits of technology

By tapping the regulation potential of hybrid energy storage and demand-side load, we will improve renewable energy consumption, reduce energy purchases from external networks, and minimize the operating costs and carbon emissions of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026869A_ABST
    Figure CN119026869A_ABST
Patent Text Reader

Abstract

The invention discloses a hydrogen-containing comprehensive energy system control method and device considering hybrid energy storage. The method comprises the following steps: constructing a hydrogen-containing comprehensive energy system model based on an energy hub model; according to the hydrogen-containing comprehensive energy system model based on the energy hub model, constructing a hydrogen-containing comprehensive energy system low-carbon economic optimization control model, wherein the optimization objective of an objective function of the hydrogen-containing comprehensive energy system low-carbon economic optimization control model is total operation cost minimization; constructing constraint conditions of the hydrogen-containing comprehensive energy system low-carbon economic optimization control model; and solving the low-carbon economic optimization control model of the hydrogen-containing comprehensive energy system by using an interior point method according to the target function and the constraint condition of the low-carbon economic optimization control model of the hydrogen-containing comprehensive energy system to obtain an optimization control scheme of the hydrogen-containing comprehensive energy system. According to the invention, the consumption rate of renewable energy sources is improved, energy purchase from an external network is reduced, and the operation cost and carbon emission of the hydrogen-containing comprehensive energy system are reduced to the greatest extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power system analysis, and in particular relates to a control method for a hydrogen-containing integrated energy system taking into account hybrid energy storage. Background Art

[0002] The integrated energy system builds a mechanism for the coordinated utilization of various energy sources, gives full play to the complementarity of various energy supply systems in various links such as generation, transmission, storage and distribution, realizes the cascade utilization of energy at various levels, and supports the sustainable development of energy in human society. Hydrogen energy is a zero-carbon emission clean energy that can be converted into electric energy in both directions. It can be applied to the "source, network, and load" links of the integrated energy system, showing a trend of coupled development of electricity and hydrogen. The use of hydrogen energy as a full-system regulation solution has great potential for improving system flexibility. Therefore, it is of great significance to study the operation mechanism and optimization control method of hydrogen-containing integrated energy systems.

[0003] Although the hydrogen-containing integrated energy system has the characteristics of clean, low-carbon, and large-scale consumption of renewable energy, its operating cost is high and will be difficult to be significantly reduced in the foreseeable future. At the same time, the strong randomness and uncertainty of source and load pose severe challenges to the operation of the hydrogen-containing integrated energy system. At present, the optimization and control of the hydrogen-containing integrated energy system has attracted widespread attention by rationally configuring energy storage devices to achieve energy supply and demand balance, energy complementarity, improve energy utilization, and reduce system operating costs. However, a single energy storage is difficult to meet the operating requirements of the hydrogen-containing integrated energy system under complex conditions such as strong randomness of source and load.

[0004] At present, demand response is the development trend of demand-side management. Demand response is an important technology that enables the system to operate in a safer, more reliable and economical way by using price signals and incentive mechanisms. It plays an important strategic role in the power industry, economic development and environmental protection. It can reduce the peak price of the system, reduce the risk of price fluctuations, improve resource allocation, and maintain the stable operation of the market. However, there are currently few technical solutions that consider the coordination of hybrid energy storage and demand response mechanisms in the operation of hydrogen-containing integrated energy systems.

[0005] In summary, how to coordinate the output of each unit in the system and adjust the operating power of each energy conversion equipment according to the characteristics of the energy consumption load, so as to reduce the energy purchase from the external network and minimize the carbon emissions and operating costs of the system, is still an urgent problem to be solved. Summary of the invention

[0006] To this end, the present invention provides a control method and device for a hydrogen-containing integrated energy system taking into account hybrid energy storage, taking into account the impact of hybrid energy storage and demand response mechanism on the operation of the hydrogen-containing integrated energy system, and adjusting the operating power of each energy conversion equipment according to the characteristics of the energy consumption load, thereby reducing energy purchases from external networks and minimizing the system's carbon emissions and operating costs.

[0007] In order to achieve the above-mentioned object, the present invention provides the following technical solution: a control method of a hydrogen-containing integrated energy system taking into account hybrid energy storage, comprising:

[0008] Constructing a hydrogen-containing integrated energy system model based on the energy hub model, wherein the parameters of the hydrogen-containing integrated energy system model based on the energy hub model include the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, the gas storage power of the gas storage device, the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, the gas discharge power of the gas storage device, the coefficient of the electric energy released by the electric energy storage device to be distributed to the power load, and the coefficient of the electric energy released by the electric energy storage device to be distributed to the water electrolysis equipment;

[0009] A low-carbon economic optimization control model for a hydrogen-containing integrated energy system is constructed according to the hydrogen-containing integrated energy system model based on the energy hub model, wherein the optimization goal of the objective function of the low-carbon economic optimization control model for a hydrogen-containing integrated energy system is to minimize the total operating cost, and the total operating cost includes the electricity purchase cost, the gas purchase cost, the carbon emission cost, the operation and maintenance cost of energy conversion equipment and energy storage equipment, the penalty cost for abandoned solar power, and the compensation cost for interruptible loads;

[0010] Constructing the constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system, wherein the constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system include energy supply constraint, energy conversion constraint, energy storage constraint, load demand response constraint and energy input and output balance constraint;

[0011] By utilizing the objective function and constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system, the interior point method is adopted to solve the low-carbon economic optimization control model of the hydrogen-containing integrated energy system to obtain an optimization control scheme for the hydrogen-containing integrated energy system.

[0012] As a preferred solution of the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage, the energy hub L in the hydrogen-containing integrated energy system model based on the energy hub model is a conversion between two high-dimensional matrices, and the conversion formula between the two high-dimensional matrices is:

[0013]

[0014] In the formula, π ij(i=1,2,…,n)(j=1,2,…,m) is the energy allocation coefficient, which indicates the proportion of the i-th energy input converted into the j-th energy output; η ij (i=1,2,…,n)(j=1,2,…,m) is the energy conversion efficiency, which indicates the efficiency of converting the i-th energy input into the j-th energy output; C is the coupling matrix, which is the product of the energy allocation matrix π and the energy efficiency matrix η; L n is the nth energy output; P n is the nth energy input.

[0015] As a preferred solution for the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage, the formula of the hydrogen-containing integrated energy system model based on the energy hub model is:

[0016]

[0017] In the formula, is the electrical load at time t; is the hydrogen load at time t; is the gas load at time t; α1 is the coefficient of electric energy allocation to electric load; α2 is the coefficient of electric energy allocation to electrolyzer; β1 is the coefficient of natural gas allocation to gas load; β2 is the coefficient of natural gas allocation to gas turbine; γ1 and γ2 represent the allocation coefficients to hydrogen load and MR after hydrogen production, respectively; η GT is the gas turbine efficiency; η EW is the electrolytic cell efficiency; η MR is the efficiency of the methanogenation equipment; is the power purchased at time t; is the gas purchasing power at time t; α PV,1 is the coefficient of photovoltaic power allocation to electrical load; α PV,2 is the coefficient for allocating PV power to the electrolyzer; is the photovoltaic output at time t; They are respectively the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, and the gas storage power of the gas storage device at time t; are the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, and the gas discharge power of the gas storage device at time t; α s1,1 , α s1,2 They respectively represent the distribution coefficients of the electric energy released by the electric energy storage device to the power load and the water electrolysis equipment.

[0018] As a preferred solution for the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage, the objective function of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is:

[0019] F r =F om +F buy +Fgas +F c +F P +F w +F cut

[0020]

[0021] In the formula, F buy is the electricity purchase cost, F gas is the gas purchase cost, F c is the carbon emission cost, F om is the operation and maintenance cost of energy conversion equipment and energy storage equipment, Fw is the penalty cost for abandoned light, and F cut Compensation costs for interruptible loads;

[0022] and represent the electricity price and natural gas price at time t respectively; They represent the power input of electricity and gas purchased at time t respectively; ψ is the penalty fee for emitting unit CO2; α e , α g and α PV are the equivalent carbon emission factors of the entire life cycle of electricity purchase, gas purchase and photovoltaic power generation; GT , EW , MR are the unit capacity operation and maintenance costs of gas turbine, water electrolysis equipment and methanation equipment respectively; R s1 , R s2 , R s3 They are the unit capacity operation and maintenance costs of electric energy storage devices, hydrogen storage devices, and gas storage devices; is the storage and discharge power of the electric energy storage device, hydrogen storage device, and gas storage device at time t;

[0023] D PV Penalty fees for abandoned light for the unit; Predict the photovoltaic power generation output at time t; is the photovoltaic power output power at time t; is the power of the interruptible load at time t; C cu t is the unit power economic compensation cost of interruptible load; It is a 0-1 integer variable, indicating the interruption status of the load. When the value is 1, it means that the load participates in the interruption at time t, and when the value is 0, it means that the load does not participate in the interruption at time t; Δt is the time interval.

[0024] As a preferred solution for the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage, the energy supply constraint formula of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is:

[0025]

[0026]

[0027] In the formula, and are the power and power upper limit of the photovoltaic unit delivered to the system at time t respectively; and are the input powers of the system purchasing electricity from the grid and gas from the gas grid at time t respectively; Pbuy.max and Pgas.max are the maximum input powers of purchasing electricity and gas respectively.

[0028] As a preferred solution for the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage, the energy conversion constraint formula of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is:

[0029]

[0030] Where η EW ,η MR ,η GT represent the energy conversion efficiency of EW, MR, and GT, respectively; They represent the energy input power of the equipment at time t respectively; They represent the energy output power of the equipment at time t respectively; P GT.max They respectively represent the upper limit of the input power of the equipment; and Respectively represent the lower limit of the equipment input power; They represent the maximum landslide power of the equipment respectively; They respectively represent the maximum climbing power of the equipment.

[0031] As a preferred solution of the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage, the energy storage constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include constraints on electric energy storage devices, constraints on hydrogen storage equipment, and constraints on gas storage equipment;

[0032] The constraints of the electric energy storage device include self-loss rate, energy storage and discharge efficiency, and storage capacity parameters;

[0033] The constraints of hydrogen storage equipment include hydrogen storage capacity, hydrogen output of hydrogen storage equipment, hydrogen input of hydrogen storage equipment, maximum capacity of hydrogen storage device, maximum input of hydrogen storage device, maximum output of hydrogen storage device, hydrogen capacity parameters of hydrogen storage device at the end time of scheduling and the initial time of scheduling;

[0034] The gas storage equipment constraints include the natural gas content in the gas storage equipment, the input and output of natural gas in the gas storage equipment, the maximum capacity of the gas storage device, the maximum input / output natural gas volume of the gas storage device, and the natural gas volume parameters of the gas storage device at the end time of scheduling and the initial time of scheduling.

[0035] As a preferred solution of the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage, the load demand response constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include a demand response constraint based on real-time electricity prices and a demand response constraint based on real-time electricity prices;

[0036] The demand response constraints based on real-time electricity prices include the total electricity load forecast value before implementing demand response, the electricity load forecast value at time t before implementing demand response, the total dispatch time, the average load before implementing demand response, the electricity price floating factor, and the power load elasticity coefficient parameters;

[0037] The demand response constraints based on real-time electricity prices include the maximum power of interruptible load interruption, the maximum number of interruptible load interruptions, the maximum interruption time of interruptible load, and the minimum interruption time parameters.

[0038] As a preferred scheme for the control method of a hydrogen-containing integrated energy system taking into account hybrid energy storage, the energy input and output balance constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system are the energy hub equation balance constraints in the hydrogen-containing integrated energy system model based on the energy hub model.

[0039] The present invention further provides a control device for a hydrogen-containing integrated energy system taking into account hybrid energy storage, which adopts the above-mentioned control method for a hydrogen-containing integrated energy system taking into account hybrid energy storage, comprising:

[0040] A hydrogen-containing integrated energy system model construction module is used to construct a hydrogen-containing integrated energy system model based on an energy hub model, wherein the parameters of the hydrogen-containing integrated energy system model based on the energy hub model include the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, the gas storage power of the gas storage device, the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, the gas discharge power of the gas storage device, the coefficient of the electric energy released by the electric energy storage device to be distributed to the power load, and the coefficient of the electric energy released by the electric energy storage device to be distributed to the water electrolysis equipment;

[0041] An optimization control model construction module is used to construct a low-carbon economic optimization control model for a hydrogen-containing integrated energy system according to the hydrogen-containing integrated energy system model based on the energy hub model;

[0042] An objective function building module, wherein the optimization goal of the objective function of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is to minimize the total operating cost, wherein the total operating cost includes the electricity purchase cost, the gas purchase cost, the carbon emission cost, the operation and maintenance cost of the energy conversion equipment and the energy storage equipment, the penalty cost for abandoned solar power, and the compensation cost for interruptible loads;

[0043] A constraint condition construction module, used to construct the constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system, wherein the constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include energy supply constraints, energy conversion constraints, energy storage constraints, load demand response constraints and energy input and output balance constraints;

[0044] The hydrogen-containing integrated energy system optimization control analysis module is used to utilize the objective function and constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system, and adopt the interior point method to solve the low-carbon economic optimization control model of the hydrogen-containing integrated energy system to obtain the optimization control plan of the hydrogen-containing integrated energy system.

[0045] The present invention has the following advantages: constructing a hydrogen-containing integrated energy system model based on an energy hub model, wherein the parameters of the hydrogen-containing integrated energy system model based on the energy hub model include the charging power of an electric energy storage device, the hydrogen storage power of a hydrogen storage device, the gas storage power of a gas storage device, the discharge power of an electric energy storage device, the hydrogen release power of a hydrogen storage device, the gas release power of a gas storage device, the coefficient of allocating the electric energy released by the electric energy storage device to the power load, and the coefficient of allocating the electric energy released by the electric energy storage device to the water electrolysis equipment; constructing a low-carbon economic optimization control model for a hydrogen-containing integrated energy system according to the hydrogen-containing integrated energy system model based on the energy hub model, wherein the optimization target of the objective function of the low-carbon economic optimization control model for a hydrogen-containing integrated energy system is to minimize the total operating cost The total operating cost includes the electricity purchase cost, gas purchase cost, carbon emission cost, energy conversion equipment and energy storage equipment operation and maintenance cost, abandoned light penalty cost and interruptible load compensation cost; the constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system are constructed, and the constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include energy supply constraints, energy conversion constraints, energy storage constraints, load demand response constraints and energy input and output balance constraints; the objective function and constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system are used to solve the low-carbon economic optimization control model of the hydrogen-containing integrated energy system by using the interior point method to obtain the optimization control scheme of the hydrogen-containing integrated energy system. The present invention can tap the regulation potential of hybrid energy storage and demand-side load, improve the renewable energy absorption rate, reduce energy purchases from external networks, and minimize the operating cost and carbon emissions of the hydrogen-containing integrated energy system. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0047] Figure 1 A schematic flow chart of a control method for a hydrogen-containing integrated energy system taking into account hybrid energy storage provided in an embodiment of the present invention;

[0048] Figure 2 A typical hydrogen-containing integrated energy system architecture diagram in a hydrogen-containing integrated energy system control method taking into account hybrid energy storage provided in an embodiment of the present invention;

[0049] Figure 3 A load curve of a typical day in a control method for a hydrogen-containing integrated energy system taking into account hybrid energy storage provided in an embodiment of the present invention;

[0050] Figure 4 The photovoltaic predicted output curve in the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage provided in the embodiment of the present invention;

[0051] Figure 5 The electricity price before and after the real-time electricity price demand response is implemented in the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage provided in the embodiment of the present invention;

[0052] Figure 6 The electric load before and after the implementation of the real-time electricity price demand response in the control method of the hydrogen-containing integrated energy system taking into account the hybrid energy storage provided in the embodiment of the present invention;

[0053] Figure 7 The electric power dispatching conditions in different scenarios in the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage provided in an embodiment of the present invention;

[0054] Figure 8 The hydrogen power dispatching conditions in different scenarios in the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage provided in the embodiment of the present invention;

[0055] Fig. 9 The gas power dispatching conditions in different scenarios in the control method of the hydrogen-containing integrated energy system taking into account hybrid energy storage provided in the embodiment of the present invention;

[0056] Fig.10 This is a diagram of the architecture of a control device for a hydrogen-containing integrated energy system taking into account hybrid energy storage provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] Example 1

[0059] See also Figure 1 In embodiment 1 of the present invention, a method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage is provided, comprising the following steps:

[0060] S1. Construct a hydrogen-containing integrated energy system model based on an energy hub model, wherein the parameters of the hydrogen-containing integrated energy system model based on the energy hub model include the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, the gas storage power of the gas storage device, the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, the gas discharge power of the gas storage device, the coefficient of the electric energy released by the electric energy storage device to be distributed to the power load, and the coefficient of the electric energy released by the electric energy storage device to be distributed to the water electrolysis equipment;

[0061] S2. A low-carbon economic optimization control model of a hydrogen-containing integrated energy system is constructed according to the hydrogen-containing integrated energy system model based on the energy hub model. The optimization goal of the objective function of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is to minimize the total operating cost. The total operating cost includes the electricity purchase cost, gas purchase cost, carbon emission cost, operation and maintenance cost of energy conversion equipment and energy storage equipment, penalty cost for abandoned light, and compensation cost for interruptible loads.

[0062] S3, constructing the constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system, wherein the constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system include energy supply constraint, energy conversion constraint, energy storage constraint, load demand response constraint and energy input and output balance constraint;

[0063] S4. Utilizing the objective function and constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system, the interior point method is adopted to solve the low-carbon economy optimization control model of the hydrogen-containing integrated energy system to obtain an optimization control scheme for the hydrogen-containing integrated energy system.

[0064] In this embodiment, in step S1, the energy hub L in the hydrogen-containing integrated energy system model based on the energy hub model is a conversion between two high-dimensional matrices, and the conversion formula between the two high-dimensional matrices is:

[0065]

[0066] In the formula, π ij (i=1,2,…,n)(j=1,2,…,m) is the energy allocation coefficient, which indicates the proportion of the i-th energy input converted into the j-th energy output; η ij (i=1,2,…,n)(j=1,2,…,m) is the energy conversion efficiency, which indicates the efficiency of converting the i-th energy input into the j-th energy output; C is the coupling matrix, which is the product of the energy allocation matrix π and the energy efficiency matrix η; L n is the nth energy output; P n is the nth energy input.

[0067] See also Figure 2 The hydrogen-containing integrated energy system involved in this embodiment includes the following five links:

[0068] 1) Energy supply: photovoltaic power generation (PV), power grid, natural gas grid; 2) Energy conversion: electrolyzed water (EW), methanogenization (MR), gas turbine (GT); 3) Energy transmission; 4) Energy storage: battery energy storage systems (BEES), hydrogen energy storage systems (HEES), gas energy storage systems (GEES); 5) Energy distribution: electricity, hydrogen, and gas loads. Hydrogen loads include hydrogen-to-ammonia, hydrogen fuel generators, and hydrogen fuel cell vehicles.

[0069] Among them, the power generation of photovoltaic power generation units, power grids, and gas turbines is distributed to electrolyzers, electric energy storage devices, and electric loads. The hydrogen production of electrolyzers is distributed to methanation equipment, hydrogen storage devices, and hydrogen loads. Part of the natural gas purchased by the natural gas grid is provided to gas turbines for power generation; the other part is collected with the natural gas produced by the methanation equipment to the gas busbar, and then distributed to the gas storage device and natural gas users.

[0070] Among them, the energy hub model is applied to Figure 2 The hydrogen-containing integrated energy system shown in the figure can be expressed as follows:

[0071]

[0072] In the formula, is the electrical load at time t; is the hydrogen load at time t; is the gas load at time t; α1 is the coefficient of electric energy allocation to electric load; α2 is the coefficient of electric energy allocation to electrolyzer; β1 is the coefficient of natural gas allocation to gas load; β2 is the coefficient of natural gas allocation to gas turbine; γ1 and γ2 represent the allocation coefficients to hydrogen load and MR after hydrogen production, respectively; η GT is the gas turbine efficiency; η EW is the electrolytic cell efficiency; η MR is the efficiency of the methanogenation equipment; is the power purchased at time t; is the gas purchasing power at time t; α PV,1 is the coefficient of photovoltaic power allocation to electrical load; α PV,2 is the coefficient for allocating PV power to the electrolyzer; is the photovoltaic output at time t; They are respectively the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, and the gas storage power of the gas storage device at time t; are the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, and the gas discharge power of the gas storage device at time t; α s1,1 , α s1,2 They respectively represent the distribution coefficients of the electric energy released by the electric energy storage device to the power load and the water electrolysis equipment.

[0073] In this embodiment, in step S2, the goal of the low-carbon optimization control model of the hydrogen-containing integrated energy system is to minimize the total operating cost. The total operating cost of the system includes the power purchase cost F buy , Gas purchase cost F gas 、Carbon emission cost F c , energy conversion equipment and energy storage equipment operation and maintenance costs F om , Abandonment penalty cost F w and interruptible load compensation cost F cut .

[0074] Specifically, the objective function of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is:

[0075] F r =F om +F buy +F gas +F c +F P +F w +F cut

[0076]

[0077] In the formula, F buy is the electricity purchase cost, F gas is the gas purchase cost, F c is the carbon emission cost, Fom is the operation and maintenance cost of energy conversion equipment and energy storage equipment, Fw is the penalty cost for abandoned light, and F cut Compensation costs for interruptible loads;

[0078] and represent the electricity price and natural gas price at time t respectively; They represent the power input of electricity and gas purchased at time t respectively; ψ is the penalty fee for emitting unit CO2; α e , α g and α PV are the equivalent carbon emission factors of the entire life cycle of electricity purchase, gas purchase and photovoltaic power generation; GT , EW , MR are the unit capacity operation and maintenance costs of gas turbine, water electrolysis equipment and methanation equipment respectively; R s1 , R s2 , R s3 They are the unit capacity operation and maintenance costs of electric energy storage devices, hydrogen storage devices, and gas storage devices; is the storage and discharge power of the electric energy storage device, hydrogen storage device, and gas storage device at time t;

[0079] D PV Penalty fees for abandoned light for the unit; Predict the photovoltaic power generation output at time t; is the photovoltaic power output power at time t; is the power of the interruptible load at time t; C cut It is the economic compensation cost per unit power of interruptible load; It is a 0-1 integer variable, indicating the interruption status of the load. When the value is 1, it means that the load participates in the interruption at time t, and when the value is 0, it means that the load does not participate in the interruption at time t; Δt is the time interval.

[0080] In this embodiment, in step S3, the energy supply constraint formula of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is:

[0081]

[0082] In the formula, and are the power and power upper limit of the photovoltaic unit delivered to the system at time t respectively; and are the input powers of the system purchasing electricity from the grid and gas from the gas grid at time t respectively; Pbuy.max and Pgas.max are the maximum input powers of purchasing electricity and gas respectively.

[0083] In step S3, the energy conversion constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include gas turbines, water electrolysis equipment and methanation equipment. The formulas of the gas turbine, water electrolysis equipment and methanation equipment constraint parts are:

[0084]

[0085] Where η EW ,η MR ,η GT represent the energy conversion efficiency of EW, MR, and GT, respectively; They represent the energy input power of the equipment at time t respectively; They represent the energy output power of the equipment at time t respectively; P GT.max They respectively represent the upper limit of the input power of the equipment; and Respectively represent the lower limit of the equipment input power; They represent the maximum landslide power of the equipment respectively; They respectively represent the maximum climbing power of the equipment.

[0086] In this embodiment, in step S3, the energy storage constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include constraints on electric energy storage devices, constraints on hydrogen storage equipment, and constraints on gas storage equipment;

[0087] The constraints of the electric energy storage device include self-loss rate, energy storage and discharge efficiency, and storage capacity parameters;

[0088] The constraints of hydrogen storage equipment include hydrogen storage capacity, hydrogen output of hydrogen storage equipment, hydrogen input of hydrogen storage equipment, maximum capacity of hydrogen storage device, maximum input of hydrogen storage device, maximum output of hydrogen storage device, hydrogen capacity parameters of hydrogen storage device at the end time of scheduling and the initial time of scheduling;

[0089] The gas storage equipment constraints include the natural gas content in the gas storage equipment, the input and output of natural gas in the gas storage equipment, the maximum capacity of the gas storage device, the maximum input / output natural gas volume of the gas storage device, and the natural gas volume parameters of the gas storage device at the end time of scheduling and the initial time of scheduling.

[0090] Specifically, in the constraints of the electric energy storage device, the electric storage characteristics can be characterized by three parameters: self-loss rate, storage and discharge efficiency, and storage capacity. The specific formula is as follows:

[0091]

[0092] In the formula, is the amount of electricity in the energy storage device at time t, is the amount of electricity in the energy storage device at time t-1; θ eis the self-discharge rate of the electrical energy storage device; are the charging and discharging power of the electric energy storage device; α e , β e are the charging and discharging efficiency of the electric energy storage device; and is a 0-1 variable. They are the electric capacity of the energy storage device at the end of scheduling and the initial time of scheduling respectively.

[0093] Specifically, when the system has surplus renewable energy generation and the capacity of the electric energy storage device reaches its upper limit, the remaining electricity is used to electrolyze water to produce hydrogen, and the electrolyzed hydrogen is supplied to the hydrogen load or to the methanation equipment to produce natural gas. The mathematical model and constraints of the hydrogen storage device are as follows:

[0094]

[0095] In the formula, and are the hydrogen storage capacity of the hydrogen storage equipment at time periods t and t-1 respectively; is the amount of hydrogen output from the hydrogen storage device during period t; is the hydrogen input amount of the hydrogen storage device during period t; Δt is an operating period; is the maximum capacity of the hydrogen storage device; is the maximum input amount of the hydrogen storage device; is the maximum output of the hydrogen storage device. They are the amount of hydrogen in the hydrogen storage device at the end of scheduling and the initial time of scheduling, respectively.

[0096] Specifically, the surplus renewable energy power is used to produce natural gas through P2G technology and stored in the gas storage device to supply the natural gas load. The constraint formula of the gas storage equipment is:

[0097]

[0098] In the formula, and Respectively represent the content of natural gas in the gas storage equipment at time t and t-1; and are the input and output of natural gas in the gas storage equipment during period t respectively; is the maximum capacity of the gas storage device; and points The maximum input / output natural gas volume of the gas storage equipment. are the natural gas volumes in the gas storage device at the end and initial times of scheduling, respectively.

[0099] In this embodiment, in step S3, the load demand response constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include a demand response constraint based on real-time electricity prices and a demand response constraint based on real-time electricity prices;

[0100] The demand response constraints based on real-time electricity prices include the total electricity load forecast value before implementing demand response, the electricity load forecast value at time t before implementing demand response, the total dispatch time, the average load before implementing demand response, the electricity price floating factor, and the power load elasticity coefficient parameters;

[0101] The demand response constraints based on real-time electricity prices include the maximum power of interruptible load interruption, the maximum number of interruptible load interruptions, the maximum interruption time of interruptible load, and the minimum interruption time parameters.

[0102] Specifically, the real-time electricity price is the optimal retail-side electricity price setting model, and its specific form is as follows:

[0103]

[0104] Where D is the predicted value of total electricity load before implementing demand response; is the predicted value of the electric load at time t before implementing demand response; T is the total dispatch time;

[0105] The average load before implementing demand response is as follows:

[0106]

[0107] The real-time electricity price is also related to the electricity price floating factor, which is expressed as follows:

[0108]

[0109] The real-time electricity price can be expressed as:

[0110] ρ t =ε×ρ0

[0111] ρ min ≤ρ t ≤ρ max

[0112] Where ρ0 is the retail electricity price; ρ min is the lower limit of the real-time electricity price; ρ max It is the upper limit of the real-time electricity price.

[0113] Among them, users who participate in real-time electricity price demand response can adjust their electricity consumption behavior according to the real-time changes in electricity prices. The important indicator describing the characteristics of user load changes, the power load elasticity coefficient, is introduced, and its expression is as follows:

[0114]

[0115] Among them, users adjust their electricity consumption plans according to real-time electricity prices and improve their electricity consumption behaviors. The electric load calculation formula after implementing real-time electricity price demand response is as follows:

[0116]

[0117] In the formula, and d i are the electricity load values ​​before and after the user participates in the real-time electricity price demand response at time i, and ρ j are the retail electricity price at time j and the real-time electricity price at time j. When i=j, It is called self-elasticity; when i≠j, It is called cross elasticity. Usually, the power load value is inversely proportional to the power price value in the same period, so

[0118] Specifically, the relevant constraints based on interruptible load demand response are as follows:

[0119]

[0120] Where P cut.max The maximum power that can be interrupted by the interruptible load. N max is the maximum number of interruptions of the interruptible load. cu t.min and T cu t.max are the maximum interruption time and minimum interruption time of the interruptible load respectively.

[0121] Among them, the energy input and output balance constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system are the energy hub equation balance constraints in the hydrogen-containing integrated energy system model based on the energy hub model.

[0122] In this embodiment, in step S4, the interior point method is used to solve the low-carbon economic optimization control model of the hydrogen-containing integrated energy system to obtain the optimization control scheme of the hydrogen-containing integrated energy system. The specific steps are as follows:

[0123] 1) The low-carbon economic optimization control model of the hydrogen-containing integrated energy system is expressed as:

[0124]

[0125] In the formula, g v (x) is the vth equality constraint of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system; h u(x) is the u-th inequality constraint of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system; x is the solution vector composed of all decision variables in the low-carbon economic optimization control model of the hydrogen-containing integrated energy system; U1 and U2 are the number of model equality constraints and inequality constraints, respectively.

[0126] 2) Since the interior point method requires that the iteration point always remain inside the feasible domain, a barrier function needs to be introduced to penalize points that are close to the boundary of the feasible domain. The barrier function takes a small value inside the feasible domain, but as the point approaches the boundary, its value increases rapidly, thereby "pushing" the point back away from the boundary. For inequality constraints, a logarithmic barrier function is used, as shown in the following formula:

[0127]

[0128] Where φ(x) is the barrier function.

[0129] 3) Combine the obstacle function with the objective function to form the augmented objective function F(x):

[0130] F(x,μ)=f(x)+μφ(x)

[0131] Where μ is a hyperparameter greater than 0, which is used to control the impact of the barrier function on the augmented objective function. As the algorithm iterates, μ will gradually decrease.

[0132] 4) In each iteration, an unconstrained optimization algorithm, such as Newton's method, conjugate gradient method or quasi-Newton method, is used to solve an unconstrained optimization problem, that is, to minimize the current augmented objective function F(x).

[0133] 5) After each iteration, update the value of parameter μ. As μ decreases, the iteration point will get closer and closer to the boundary of the feasible region, but always remain inside.

[0134] 6) When the change of the objective function is less than the set threshold, the final optimal solution x and the corresponding objective function value f(x) are output to obtain a low-carbon economic optimization control plan for the hydrogen-containing integrated energy system.

[0135] For the technical solution of the embodiment of the present invention, select Figure 2 Take the typical hydrogen-containing integrated energy system shown in the figure as an example. The system operation cycle is set to 24 hours, and the time step is 1 hour. The electricity, hydrogen, and gas loads of a hydrogen-containing integrated energy system on a typical day are as follows: Figure 3 As shown in Figure 2, the predicted output of the photovoltaic unit is as follows: Figure 4 shown.

[0136] In order to verify the effectiveness of the low-carbon economic dispatch model, the dispatch of the hydrogen-containing integrated energy system under different scenarios was analyzed, and four different scenarios were set to conduct case analysis on the model.

[0137] Scenario 1: Operation and scheduling of a hydrogen-containing integrated energy system without considering various energy storage devices and load demand response.

[0138] Scenario 2: Operation and scheduling of a hydrogen-containing integrated energy system taking into account various types of energy storage equipment but without considering load demand response.

[0139] Scenario 3: Considering various types of energy storage equipment, the operation and scheduling of a hydrogen-containing integrated energy system with price-based load demand response represented by real-time electricity prices.

[0140] Scenario 4: Considering various types of energy storage equipment, the operation and scheduling of a hydrogen-containing integrated energy system with price-based load demand response represented by real-time electricity prices and incentive-based load demand response represented by interruptible loads.

[0141] Among the above four scenarios, scenario 1 only includes energy supply parts and energy conversion parts such as photovoltaic power generation units, power grid, natural gas grid, GT, EW, MR, etc., and is the benchmark scenario of the four scenarios.

[0142] In scenarios 1 and 2, the system purchases electricity from the grid at a retail price of 0.72 yuan / kW·h. After the system implements real-time electricity price demand response in scenarios 3 and 4, the electricity price fluctuates based on the retail price according to the change of power load. The fluctuation of electricity price is as follows: Figure 5 When the electricity price changes, users participating in the real-time electricity price demand response change their electricity consumption behavior according to the electricity price, so the power load forecast value of the day changes, such as Figure 6 shown.

[0143] See also Figure 7 , Figure 8 , Fig. 9 , which are the operation and scheduling of the energy supply part, energy conversion part, energy storage part and load part in the system under the four scenarios. The power flowing into the bus is shown in the upper half of the horizontal axis, and the power flowing out of the bus is shown in the lower half of the horizontal axis. Since the system satisfies the power balance at any time, the image is symmetrical about the horizontal axis. The system operation cost optimization results under the four scenarios are shown in Table 1.

[0144] 1) Analysis of system electricity, hydrogen and gas power dispatch results:

[0145] Table 1 Cost of hydrogen-containing integrated energy systems in four scenarios

[0146]

[0147] Among them, after the system is equipped with an energy storage device, during the peak photovoltaic output stage, the surplus photovoltaic power is used for energy storage devices to store energy, and then used in other periods, thereby further enhancing the absorption of photovoltaic power, reducing the amount of abandoned light, improving the flexibility of system operation, and reducing the system operation cost. After users participate in the real-time electricity price demand response, the electricity price changes from the original retail electricity price to the real-time electricity price that changes with the power load. Users can adjust the existing electricity consumption plan according to the fluctuation of electricity prices to achieve peak load shaving and valley filling of electricity load, thereby improving the economy of the system. After users participate in the interruptible load demand response, the load is interrupted during the peak period of electricity prices, thereby greatly reducing the load during the peak period of electricity prices, significantly reducing the system's electricity purchase cost, and improving the economy of system operation.

[0148] 2) Analysis of system light energy utilization

[0149] according to Figure 4 The photovoltaic output forecast shown in Figure 2 shows that the total photovoltaic power generation in one day is 3970.77 MW·h. The utilization of light energy in different scenarios is shown in Table 2. After configuring the energy storage device, at the peak of photovoltaic output, the surplus photovoltaic part is used for energy storage, and the amount of abandoned light is reduced to 264.67 MW·h, which greatly alleviates the situation of abandoned light.

[0150] After the electric load implements real-time electricity price demand response, users change their electricity consumption behavior according to the fluctuation of electricity prices, and the electric load achieves peak shaving and valley filling. Due to the positive peak-shaving characteristics of photovoltaic power generation, the peak value of the electric load is reduced, resulting in surplus electricity during the peak stage of photovoltaic output, thereby reducing photovoltaic consumption and increasing the amount of abandoned light.

[0151] Table 24 Light energy utilization in different scenes

[0152]

[0153] 3) System carbon emissions analysis

[0154] The carbon emissions of the system come from the equivalent emissions of electricity purchase, equivalent emissions of gas purchase and the carbon emissions of the photovoltaic power generation unit throughout its life cycle. The carbon emissions of the system under different scenarios are shown in Table 3. The energy storage device is configured to store energy during the peak period of photovoltaic output and used in the photovoltaic output valley stage, thereby reducing the system's electricity purchase and carbon emissions.

[0155] After implementing the real-time electricity price demand response, the system achieves peak load shifting, so the system purchases less electricity. The fluctuation of electricity prices makes the cost of gas turbine power generation higher than the cost of electricity purchase in some periods, which reduces the system's gas purchase volume and reduces the system's total carbon emissions. Users interrupt the load during the peak electricity price period or the peak electricity load period, thereby reducing the power purchase of the power grid, reducing carbon emissions, and improving the environmental protection of the system.

[0156] Table 3 Carbon emissions of the system in different scenarios

[0157]

[0158] In summary, the embodiment of the present invention constructs a hydrogen-containing integrated energy system model based on the energy hub model, and the parameters of the hydrogen-containing integrated energy system model based on the energy hub model include the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, the gas storage power of the gas storage device, the discharge power of the electric energy storage device, the hydrogen release power of the hydrogen storage device, the gas release power of the gas storage device, the coefficient of the electric energy released by the electric energy storage device to be allocated to the power load, and the coefficient of the electric energy released by the electric energy storage device to be allocated to the water electrolysis equipment; according to the hydrogen-containing integrated energy system model based on the energy hub model, a low-carbon economic optimization control model of the hydrogen-containing integrated energy system is constructed, and the optimization target of the objective function of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is to minimize the total operating cost. Minimize, the total operating cost includes the cost of purchasing electricity, the cost of purchasing gas, the carbon emission cost, the operation and maintenance cost of energy conversion equipment and energy storage equipment, the penalty cost of abandoned light and the compensation cost of interruptible load; construct the constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system, the constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system include energy supply constraints, energy conversion constraints, energy storage constraints, load demand response constraints and energy input and output balance constraints; use the objective function and constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system, adopt the interior point method to solve the low-carbon economy optimization control model of the hydrogen-containing integrated energy system, and obtain the optimization control scheme of the hydrogen-containing integrated energy system. The present invention can tap the regulation potential of hybrid energy storage and demand-side load, improve the absorption rate of renewable energy, reduce the purchase of energy from the external network, and minimize the operating cost and carbon emissions of the hydrogen-containing integrated energy system.

[0159] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.

[0160] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0161] Example 2

[0162] See also Fig.10 Embodiment 2 of the present invention further provides a control device for a hydrogen-containing integrated energy system taking into account hybrid energy storage, which adopts a control method for a hydrogen-containing integrated energy system taking into account hybrid energy storage of the above embodiment 1, comprising:

[0163] A hydrogen-containing integrated energy system model construction module 100 is used to construct a hydrogen-containing integrated energy system model based on an energy hub model, wherein the parameters of the hydrogen-containing integrated energy system model based on the energy hub model include the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, the gas storage power of the gas storage device, the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, the gas discharge power of the gas storage device, the coefficient of the electric energy released by the electric energy storage device to be distributed to the power load, and the coefficient of the electric energy released by the electric energy storage device to be distributed to the water electrolysis equipment;

[0164] The optimization control model construction module 200 is used to construct a low-carbon economic optimization control model of the hydrogen-containing integrated energy system according to the hydrogen-containing integrated energy system model based on the energy hub model;

[0165] An objective function building module 300, wherein the optimization goal of the objective function of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is to minimize the total operating cost, wherein the total operating cost includes the electricity purchase cost, the gas purchase cost, the carbon emission cost, the operation and maintenance cost of the energy conversion equipment and the energy storage equipment, the penalty cost for abandoned solar power, and the compensation cost for interruptible loads;

[0166] A constraint condition construction module 400 is used to construct the constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system, wherein the constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include energy supply constraints, energy conversion constraints, energy storage constraints, load demand response constraints, and energy input and output balance constraints;

[0167] The hydrogen-containing integrated energy system optimization control analysis module 500 is used to utilize the objective function and constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system, and adopt the interior point method to solve the low-carbon economic optimization control model of the hydrogen-containing integrated energy system to obtain the optimization control plan of the hydrogen-containing integrated energy system.

[0168] In this embodiment, in the hydrogen-containing integrated energy system model construction module 100, the energy hub L in the hydrogen-containing integrated energy system model based on the energy hub model is a conversion between two high-dimensional matrices, and the conversion formula between the two high-dimensional matrices is:

[0169]

[0170] In the formula, π ij(i=1,2,…,n)(j=1,2,…,m) is the energy allocation coefficient, which indicates the proportion of the i-th energy input converted into the j-th energy output; η ij (i=1,2,…,n)(j=1,2,…,m) is the energy conversion efficiency, which indicates the efficiency of converting the i-th energy input into the j-th energy output; C is the coupling matrix, which is the product of the energy allocation matrix π and the energy efficiency matrix η; L n is the nth energy output; P n is the nth energy input.

[0171] In this embodiment, in the hydrogen-containing integrated energy system model construction module 100, the formula of the hydrogen-containing integrated energy system model based on the energy hub model is:

[0172]

[0173] In the formula, is the electrical load at time t; is the hydrogen load at time t; is the gas load at time t; α1 is the coefficient of electric energy allocation to electric load; α2 is the coefficient of electric energy allocation to electrolyzer; β1 is the coefficient of natural gas allocation to gas load; β2 is the coefficient of natural gas allocation to gas turbine; γ1 and γ2 represent the allocation coefficients to hydrogen load and MR after hydrogen production, respectively; η GT is the gas turbine efficiency; η EW is the electrolytic cell efficiency; η MR is the efficiency of the methanogenation equipment; is the power purchased at time t; is the gas purchasing power at time t; α PV,1 is the coefficient of photovoltaic power allocation to electrical load; α PV,2 is the coefficient for allocating PV power to the electrolyzer; is the photovoltaic output at time t; They are respectively the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, and the gas storage power of the gas storage device at time t; are the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, and the gas discharge power of the gas storage device at time t; α s1,1 , α s1,2 They respectively represent the distribution coefficients of the electric energy released by the electric energy storage device to the power load and the water electrolysis equipment.

[0174] In this embodiment, in the objective function construction module 300, the objective function of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is:

[0175] F r =F om +F buy +Fgas +F c +F P +F w +F cut

[0176]

[0177] In the formula, F buy is the electricity purchase cost, F gas is the gas purchase cost, F c is the carbon emission cost, F om is the operation and maintenance cost of energy conversion equipment and energy storage equipment, Fw is the penalty cost for abandoned light, and F cut Compensation costs for interruptible loads;

[0178] and represent the electricity price and natural gas price at time t respectively; They represent the power input of electricity and gas purchased at time t respectively; ψ is the penalty fee for emitting unit CO2; α e , α g and α PV are the equivalent carbon emission factors of the entire life cycle of electricity purchase, gas purchase and photovoltaic power generation; GT , EW , MR are the unit capacity operation and maintenance costs of gas turbine, water electrolysis equipment and methanation equipment respectively; R s1 , R s2 , R s3 They are the unit capacity operation and maintenance costs of electric energy storage devices, hydrogen storage devices, and gas storage devices; is the storage and discharge power of the electric energy storage device, hydrogen storage device, and gas storage device at time t;

[0179] D PV Penalty fees for abandoned light for the unit; Predict the photovoltaic power generation output at time t; is the photovoltaic power output power at time t; is the power of the interruptible load at time t; C cut It is the economic compensation cost per unit power of interruptible load; It is a 0-1 integer variable, indicating the interruption status of the load. When the value is 1, it means that the load participates in the interruption at time t, and when the value is 0, it means that the load does not participate in the interruption at time t; Δt is the time interval.

[0180] In this embodiment, in the constraint condition building module 400, the energy supply constraint formula of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is:

[0181]

[0182] In the formula, and are the power and power upper limit of the photovoltaic unit delivered to the system at time t respectively; and are the input powers of the system purchasing electricity from the grid and gas from the gas grid at time t respectively; Pbuy.max and Pgas.max are the maximum input powers of purchasing electricity and gas respectively.

[0183] In this embodiment, in the constraint condition building module 400, the energy conversion constraint formula of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is:

[0184]

[0185] Where η EW ,η MR ,η GT represent the energy conversion efficiency of EW, MR, and GT, respectively; They represent the energy input power of the equipment at time t respectively; Respectively represent the energy of the device at time t

[0186] Output power; P GT.max They respectively represent the upper limit of the input power of the equipment; and Respectively represent the lower limit of the equipment input power; They represent the maximum landslide power of the equipment respectively; They respectively represent the maximum climbing power of the equipment.

[0187] In this embodiment, in the constraint condition building module 400, the energy storage constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include electric energy storage device constraints, hydrogen storage equipment constraints and gas storage equipment constraints;

[0188] The constraints of the electric energy storage device include self-loss rate, energy storage and discharge efficiency, and storage capacity parameters;

[0189] The constraints of hydrogen storage equipment include hydrogen storage capacity, hydrogen output of hydrogen storage equipment, hydrogen input of hydrogen storage equipment, maximum capacity of hydrogen storage device, maximum input of hydrogen storage device, maximum output of hydrogen storage device, hydrogen capacity parameters of hydrogen storage device at the end time of scheduling and the initial time of scheduling;

[0190] The gas storage equipment constraints include the natural gas content in the gas storage equipment, the input and output of natural gas in the gas storage equipment, the maximum capacity of the gas storage device, the maximum input / output natural gas volume of the gas storage device, and the natural gas volume parameters of the gas storage device at the end time of scheduling and the initial time of scheduling.

[0191] In this embodiment, in the constraint condition construction module 400, the load demand response constraint of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system includes a demand response constraint based on real-time electricity prices and a demand response constraint based on real-time electricity prices;

[0192] The demand response constraints based on real-time electricity prices include the total electricity load forecast value before implementing demand response, the electricity load forecast value at time t before implementing demand response, the total dispatch time, the average load before implementing demand response, the electricity price floating factor, and the power load elasticity coefficient parameters;

[0193] The demand response constraints based on real-time electricity prices include the maximum power of interruptible load interruption, the maximum number of interruptible load interruptions, the maximum interruption time of interruptible load, and the minimum interruption time parameters.

[0194] In this embodiment, in the constraint condition construction module 400, the energy input and output balance constraint of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is the energy hub equation balance constraint in the hydrogen-containing integrated energy system model based on the energy hub model.

[0195] It should be noted that the information interaction, execution process and other contents between the modules of the above-mentioned device are based on the same concept as the method embodiment in Example 1 of the present application, and the technical effects they bring are the same as those of the method embodiment of the present application. For specific contents, please refer to the description in the method embodiment shown in the previous part of the present application, and will not be repeated here.

[0196] Example 3

[0197] Embodiment 3 of the present invention provides a non-transitory computer-readable storage medium, in which a program code for a method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage is stored, and the program code includes instructions for executing the method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage of Embodiment 1 or any possible implementation thereof.

[0198] The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

[0199] Example 4

[0200] Embodiment 4 of the present invention provides an electronic device, including: a memory and a processor;

[0201] The processor and the memory communicate with each other via a bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the control method for a hydrogen-containing integrated energy system taking into account hybrid energy storage in Example 1 or any possible implementation thereof.

[0202] Specifically, the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor implemented by reading software codes stored in a memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.

[0203] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.

[0204] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0205] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.

Claims

1. A method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage, characterized in that: include: Constructing a hydrogen-containing integrated energy system model based on the energy hub model, wherein the parameters of the hydrogen-containing integrated energy system model based on the energy hub model include the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, the gas storage power of the gas storage device, the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, the gas discharge power of the gas storage device, the coefficient of the electric energy released by the electric energy storage device to be distributed to the power load, and the coefficient of the electric energy released by the electric energy storage device to be distributed to the water electrolysis equipment; A low-carbon economic optimization control model for a hydrogen-containing integrated energy system is constructed according to the hydrogen-containing integrated energy system model based on the energy hub model, wherein the optimization goal of the objective function of the low-carbon economic optimization control model for a hydrogen-containing integrated energy system is to minimize the total operating cost, and the total operating cost includes the electricity purchase cost, the gas purchase cost, the carbon emission cost, the operation and maintenance cost of energy conversion equipment and energy storage equipment, the penalty cost for abandoned solar power, and the compensation cost for interruptible loads; Constructing the constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system, wherein the constraint conditions of the low-carbon economy optimization control model of the hydrogen-containing integrated energy system include energy supply constraint, energy conversion constraint, energy storage constraint, load demand response constraint and energy input and output balance constraint; By utilizing the objective function and constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system, the interior point method is adopted to solve the low-carbon economic optimization control model of the hydrogen-containing integrated energy system to obtain an optimization control scheme for the hydrogen-containing integrated energy system.

2. A method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage according to claim 1, characterized in that: The energy hub L in the hydrogen-containing integrated energy system model based on the energy hub model is a conversion between two high-dimensional matrices, and the conversion formula between the two high-dimensional matrices is: In the formula, π ij (i=1,2,…,n)(j=1,2,…,m) is the energy allocation coefficient, which indicates the proportion of the i-th energy input converted into the j-th energy output; η ij (i=1,2,…,n)(j=1,2,…,m) is the energy conversion efficiency, which indicates the efficiency of converting the i-th energy input into the j-th energy output; C is the coupling matrix, which is the product of the energy allocation matrix π and the energy efficiency matrix η; L n is the nth energy output; P n is the nth energy input.

3. A method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage according to claim 2, characterized in that: The formula of the hydrogen-containing comprehensive energy system model based on the energy hub model is: Where, L t e is the electrical load at time t; is the hydrogen load at time t; is the gas load at time t; α1 is the coefficient of electric energy allocation to electric load; α2 is the coefficient of electric energy allocation to electrolyzer; β1 is the coefficient of natural gas allocation to gas load; β2 is the coefficient of natural gas allocation to gas turbine; γ1 and γ2 represent the allocation coefficients to hydrogen load and MR after hydrogen production, respectively; η GT is the gas turbine efficiency; η EW is the electrolyzer efficiency; η MR is the efficiency of the methanogenation equipment; P t e P is the power purchased at time t; t g is the gas purchasing power at time t; α PV,1 is the coefficient of photovoltaic power allocation to electrical load; α PV,2 is the coefficient of photovoltaic power allocation to the electrolyzer; P t PV is the photovoltaic power output at time t; P t s1,cha , P t s2,cha , P t s3,cha are the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, and the gas storage power of the gas storage device at time t respectively; P t s1,dis , P t s2,dis , P t s3,dis are the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, and the gas discharge power of the gas storage device at time t; α s1,1 , α s1,2 They respectively represent the distribution coefficients of the electric energy released by the electric energy storage device to the power load and the water electrolysis equipment.

4. A method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage according to claim 1, characterized in that: The objective function of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is: F r =F om +F buy +F gas +F c +F P +F w +F cut In the formula, F buy is the electricity purchase cost, F gas is the gas purchase cost, F c is the carbon emission cost, F om is the operation and maintenance cost of energy conversion equipment and energy storage equipment, Fw is the penalty cost for abandoned light, and F cut Compensation costs for interruptible loads; and Respectively represent the electricity price and natural gas price at time t; P t buy ,P t gas They represent the power input of electricity and gas purchased at time t respectively; ψ is the penalty fee for emitting unit CO2; α e , α g and α PV are the equivalent carbon emission factors of the entire life cycle of electricity purchase, gas purchase and photovoltaic power generation; GT , EW , MR are the unit capacity operation and maintenance costs of gas turbine, water electrolysis equipment and methanation equipment respectively; R s1 , R s2 , R s3 are the unit capacity operation and maintenance costs of electric energy storage devices, hydrogen storage devices, and gas storage devices respectively; |P t s1 |、|P t s2 |、|P t s3 | is the storage and discharge power of the electric energy storage device, hydrogen storage device, and gas storage device at time t; D PV P is the penalty fee for unit abandonment; t PV.max is the predicted output of photovoltaic power generation at time t; P t PV is the photovoltaic power output power at time t; P t cut is the power of the interruptible load at time t; C cut It is the economic compensation cost per unit power of interruptible load; It is a 0-1 integer variable, indicating the interruption status of the load. When the value is 1, it means that the load participates in the interruption at time t, and when the value is 0, it means that the load does not participate in the interruption at time t; Δt is the time interval.

5. A method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage according to claim 1, characterized in that: The energy supply constraint formula of the low-carbon economic optimization control model of the hydrogen-containing comprehensive energy system is: 0≤P t PV ≤P t PV.max 0≤P t buy ≤P buy.max 0≤P t gas ≤P gas.max Where P t PV and P t PV.max are the power and upper limit of the power delivered to the system by the photovoltaic unit at time t; P t buy and P t gas are the input powers of the system purchasing electricity from the grid and gas from the gas grid at time t respectively; Pbuy.max and Pgas.max are the maximum input powers of purchasing electricity and gas respectively.

6. A method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage according to claim 5, characterized in that: The energy conversion constraint formula of the low-carbon economic optimization control model of the hydrogen-containing comprehensive energy system is: Where η EW ,η MR ,η GT Respectively represent the energy conversion efficiency of EW, MR, and GT; P t e,EW , P t ge They represent the energy input power of the equipment at time t respectively; P t g,MR ,P t GT They represent the energy output power of the equipment at time t respectively; P GT.max They respectively represent the upper limit of the input power of the equipment; and Respectively represent the lower limit of the equipment input power; They represent the maximum landslide power of the equipment respectively; They respectively represent the maximum climbing power of the equipment.

7. A method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage according to claim 6, characterized in that: The energy storage constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include constraints on electric energy storage devices, constraints on hydrogen storage equipment, and constraints on gas storage equipment; The constraints of the electric energy storage device include self-loss rate, energy storage and discharge efficiency, and storage capacity parameters; The constraints of hydrogen storage equipment include hydrogen storage capacity, hydrogen output of hydrogen storage equipment, hydrogen input of hydrogen storage equipment, maximum capacity of hydrogen storage device, maximum input of hydrogen storage device, maximum output of hydrogen storage device, hydrogen capacity parameters of hydrogen storage device at the end time of scheduling and the initial time of scheduling; The gas storage equipment constraints include the natural gas content in the gas storage equipment, the input and output of natural gas in the gas storage equipment, the maximum capacity of the gas storage device, the maximum input / output natural gas volume of the gas storage device, and the natural gas volume parameters of the gas storage device at the end time of scheduling and the initial time of scheduling.

8. A method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage according to claim 7, characterized in that: The load demand response constraints of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include a demand response constraint based on real-time electricity prices and a demand response constraint based on real-time electricity prices; The demand response constraints based on real-time electricity prices include the total electricity load forecast value before implementing demand response, the electricity load forecast value at time t before implementing demand response, the total dispatch time, the average load before implementing demand response, the electricity price floating factor, and the power load elasticity coefficient parameters; The demand response constraints based on real-time electricity prices include the maximum power of interruptible load interruption, the maximum number of interruptible load interruptions, the maximum interruption time of interruptible load, and the minimum interruption time parameters.

9. A method for controlling a hydrogen-containing integrated energy system taking into account hybrid energy storage according to claim 8, characterized in that: The energy input-output balance constraint of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is the energy hub equation balance constraint in the hydrogen-containing integrated energy system model based on the energy hub model.

10. A control device for a hydrogen-containing integrated energy system taking into account hybrid energy storage, adopting a control method for a hydrogen-containing integrated energy system taking into account hybrid energy storage as claimed in any one of claims 1 to 9, characterized in that: include: A hydrogen-containing integrated energy system model construction module is used to construct a hydrogen-containing integrated energy system model based on an energy hub model, wherein the parameters of the hydrogen-containing integrated energy system model based on the energy hub model include the charging power of the electric energy storage device, the hydrogen storage power of the hydrogen storage device, the gas storage power of the gas storage device, the discharge power of the electric energy storage device, the hydrogen discharge power of the hydrogen storage device, the gas discharge power of the gas storage device, the coefficient of the electric energy released by the electric energy storage device to be distributed to the power load, and the coefficient of the electric energy released by the electric energy storage device to be distributed to the water electrolysis equipment; An optimization control model construction module is used to construct a low-carbon economic optimization control model for a hydrogen-containing integrated energy system according to the hydrogen-containing integrated energy system model based on the energy hub model; An objective function building module, wherein the optimization goal of the objective function of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system is to minimize the total operating cost, wherein the total operating cost includes the electricity purchase cost, the gas purchase cost, the carbon emission cost, the operation and maintenance cost of the energy conversion equipment and the energy storage equipment, the penalty cost for abandoned solar power, and the compensation cost for interruptible loads; A constraint condition construction module, used to construct the constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system, wherein the constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system include energy supply constraints, energy conversion constraints, energy storage constraints, load demand response constraints and energy input and output balance constraints; The hydrogen-containing integrated energy system optimization control analysis module is used to utilize the objective function and constraint conditions of the low-carbon economic optimization control model of the hydrogen-containing integrated energy system, and adopt the interior point method to solve the low-carbon economic optimization control model of the hydrogen-containing integrated energy system to obtain the optimization control plan of the hydrogen-containing integrated energy system.

Citation Information

Cited By

  • Electric hydrogen coupling system optimization scheduling method and system based on risk prediction

    CN120341990A

  • A risk prediction-based electric-hydrogen coupling system optimization scheduling method and system

    CN120341990B

  • Electricity-water-hydrogen-heat coupled multi-energy ship optimal scheduling method

    CN120688806A