Robust planning method, device, electronic device and medium for electric-hydrogen integrated energy system
By constructing the operation constraints of electrolytic cells and hydrogen storage equipment, combining system energy and cogeneration constraints, a robust planning model for the integrated electric hydrogen energy system is established, and the requirements for electric hydrogen production and thermal system in the electric hydrogen system are not fully considered. The problem of achieving lower cost and more efficient energy planning.
Patent Information
- Application Number
- CN202410924902.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-11
AI Technical Summary
The existing robust planning method for integrated electric hydrogen energy systems fails to fully consider the requirements of electric hydrogen production and thermal systems, resulting in insufficient system stability and cost efficiency.
By obtaining historical data of the integrated energy system, the electrolytic cell operation constraints and hydrogen storage equipment operation constraints are constructed, and combined with the system energy balance, power flow and cogeneration unit operation constraints, a more comprehensive target planning model is established to determine the cost is lower. More effective planning.
It effectively reduces the total cost of the integrated electric hydrogen energy system, improves the operating stability and economy of the system, and ensures the coordination of the electric hydrogen production and thermal system.
Smart Images

Figure CN118485319B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of research on robust planning of integrated energy systems with seasonal energy storage, and in particular to a method, device, electronic equipment and medium for robust planning of an electric-hydrogen integrated energy system. Background Art
[0002] In order to improve energy efficiency and reduce carbon emissions, fuel cells, electrolyzers and hydrogen storage systems have gradually become key technical areas of focus. An electric-hydrogen integrated energy system with a high proportion of renewable energy is considered to be a highly energy-efficient, low-carbon energy supply solution. Among them, using the redundant electricity of renewable energy to electrolyze water to produce hydrogen is a green way to produce hydrogen. Although a high proportion of renewable energy can effectively reduce carbon emissions, its inherent intermittent and volatile nature leads to a mismatch between electricity supply and demand, which seriously threatens the stable operation of the electric-hydrogen integrated energy system. Therefore, it is necessary to consider the uncertainty of renewable energy from the planning stage. In the event of sudden equipment failure, robust optimization is used to improve the operational stability of the electric-hydrogen integrated energy system.
[0003] Since batteries are not suitable for large-scale storage of electricity, converting electricity into hydrogen is a more economical and practical way of energy storage. Hydrogen can be further mixed into natural gas pipelines as fuel, or it can be converted into electricity by hydrogen fuel cells when there is a power shortage. It is a flexible and green energy source. Most of the current robust planning methods for integrated electric and hydrogen energy systems only establish planning models based on some common basic equipment requirements, and do not take into account the needs of electric hydrogen production and heat systems. In integrated electric and hydrogen energy systems, electric hydrogen production and heat systems are key technologies for achieving energy transformation and promoting clean energy substitution. Therefore, how to establish a more comprehensive planning model has become an urgent problem to be solved. Summary of the invention
[0004] The embodiments of the present invention provide a method, device, electronic device and medium for robust planning of an electric-hydrogen integrated energy system, which can construct a more comprehensive robust planning model for the electric-hydrogen integrated energy system, thereby obtaining a lower-cost and more effective planning solution.
[0005] In a first aspect, an embodiment of the present invention provides a robust planning method for an electric-hydrogen integrated energy system, comprising:
[0006] Obtain historical data on integrated energy systems;
[0007] Constructing electrolyzer operation constraints and hydrogen storage device operation constraints based on the historical data; the electrolyzer operation constraints include temperature constraints of the electrolyzer;
[0008] A target planning model is determined based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and a pre-established initial planning model; wherein the target planning model is used to determine the planning scheme of the hydrogen storage device of the integrated energy system; the initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints and uncertainty factor constraints.
[0009] In a second aspect, an embodiment of the present invention provides a robust planning device for an electric-hydrogen integrated energy system, the device comprising:
[0010] A data acquisition module, used to obtain historical data of the integrated energy system;
[0011] A constraint building module, used to build electrolyzer operation constraints and hydrogen storage device operation constraints based on the historical data; the electrolyzer operation constraints include temperature constraints of the electrolyzer;
[0012] A model building module is used to determine a target planning model based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and a pre-established initial planning model; wherein the target planning model is used to determine a planning scheme for the hydrogen storage device of the integrated energy system; the initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints and uncertainty factor constraints.
[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a robust planning method for an electric-hydrogen integrated energy system as described in any one of the embodiments of the present invention is implemented.
[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a robust planning method for an electric-hydrogen integrated energy system as described in any one of the embodiments of the present invention.
[0015] In an embodiment of the present invention, historical data of the integrated energy system is obtained, and electrolyzer operation constraints and hydrogen storage device operation constraints are constructed based on the historical data; the electrolyzer operation constraints include the temperature constraints of the electrolyzer; the target planning model is determined based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and a pre-established initial planning model; wherein the target planning model is used to determine the planning scheme for the hydrogen storage device of the integrated energy system. The method of the embodiment of the present invention accurately and comprehensively establishes the electrolyzer operation constraints based on the electrolyzer temperature constraints, and takes into account the requirements of the electric hydrogen production and heat system through the electrolyzer operation constraints and the hydrogen storage device operation constraints. A more comprehensive target planning model is established in combination with the electrolyzer operation constraints and the hydrogen storage device operation constraints, so that a lower-cost and more effective planning scheme is determined through the target planning model, further effectively reducing the total cost of the integrated energy system. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 A first flow chart of a robust planning method for an electric-hydrogen integrated energy system provided by an embodiment of the present invention;
[0018] Figure 2 A second flow chart of a robust planning method for an electric-hydrogen integrated energy system provided by an embodiment of the present invention;
[0019] Figure 3 A third flow chart of a robust planning method for an electric-hydrogen integrated energy system provided by an embodiment of the present invention;
[0020] Figure 4 A schematic diagram of the structure of an electric-hydrogen integrated energy system provided in an embodiment of the present invention;
[0021] Figure 5 A schematic diagram of the structure of a robust planning device for an electric-hydrogen integrated energy system provided by an embodiment of the present invention;
[0022] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0024] Figure 1 This is the first flow chart of the robust planning method for an electric-hydrogen integrated energy system provided in an embodiment of the present invention. The method in an embodiment of the present invention constructs a more comprehensive robust planning model for an electric-hydrogen integrated energy system, thereby obtaining a lower-cost and more effective planning solution. The method can be executed by the robust planning device for an electric-hydrogen integrated energy system provided in an embodiment of the present invention, and the device can be implemented in software and / or hardware. The following embodiments will be described by taking the device integrated in an electronic device as an example. The electronic device can be a server or computer device for running the robust planning method for an electric-hydrogen integrated energy system. Reference Figure 1 , the method may specifically include the following steps:
[0025] Step 101: Obtain historical data of the integrated energy system.
[0026] Among them, the integrated energy system refers to the electric-hydrogen integrated energy system, which is an integrated energy system that combines the power system with the production, storage and utilization of hydrogen energy. The electric-hydrogen integrated energy system includes renewable energy power generation systems, electrolyzers, hydrogen storage systems, fuel cells or other hydrogen utilization equipment, energy management and control systems, and auxiliary energy supply systems. The historical data of the integrated energy system includes renewable energy production data: including wind and solar power generation data, which are usually recorded by hour, day, month and year to reflect production fluctuations in different time periods. Electricity demand data: including residential, commercial and industrial electricity consumption data, as well as seasonal and daily variation pattern data. Hydrogen demand data: including hydrogen data for transportation, industry or other purposes. Energy price data: including the prices of electricity, natural gas and other related energy sources. Equipment performance data: including performance data of electrolyzers, fuel cells and other key equipment, such as efficiency, maintenance requirements and failure rates. Climate and environmental data: climate factors that affect renewable energy production, such as wind speed, sunshine intensity and temperature. System failure and maintenance records: historical failure and maintenance records, including Equipment failure events. Energy storage system performance data: including battery energy storage or other forms of energy storage data, such as historical charge and discharge data, efficiency and degradation.
[0027] Specifically, historical data can be used to establish a target planning model that can predict energy demand, supply fluctuations, and price changes. Using the historical data of the integrated energy system, a robust planning model can be constructed to determine the planning scheme of each device in the integrated energy system. Therefore, when it is necessary to build a target planning model, the server can obtain the historical data of the integrated energy system from the integrated energy system.
[0028] Step 102: construct electrolyzer operation constraints and hydrogen storage device operation constraints based on historical data.
[0029] Among them, the electrolyzer is a core component of the electric-hydrogen integrated energy system. The electrolyzer decomposes water into hydrogen and oxygen through the electrolysis process. That is, the electrolyzer can convert electricity from renewable energy into chemical energy (such as hydrogen), which can be used as energy storage or directly as fuel. The electrolyzer needs to comply with a series of constraints during operation, which ensure the efficiency, safety and economy of the electrolyzer.
[0030] Specifically, there is a certain relationship between the ratio of the output hydrogen power and thermal power of the electrolyzer and the operating temperature. By adjusting the operating temperature of the electrolyzer, the ratio of the output hydrogen and thermal energy can be affected. Analysis of historical data shows that when the operating temperature of the electrolyzer increases, the amount of hydrogen produced by the electrolyzer will increase, but the thermal energy output may decrease at the same time because more energy is used to produce hydrogen rather than thermal energy. Conversely, lowering the operating temperature may result in more thermal energy output and less hydrogen production. Therefore, if the required hydrogen production and thermal energy requirements are determined, the operating temperature can be adjusted according to the required hydrogen production and thermal energy requirements to optimize the electrolysis process. After determining the relationship between the ratio of the output hydrogen power and thermal power of the electrolyzer and the operating temperature, the operating temperature of the electrolyzer is set to depend on the thermal power according to the relationship. Further, according to the thermal power of the electrolyzer at the current moment and the operating temperature of the electrolyzer at the current moment, the operating temperature of the electrolyzer at the next moment can be determined, that is, the expression of the operating temperature of the electrolyzer at the next moment can be obtained. Further, the temperature constraint of the electrolyzer is determined according to the expression of the operating temperature of the electrolyzer at the next moment. Other basic constraints of the electrolyzer are determined based on historical data, such as state constraints, logic constraints for the electrolyzer's on / off and working states, and the electrolyzer's operating power. After determining the electrolyzer's temperature constraints and other basic constraints, the electrolyzer's temperature constraints and other basic constraints are combined to obtain the electrolyzer's operating constraints.
[0031] Hydrogen storage equipment is equipment used to store hydrogen, such as high-pressure composite hydrogen storage tanks and glass hydrogen storage containers. The operating constraints of seasonal hydrogen storage equipment mainly involve the limitation of hydrogen storage capacity, the maintenance of hydrogen storage balance, and the flow control of hydrogen inflow and outflow. For example, the upper and lower limit constraints of hydrogen storage capacity, hydrogen storage balance constraints, stability constraints of hydrogen storage capacity in the initial period of each day, constraints on the amount of hydrogen flowing in and out per unit time, medium- and long-term optimization operation constraints, safety constraints, and economic and energy efficiency constraints. The hydrogen storage balance constraint means that at each time point, the amount of hydrogen stored in the hydrogen storage tank should be equal to the amount of hydrogen at the previous time point plus the amount of hydrogen charged minus the amount of hydrogen released, so as to ensure the continuity and predictability of the amount of hydrogen in the hydrogen storage tank. The stability constraint of hydrogen storage capacity in the initial period of each day is to ensure the smooth operation of the system. The hydrogen storage capacity of the hydrogen storage tank at the beginning of each day should remain consistent unless there is a specific scheduling plan requiring a change. The limit constraint on the amount of hydrogen flowing in and out per unit time is to prevent damage to the hydrogen storage tank due to frequent switching of working states. The maximum hydrogen flow rate allowed for charging and releasing per hour is usually set. The medium- and long-term optimization of operating constraints is to improve the overall operating efficiency and economy of the system, taking into account the coordination between hydrogen production, storage and use to minimize costs and maximize energy utilization. Safe operation constraints mean that all related equipment (such as compressors and fuel cells, etc.) operate within their safe operating range to avoid equipment damage and safety accidents. Economic and energy efficiency constraints mean that when configuring the capacity of hydrogen storage tanks, it is necessary to comprehensively consider factors such as the system's investment payback period and energy growth rate to ensure the economic feasibility and energy efficiency of the integrated energy system.
[0032] Step 103: Determine a target planning model based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and the pre-established initial planning model.
[0033] Among them, the target programming model is used to determine the planning scheme of the hydrogen storage equipment of the integrated energy system. The initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints and uncertainty constraints. The target programming model includes the objective function and the target constraints of the objective function. The objective function is a function established with the goal of optimizing the economy, safety and environmental impact of the system to achieve low-cost, high-efficiency and sustainable energy supply. The objective function of this scheme is to minimize the total cost, which is the sum of investment cost, maintenance cost and transaction cost. The target constraints include electrolyzer operation constraints, hydrogen storage equipment operation constraints and various constraints of the initial planning model.
[0034] Before constructing the electrolyzer operation constraints and hydrogen storage equipment operation constraints based on historical data, an initial planning model can be pre-established based on historical data. The initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints, and uncertainty constraints. Specifically, historical data includes the equipment type and basic equipment parameters of the equipment to be planned, such as the power and load parameters of each equipment.
[0035] In an optional embodiment, the equipment to be planned includes renewable energy equipment, energy storage equipment and energy conversion equipment. Renewable energy equipment includes photovoltaic (PV) and wind turbine (WT); energy storage equipment includes battery (BT), thermal storage (TS), hydrogen storage (HS), seasonal hydrogen storage (SHS); energy conversion equipment includes power to hydrogen and heat (P2HH) system composed of electrolysis device (ED) and heat exchanger (HE), gas turbine (GT), electric boiler (EB) and absorption chiller (AC). System energy balance constraints include electric power balance constraints, thermal power balance constraints, cold power balance constraints and hydrogen power balance constraints.
[0036] The electric power balance constraint is shown in the following formula:
[0037] .
[0038] in, and They represent the electric power purchased and sold from the power grid in the scenario s and the period t respectively. represents the power of the wind turbine in the scenario s during the period t, represents the power of photovoltaic in the scenario s during the period t, represents the electric power of GT in the scenario s during the period t, represents the power consumed by EB in time period t in scenario s, represents the BT charging / discharging power in time period t in scenario s, represents the electric power consumed by ED in time period t in scenario s, represents the total power load in the scenario s during the period t, It represents the curtailable load of electricity in the scenario s during the period t.
[0039] The thermal power balance constraint is shown in the following formula:
[0040] .
[0041] in, represents the thermal power of GT in the scenario s during the period t, represents the thermal power produced by ED recovered by HE during period t in scenario s, represents the efficiency of EB, represents the TS charging power in the scenario s during the period t, represents the heat release power of TS in the scenario s during the period t, represents the thermal power absorbed by AC in time period t in scenario s, represents the total thermal load in the scenario s during the period t, They represent the thermal load that can be reduced in time period t in scenario s.
[0042] The cold power balance constraint is shown in the following formula:
[0043] .
[0044] represents the efficiency of AC, represents the total cooling load in time period t in scenario s, It represents the reducible load of cooling force in the period t in scenario s.
[0045] The hydrogen balance power constraint is shown in the following formula:
[0046] .
[0047] represents the hydrogen power produced in time period t in scenario s, represents the HS hydrogen charging power in the scenario s during the period t, represents the HS hydrogen discharge power in the scenario s during the period t, represents the SHS hydrogen charging power in the scenario s during the period t, represents the SHS hydrogen discharge power in the scenario s during the period t, represents the hydrogen power consumed by the gas turbine during period t in scenario s. represents the total natural gas load in the scenario s during the period t, represents the curtailable load of natural gas in period t in scenario s.
[0048] Current flow constraints refer to a series of physical and technical conditions for power transmission and distribution that need to be met during the operation of the power system. Power flow constraints include but are not limited to voltage constraints: ensuring that the voltage level of each node is within the allowable range to ensure power quality and safe operation of equipment; line thermal constraints: transmission lines and transformers and other equipment have a maximum carrying capacity, and current exceeding this limit may cause equipment damage or shorten life; power balance constraints: each node needs to maintain power balance, that is, the power flowing in is equal to the power flowing out plus the load of the node. Generation limit: The output power of the generator is limited by its maximum and minimum output, and the limit size is determined by the equipment technical parameters in historical data. Stability constraints: require that the system can maintain stable operation under certain operating conditions, such as failures or maintenance. Power flow constraints are an important part of the planning and operation of integrated energy systems. Power flow constraints can avoid overloads and other problems that may cause instability in integrated energy systems.
[0049] In this scheme, the current flow constraints include line flow constraints, active power balance of each node, reactive power balance of each node, voltage amplitude constraints and logical constraints on the interaction between the integrated energy system and the power grid.
[0050] The calculation formula of line flow (line flow constraint) is as follows:
[0051] .
[0052] in, and They represent the square of the voltage amplitude on buses n and m during time period t in scenario s. represents the resistance on the line nm, Represents the reactance on line nm. It represents the active power flow on line nm in the period t in scenario s. represents the reactive power flow on line nm in time period t in scenario s; the set Bus represents the set of grid buses, and Bus(n) represents the set of buses connected to grid bus n.
[0053] The active power balance of each node is shown in the following formula:
[0054] .
[0055] in, and They represent the electric power purchased and sold from the power grid in the scenario s and the period t respectively. Represents the active power output of the grid self-provided generator on bus n during period t in scenario s. Binary variable Indicates whether there is an electric-hydrogen integrated energy system on bus n. When , it means that there is an electric-hydrogen integrated energy system on bus n; when When , it means that there is no electric-hydrogen integrated energy system on bus n. represents the active load on bus n during period t in scenario s.
[0056] The reactive power balance of each node is shown in the following formula:
[0057] .
[0058] represents the reactive power flow on line nm in time period t in scenario s, Represents the reactive power output of the grid self-provided generator on bus n during period t in scenario s. Binary variable Indicates whether there is an electric-hydrogen integrated energy system on bus n. represents the reactive load on bus n during period t in scenario s. Represents the reactive power output of the electric-hydrogen integrated energy system in scenario s during period t.
[0059] The voltage amplitude constraint is shown in the following formula:
[0060] .
[0061] in, Indicates the maximum value of the voltage amplitude, Indicates the minimum value of the voltage amplitude. It represents the square of the voltage amplitude on bus m during time period t in scenario s.
[0062] The line flow constraint is shown in the following formula:
[0063] .
[0064] represents the maximum apparent power on line nm, and j is an integer between [1,4].
[0065] The logical constraints of the interaction between the integrated energy system and the power grid are shown in the following formula:
[0066] .
[0067] Among them, the binary variable and Indicates the interaction state between the electric-hydrogen integrated energy system and the power grid in scenario s during period t. When the electric-hydrogen integrated energy system purchases electricity from the grid, It means that the electric-hydrogen integrated energy system sells electricity to the power grid. It represents the maximum power of interaction between the electric-hydrogen integrated energy system and the power grid.
[0068] The operation constraints of the cogeneration unit include the operation constraints of the cogeneration unit based on GT, including a series of constraints that the cogeneration unit needs to comply with during operation. These operation constraints ensure that the cogeneration unit based on GT can meet the needs of users while improving efficiency and reducing emissions, and remain feasible at the economic and technical levels. The operation constraints of the cogeneration unit in this solution include: the relationship between the input and output power of GT, the input power constraint of GT, the minimum startup time constraint and the minimum shutdown time constraint of GT, the on / off state constraint of GT, the on / off number constraint of GT, and the fault state constraint of GT.
[0069] The relationship between GT's input and output power is shown in the following two formulas:
[0070] ;
[0071] .
[0072] in, represents the input power of GT in the scenario s during the period t, Equal to the input natural gas power and hydrogen power sum. represents the efficiency of GT, Indicates the heat-to-electricity ratio of the unit.
[0073] The input power constraint of GT is as follows:
[0074] .
[0075] in, Indicates the minimum load power of GT. Binary variable Indicates the on / off state of GT in the scenario s during the period t. GT is in the power-on state. GT is in shutdown state. Binary variable Indicates whether to install GT. When GT is installed, It means not to install GT. Indicates the capacity of GT.
[0076] The minimum startup time constraint of GT is as follows:
[0077] .
[0078] in, Indicates the minimum running time of GT; binary variable and Respectively represent the start and shutdown actions of the electrolytic cell. When GT starts up at time t in scene s, t means that GT is shut down at time t in scenario s.
[0079] The minimum shutdown time constraint of GT is as follows:
[0080] .
[0081] in, Indicates the minimum shutdown time of GT, and NT indicates the number of scheduling time periods.
[0082] The GT power-on and power-off state constraints ensure that the GT cannot be powered on and off at the same time, as shown in the following two formulas:
[0083] ;
[0084] .
[0085] in, Indicates the maximum number of times the GT can be turned on and off. Binary variable Used to indicate whether the GT is in a fault state. When , it means that GT is in fault state. , it indicates that GT is in normal status.
[0086] The GT power on / off times constraint is as follows:
[0087] .
[0088] in, Indicates the maximum number of GT startup and shutdown times.
[0089] The fault state constraint of GT means that when GT is in a fault state, GT cannot be in the power-on state, as shown in the following formula:
[0090] .
[0091] Among them, the binary variable Used to indicate whether the GT is in a fault state. When , it means that GT is in fault state. When , it means that GT is in normal state; binary variable Indicates the on / off status of GT in the scenario s during the period t.
[0092] Uncertainty constraints include constructing an uncertain set of renewable energy sources and loads, and The uncertain set of accident constraints. The uncertain set of renewable energy and load and The uncertain set of accident constraints can be used for robust optimization and scheduling of integrated energy systems, ensuring that the integrated energy systems remain stable and reliable under different uncertain conditions.
[0093] In this scheme, the uncertain set of renewable energy is constructed as shown in the following formula:
[0094] .
[0095] Represents the uncertain set of renewable energy sources. The actual output of renewable energy By predicted rating , predicted upward offset and the predicted downward offset Composition. Binary variables and They are used to indicate whether the actual output is deflected downward or upward. Used to adjust the conservativeness of the uncertainty set of renewable energy. The actual value of the load By predicted rating Predicted upward offset and the predicted downward offset composition.
[0096] The load uncertainty set is constructed as shown in the following formula:
[0097] .
[0098] represents the load uncertainty set, parameter Used to adjust the conservativeness of the load uncertainty set. The actual value of the load By predicted rating Predicted upward offset and the predicted downward offset composition.
[0099] Build The uncertain set of accident constraints is shown in the following formula:
[0100] .
[0101] in, express An uncertain set of accident constraints. Parameters For adjustment Conservative degree of the accident constraint uncertainty set, binary variable Used to indicate whether the electrolyzer is in a fault state.
[0102] The technical solution of this embodiment obtains historical data of the integrated energy system, and constructs electrolyzer operation constraints and hydrogen storage equipment operation constraints based on the historical data; the electrolyzer operation constraints include the temperature constraints of the electrolyzer; the target planning model is determined based on the electrolyzer operation constraints, the hydrogen storage equipment operation constraints and the pre-established initial planning model; wherein the target planning model is used to determine the planning scheme for the hydrogen storage equipment of the integrated energy system; the initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints and uncertainty factor constraints. The technical solution of this embodiment takes into account the needs of electric hydrogen production and thermal systems through the electrolyzer operation constraints and hydrogen storage equipment operation constraints. A more comprehensive target planning model is established in combination with the electrolyzer operation constraints and the hydrogen storage equipment operation constraints, so that a lower-cost and more effective planning scheme can be determined through the target planning model, further effectively reducing the total cost of the integrated energy system.
[0103] Figure 2 The second flow chart of the robust planning method for the electric-hydrogen integrated energy system provided in the embodiment of the present invention is a refinement of the above embodiment. The specific method can be as follows Figure 2 As shown, the method may include the following steps:
[0104] Step 201: Obtain historical data of the integrated energy system.
[0105] Step 202: Determine a hydrogen power relationship between the operating temperature of the electrolyzer and the output hydrogen power, and a thermal power relationship between the operating temperature of the electrolyzer and the output thermal power based on the output electrical power and preset linearization parameters.
[0106] Specifically, the integrated energy system includes energy conversion equipment, and the energy conversion equipment includes P2HH composed of ED and HE. P2HH is a system with efficient energy conversion technology. It can not only convert excess electricity into clean hydrogen energy, but also provide thermal energy, playing an important role in achieving energy transformation and promoting clean energy consumption. In this scheme, the temperature constraint of the electrolyzer can be constructed according to P2HH. Specifically, according to historical data and field big data, P2HH can control the ratio of output hydrogen power and thermal power by adjusting the operating temperature of the electrolyzer.
[0107] The hydrogen power relationship between the operating temperature of the electrolyzer and the output hydrogen power is determined as follows:
[0108] .
[0109] in, Indicates the output hydrogen power, and are preset linearization parameters that approximate the electrolyzer operating region, is the input electrical power, is the operating temperature of the electrolytic cell at time t.
[0110] The thermal power relationship between the working temperature and output thermal power of the electrolytic cell is determined as follows:
[0111] .
[0112] in, Represents the output thermal power, and Represents the preset linearization parameters for the approximate electrolyzer operating region.
[0113] Step 203: determine the time-varying equation of the working temperature of the electrolyzer according to the hydrogen power relationship, the heat power relationship, the heat capacity, the thermal resistance and the ambient temperature, and determine the temperature constraint of the electrolyzer according to the time-varying equation of the working temperature.
[0114] Specifically, the operating temperature of the P2HH depends on the thermal power, the thermal power absorbed by the HE, and the thermal power dissipated. In this solution, the time-varying equation of the operating temperature of the electrolyzer is determined according to the hydrogen power relationship, the thermal power relationship, the heat capacity, the thermal resistance, and the ambient temperature, including the following steps A1 to A2:
[0115] Step A1: Divide the difference between the current working temperature and the ambient temperature by the thermal resistance of the electrolytic cell to obtain the dissipated heat power of the heat exchanger; determine the expression of the working temperature of the electrolytic cell at the next moment based on the thermal power of the electrolytic cell, the power absorbed by the heat exchanger, the dissipated heat power and the heat capacity of the electrolytic cell and the current working temperature.
[0116] The historical data include the working temperature of the electrolyzer, the output hydrogen power, the output heat power, the input electrical power, the thermal resistance, the heat capacity and the ambient temperature, etc. The heat dissipation power of the heat exchanger is determined as:
[0117] .
[0118] in, Indicates the heat dissipation of the heat exchanger. represents the thermal resistance of the electrolytic cell, represents the operating temperature of the electrolyzer at time t in scenario s, Indicates the ambient temperature at time t in scenario s.
[0119] The expression for determining the working temperature of the electrolytic cell at the next moment based on the thermal power of the electrolytic cell, the power absorbed by the heat exchanger, the dissipated thermal power, the heat capacity of the electrolytic cell and the working temperature at the current moment is:
[0120] .
[0121] in, Indicates the scheduling time interval, is the heat capacity of the electrolytic cell, Represents the output thermal power, represents the thermal power absorbed by HE, Indicates the heat dissipation of the heat exchanger. represents the operating temperature of the electrolyzer at time t in scenario s, Indicates the electrolyzer under scenario s The working temperature at a certain moment is the working temperature at the next moment.
[0122] Step A2: Determine the time-varying equation of the working temperature of the electrolyzer according to the hydrogen power relationship, the heat power relationship, the heat power dissipated by the heat exchanger and the expression of the working temperature of the electrolyzer at the next moment.
[0123] Specifically, after obtaining the hydrogen power relationship, the heat power relationship, the heat power dissipated by the heat exchanger, and the expression of the working temperature of the electrolyzer at the next moment, the hydrogen power relationship, the heat power relationship, and the heat power dissipated by the heat exchanger are substituted into the expression of the working temperature of the electrolyzer at the next moment, and the time-varying equation of the working temperature of the electrolyzer is obtained:
[0124] .
[0125] According to the above formula, it can be seen that the working temperature of the electrolytic cell is only related to the input power and heat exchange power. The working temperature of the electrolytic cell can be determined according to the following formula:
[0126] .
[0127] When the heat exchanger absorbs the power Greater than or equal to the thermal power of the electrolytic cell Heat loss When the difference is will decline.
[0128] .
[0129] When the heat exchanger absorbs the power Less than or equal to the thermal power of the electrolytic cell Heat loss When the difference is will rise.
[0130] .
[0131] When the heat exchanger absorbs the power Equal to the electrolytic cell thermal power Heat loss When the difference is Further, the temperature constraint of the electrolytic cell is determined according to the time-varying equation of the working temperature of the electrolytic cell:
[0132] .
[0133] .
[0134] Among them, the binary variable Indicates the state of the electrolytic cell. The electrolyzer is in the on state. The electrolyzer is in shutdown state. and They represent the lowest and highest operating temperatures of the electrolyzer, Represents the ambient temperature at time t in scenario s, where M is a preset positive integer.
[0135] In the above steps, the ratio of the output hydrogen power and thermal power of the electrolyzer can be accurately controlled according to the working temperature of the electrolyzer, and on this basis, the time variation equation of the working temperature of the electrolyzer is determined, laying the foundation for accurately and quickly establishing the operating constraints of the electrolyzer.
[0136] Step 204: construct electrolytic cell operation constraints based on historical data and the temperature constraints of the electrolytic cell.
[0137] Among them, the electrolyzer needs to comply with a series of constraints during operation, which ensure the efficiency, safety and economy of the electrolyzer. In the actual operation of the integrated energy system, it is necessary to comprehensively consider the electrolyzer operation constraints to ensure that the electrolyzer can operate in the best state while meeting the energy conversion and storage requirements of the integrated energy system. In this scheme, the electrolyzer operation constraints include the temperature constraints of the electrolyzer, the operating power constraints of the electrolyzer and some basic constraints. Constructing the electrolyzer operation constraints based on historical data and the temperature constraints of the electrolyzer includes the following steps B1 to B2:
[0138] Step B1: Determine the basic constraints of the electrolyzer based on historical data.
[0139] Among them, the basic constraints include the minimum operating time constraint of the electrolytic cell, the minimum shutdown time constraint of the electrolytic cell, the on / off state constraint of the electrolytic cell, the logical constraints of the electrolytic cell's on / off execution and working state, and the fault state constraint of the electrolytic cell.
[0140] The minimum operating time constraint of the electrolyzer is given by the following formula:
[0141] .
[0142] Among them, NT represents the number of scheduling time periods, Indicates the minimum number of operating time periods for the electrolyzer. Binary variable and Respectively indicate the start or shutdown of the electrolytic cell. When , it means that the electrolyzer is started at time t in scenario s. , it means that the electrolyzer is shut down at time t in scenario s.
[0143] The minimum shutdown time constraint of the electrolyzer is shown in the following formula:
[0144] .
[0145] Indicates the minimum number of shutdown time periods for the electrolyzer. Binary variable and Respectively indicate the start or shutdown action of the electrolytic cell.
[0146] The on / off state constraint of the electrolytic cell means that the electrolytic cell cannot be in the on state and the off state at the same time. The specific constraint is shown in the following formula:
[0147] .
[0148] The logic constraints of the electrolytic cell's on / off and working state are shown in the following formula:
[0149] .
[0150] Among them, the binary variable Indicates the state of the electrolytic cell. The electrolyzer is in the on state. The electrolyzer is in shutdown state.
[0151] The fault state constraint of the electrolyzer indicates that the electrolyzer cannot be turned on and off at the same time, as shown in the following formula:
[0152] .
[0153] Among them, the binary variable Used to indicate whether the electrolyzer is in a fault state. When , it indicates that the electrolytic cell is in normal state.
[0154] Step B2: Determine the operating power constraint of the electrolyzer according to the product of the binary variable corresponding to the preset switch state of the electrolyzer and the binary variable corresponding to the installation status of the electrolyzer equipment, the capacity of the electrolyzer and the minimum load rate of the electrolyzer. Construct the operating constraint of the electrolyzer based on the temperature constraint of the electrolyzer, the basic constraint of the electrolyzer and the operating power constraint of the electrolyzer.
[0155] Among them, the operating power constraint of the electrolytic cell is an important condition to ensure its safe and efficient operation. The operating constraints of the electrolytic cell include the temperature constraint of the electrolytic cell, the basic constraint of the electrolytic cell and the operating power constraint of the electrolytic cell. After obtaining the temperature constraint and the basic constraint of the electrolytic cell, the operating power constraint of the electrolytic cell is determined according to the product of the binary variable corresponding to the pre-set switch state of the electrolytic cell and the binary variable corresponding to the installation status of the electrolytic cell equipment, the capacity of the electrolytic cell and the minimum load rate of the electrolytic cell:
[0156] .
[0157] Among them, the binary variable Represents the state of the electrolytic cell (i.e., the binary variable corresponding to the preset switch state of the electrolytic cell). The electrolyzer is in the on state. The electrolyzer is in shutdown state. Indicates the minimum load rate, a binary variable Indicates whether the electrolytic cell equipment is installed (a binary variable corresponding to the installation status of the electrolytic cell equipment). When the electrolytic cell is installed, When , it means that the electrolytic cell is not installed. represents the capacity of the electrolytic cell, Indicates the operating power of the electrolyzer.
[0158] Furthermore, the temperature constraint of the electrolytic cell, the basic constraint of the electrolytic cell and the operating power constraint of the electrolytic cell are combined to construct the electrolytic cell operation constraint, and the electrolytic cell operation constraint is obtained:
[0159] ;
[0160] ;
[0161] ;
[0162] ;
[0163] ;
[0164] .
[0165] In the above steps, the electrolyzer operation constraints can be comprehensively and accurately obtained according to the working temperature constraints of the electrolyzer, thereby paying attention to the impact of electric hydrogen production and thermal systems on the comprehensive energy system, laying the foundation for improving the effectiveness and practicality of the target planning model.
[0166] Step 205: construct hydrogen storage equipment operation constraints based on historical data.
[0167] The operation constraints of hydrogen storage equipment are important conditions for ensuring the safe and efficient operation of hydrogen storage equipment. The operation constraints of hydrogen storage equipment determine the performance and feasibility of hydrogen storage equipment. The operation constraints of hydrogen storage equipment include technical constraints, economic constraints, safety constraints and environmental constraints. The operation constraints of hydrogen storage equipment in this scheme include hydrogen storage capacity constraints, inflation power constraints, deflation power constraints and basic constraints of hydrogen storage equipment.
[0168] Constructing the operation constraints of hydrogen storage equipment based on historical data includes: determining the continuity state equation of the hydrogen storage capacity of the hydrogen storage equipment based on historical data and preset hydrogen storage capacity parameters, and determining the hydrogen storage capacity constraints based on the continuity state equation. Determine the charging power constraint and the deflation power constraint based on the binary variables corresponding to the preset working state of the hydrogen storage equipment, the product of the binary variables corresponding to the installation status of the hydrogen storage equipment, the power-to-volume ratio of the hydrogen storage equipment, and the capacity of the hydrogen storage equipment; construct the operation constraints of the hydrogen storage equipment based on the basic constraints of the hydrogen storage equipment, the hydrogen storage capacity constraints, the charging power constraints, and the deflation power constraints.
[0169] Specifically, seasonal hydrogen storage equipment has a large capacity and cannot switch between the working states of inflation and deflation too frequently. The continuous state equation for determining the hydrogen storage capacity of the hydrogen storage equipment based on historical data is:
[0170] ;
[0171] .
[0172] in, represents the grid charging power of the seasonal hydrogen storage device in the period t in scenario s. represents the grid discharge power of seasonal hydrogen storage equipment in scenario s during period t. It represents the hydrogen storage capacity of SHS in the period t in scenario s. Indicates the self-outgassing loss rate of SHS. Indicates the loss rate when the SHS is inflated or deflated. ND indicates the number of days in a year. represents the probability of scene s appearing.
[0173] The hydrogen storage capacity constraint is determined based on the continuity state equation:
[0174] ;
[0175] .
[0176] Binary variables Indicates whether SHS is installed. When SHS is installed, When SHS is not installed, Indicates the capacity of SHS.
[0177] According to the product of the binary variable corresponding to the working state of the hydrogen storage device, the binary variable corresponding to the installation condition of the hydrogen storage device, the power-to-volume ratio of the hydrogen storage device and the capacity of the hydrogen storage device, the charging power constraint and the deflation power constraint are determined as follows:
[0178] ;
[0179] .
[0180] Binary variables and They represent the working status of SHS in the scenario s during the period t (binary variables corresponding to the working status of hydrogen storage equipment). When When , it means that the SHS is deflated. Binary variable Indicates whether SHS is installed (binary variable Indicates whether SHS is installed). Indicates the maximum power capacity ratio of SHS.
[0181] The basic constraints of hydrogen storage equipment include the hydrogen storage state switching constraint. The state switching constraint ensures that the SHS can only be inflated or deflated within a day and will not change the operating state. The specific formula is as follows:
[0182] ;
[0183] .
[0184] Binary variables and They represent the working status of SHS in the scene s during the period t. When When , it means that the SHS is deflated. Binary variable Indicates the working status of SHS in scene s.
[0185] Furthermore, the basic constraints, hydrogen storage capacity constraints, charging power constraints and degassing power constraints of the hydrogen storage equipment are combined together to construct the operation constraints of the hydrogen storage equipment:
[0186] ;
[0187] ;
[0188] ;
[0189] ;
[0190] ;
[0191] ;
[0192] ;
[0193] .
[0194] Through the above steps, more comprehensive hydrogen storage equipment operation constraints can be established to ensure the performance and feasibility of hydrogen storage equipment in the planning scheme. Combining the electrolyzer operation constraints and hydrogen storage equipment operation constraints can reduce the load penalty cost and further reduce the total cost.
[0195] Step 206: Determine a target planning model based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and the pre-established initial planning model.
[0196] The technical solution of this embodiment obtains historical data of the integrated energy system. Based on the output electric power and the preset linearization parameters, the hydrogen power relationship between the working temperature of the electrolyzer and the output hydrogen power, and the thermal power relationship between the working temperature of the electrolyzer and the output thermal power are determined. According to the hydrogen power relationship, the thermal power relationship, the heat capacity, the thermal resistance and the ambient temperature, the time-varying equation of the working temperature of the electrolyzer is determined, and the temperature constraint of the electrolyzer is determined according to the time-varying equation of the working temperature. The operation constraint of the electrolyzer is constructed based on the historical data and the temperature constraint of the electrolyzer. The continuity state equation of the hydrogen storage capacity of the hydrogen storage device is determined based on the historical data and the preset hydrogen storage capacity parameters, and the hydrogen storage capacity constraint is determined based on the continuity state equation; the inflation power constraint and the deflation power constraint are determined according to the binary variables corresponding to the preset working state of the hydrogen storage device, the product of the binary variables corresponding to the installation status of the hydrogen storage device, the power-to-volume ratio of the hydrogen storage device and the capacity of the hydrogen storage device; the operation constraint of the hydrogen storage device is constructed based on the basic constraint of the hydrogen storage device, the hydrogen storage capacity constraint, the inflation power constraint and the deflation power constraint of the hydrogen storage device. The target planning model is determined based on the electrolyzer operation constraint, the hydrogen storage device operation constraint and the pre-established initial planning model. The technical solution of this embodiment can establish the electrolyzer operation constraints according to the temperature constraints of the electrolyzer, and combine the electrolyzer operation constraints with the hydrogen storage device operation constraints to obtain more comprehensive target constraints. This enables the constructed target planning model to generate a low-cost planning solution, thereby improving the feasibility and practicality of the target planning model.
[0197] Figure 3 The third flow chart of the robust planning method for the electric-hydrogen integrated energy system provided in the embodiment of the present invention is a refinement of the above embodiment. The specific method can be as follows Figure 3 As shown, the method may include the following steps:
[0198] Step 301: Obtain historical data of the integrated energy system.
[0199] Step 302: construct electrolyzer operation constraints and hydrogen storage device operation constraints based on historical data.
[0200] The electrolyzer operation constraints include the temperature constraints of the electrolyzer.
[0201] Step 303: Determine the investment cost and maintenance cost based on the equipment discount rate, equipment life, number of scenarios, equipment investment information, and equipment cost information in the system equipment data.
[0202] Among them, the target programming model is used to determine the planning scheme of the integrated energy system, and the target programming model includes an objective function and the objective constraint of the objective function. The objective function is a function established with the goal of optimizing the economy, safety and environmental impact of the system to achieve low-cost, high-efficiency and sustainable energy supply. The objective function of this scheme is to minimize the total cost, which is the sum of investment cost, maintenance cost and transaction cost. The historical data also includes system equipment data and system transaction data of the integrated energy system.
[0203] Specifically, the investment cost is determined based on the equipment discount rate, equipment life, number of scenarios, equipment investment information, and equipment cost information in the system equipment data:
[0204] .
[0205] in, represents the investment cost, represents the discount rate, NL represents the equipment life, , and Respectively represent the collection of renewable energy equipment, energy conversion equipment and energy storage equipment, that is, , , . It represents the unit investment cost of the equipment, and Cap represents the capacity of the equipment.
[0206] The maintenance cost is determined based on the equipment discount rate, equipment life, number of scenarios, equipment investment information, and equipment cost information in the system equipment data:
[0207] .
[0208] in, For maintenance costs, For operating costs, Cost reduction for load:
[0209] ;
[0210] .
[0211] Among them, NS represents the number of scenes, , and Respectively represent the collection of renewable energy equipment, energy conversion equipment and energy storage equipment, Indicates the unit operating cost of the equipment, and They represent the charging power and discharging power of the energy storage device respectively. and They represent the startup cost and shutdown cost of ED respectively, and They represent the single startup cost and single shutdown cost of GT respectively. When GT starts up at time t in scene s, t means that GT is shut down at time t in scenario s. represents the unit penalty cost of reducing the electricity load, represents the unit penalty cost of reducing the heat load, represents the unit penalty cost of reducing cooling load, represents the unit penalty cost of curtailing natural gas load.
[0212] Step 304: Determine the transaction cost according to the load cost information and resource consumption cost information in the system transaction data.
[0213] Among them, the transaction cost includes the transaction cost between the integrated energy system and the power grid and the transaction cost with the natural gas grid. The transaction cost is determined based on the load cost information and resource consumption cost information as follows:
[0214] ;
[0215] .
[0216] in, represents the cost of transactions between the integrated energy system and the grid, Represents the cost of transactions between the integrated energy system and the natural gas grid. represents the electricity purchase price in time period t, represents the electricity price in time period t, represents the natural gas price in time period t, represents the price of hydrogen in time period t.
[0217] Step 305: Based on the transaction cost, the investment cost and the initial objective function of the initial planning model, determine that the objective planning function of the objective planning model is to minimize the sum of the investment cost, the maintenance cost and the transaction cost.
[0218] Specifically, the objective function is to minimize the total cost, which is the sum of investment cost, maintenance cost and transaction cost. The objective programming function of the target programming model is determined according to the objective function:
[0219] .
[0220] In this scheme, after determining the objective function of the integrated energy system, the safe operation constraints of the integrated energy system can also be determined based on historical data. The safety constraints of the integrated energy system include scenario probability constraints, capacity constraints and power constraints of the integrated energy system, storage constraints of the integrated energy system, natural gas purchase power, hydrogen ratio constraints in hydrogen-mixed natural gas, and renewable energy output ratio constraints.
[0221] The scenario probability constraint is shown in the following formula:
[0222] .
[0223] in, Represents the sum of all scenario probabilities, and the scenario probability constraint means that the sum of all scenario probabilities is 1.
[0224] The capacity constraint and power constraint of the integrated energy system are shown in the following formula:
[0225] ;
[0226] ;
[0227] .
[0228] Among them, the binary variable Indicates whether the device is installed ,when When the device is installed, indicates that the device is not installed. Indicates the capacity of the device. Indicates the maximum capacity of the device. Indicates the maximum power capacity ratio of the energy storage device.
[0229] The constraints on the storage capacity of the integrated energy system are shown in the following formula:
[0230] ;
[0231] ;
[0232] .
[0233] in, represents the energy storage capacity of the energy storage device in the scenario s during the period t, represents the self-consumption rate of the energy storage device, Indicates the loss rate of energy storage equipment when charging or discharging energy. Indicates the minimum storage energy of the energy storage device.
[0234] The purchase power of natural gas and the proportion of hydrogen in the hydrogen-mixed natural gas are shown in the following formula:
[0235] .
[0236] in, Indicates the maximum natural gas purchase power, Indicates the maximum ratio of hydrogen mixed with natural gas. and Respectively represent the lower calorific value of hydrogen and natural gas, and represent the density of hydrogen and natural gas respectively.
[0237] The renewable energy output ratio constraint is as follows:
[0238] .
[0239] in, Indicates the minimum proportion of renewable energy output to total active power output.
[0240] Step 306: Use the first variable to represent the product of the binary variable corresponding to the switch state of the electrolyzer and the binary variable corresponding to the installation status of the electrolyzer equipment; use the second variable to represent the product of the binary variable corresponding to the working state of the hydrogen storage equipment and the binary variable corresponding to the installation status of the hydrogen storage equipment; use the third variable to represent the product of the binary variable corresponding to the state of the gas turbine and the binary variable corresponding to the installation status of the gas turbine.
[0241] Specifically, there are two binary variables multiplied in the operating power constraint of the electrolyzer, the charging power constraint of the hydrogen storage device, the exhaust power constraint and the input power constraint of the gas turbine. ; The charging power constraints of hydrogen storage equipment ; The degassing power constraints of hydrogen storage equipment ; The input power constraint of the gas turbine When two binary variables are multiplied, the result is 1 only when both variables are 1, otherwise it is 0, that is, the product of binary variables is no longer in linear form. Therefore, multiplying two independent binary variables causes the problem to become a nonlinear integer programming problem, which increases the difficulty of solving it.
[0242] In this solution, in order to solve this problem, the first variable is used to represent the product of the binary variable corresponding to the switch state of the electrolyzer and the binary variable corresponding to the installation status of the electrolyzer equipment; the second variable is used to represent the product of the binary variable corresponding to the working state of the hydrogen storage equipment and the binary variable corresponding to the installation status of the hydrogen storage equipment; the third variable is used to represent the product of the binary variable corresponding to the state of the gas turbine and the binary variable corresponding to the installation status of the gas turbine, as shown in the following formula:
[0243] .
[0244] (first variable) represents the product of the binary variable corresponding to the switch state of the electrolytic cell and the binary variable corresponding to the installation status of the electrolytic cell equipment, and (Second variable) represents the product of the binary variable corresponding to the working state of the hydrogen storage device and the binary variable corresponding to the installation state of the hydrogen storage device; (Third variable) represents the product of the binary variable corresponding to the state of the gas turbine and the binary variable corresponding to the installation state of the gas turbine.
[0245] Step 307: update the operating power constraint of the electrolyzer according to the first variable, update the charging power constraint and the degassing power constraint of the hydrogen storage device according to the second variable, and update the input power constraint of the gas turbine according to the third variable.
[0246] Specifically, after determining the first variable, the second variable, and the third variable, the operating power constraint of the electrolytic cell is updated according to the first variable, and the updated operating power constraint of the electrolytic cell is obtained as follows:
[0247] .
[0248] The charging power constraint and the deflation power constraint of the hydrogen storage device are updated according to the second variable, and the updated charging power constraint and the deflation power constraint are obtained as follows:
[0249] .
[0250] The input power constraint of the gas turbine is updated according to the third variable, and the updated input power constraint of the gas turbine is obtained as follows:
[0251] .
[0252] Step 308: determine the target constraint based on the updated operating power constraint of the electrolyzer, the input power constraint of the gas turbine, the charging power constraint and the degassing power constraint of the hydrogen storage device, and determine the target programming model based on the target programming function and the target constraints.
[0253] Specifically, the target constraints include the operation constraints of the electrolyzer, the operation constraints of the hydrogen storage equipment, the system energy balance constraints of the initial planning model, the power flow constraints, the operation constraints of the cogeneration unit, the uncertain factor constraints, and the safe operation constraints of the integrated energy system. The updated operation power constraints of the electrolyzer, the input power constraints of the gas turbine, the charging power constraints and the degassing power constraints of the hydrogen storage equipment are used to replace the original corresponding constraints, and combined with the target planning function, the target planning model is obtained as follows:
[0254] .
[0255] Among them, the definition of set V is:
[0256] .
[0257] The definition of set U is:
[0258] .
[0259] gather The definition is:
[0260] .
[0261] The set Z is defined as:
[0262] .
[0263] Figure 4 This is a schematic diagram of the structure of the electric-hydrogen integrated energy system provided by the embodiment of the present invention. Figure 4 As shown, the electric-hydrogen integrated energy system includes a superior power grid and a natural gas network. Photovoltaics, wind turbines and batteries are connected to the superior power grid, which can transmit wind power. The electrolyzer is connected to the superior power grid and heat exchangers, the natural gas network, as well as the gas turbine unit and cogeneration. The gas turbine unit and cogeneration can transmit wind power and heat. The electric boiler is connected to the superior power grid and can transmit heat. The hydrogen storage tank and seasonal hydrogen storage tank are connected to the natural gas network and can transmit hydrogen. The absorption chiller is connected to the heat exchanger to absorb heat and transmit cold air. The heat storage tank is connected to the heat exchanger to transmit and absorb heat.
[0264] In this scheme, the standard IEEE The planning method of the electric-hydrogen integrated energy system was verified on the 33 distribution network. The efficiency and unit investment cost of the equipment are shown in the following table:
[0265]
[0266] The technical parameters are shown in the following table:
[0267]
[0268] In this scheme, 12 typical days are selected and evenly distributed in four seasons according to the scenario analysis method. On this basis, the conservative parameters of renewable energy are is set to 8, and its upper and lower deviation ranges are set to . Assume that in a typical day, the duration of the accident does not exceed 1 hour. On this basis, this scheme designs 3 comparative cases (Case 1, Case 2 and Case 3). Case 1 does not include the electrolyzer operation constraints and the hydrogen storage device operation constraints. Case 2 only includes the electrolyzer operation constraints. Case 3 includes both the electrolyzer operation constraints and the hydrogen storage device operation constraints. The parameter σ is set to 0.8, indicating that the proportion of power generation from WT and PV to the total power generation is Therefore, the verified electric-hydrogen integrated energy system can be called an energy supply system containing a high proportion of renewable energy.
[0269] The annual expenditures for investment costs, maintenance costs and transaction costs are shown in the following table:
[0270]
[0271] As can be seen from the table, Case 1 has the highest total cost ( ), while Case 3 has the lowest total cost ( ). It can be seen that considering the operation constraints of the electrolyzer and the hydrogen storage equipment in the robust planning of the electric-hydrogen integrated energy system can reduce the annual total cost In all cases, investment costs account for the largest proportion of total costs, far exceeding maintenance and transaction costs. For example, in Case 3, investment costs account for , maintenance costs account for , transaction costs account for . In all cases, the annual transaction cost is positive, which means that the electric-hydrogen integrated energy system purchases electricity from the grid and natural gas from the natural gas network, and the hydrogen produced by P2HH cannot fully meet the local natural gas demand under the electrolyzer operation constraint. The maintenance cost includes the operating cost and the load reduction penalty cost. The difference in operating costs among the three cases is negligible, but the load reduction penalty cost in Case 2 and Case 3 is significantly reduced with the help of the electrolyzer operation constraint and the hydrogen storage equipment operation constraint. In addition, the purchase of natural gas is significantly reduced due to the inclusion of the electrolyzer operation constraint in Case 3.
[0272] The planned installed capacity of all equipment is shown in the following table:
[0273]
[0274] Since the proportion of renewable energy output to total output is set to be greater than , so the planning results in all cases recommend installing a large number of WT and PV. When the electrolyzer operation constraints are introduced in Case 2, the planned capacity of EB and GT will decrease because P2HH bears part of the thermal load. Due to the higher hydrogen production efficiency of P2HH, the capacity of HS has also increased. In addition, due to the increase in the capacity of ED, the capacity of HS has also increased. Compared with Case 2, the addition of SHS in Case 3 leads to a decrease in the installed capacity of PV, WT, GT and HS. This means that SHS can achieve cross-seasonal hydrogen energy complementation, thereby reducing investment in renewable energy and dependence on natural gas power generation.
[0275] The technical solution of this embodiment obtains historical data of the integrated energy system. Based on historical data, electrolyzer operation constraints and hydrogen storage equipment operation constraints are constructed. Investment costs and maintenance costs are determined based on the equipment discount rate, equipment life, number of scenarios, equipment investment information and equipment cost information in the system equipment data. Transaction costs are determined based on load cost information and resource consumption cost information in the system transaction data. The target planning function of the target planning model is determined to minimize the sum of investment costs, maintenance costs and transaction costs based on transaction costs, investment costs and the initial objective function of the initial planning model. The first variable represents the product of the binary variable corresponding to the switch state of the electrolyzer and the binary variable corresponding to the installation status of the electrolyzer equipment; the second variable represents the product of the binary variable corresponding to the working state of the hydrogen storage equipment and the binary variable corresponding to the installation status of the hydrogen storage equipment; the third variable represents the product of the binary variable corresponding to the state of the gas turbine and the binary variable corresponding to the installation status of the gas turbine. Update the operating power constraint of the electrolyzer according to the first variable, update the charging power constraint and the deflation power constraint of the hydrogen storage equipment according to the second variable, and update the input power constraint of the gas turbine according to the third variable. The target constraint is determined based on the updated operating power constraint of the electrolyzer, the input power constraint of the gas turbine, the charging power constraint and the degassing power constraint of the hydrogen storage device, and the target programming model is determined based on the target programming function and the target constraint. The technical solution of this embodiment can reduce the complexity of the scale model by defining new variables and equivalent substitutions, solves the problem that multiplying two independent binary variables will lead to a more complex model, reduces the complexity of the model, and has lower requirements on hardware equipment, faster optimization and higher quality, and further improves the generation efficiency of the target programming model.
[0276] Figure 5 This is a schematic diagram of the structure of a robust planning device for an electric-hydrogen integrated energy system provided in an embodiment of the present invention. The device is suitable for executing a robust planning method for an electric-hydrogen integrated energy system provided in an embodiment of the present invention. Figure 5 As shown, the device may specifically include:
[0277] The data acquisition module 501 is used to acquire historical data of the integrated energy system;
[0278] A constraint building module 502 is used to build electrolyzer operation constraints and hydrogen storage device operation constraints based on the historical data; the electrolyzer operation constraints include temperature constraints of the electrolyzer;
[0279] The model building module 503 is used to determine the target planning model based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and a pre-established initial planning model; wherein the target planning model is used to determine the planning scheme of the hydrogen storage device of the integrated energy system; the initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints and uncertainty factor constraints.
[0280] Optionally, the model building module 503 is specifically used to: determine a hydrogen power relationship between the operating temperature of the electrolyzer and the output hydrogen power, and a thermal power relationship between the operating temperature of the electrolyzer and the output thermal power based on the output electrical power and preset linearization parameters;
[0281] Determine a time-varying equation of the working temperature of the electrolyzer according to the hydrogen power relationship, the thermal power relationship, the heat capacity, the thermal resistance and the ambient temperature, and determine a temperature constraint of the electrolyzer according to the time-varying equation of the working temperature;
[0282] The electrolyzer operating constraints are constructed based on the historical data and the temperature constraints of the electrolyzer.
[0283] Optionally, the model building module 503 is further used to: divide the difference between the current working temperature and the ambient temperature by the thermal resistance of the electrolytic cell to obtain the dissipated heat power of the heat exchanger;
[0284] Determine an expression for the operating temperature of the electrolytic cell at a next moment based on the thermal power of the electrolytic cell, the power absorbed by the heat exchanger, the dissipated thermal power, the heat capacity of the electrolytic cell, and the operating temperature at a current moment;
[0285] The time-varying equation of the working temperature of the electrolytic cell is determined according to the hydrogen power relationship equation, the heat power relationship equation, the dissipated heat power of the heat exchanger and the expression of the working temperature of the electrolytic cell at the next moment.
[0286] Optionally, the model building module 503 is further used to: determine the basic constraints of the electrolytic cell based on the historical data;
[0287] Determine the operating power constraint of the electrolytic cell according to the product of the binary variable corresponding to the switch state of the electrolytic cell and the binary variable corresponding to the installation status of the electrolytic cell equipment, the capacity of the electrolytic cell and the minimum load rate of the electrolytic cell;
[0288] The electrolytic cell operation constraint is constructed based on the temperature constraint of the electrolytic cell, the base constraint of the electrolytic cell and the operation power constraint of the electrolytic cell.
[0289] Optionally, the model building module 503 is further used to: determine a continuity state equation of the hydrogen storage capacity of the hydrogen storage device based on the historical data and a preset hydrogen storage capacity parameter, and determine the hydrogen storage capacity constraint based on the continuity state equation;
[0290] Determine the charging power constraint and the deflation power constraint according to a preset binary variable corresponding to the working state of the hydrogen storage device, a product of a binary variable corresponding to the installation condition of the hydrogen storage device, a power-to-capacity ratio of the hydrogen storage device, and a capacity of the hydrogen storage device;
[0291] The operation constraint of the hydrogen storage device is constructed based on the basic constraint of the hydrogen storage device, the hydrogen storage capacity constraint, the charging power constraint and the degassing power constraint.
[0292] Optionally, the model building module 503 is specifically used to: determine the investment cost and maintenance cost based on the equipment discount rate, equipment life, number of scenarios, equipment investment information and equipment cost information in the system equipment data;
[0293] Determining transaction costs based on load cost information and resource consumption cost information in the system transaction data;
[0294] The target programming function of the target programming model is determined based on the transaction cost, the investment cost and the initial target function of the initial programming model to minimize the sum of the investment cost, the maintenance cost and the transaction cost.
[0295] Optionally, the model building module 503 is further used to: use the first variable to represent the product of the binary variable corresponding to the switch state of the electrolyzer and the binary variable corresponding to the installation status of the electrolyzer equipment; use the second variable to represent the product of the binary variable corresponding to the working state of the hydrogen storage equipment and the binary variable corresponding to the installation status of the hydrogen storage equipment; use the third variable to represent the product of the binary variable corresponding to the state of the gas turbine and the binary variable corresponding to the installation status of the gas turbine;
[0296] updating the operating power constraint of the electrolyzer according to the first variable, updating the charging power constraint and the degassing power constraint of the hydrogen storage device according to the second variable, and updating the input power constraint of the gas turbine according to the third variable;
[0297] Determining the target constraint based on the updated operating power constraint of the electrolyzer, the input power constraint of the gas turbine, the charging power constraint and the degassing power constraint of the hydrogen storage device;
[0298] The goal programming model is determined based on the goal programming function and the goal constraint.
[0299] The robust planning device for the electric-hydrogen integrated energy system provided in the embodiment of the present invention can execute the robust planning method for the electric-hydrogen integrated energy system provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For the contents not described in detail in this embodiment, reference can be made to the description in any method embodiment of the present invention.
[0300] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, referring to Figure 6 , Figure 6 The electronic device 12 shown is only an example and should not limit the functions and scope of use of the embodiments of the present application. Figure 6 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0301] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0302] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0303] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 not shown, usually called a "hard drive"). Although Figure 6Not shown, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") and a removable non-volatile optical disk (such as a CD) may be provided. ROM, DVD In these cases, each drive can be connected to bus 18 via one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present application.
[0304] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0305] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via a bus 18. It should be understood that although Figure 6 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0306] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing a robust planning method for an electric-hydrogen integrated energy system provided in an embodiment of the present invention: acquiring historical data of the integrated energy system; constructing electrolyzer operation constraints and hydrogen storage device operation constraints based on the historical data; the electrolyzer operation constraints include the temperature constraints of the electrolyzer; determining a target planning model based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and a pre-established initial planning model; wherein the target planning model is used to determine a planning scheme for the hydrogen storage device of the integrated energy system; the initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints and uncertainty factor constraints.
[0307] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a robust planning method for an electric-hydrogen integrated energy system as provided in all the embodiments of the present invention: obtaining historical data of the integrated energy system; constructing electrolyzer operation constraints and hydrogen storage device operation constraints based on the historical data; the electrolyzer operation constraints include the temperature constraints of the electrolyzer; determining a target planning model based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and a pre-established initial planning model; wherein the target planning model is used to determine the planning scheme for the hydrogen storage device of the integrated energy system; the initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints and uncertainty constraints. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electronic device, device or device of electrical, magnetic, optical, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fibers, a portable compact disk read-only memory (CD-ROM), a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable computer disk, ... random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an erasable programmable read-only memory (EPROM or flash memory), an erasable programmable read-only memory ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction executing electronic device, apparatus or device.
[0308] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction-executing electronic device, apparatus, or device.
[0309] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0310] Computer program code for carrying out operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, , and also include conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0311] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A robust planning method for an electric-hydrogen integrated energy system. It is characterized in that The method comprises: Acquire historical data of the integrated energy system; the historical data includes the operating temperature of the electrolyzer, output hydrogen power, output thermal power, input electrical power, thermal resistance, thermal capacity and ambient temperature; Based on the historical data, construct electrolyzer operation constraints and hydrogen storage device operation constraints; the electrolyzer operation constraints include the temperature constraints of the electrolyzer; the hydrogen storage device operation constraints include the hydrogen storage state switching constraints, hydrogen storage constraints, charging power constraints and degassing power constraints of the hydrogen storage device; The temperature constraint of the electrolytic cell is determined as: ; ; Among them, the binary variable Indicates the state of the electrolytic cell. When the electrolytic cell is in the on state, When the electrolytic cell is in a shutdown state, represents the operating temperature of the electrolytic cell, and represent the lowest operating temperature and the highest operating temperature of the electrolytic cell respectively, Represents the ambient temperature at time t in scenario s, M is a preset positive integer, It means that s and t can take any value; Constructing electrolyzer operation constraints based on the historical data, including: determining a hydrogen power relationship between the operating temperature of the electrolyzer and the output hydrogen power, and a thermal power relationship between the operating temperature of the electrolyzer and the output thermal power based on the input electrical power and preset linearization parameters; The hydrogen power relationship between the operating temperature of the electrolyzer and the output hydrogen power is determined as follows: ;in, Indicates the output hydrogen power, and is the preset linearization parameter, Indicates the input electrical power, is the operating temperature of the electrolytic cell at time t; The thermal power relationship between the operating temperature and the output thermal power of the electrolytic cell is determined as follows: ;in, Represents the output thermal power, and Preset linearization parameters representing the approximate electrolyzer operating region; Determine the time-varying equation of the working temperature of the electrolyzer according to the hydrogen power relationship, the thermal power relationship, the heat capacity, the thermal resistance and the ambient temperature, and determine the temperature constraint of the electrolyzer according to the time-varying equation of the working temperature; construct the electrolyzer operation constraint based on the historical data and the temperature constraint of the electrolyzer; The electrolytic cell operation constraint also includes the basic constraint of the electrolytic cell and the operating power constraint of the electrolytic cell, the historical data includes the minimum load rate of the electrolytic cell, and the electrolytic cell operation constraint is constructed based on the historical data and the temperature constraint of the electrolytic cell, including: determining the basic constraint of the electrolytic cell based on the historical data; the basic constraint includes the on / off state constraint of the electrolytic cell, the logic constraint of the electrolytic cell executing on / off and the working state, and the fault state constraint of the electrolytic cell; The operating power constraint of the electrolytic cell is determined according to the product of the binary variable corresponding to the preset switch state of the electrolytic cell and the binary variable corresponding to the installation status of the electrolytic cell equipment, the capacity of the electrolytic cell and the minimum load rate of the electrolytic cell: ;in, Indicates the minimum load rate, a binary variable Indicates whether electrolytic cell equipment is installed. When the electrolytic cell is installed, When it is on, it means that the electrolyzer is not installed; Indicates the capacity of the electrolytic cell; The operation constraint of the electrolytic cell is constructed based on the temperature constraint of the electrolytic cell, the basic constraint of the electrolytic cell and the operation power constraint of the electrolytic cell, including: constructing the on / off state constraint of the electrolytic cell as follows: ; The logical constraints for the electrolytic cell to execute the on / off and working state are constructed as follows: ; Among them, the binary variable and Respectively indicate the start or shutdown of the electrolytic cell. When , it means that the electrolyzer is started at time t in scenario s. When , it means that the electrolyzer is shut down at time t in scenario s; Constructing the operation constraints of the hydrogen storage device includes: The inflation power constraint is determined as: , the deflation power constraint is: ; Among them, the binary variable and They represent the working status of seasonal hydrogen storage tank SHS in scenario s during period t. When When the SHS is deflated, the binary variable Indicates whether SHS is installed. represents the maximum power capacity ratio of SHS, represents the grid charging power of seasonal hydrogen storage equipment in scenario s during period t; represents the grid discharge power of seasonal hydrogen storage equipment in scenario s during period t; Indicates the capacity of SHS; The hydrogen storage capacity constraint is determined as: ; Among them, the binary variable Indicates whether SHS is installed. When SHS is installed, When it is on, it means that SHS is not installed; represents the hydrogen storage capacity of SHS in the period t in scenario s; The hydrogen storage state switching constraint is determined as: ; ; Among them, the binary variable and They represent the SHS being in the open and closed states in scenario s, respectively, and NT represents the number of scheduling time periods; The target planning model is determined based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and the pre-established initial planning model; wherein the target planning model is used to determine the planning scheme of the integrated energy system; the initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints and uncertainty factor constraints; the system energy balance constraints include electric power balance constraints, thermal power balance constraints, cold power balance constraints and hydrogen power balance constraints, and the electric power balance constraints are: ; in, and They represent the electric power purchased and sold from the power grid in the scenario s and the period t respectively. represents the power of the wind turbine in the scenario s during the period t, represents the power of photovoltaic in the scenario s during the period t, represents the electric power of the gas turbine unit GT in the period t in scenario s, represents the power consumed by the electric boiler EB in the scenario s during the period t, They represent the battery BT charging / discharging power in the scenario s during the period t, represents the electric power consumed by the electrolyzer ED during the period t in scenario s, represents the total power load in the scenario s during the period t, represents the curtailable load of electricity in the scenario s during the period t; The thermal power balance constraint is: ; in, represents the thermal power of GT in the scenario s during the period t, represents the thermal power produced by ED recovered by the heat exchanger HE during period t in scenario s, represents the efficiency of EB, represents the charging power of the heat storage tank TS in the scenario s during the period t, represents the heat release power of TS in the scenario s during the period t, represents the thermal power absorbed by the absorption refrigerator AC in the scenario s during the period t, represents the total thermal load in the scenario s during the period t; The cooling power balance constraint is: ; represents the efficiency of AC, represents the total cooling load in time period t in scenario s, represents the curtailable load of cooling force in time period t in scenario s; The hydrogen balance power constraint is: ; represents the hydrogen power produced in time period t in scenario s, represents the hydrogen filling power of the hydrogen storage tank HS in the scenario s during the period t, represents the HS hydrogen discharge power in the scenario s during the period t, represents the SHS hydrogen charging power in the scenario s during the period t, represents the SHS hydrogen discharge power in the scenario s during the period t, represents the hydrogen power consumed by the gas turbine during period t in scenario s; represents the total natural gas load in the scenario s during the period t, represents the curtailable load of natural gas in time period t in scenario s; The power flow constraints include line flow constraints, active power balance of each node, reactive power balance of each node, voltage amplitude constraints, and logical constraints of the interaction between the integrated energy system and the power grid. The line flow constraints are calculated as shown in the following formula: ; in, and They represent the square of the voltage amplitude on buses n and m in time period t in scenario s, respectively; represents the resistance on the line nm, represents the reactance on line nm; represents the active power flow on line nm in time period t in scenario s; represents the reactive power flow on line nm in time period t in scenario s; the set Bus represents the set of power grid buses, and Bus(n) represents the set of buses connected to power grid bus n; The active power balance of each node is: ; in, Represents the active output of the grid self-provided generator on bus n in scenario s during period t; binary variable Indicates whether there is an electric-hydrogen integrated energy system on bus n. When , it means that there is an electric-hydrogen integrated energy system on bus n; when When , it means that there is no electric-hydrogen integrated energy system on bus n; represents the active load on bus n during period t in scenario s; The reactive power balance of each node is: ; represents the reactive power flow on line nm in time period t in scenario s, Represents the reactive power output of the self-provided generator on bus n in scenario s during period t; binary variable Indicates whether there is an electric-hydrogen integrated energy system on bus n; represents the reactive load on bus n during period t in scenario s; represents the reactive power output of the electric-hydrogen integrated energy system in the scenario s during the period t; The voltage amplitude constraint is: ; in, Indicates the maximum value of the voltage amplitude, Indicates the minimum value of voltage amplitude; represents the square of the voltage amplitude on bus m during time period t in scenario s; The line power flow constraint is: ; represents the maximum apparent power on line nm, j is an integer between [1,4]; The logical constraints of the interaction between the integrated energy system and the power grid are: ; Among them, the binary variable and Indicates the interaction state between the electric-hydrogen integrated energy system and the power grid in scenario s during period t. When the electric-hydrogen integrated energy system purchases electricity from the grid, When it means the electric-hydrogen integrated energy system sells electricity to the grid; It represents the maximum power of the interaction between the electric-hydrogen integrated energy system and the power grid; The cogeneration unit operation constraints include: the relationship between the input and output power of the GT, the input power constraint of the GT, the minimum startup time constraint and the minimum shutdown time constraint of the GT, the on / off state constraint of the GT, the on / off number constraint of the GT, and the fault state constraint of the GT; the input power constraint of the GT is: ; in, Indicates the minimum load power of GT; binary variable Indicates the on / off state of GT in the scenario s during the period t. GT is in the power-on state. GT is in shutdown state; binary variable Indicates whether to install GT. When GT is installed, It means not to install GT. Indicates the capacity of GT; The minimum startup time constraint of GT is: ; in, Indicates the minimum running time of GT; binary variable and Respectively represent the start and shutdown actions of the electrolytic cell. When GT starts up at time t in scene s, t means that GT is shut down at time t in scenario s; The minimum shutdown time constraint of GT is: ; in, Indicates the minimum shutdown time of GT, and NT indicates the number of scheduling time periods; The GT power-on and power-off state constraints ensure that the GT cannot be powered on and off at the same time, as shown in the following two formulas: ; ; The power on / off times of GT are constrained as follows: ; in, Indicates the maximum number of GT startup and shutdown times; The fault state constraint of GT means that when GT is in the fault state, GT cannot be in the power-on state, specifically: ; Among them, the binary variable Used to indicate whether the GT is in a fault state. When , it means that GT is in fault state. When , it means that GT is in normal state; binary variable Indicates the on / off status of GT in the scenario s during the period t; The uncertainty factor constraints include constructing an uncertain set of renewable energy and load, and The uncertain set of accident constraints; the construction of the uncertain set of renewable energy is: ; Represents the uncertain set of renewable energy sources; the actual output of renewable energy By predicted rating , predicted upward offset and the predicted downward offset Composition; binary variables and They are used to indicate whether the actual output is offset downward or upward; the parameters Used to adjust the conservativeness of the uncertainty set of renewable energy; the actual value of the load By predicted rating Predicted upward offset and the predicted downward offset composition; The load uncertainty set is constructed as: ; represents the load uncertainty set, parameter Used to adjust the conservativeness of the load uncertainty set; Build The uncertain set of accident constraints is: ; in, express Uncertain set of accident constraints; parameters For adjustment Conservative degree of the accident constraint uncertainty set, binary variable Used to indicate whether the electrolyzer is in a fault state; The historical data also includes system equipment data and system transaction data of the integrated energy system. The target planning model includes a target function and a target constraint of the target function. The target planning model is determined based on the electrolyzer operation constraint, the hydrogen storage device operation constraint and a pre-established initial planning model, including: The investment cost is determined based on the equipment discount rate, equipment life, number of scenarios, equipment investment information and equipment cost information in the system equipment data as follows: ;in, represents the investment cost, represents the discount rate, NL represents the equipment life, , and Respectively represent the collection of renewable energy equipment, energy conversion equipment and energy storage equipment; Represents the unit investment cost of the equipment, a binary variable Indicates whether the device is installed , Cap represents the equipment capacity; Determine the maintenance cost as: ;in, For maintenance costs, For running costs, Cost reduction for load; The transaction cost is determined based on the load cost information and resource consumption cost information in the system transaction data as follows: ; ; where ND represents the number of days in a year, NS is the number of scenes, represents the cost of transactions between the integrated energy system and the grid, represents the cost of transactions between the integrated energy system and the gas grid; represents the electricity purchase price in time period t, represents the electricity price in time period t, represents the natural gas price in time period t, represents the price of hydrogen, Indicates the natural gas power, Indicates hydrogen power; represents the probability of scene s appearing; Indicates the scheduling time interval; The target programming function of the target programming model is determined based on the transaction cost, the investment cost and the initial target function of the initial programming model to minimize the sum of the investment cost, the maintenance cost and the transaction cost.
2. The robust planning method for the electric-hydrogen integrated energy system according to claim 1, It is characterized in that The time-varying equation of the working temperature of the electrolyzer is determined according to the hydrogen power relationship, the heat power relationship, the heat capacity, the thermal resistance and the ambient temperature, including: Divide the difference between the current working temperature and the ambient temperature by the thermal resistance of the electrolytic cell to obtain the dissipated heat power of the heat exchanger; The expression for determining the working temperature of the electrolytic cell at the next moment based on the thermal power of the electrolytic cell, the power absorbed by the heat exchanger, the dissipated heat power, the heat capacity of the electrolytic cell and the working temperature at the current moment is: ;in, Indicates the scheduling time interval, is the heat capacity of the electrolytic cell, Represents the output thermal power, represents the thermal power absorbed by the heat exchanger HE, Indicates the heat dissipation of the heat exchanger. represents the operating temperature of the electrolyzer at time t in scenario s, Indicates the electrolyzer under scenario s Working temperature at all times; According to the hydrogen power relationship, the heat power relationship, the heat dissipation power of the heat exchanger and the expression of the working temperature of the electrolyzer at the next moment, the time variation equation of the working temperature of the electrolyzer is determined as follows: ;in, Indicates the scheduling time interval, is the heat capacity of the electrolytic cell, represents the thermal resistance of the electrolytic cell, Represents the output thermal power, represents the thermal power absorbed by HE, Indicates the heat dissipation of the heat exchanger. represents the operating temperature of the electrolyzer at time t in scenario s, Indicates the electrolyzer under scenario s Working temperature at all times, Indicates the ambient temperature at time t in scenario s.
3. The robust planning method for the electric-hydrogen integrated energy system according to claim 1, It is characterized in that The cogeneration unit operation constraint includes an input power constraint of a gas turbine, and the input power constraint of the gas turbine is composed of the product of a binary variable corresponding to the state of the gas turbine and a binary variable corresponding to the installation state of the gas turbine, and the minimum load power of the gas turbine and the capacity of the gas turbine; determining a target planning model based on the electrolyzer operation constraint, the hydrogen storage device operation constraint and a pre-established initial planning model, including: The first variable represents the product of the binary variable corresponding to the switch state of the electrolyzer and the binary variable corresponding to the installation state of the electrolyzer equipment; the second variable represents the product of the binary variable corresponding to the working state of the hydrogen storage equipment and the binary variable corresponding to the installation state of the hydrogen storage equipment; the third variable represents the product of the binary variable corresponding to the state of the gas turbine and the binary variable corresponding to the installation state of the gas turbine; updating the operating power constraint of the electrolyzer according to the first variable, updating the charging power constraint and the degassing power constraint of the hydrogen storage device according to the second variable, and updating the input power constraint of the gas turbine according to the third variable; Determining the target constraint based on the updated operating power constraint of the electrolyzer, the input power constraint of the gas turbine, the charging power constraint and the degassing power constraint of the hydrogen storage device; The goal programming model is determined based on the goal programming function and the goal constraint.
4. A robust planning device for an electric-hydrogen integrated energy system, It is characterized in that include: A data acquisition module is used to acquire historical data of the integrated energy system; the historical data includes the operating temperature of the electrolyzer, output hydrogen power, output thermal power, input electrical power, thermal resistance, thermal capacity and ambient temperature; A constraint construction module, for constructing electrolyzer operation constraints and hydrogen storage device operation constraints based on the historical data; the electrolyzer operation constraints include the temperature constraints of the electrolyzer; the hydrogen storage device operation constraints include the hydrogen storage state switching constraints, hydrogen storage constraints, charging power constraints and degassing power constraints of the hydrogen storage device; The temperature constraint of the electrolytic cell is determined as: ; ; Among them, the binary variable Indicates the state of the electrolytic cell. When the electrolytic cell is in the on state, When the electrolytic cell is in a shutdown state, represents the operating temperature of the electrolytic cell, and represent the lowest operating temperature and the highest operating temperature of the electrolytic cell respectively, Represents the ambient temperature at time t in scenario s, M is a preset positive integer, It means that s and t can take any value; Constructing electrolyzer operation constraints based on the historical data, including: determining a hydrogen power relationship between the operating temperature of the electrolyzer and the output hydrogen power, and a thermal power relationship between the operating temperature of the electrolyzer and the output thermal power based on the input electrical power and preset linearization parameters; The hydrogen power relationship between the operating temperature of the electrolyzer and the output hydrogen power is determined as follows: ;in, Indicates the output hydrogen power, and is the preset linearization parameter, Indicates the input electrical power, is the operating temperature of the electrolytic cell at time t; The thermal power relationship between the operating temperature and the output thermal power of the electrolytic cell is determined as follows: ;in, Represents the output thermal power, and Preset linearization parameters representing the approximate electrolyzer operating region; Determine the time-varying equation of the working temperature of the electrolyzer according to the hydrogen power relationship, the thermal power relationship, the heat capacity, the thermal resistance and the ambient temperature, and determine the temperature constraint of the electrolyzer according to the time-varying equation of the working temperature; construct the electrolyzer operation constraint based on the historical data and the temperature constraint of the electrolyzer; The electrolytic cell operation constraint also includes the basic constraint of the electrolytic cell and the operating power constraint of the electrolytic cell, the historical data includes the minimum load rate of the electrolytic cell, and the electrolytic cell operation constraint is constructed based on the historical data and the temperature constraint of the electrolytic cell, including: determining the basic constraint of the electrolytic cell based on the historical data; the basic constraint includes the on / off state constraint of the electrolytic cell, the logic constraint of the electrolytic cell executing on / off and the working state, and the fault state constraint of the electrolytic cell; The operating power constraint of the electrolytic cell is determined according to the product of the binary variable corresponding to the preset switch state of the electrolytic cell and the binary variable corresponding to the installation status of the electrolytic cell equipment, the capacity of the electrolytic cell and the minimum load rate of the electrolytic cell: ;in, Indicates the minimum load rate, a binary variable Indicates whether electrolytic cell equipment is installed. When the electrolytic cell is installed, When it is on, it means that the electrolyzer is not installed; Indicates the capacity of the electrolytic cell; The operation constraint of the electrolytic cell is constructed based on the temperature constraint of the electrolytic cell, the basic constraint of the electrolytic cell and the operation power constraint of the electrolytic cell, including: constructing the on / off state constraint of the electrolytic cell as follows: ; The logical constraints for the electrolytic cell to execute the on / off and working state are constructed as follows: ; Among them, the binary variable and Respectively indicate the start or shutdown of the electrolytic cell. When , it means that the electrolyzer is started at time t in scenario s. When , it means that the electrolyzer is shut down at time t in scenario s; Constructing the operation constraints of the hydrogen storage device includes: The inflation power constraint is determined as: , the deflation power constraint is: ; Among them, the binary variable and They represent the working status of seasonal hydrogen storage tank SHS in scenario s during period t. When When the SHS is deflated, the binary variable Indicates whether SHS is installed. represents the maximum power capacity ratio of SHS, represents the grid charging power of seasonal hydrogen storage equipment in scenario s during period t; represents the grid discharge power of seasonal hydrogen storage equipment in scenario s during period t; Indicates the capacity of SHS; The hydrogen storage capacity constraint is determined as: ; Among them, the binary variable Indicates whether SHS is installed. When SHS is installed, When it is on, it means that SHS is not installed; represents the hydrogen storage capacity of SHS in the period t in scenario s; The hydrogen storage state switching constraint is determined as: ; ; Among them, the binary variable and They represent the SHS being in the open and closed states in scenario s, respectively, and NT represents the number of scheduling time periods; A model building module is used to determine a target planning model based on the electrolyzer operation constraints, the hydrogen storage device operation constraints and a pre-established initial planning model; wherein the target planning model is used to determine the planning scheme of the integrated energy system; the initial planning model includes system energy balance constraints, power flow constraints, cogeneration unit operation constraints and uncertainty factor constraints; the system energy balance constraints include electric power balance constraints, thermal power balance constraints, cold power balance constraints and hydrogen power balance constraints, and the electric power balance constraints are: ; in, and They represent the electric power purchased and sold from the power grid in the scenario s and the period t respectively. represents the power of the wind turbine in the scenario s during the period t, represents the power of photovoltaic in the scenario s during the period t, represents the electric power of the gas turbine unit GT in the period t in scenario s, represents the power consumed by the electric boiler EB in the scenario s during the period t, They represent the battery BT charging / discharging power in the scenario s during the period t, represents the electric power consumed by the electrolyzer ED during the period t in scenario s, represents the total power load in the scenario s during the period t, represents the curtailable load of electricity in the scenario s during the period t; The thermal power balance constraint is: ; in, represents the thermal power of GT in the scenario s during the period t, represents the thermal power produced by ED recovered by the heat exchanger HE during period t in scenario s, represents the efficiency of EB, represents the charging power of the heat storage tank TS in the scenario s during the period t, represents the heat release power of TS in the scenario s during the period t, represents the thermal power absorbed by the absorption refrigerator AC in the scenario s during the period t, represents the total thermal load in the scenario s during the period t; The cooling power balance constraint is: ; represents the efficiency of AC, represents the total cooling load in time period t in scenario s, represents the curtailable load of cooling force in time period t in scenario s; The hydrogen balance power constraint is: ; represents the hydrogen power produced in time period t in scenario s, represents the hydrogen filling power of the hydrogen storage tank HS in the scenario s during the period t, represents the HS hydrogen discharge power in the scenario s during the period t, represents the SHS hydrogen charging power in the scenario s during the period t, represents the SHS hydrogen discharge power in the scenario s during the period t, represents the hydrogen power consumed by the gas turbine during period t in scenario s; represents the total natural gas load in the scenario s during the period t, represents the curtailable load of natural gas in time period t in scenario s; The power flow constraints include line flow constraints, active power balance of each node, reactive power balance of each node, voltage amplitude constraints, and logical constraints of the interaction between the integrated energy system and the power grid. The line flow constraints are calculated as shown in the following formula: ; in, and They represent the square of the voltage amplitude on buses n and m in time period t in scenario s, respectively; represents the resistance on the line nm, represents the reactance on line nm; represents the active power flow on line nm in time period t in scenario s; represents the reactive power flow on line nm in time period t in scenario s; the set Bus represents the set of power grid buses, and Bus(n) represents the set of buses connected to power grid bus n; The active power balance of each node is: ; in, Represents the active output of the grid self-provided generator on bus n in scenario s during period t; binary variable Indicates whether there is an electric-hydrogen integrated energy system on bus n. When , it means that there is an electric-hydrogen integrated energy system on bus n; when When , it means that there is no electric-hydrogen integrated energy system on bus n; represents the active load on bus n during period t in scenario s; The reactive power balance of each node is: ; represents the reactive power flow on line nm in time period t in scenario s, Represents the reactive power output of the self-provided generator on bus n in scenario s during period t; binary variable Indicates whether there is an electric-hydrogen integrated energy system on bus n; represents the reactive load on bus n during period t in scenario s; represents the reactive power output of the electric-hydrogen integrated energy system in the scenario s during the period t; The voltage amplitude constraint is: ; in, Indicates the maximum value of the voltage amplitude, Indicates the minimum value of voltage amplitude; represents the square of the voltage amplitude on bus m during time period t in scenario s; The line power flow constraint is: ; represents the maximum apparent power on line nm, j is an integer between [1,4]; The logical constraints of the interaction between the integrated energy system and the power grid are: ; Among them, the binary variable and Indicates the interaction state between the electric-hydrogen integrated energy system and the power grid in scenario s during period t. When the electric-hydrogen integrated energy system purchases electricity from the grid, When it means the electric-hydrogen integrated energy system sells electricity to the grid; It represents the maximum power of the interaction between the electric-hydrogen integrated energy system and the power grid; The cogeneration unit operation constraints include: the relationship between the input and output power of the GT, the input power constraint of the GT, the minimum startup time constraint and the minimum shutdown time constraint of the GT, the on / off state constraint of the GT, the on / off number constraint of the GT, and the fault state constraint of the GT; the input power constraint of the GT is: ; in, Indicates the minimum load power of GT; binary variable Indicates the on / off state of GT in the scenario s during the period t. GT is in the power-on state. GT is in shutdown state; binary variable Indicates whether to install GT. When GT is installed, It means not to install GT. Indicates the capacity of GT; The minimum startup time constraint of GT is: ; in, Indicates the minimum running time of GT; binary variable and Respectively represent the start and shutdown actions of the electrolytic cell. When GT starts up at time t in scene s, t means that GT is shut down at time t in scenario s; The minimum shutdown time constraint of GT is: ; in, Indicates the minimum shutdown time of GT, and NT indicates the number of scheduling time periods; The GT power-on and power-off state constraints ensure that the GT cannot be powered on and off at the same time, as shown in the following two formulas: ; ; The power on / off times of GT are constrained as follows: ; in, Indicates the maximum number of GT startup and shutdown times; The fault state constraint of GT means that when GT is in the fault state, GT cannot be in the power-on state, specifically: ; Among them, the binary variable Used to indicate whether the GT is in a fault state. When , it means that GT is in fault state. When , it means that GT is in normal state; binary variable Indicates the on / off status of GT in the scenario s during the period t; The uncertainty factor constraints include constructing an uncertain set of renewable energy and load, and The uncertain set of accident constraints; the construction of the uncertain set of renewable energy is: ; Represents the uncertain set of renewable energy sources; the actual output of renewable energy By predicted rating , predicted upward offset and the predicted downward offset Composition; binary variables and They are used to indicate whether the actual output is offset downward or upward; the parameters Used to adjust the conservativeness of the uncertainty set of renewable energy; the actual value of the load By predicted rating Predicted upward offset and the predicted downward offset composition; The load uncertainty set is constructed as: ; represents the load uncertainty set, parameter Used to adjust the conservativeness of the load uncertainty set; Build The uncertain set of accident constraints is: ; in, express Uncertain set of accident constraints; parameters For adjustment Conservative degree of the accident constraint uncertainty set, binary variable Used to indicate whether the electrolyzer is in a fault state; The historical data also includes system equipment data and system transaction data of the integrated energy system. The target planning model includes a target function and a target constraint of the target function. The target planning model is determined based on the electrolyzer operation constraint, the hydrogen storage device operation constraint and a pre-established initial planning model, including: The investment cost is determined based on the equipment discount rate, equipment life, number of scenarios, equipment investment information and equipment cost information in the system equipment data as follows: ;in, represents the investment cost, represents the discount rate, NL represents the equipment life, , and Respectively represent the collection of renewable energy equipment, energy conversion equipment and energy storage equipment; Represents the unit investment cost of the equipment, a binary variable Indicates whether the device is installed , Cap represents the equipment capacity; Determine the maintenance cost as: ;in, For maintenance costs, For running costs, Cost reduction for load; The transaction cost is determined based on the load cost information and resource consumption cost information in the system transaction data as follows: ; ; where ND represents the number of days in a year, NS is the number of scenes, represents the cost of transactions between the integrated energy system and the grid, represents the cost of transactions between the integrated energy system and the gas grid; represents the electricity purchase price in time period t, represents the electricity price in time period t, represents the natural gas price in time period t, represents the price of hydrogen, Indicates the natural gas power, Indicates hydrogen power; represents the probability of scene s appearing; Indicates the scheduling time interval; The target programming function of the target programming model is determined based on the transaction cost, the investment cost and the initial target function of the initial programming model to minimize the sum of the investment cost, the maintenance cost and the transaction cost.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, it implements the robust planning method for the electric-hydrogen integrated energy system as described in any one of claims 1 to 3.
6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, it implements the robust planning method for the electric-hydrogen integrated energy system as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Electric hydrogen comprehensive energy system considering seasonal hydrogen storage and robust planning method thereof
CN111144620A
Optimized capacity configuration method for hydrogen production and storage device of hydrogen-doped natural gas comprehensive energy system
CN112736939A
Offshore electricity-hydrogen system capacity planning method considering uncertain faults
CN117200265A
Random model predictive control method and equipment for optical hydrogen storage integrated system
CN117977645A
Planning method for electricity-heat-hydrogen multi-energy flow energy supply device in net-zero energy consumption building
WO2023178715A1
