A Coordinated Planning Method for Hydrogen Conversion and Energy Storage Facilities in New Energy Power Grids Based on Flexibility Margin Compensation
By modeling the state of hydrogen energy storage and calculating the flexibility margin, the electrolyzer, hydrogen storage tank and fuel cell facilities are planned in a coordinated manner, which solves the coupling problem of hydrogen conversion and energy storage facilities in the new energy grid, and improves the new energy absorption capacity and system flexibility.
Patent Information
- Application Number
- CN202611233424.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-14
- Publication Date
- 2026-11-17
AI Technical Summary
Existing new energy power grid planning methods fail to effectively consider the coupling relationship between hydrogen conversion and energy storage facilities, resulting in insufficient new energy absorption capacity and system flexibility, making it unable to adapt to the growing demand for new forms of hydrogen load.
By establishing a state model for electro-hydrogen energy storage, calculating flexibility margins, and performing complementary and coordinated optimization, the capacity configuration of electrolyzers, hydrogen storage tanks, fuel cells, and electro-energy storage facilities is determined, thereby achieving coordinated planning of electro-hydrogen conversion and energy storage facilities.
It has improved the capacity for renewable energy absorption, reduced system operating costs, and enhanced the reliability and sustainability of the power supply structure.
Smart Images

Figure CN123121831A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of new energy power grid planning and energy storage configuration technology, and in particular to a method for coordinated planning of new energy power grid hydrogen conversion and energy storage facility capacity based on flexibility margin compensation. Background Technology
[0002] With the continuous increase in installed capacity of new energy power generation, the proportion of renewable energy sources such as wind power and photovoltaics in the power system is constantly increasing. New energy output is characterized by randomness, volatility, and intermittency. Under conditions of high-proportion new energy integration, mismatches in time scale and spatial distribution between power generation and load demand can easily occur, leading to problems such as wind and solar curtailment, load shedding, and insufficient system flexibility. How to comprehensively consider the fluctuations in new energy output, the growth of new load types, the regulation capacity of electrical energy storage, and the long-term regulation capacity of hydrogen energy storage during the new energy grid planning stage has become a key issue in improving the absorption capacity of new energy and the reliability of grid operation.
[0003] Electro-hydrogen conversion and energy storage facilities can convert surplus renewable energy electricity into hydrogen through electrolyzers and store it for extended periods using hydrogen storage tanks. When the system's power supply is insufficient or the load is growing rapidly, fuel cells can be used to reverse the process from hydrogen to electricity. Compared to single-energy storage, hydrogen storage offers advantages such as longer storage periods, greater capacity scalability, and stronger cross-energy conversion capabilities, providing flexibility compensation for renewable energy grids. However, existing planning methods often focus on power generation capacity, grid construction, or single energy storage capacity configuration, failing to adequately consider the coupling relationship between electrical load, hydrogen load, renewable energy output, and the capacity of electro-hydrogen conversion and energy storage facilities. This makes it difficult to accurately reflect the correlation between system flexibility deficits and facility capacity configuration.
[0004] Meanwhile, new forms of hydrogen load, such as industrial hydrogen, transportation hydrogen, and municipal heating hydrogen, are gradually increasing, making the load structure of the renewable energy power grid more complex. If hydrogen load growth, hydrogen-to-electricity conversion capacity, hydrogen storage capacity, and the flexibility margin of the renewable energy system are not considered simultaneously during the planning stage, it may lead to unreasonable capacity configuration of electrolyzers, hydrogen storage tanks, fuel cells, and energy storage facilities, thereby affecting the renewable energy absorption effect and system economics. Therefore, it is necessary to propose a collaborative planning method for the capacity of hydrogen-to-electricity conversion and energy storage facilities in the renewable energy power grid based on flexibility margin compensation. Summary of the Invention
[0005] This invention provides a new energy power grid capacity coordination planning method for electricity-hydrogen conversion and energy storage facilities based on flexibility margin compensation. It aims to improve the new energy power grid's ability to absorb renewable energy sources such as wind power and photovoltaics, taking into account the uncertainty of new load growth and the randomness of both source and load sides, and overcoming the shortcomings of existing technologies where the planning of electricity storage, hydrogen storage and energy conversion facilities are mutually isolated. This method first uses the state of charge of the battery, the hydrogen storage capacity and hydrogen storage level obtained from the electro-hydrogen energy storage state model as the state boundary for subsequent electrolytic hydrogen production, hydrogen storage and fuel cell power generation. Then, the hydrogen production capacity of the electrolyzer, the discharge power of the fuel cell and the hydrogen consumption obtained from the electrolytic hydrogen production and fuel cell energy conversion are used as the input for the energy balance of the hydrogen energy storage system. Next, the available hydrogen storage capacity, hydrogen supply capacity and hydrogen storage capacity constraints of the hydrogen storage tank obtained from the energy balance of the hydrogen energy storage system are used as the adjustment resource boundary for the upward and downward flexibility margin of the calculation system. Then, the flexibility deficit obtained from the flexibility margin calculation of the new energy grid is used as the compensation demand for the complementary coordination optimization of electro-hydrogen energy storage. Finally, the electrolyzer operating power, fuel cell output, hydrogen storage tank charging and discharging capacity and electric energy storage charging and discharging state obtained from the complementary coordination optimization of electro-hydrogen energy storage are used as the capacity configuration basis for the capacity collaborative planning of electro-hydrogen conversion and energy storage facilities. Finally, the planned capacity of electrolyzer, hydrogen storage tank, fuel cell, electric energy storage and related energy conversion facilities is obtained.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: This invention provides a method for coordinated planning of hydrogen-electric conversion and energy storage facility capacity in new energy power grids based on flexibility margin compensation, the method comprising: An operational status model for hydrogen energy storage is established, which includes a battery state-of-charge model and a hydrogen storage tank state-of-charge model. The battery state-of-charge model is used to calculate the battery state-of-charge for each period within the planning period, and the hydrogen storage capacity and level of the hydrogen storage tank are calculated using the hydrogen storage tank state-of-charge model for each period within the planning period. Using the battery's state of charge, the hydrogen storage tank's hydrogen capacity, and the hydrogen storage level as state boundaries, an electrolysis hydrogen production and fuel cell energy conversion model is established; the electrolysis hydrogen production, input electrolysis cell power, fuel cell discharge power, and fuel cell hydrogen consumption are calculated for each time period using the electrolysis hydrogen production and fuel cell energy conversion model. Using the hydrogen production capacity of the electrolyzer and the hydrogen consumption of the fuel cell as inputs, an energy balance model for the hydrogen storage system is established; the remaining hydrogen volume, refillable hydrogen space, and hydrogen release capacity of the hydrogen storage tank at each time period are calculated using the energy balance model of the hydrogen storage system. Using the battery's state of charge, hydrogen storage capacity in the hydrogen tank, input electrolyzer power, fuel cell discharge power, remaining hydrogen in the hydrogen tank, available hydrogen recharge space, and available hydrogen release capacity as the flexibility adjustment resource boundaries, a new energy power grid flexibility margin calculation model is established. In this model, the upward and downward flexibility supply are determined based on the conventional power supply regulation capacity, the battery's maximum rechargeable and dischargeable power, the fuel cell's available power generation capacity, and the electrolyzer's available absorption capacity. The upward and downward flexibility demand are determined based on the load forecast deviation and the new energy output forecast deviation. The difference between the flexibility supply and demand in the same direction is taken as the flexibility margin, and the absolute value of the negative flexibility margin is taken as the upward and downward flexibility deficits. Using the aforementioned upward and downward flexibility deficits as compensation requirements, a complementary coordination optimization model for electro-hydrogen energy storage is established. This model uses the constraint that the sum of the battery discharge power and the fuel cell discharge power must be greater than or equal to the upward flexibility deficit as the upward flexibility deficit compensation constraint, and the constraint that the sum of the battery charging power and the electrolyzer hydrogen production power must be greater than or equal to the downward flexibility deficit as the downward flexibility deficit compensation constraint. The optimization objective is to minimize the sum of the operating costs of the energy conversion unit, the operating costs of the energy storage unit, and the system interaction costs. Under the mandatory constraints of the upward and downward flexibility deficit compensation constraints, the electro-hydrogen energy storage complementary coordination optimization model is solved with the optimization objective as the guide, yielding the electrolyzer operating power, hydrogen storage tank charging / discharging volume, fuel cell output, and electro-energy storage charging / discharging state for each time period. The operating power of the electrolyzer, the hydrogen charge / discharge of the hydrogen storage tank, the output of the fuel cell, and the charge / discharge state of the energy storage are converted into capacity configuration boundaries to establish a capacity collaborative planning model for electro-hydrogen conversion and energy storage facilities. In this model, the maximum operating power of the electrolyzer in each time period is used as the lower limit constraint for the electrolyzer capacity, the maximum output of the fuel cell in each time period is used as the lower limit constraint for the fuel cell capacity, the maximum hydrogen storage capacity of the hydrogen storage tank in each time period is used as the lower limit constraint for the hydrogen storage tank capacity, the maximum charge / discharge power of the battery in each time period is used as the lower limit constraint for the battery power capacity, and the difference between the maximum and minimum battery energy storage within the planning period is used as the lower limit constraint for the battery energy capacity. The solution is performed with the objective of minimizing the sum of the investment cost of new renewable energy, the cost of line loss, and the construction cost of energy storage facilities, resulting in the planned capacity of the electrolyzer, the planned capacity of the fuel cell, the planned capacity of the hydrogen storage tank, the planned power capacity of the battery, and the planned energy capacity of the battery.
[0007] Furthermore, the battery state-of-charge model is as follows: (1) In the formula, for tThe battery's state of charge at all times, with a value ranging from 0 to 1; This represents the number of batteries connected in series in the battery pack. This represents the number of batteries connected in parallel within the battery pack. This refers to the rated capacity of a single battery cell. for The battery current is constantly monitored, with positive for discharging and negative for charging. For integration time; The methods for calculating the hydrogen storage capacity and level of a hydrogen storage tank using the hydrogen storage state model include: Calculate any Δ using the following formula. t Hydrogen storage capacity of time-limited hydrogen storage tank: (2) In the formula, for t Hydrogen storage capacity of the hydrogen storage tank at time 0; for t Hydrogen storage capacity in the hydrogen storage tank at time 0+Δt; The rate of change of hydrogen gas at the inlet of the hydrogen storage tank; The rate of change of hydrogen gas at the outlet of the hydrogen storage tank; The hydrogen storage level is calculated using the following formula: (3) In the formula, This represents the maximum hydrogen storage capacity of the hydrogen storage tank. for t The hydrogen storage capacity of the hydrogen storage tank at any time; for t The hydrogen storage level of the hydrogen storage tank at all times.
[0008] Furthermore, after calculating the hydrogen storage capacity and level of the hydrogen storage tank for each period within the planning cycle using the hydrogen storage tank state model, the method further includes: Calculate the maximum discharge power and maximum recharge power of the battery based on the battery's state of charge: The formula for calculating the maximum discharge power of the battery is as follows: (4) In the formula, for t The maximum discharge power of the battery at any given time; This refers to the rated discharge power of the battery. This is the minimum state of charge of the battery; This refers to the rated capacity of the battery. The battery discharge efficiency is denoted by ; min is the minimum value function. The formula for calculating the maximum rechargeable power of the battery is as follows: (5) In the formula, for t The maximum rechargeable power of the battery at all times; The rated charging power of the battery; This represents the upper limit of the battery's state of charge. To improve battery charging efficiency.
[0009] Furthermore, the methods for calculating the hydrogen production rate of the electrolyzer, the input power of the electrolyzer, the discharge power of the fuel cell, and the hydrogen consumption of the fuel cell at different time periods using the aforementioned electrolysis hydrogen production and fuel cell energy conversion model include: When the output of new energy sources exceeds the demand for electricity, the surplus power from these sources is used as the power input to the electrolyzer, and the amount of hydrogen produced by water electrolysis is calculated using the following formula: (6) Due to the rated power limitation of the electrolytic cell, the power input to the electrolytic cell must meet the following requirements: (7) In the formula, The amount of hydrogen produced by the electrolyzer; The power input to the electrolytic cell; This refers to the calorific value of hydrogen. For electrolytic cell efficiency; This refers to the rated power of the electrolytic cell; For time intervals; When the output of new energy sources is insufficient, the discharge power of the fuel cell can be calculated using the following formula: (8) Limited by the rated power of the fuel cell, the discharge power of the fuel cell must meet the following requirements: (9) In the formula, This refers to the discharge power of the fuel cell; The amount of hydrogen input to the fuel cell; For fuel cell power generation efficiency; This refers to the rated power of the fuel cell.
[0010] Furthermore, the methods for calculating the remaining hydrogen volume, available hydrogen refill space, and available hydrogen release capacity of the hydrogen storage tank at various times using the energy balance model of the hydrogen storage system include: The hydrogen energy balance constraint of the hydrogen energy storage system is defined as follows: (10) (11) (12) In the formula, and They are respectively t Time and t +1 indicates the amount of hydrogen in the hydrogen storage tank; for t The amount of hydrogen supplied to the hydrogen refueling station by the hydrogen energy storage system at all times; This refers to the rated capacity of the hydrogen storage tank. and These are the maximum and minimum hydrogen storage capacity coefficients of the hydrogen storage tank, respectively. and These represent the amount of hydrogen at the beginning and end of the hydrogen storage tank scheduling cycle, respectively. Based on the hydrogen energy balance constraint of the hydrogen energy storage system, the amount of hydrogen in the hydrogen storage tank at each moment within the planning period is recursively determined, and the amount of hydrogen in the hydrogen storage tank at the current moment is taken as the remaining amount of hydrogen in the hydrogen storage tank. Based on the remaining hydrogen in the hydrogen storage tank, the maximum allowable hydrogen storage capacity of the hydrogen storage tank is subtracted from the remaining hydrogen in the hydrogen storage tank to obtain the hydrogen refillable space at the current moment; the remaining hydrogen in the hydrogen storage tank is subtracted from the minimum allowable hydrogen storage capacity of the hydrogen storage tank to obtain the amount of hydrogen in the hydrogen storage tank that can be used for fuel cell power generation at the current moment, and the usable power generation capacity of the fuel cell is calculated based on the amount of hydrogen that can be used for fuel cell power generation, which is taken as the hydrogen release capacity at the current moment.
[0011] Furthermore, after calculating the remaining hydrogen volume, available hydrogen refill space, and available hydrogen release capacity of the hydrogen storage tank at each time point using the energy balance model of the hydrogen storage system, the method further includes: Based on the rated power of the fuel cell and the current available hydrogen quantity in the hydrogen storage tank, calculate the available power generation capacity of the fuel cell: (13) In the formula, for t The available power generation capacity of fuel cells at all times; Based on the rated power of the electrolyzer and the remaining hydrogen-fillable space in the hydrogen storage tank, calculate the available absorption capacity of the electrolyzer: (14) In the formula, for t The available absorption capacity of the electrolytic cell at any given time.
[0012] Furthermore, based on the conventional power supply regulation capability, the maximum charge / discharge power of the battery, the available power generation capacity of the fuel cell, and the available absorption capacity of the electrolyzer, the upward and downward flexibility supply are determined using the following formula: (15) (16) In the formula, for t The system provides upward flexibility in its supply chain. This is the upward adjustment capability of a conventional power supply; for t The system provides flexible supply to users from the ground up. This is the downward adjustment capability of a conventional power supply; Based on load forecasting deviations and renewable energy output forecasting deviations, the upward and downward flexibility requirements are determined using the following formulas: (17) (18) In the formula, for t The system's need for upward flexibility; This represents the positive load forecast deviation. This indicates a negative prediction bias for new energy sources. for t Downward flexibility requirements of the real-time system; This represents a positive prediction bias for new energy sources; This represents the negative forecast deviation of the load. The difference between the supply and demand for flexibility in the same direction is taken as the flexibility margin. The upward flexibility margin and the downward flexibility margin are expressed as follows: (19) (20) In the formula, for t The system has an upward flexibility margin. for t Downward flexibility margin of the time system.
[0013] Furthermore, the absolute value of the flexibility margin when it is negative is taken as the flexibility deficit, and the upward flexibility deficit and downward flexibility deficit are expressed as follows: (twenty one) (twenty two) In the formula, for t The system lacks upward flexibility. for t The system lacks flexibility in terms of downtime.
[0014] Furthermore, the upward flexibility deficit compensation constraint of the aforementioned complementary coordination optimization model for electricity and hydrogen storage is expressed as follows: (twenty three) In the formula, for t The actual discharge power of the battery at any given time; for t Real-time actual discharge power of fuel cell; The downward flexibility deficit compensation constraint is expressed as: (twenty four) In the formula, for t Real-time battery charging power; for t The actual hydrogen production power of the electrolyzer is constantly input; The optimization objective of the complementary and coordinated optimization model of the electric-hydrogen energy storage is expressed as: (25) In the formula, The total operating cost of the new energy power grid; for t The operating cost of the energy conversion unit at any given time; for t Operating costs of energy storage units at any time; for t Real-time system interaction costs.
[0015] Furthermore, the capacity collaborative planning model for the electro-hydrogen conversion and energy storage facilities includes constraints on the capacity configuration of the electrolyzer, the capacity configuration of the fuel cell, the capacity configuration of the hydrogen storage tank, the power capacity configuration of the battery, the energy capacity configuration of the battery, and the collaborative planning objective. The electrolytic cell capacity configuration constraint is expressed as follows: (26) In the formula, Plan the capacity of the electrolyzer; This represents the maximum operating power of the electrolytic cell within the planning period. The fuel cell capacity configuration constraint is expressed as follows: (27) In the formula, Planning capacity for fuel cells; The maximum discharge power of the fuel cell within the planning period; The hydrogen storage tank capacity configuration constraint is expressed as follows: (28) In the formula, Plan the capacity of the hydrogen storage tank; This represents the maximum hydrogen storage demand for the hydrogen storage tanks within the planning period. The battery power capacity configuration constraint is expressed as follows: (29) In the formula, Plan the power capacity of the battery; The actual charging power of the battery at time t; Let t be the actual discharge power of the battery at time t; The battery energy capacity configuration constraint is expressed as follows: (30) In the formula, Plan the energy capacity for the storage battery; for t The battery stores energy at all times; and These represent the maximum and minimum battery energy storage capacity during the planning period, respectively. The collaborative planning objective of the electro-hydrogen conversion and energy storage facility capacity collaborative planning model is expressed as: (31) In the formula, The total investment cost; Cost of investment in renewable energy; The unit price of electricity; For the line l exist t The loss of time; 0-1 variables represent nodes i Should a new energy storage system be built? The cost per unit of energy storage capacity; For nodes i New energy storage system capacity; The investment cost of the renewable energy source is expressed as follows: (32) In the formula, The unit installation cost of new renewable energy sources; The unit operating and maintenance cost of new renewable energy sources; For geographic grids x The newly added renewable energy capacity; For geographic grids x The capacity of renewable energy already connected to the grid; x For geographic grid numbers.
[0016] The new energy power grid hydrogen-electric conversion and energy storage facility capacity collaborative planning method based on flexibility margin compensation provided by this invention has at least the following beneficial effects: This invention provides the operational boundaries of electric and hydrogen energy storage through state modeling of electric and hydrogen energy storage. After the energy conversion from electrolysis to hydrogen production and fuel cells, and the energy balance of the hydrogen energy storage system are transferred layer by layer, the conventional power supply regulation capacity, the charge and discharge power of the battery, the available power generation capacity of the fuel cell, and the available absorption capacity of the electrolyzer are incorporated into the flexibility supply. The load forecast deviation and the new energy output forecast deviation are incorporated into the flexibility demand. The upward and downward flexibility margins for each time period are calculated and the deficit is identified. This is then used as a compensation constraint for the complementary and coordinated optimization of electric and hydrogen energy storage. Finally, the coordinated and optimized operating power and energy storage demand for each time period are transformed into the basis for capacity configuration. Thus, by uniformly considering electric energy storage, hydrogen storage, electrolysis to hydrogen production, fuel cell power generation, new load growth, and the flexibility demand of the new energy grid, the invention improves the new energy absorption capacity, reduces system operating costs, improves the power structure, and enhances the reliability and sustainability of the planning scheme. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0018] Figure 1 A flowchart of a new energy power grid hydrogen-electric conversion and energy storage facility capacity collaborative planning method based on flexibility margin compensation is provided for an embodiment of the present invention. Figure 2 This is a graph showing the predicted results of industrial hydrogen load provided in an embodiment of the present invention. Figure 3 This is a prediction result diagram of industrial hydrogen load provided in an embodiment of the present invention; Figure 4 This is a graph showing the predicted hydrogen load for transportation provided in an embodiment of the present invention. Figure 5 A graph showing the predicted hydrogen load for municipal heating provided in an embodiment of the present invention; Figure 6 The wind power output curve and hydrogen charging / discharging power curve provided for embodiments of the present invention; wherein, (a) wind power output curve; (b) hydrogen charging / discharging power curve; Figure 7 This is a sensitivity analysis chart of wind power penetration provided in an embodiment of the present invention; Figure 8 The diagram shows the power planning results under different hydrogen load requirements provided in the embodiments of the present invention.
[0019] The accompanying drawings have illustrated specific embodiments of the invention, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the invention in any way, but rather to illustrate the concept of the invention to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0020] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0021] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present invention will now be described with reference to the accompanying drawings.
[0022] Example 1: This invention provides a method for coordinated planning of hydrogen-electric conversion and energy storage facility capacity in new energy power grids based on flexibility margin compensation, such as... Figure 1 As shown, the method includes the following steps S10-S60.
[0023] S10: Establish an operational status model for hydrogen energy storage, which includes a battery state-of-charge model and a hydrogen storage tank state-of-charge model. Calculate the battery state-of-charge for each period within the planning period using the battery state-of-charge model, and calculate the hydrogen storage capacity and level of the hydrogen storage tank for each period within the planning period using the hydrogen storage tank state-of-charge model.
[0024] In some implementations, to address the need for flexible regulation of electrical and hydrogen storage in new energy power grids, a battery state-of-charge (POC) model and a hydrogen storage tank state-of-charge (SOC) model are established to describe the changes in the operating state of electrical and hydrogen storage within the planning period. The battery POC model is expressed as follows: (1) In the formula, for t The battery's state of charge at all times, with a value ranging from 0 to 1; This represents the number of batteries connected in series in the battery pack. This represents the number of batteries connected in parallel within the battery pack. This refers to the rated capacity of a single battery cell. for The battery current is constantly monitored, with discharge being positive and charging being negative. This is the time variable for integration.
[0025] any Δ t The hydrogen storage capacity of the time-limited hydrogen storage tank is: (2) Hydrogen storage level is expressed as: (3) In the formula, for t Hydrogen storage capacity of the hydrogen storage tank at time 0; for t Hydrogen storage capacity in the hydrogen storage tank at time 0+Δt; The rate of change of hydrogen gas at the inlet of the hydrogen storage tank; The rate of change of hydrogen gas at the outlet of the hydrogen storage tank; This represents the maximum hydrogen storage capacity of the hydrogen storage tank. for t The hydrogen storage capacity of the hydrogen storage tank at any time; for t The hydrogen storage level of the hydrogen storage tank at all times.
[0026] By using equations (1) to (3), the real-time integral of the battery current is converted into the percentage of state of charge. The difference between the rate of change of hydrogen gas at the inlet and outlet of the hydrogen storage tank is integrated over time and superimposed with the initial hydrogen storage amount to obtain the hydrogen storage amount at the current moment, thereby determining the available capacity of electrical energy storage and hydrogen energy storage in each time period.
[0027] The maximum discharge power of a battery is expressed as: (4) In the formula, for t The maximum discharge power of the battery at any given time; This refers to the rated discharge power of the battery. This is the minimum state of charge of the battery; This refers to the rated capacity of the battery. denoted as , where is the battery discharge efficiency; min is the minimum value function.
[0028] The maximum rechargeable power of a battery is expressed as: (5) In the formula, for t The maximum rechargeable power of the battery at all times; The rated charging power of the battery; This represents the upper limit of the battery's state of charge. To improve battery charging efficiency.
[0029] In equations (4) and (5) above, the maximum discharge power of the battery is determined by the smaller of the battery's rated discharge power and the power value of the current releaseable quantity (the difference between the current state of charge and the lower limit multiplied by the rated capacity and then by the discharge efficiency) per unit time. Similarly, the maximum chargeable power of the battery is determined by the smaller of the battery's rated charging power and the power value of the current absorbable quantity (the difference between the upper limit and the current state of charge multiplied by the rated capacity and then divided by the charging efficiency) per unit time. This processing method ensures that the charging and discharging power of the energy storage does not exceed the rated power limit of the equipment itself, nor does it exceed the energy availability or acceptability boundary determined by the current state of charge, thus avoiding infeasible dispatch instructions caused by capacity constraints or energy constraints.
[0030] By using equations (1) to (5), the state of charge of the battery, the amount of hydrogen stored in the hydrogen storage tank and the level of hydrogen storage are obtained for each period within the planning cycle. These are used as state constraints for the feasible range of hydrogen production power of the electrolyzer and discharge power of the fuel cell in step S20, and as the initial state and capacity boundary for updating the hydrogen balance of the hydrogen storage tank in step S30.
[0031] S20: Using the battery's state of charge, the hydrogen storage capacity of the hydrogen storage tank, and the hydrogen storage level as state boundaries, establish an electrolysis hydrogen production and fuel cell energy conversion model; use the electrolysis hydrogen production and fuel cell energy conversion model to calculate the electrolyzer's hydrogen production, input electrolyzer power, fuel cell discharge power, and fuel cell hydrogen consumption at each time period.
[0032] In some implementations, when the output of new energy sources exceeds the electricity load demand, the surplus electricity is fed into the electrolyzer to produce hydrogen; when the output of new energy sources is insufficient, hydrogen energy is converted into electrical energy through a fuel cell. The amount of hydrogen produced by electrolyzing water can be expressed as: (6) (7) In the formula, The amount of hydrogen produced by the electrolyzer; The power input to the electrolytic cell; This refers to the calorific value of hydrogen. For electrolytic cell efficiency; This refers to the rated power of the electrolytic cell; For time intervals.
[0033] When the system's power is insufficient, the output of the hydrogen energy storage system can be expressed as: (8) (9) In the formula, This refers to the discharge power of the fuel cell; The amount of hydrogen input to the fuel cell; For fuel cell power generation efficiency; This refers to the rated power of the fuel cell.
[0034] Using equations (6) to (9), the hydrogen production of the electrolyzer, the input power of the electrolyzer, the discharge power of the fuel cell, and the hydrogen consumption of the fuel cell are obtained for each time period. Among them, the hydrogen production of the electrolyzer is used as the increase in hydrogen in the hydrogen storage tank in step S30, the hydrogen consumption of the fuel cell is used as the decrease in hydrogen in the hydrogen storage tank in step S30, the discharge power of the fuel cell is used as a component of the upward flexibility supply calculated in step S40, and the input power of the electrolyzer is used as a component of the downward flexibility supply calculated in step S40.
[0035] S30: Using the hydrogen production capacity of the electrolyzer and the hydrogen consumption of the fuel cell as inputs, establish an energy balance model for the hydrogen storage system; use the energy balance model for the hydrogen storage system to calculate the remaining hydrogen in the hydrogen storage tank, the available hydrogen refill space, and the hydrogen release capacity at each time period.
[0036] In some implementations, the hydrogen energy storage system produces hydrogen through water electrolysis and stores the hydrogen in a hydrogen storage tank. The hydrogen in the storage tank can be used to power fuel cells or supplied to hydrogen refueling stations. The hydrogen energy balance constraint of the hydrogen energy storage system can be expressed as: (10) (11) (12) In the formula, This refers to the amount of hydrogen in the hydrogen storage tank. The amount of hydrogen supplied to the hydrogen refueling station for the hydrogen energy storage system; This refers to the rated capacity of the hydrogen storage tank. and These are the maximum and minimum hydrogen storage capacity coefficients of the hydrogen storage tank, respectively. and These represent the amount of hydrogen at the beginning and end of the hydrogen storage tank scheduling cycle, respectively.
[0037] Based on the hydrogen energy balance constraint of the hydrogen energy storage system, the amount of hydrogen in the hydrogen storage tank at each moment within the planning period is recursively determined, and the amount of hydrogen in the hydrogen storage tank at the current moment is taken as the remaining amount of hydrogen in the hydrogen storage tank.
[0038] Based on the remaining hydrogen in the hydrogen storage tank, the maximum allowable hydrogen storage capacity of the hydrogen storage tank is subtracted from the remaining hydrogen in the hydrogen storage tank to obtain the hydrogen refillable space at the current moment; the remaining hydrogen in the hydrogen storage tank is subtracted from the minimum allowable hydrogen storage capacity of the hydrogen storage tank to obtain the amount of hydrogen in the hydrogen storage tank that can be used for fuel cell power generation at the current moment, and the usable power generation capacity of the fuel cell is calculated based on the amount of hydrogen that can be used for fuel cell power generation, which is taken as the hydrogen release capacity at the current moment.
[0039] Calculate the available power generation capacity of the fuel cell based on its rated power and the current amount of hydrogen available in the hydrogen storage tank: (13) In the formula, for t The available power generation capacity of a fuel cell at any given time is determined by both the rated power of the fuel cell and the current amount of hydrogen available in the hydrogen storage tank.
[0040] Calculate the available absorption capacity of the electrolyzer based on its rated power and the remaining hydrogen storage space in the hydrogen storage tank: (14) In the formula, for t The available absorption capacity of an electrolyzer at any given time is determined by the rated power of the electrolyzer and the remaining hydrogen-fillable space in the hydrogen storage tank.
[0041] Equations (10) to (14) are used to obtain the remaining hydrogen volume, hydrogen refill space, and hydrogen release capacity of the hydrogen storage tank at each time period, and these are used as the calculation boundaries for the upward and downward flexibility supply capacity of hydrogen energy storage in step S40. When the remaining hydrogen volume in the hydrogen storage tank is high, the fuel cell can provide upward flexibility compensation; when the remaining capacity of the hydrogen storage tank is large, the electrolyzer can absorb surplus new energy output and provide downward flexibility compensation.
[0042] S40: Using the state of charge of the battery, the hydrogen storage capacity of the hydrogen storage tank, the power input to the electrolyzer, the discharge power of the fuel cell, the remaining hydrogen in the hydrogen storage tank, the hydrogen refill space, and the hydrogen release capacity as the flexibility adjustment resource boundary, a new energy power grid flexibility margin calculation model is established; the upward flexibility deficit and downward flexibility deficit are calculated using the new energy power grid flexibility margin calculation model.
[0043] In this embodiment, in the new energy grid flexibility margin calculation model, the upward flexibility supply and downward flexibility supply are determined based on the conventional power supply regulation capacity, the maximum chargeable and dischargeable power of the battery, the available power generation capacity of the fuel cell, and the available absorption capacity of the electrolyzer. The upward flexibility demand and downward flexibility demand are determined based on the load forecast deviation and the new energy output forecast deviation. The difference between the flexibility supply and demand in the same direction is taken as the flexibility margin, and the absolute value when the flexibility margin is negative is taken as the upward flexibility deficit and downward flexibility deficit.
[0044] In some implementations, based on the battery state of charge, hydrogen storage capacity in the hydrogen tank, hydrogen production power of the electrolyzer, fuel cell discharge power, and hydrogen storage energy balance results obtained in steps S10 to S30, the upward and downward flexibility of the renewable energy grid at each time period is calculated. Specifically, the battery state of charge is used to determine the rechargeable and dischargeable capacity of the energy storage system; the hydrogen storage capacity in the hydrogen tank is used to determine the fuel cell's power generation capacity; the remaining capacity of the hydrogen tank is used to determine the electrolyzer's capacity to absorb surplus renewable energy; and the rated power of the electrolyzer and the rated power of the fuel cell are used to limit the maximum adjustment boundary of the hydrogen-to-electricity conversion facility.
[0045] Upward flexibility supply is expressed as: (15) In the formula, for t The system provides upward flexibility in its supply chain. This is the upward adjustment capability of a conventional power supply; This is the maximum discharge power of the battery. This refers to the available power generation capacity of fuel cells.
[0046] Downward flexibility supply is expressed as: (16) In the formula, for t The system provides flexible supply to users from the ground up. This is the downward adjustment capability of a conventional power supply; This is the maximum rechargeable power of the battery. This refers to the available absorption capacity of the electrolytic cell.
[0047] The upward flexibility requirement is expressed as: (17) In the formula, for t The system's need for upward flexibility; This refers to the positive load forecast deviation, which is the power deficit that occurs when the load is higher than the forecast value. This refers to the negative prediction bias of new energy sources, which is the power deficit that occurs when the output of new energy sources is lower than the predicted value. RE It indicates renewable energy.
[0048] Downward flexibility requirements are expressed as: (18) In the formula, for t Downward flexibility requirements of the real-time system; This refers to the positive prediction deviation of new energy sources, which is the surplus power generated when the output of new energy sources exceeds the predicted value. This refers to the negative load forecast deviation, which is the surplus power generated when the load is lower than the forecast value. The upward flexibility margin is expressed as: (19) In the formula, for t The system has an upward flexibility margin.
[0049] Downward flexibility margin is expressed as: (20) In the formula, for t Downward flexibility margin of the time system.
[0050] The upward flexibility deficit is represented as: (twenty one) In the formula, for t The system lacks flexibility in real-time updates. When the value is less than 0, it indicates that the system lacks upward flexibility and needs to be compensated by the discharge of electrical energy storage and the power generation of fuel cells.
[0051] Downward flexibility deficit is represented as: (twenty two) In the formula, for t The system lacks downward flexibility at any given moment. When the value is less than 0, it indicates that the system lacks downward flexibility and needs to absorb the excess new energy output through electric energy storage charging and electrolyzer hydrogen production.
[0052] Using equations (15) to (22), the electrical energy storage state obtained in step S10, the electro-hydrogen conversion power obtained in step S20, and the available capacity of the hydrogen storage tank obtained in step S30 are all incorporated into the flexibility margin calculation process. and This serves as a compensation requirement for the complementary coordination optimization in step S50.
[0053] S50: Using the upward and downward flexibility deficits as compensation requirements, establish a complementary and coordinated optimization model for electric hydrogen and energy storage; based on the complementary and coordinated optimization model for electric hydrogen and energy storage, obtain the electrolyzer operating power, hydrogen storage tank charging and discharging amount, fuel cell output, and electric energy storage charging and discharging status for each time period.
[0054] In this embodiment, the complementary coordination optimization model of electric hydrogen and energy storage uses the sum of the battery discharge power and the fuel cell discharge power being greater than or equal to the upward flexibility deficit as the upward flexibility deficit compensation constraint, and the sum of the battery charging power and the electrolyzer hydrogen production power being greater than or equal to the downward flexibility deficit as the downward flexibility deficit compensation constraint. The optimization objective is to minimize the sum of the operating cost of the energy conversion unit, the operating cost of the energy storage unit, and the system interaction cost. Under the mandatory constraints of the upward and downward flexibility deficit compensation constraints, the complementary coordination optimization model of electric hydrogen and energy storage is solved with the optimization objective as the guide, and the operating power of the electrolyzer, the hydrogen charging and discharging amount of the hydrogen storage tank, the output of the fuel cell, and the charging and discharging state of the electric energy storage are obtained for each time period.
[0055] In some implementations, after obtaining the upward and downward flexibility deficits in step S40, a complementary and coordinated optimization model for electric and hydrogen energy storage is established to enable electric energy storage, fuel cells, electrolyzers, and hydrogen storage tanks to work together to meet the system flexibility compensation requirements and reduce system operating costs while meeting operational constraints.
[0056] The upward flexibility deficit compensation constraint is expressed as: (twenty three) In the formula, for t The actual discharge power of the battery at any given time; for t The actual discharge power of the fuel cell at any given time. This formula represents the combined compensation of battery discharge and fuel cell power generation for the lack of upward flexibility.
[0057] The downward flexibility deficit compensation constraint is expressed as: (twenty four) In the formula, for t Real-time battery charging power; for t The actual hydrogen production power of the electrolyzer is input at all times. This formula indicates that battery charging and electrolyzer hydrogen production jointly absorb excess renewable energy output to compensate for the lack of downstream flexibility.
[0058] The objective of complementary and coordinated optimization of electricity, hydrogen, and energy storage is expressed as: (25) In the formula, The total operating cost of the new energy power grid; for t The operating cost of the energy conversion unit at any given time; for t Operating costs of energy storage units at any time; for t Real-time system interaction costs.
[0059] Equations (23) to (25) are used to transform the flexibility deficit obtained in step S40 into operational constraints for the electrolyzer, energy storage and fuel cell, and to obtain the electrolyzer operating power, hydrogen storage tank charging and discharging amount, fuel cell output and energy storage charging and discharging status for each time period. The above operational results are used as the input for capacity collaborative planning in step S60.
[0060] S60: The operating power of the electrolyzer, the hydrogen charge and discharge of the hydrogen storage tank, the output of the fuel cell, and the charge and discharge state of the electric energy storage are converted into capacity configuration boundaries to establish a capacity collaborative planning model for electro-hydrogen conversion and energy storage facilities; based on the capacity collaborative planning model for electro-hydrogen conversion and energy storage facilities, the planned capacity of the electrolyzer, the planned capacity of the fuel cell, the planned capacity of the hydrogen storage tank, the planned power capacity of the battery, and the planned energy capacity of the battery are obtained.
[0061] In this embodiment, in the collaborative planning model for the capacity of the electro-hydrogen conversion and energy storage facilities, the maximum operating power of the electrolyzer in each time period is used as the lower limit constraint for the electrolyzer capacity, the maximum output power of the fuel cell in each time period is used as the lower limit constraint for the fuel cell capacity, the maximum hydrogen storage capacity of the hydrogen storage tank in each time period is used as the lower limit constraint for the hydrogen storage tank capacity, the maximum charging and discharging power of the battery in each time period is used as the lower limit constraint for the battery power capacity, and the difference between the maximum and minimum energy storage capacity of the battery within the planning period is used as the lower limit constraint for the battery energy capacity. The solution is performed with the objective of minimizing the sum of the investment cost of new renewable energy, the cost of line loss, and the construction cost of energy storage facilities, thereby obtaining the planned capacity of the electrolyzer, the planned capacity of the fuel cell, the planned capacity of the hydrogen storage tank, the planned power capacity of the battery, and the planned energy capacity of the battery.
[0062] In some implementations, after obtaining the operational results of the electrolyzer, fuel cell, hydrogen storage tank, and energy storage for each time period in step S50, the maximum power demand and maximum energy storage demand during operation are converted into planning capacity boundaries, and a collaborative planning model for the capacity of the hydrogen-to-electric conversion and energy storage facilities is established. This collaborative planning model for the capacity of the hydrogen-to-electric conversion and energy storage facilities includes electrolyzer capacity configuration constraints, fuel cell capacity configuration constraints, hydrogen storage tank capacity configuration constraints, battery power capacity configuration constraints, battery energy capacity configuration constraints, and collaborative planning objectives.
[0063] The capacity configuration constraints for electrolytic cells are expressed as follows: (26) In the formula, Plan the capacity of the electrolyzer; This represents the maximum operating power of the electrolyzer during the planning period. This formula indicates that the planned capacity of the electrolyzer should not be less than the maximum hydrogen production power requirement obtained in step 5.
[0064] The fuel cell capacity configuration constraint is expressed as follows: (27) In the formula, Planning capacity for fuel cells; This represents the maximum discharge power of the fuel cell within the planning period. This formula indicates that the planned fuel cell capacity should not be less than the maximum fuel cell output demand obtained in step S50.
[0065] The capacity configuration constraints for hydrogen storage tanks are expressed as follows: (28) In the formula, Plan the capacity of the hydrogen storage tank; This represents the maximum hydrogen storage demand of the hydrogen storage tank during the planning period. This formula indicates that the planned capacity of the hydrogen storage tank should not be less than the maximum hydrogen storage demand corresponding to the results of step S50.
[0066] Battery power capacity configuration constraints are expressed as follows: (29) In the formula, Plan the power capacity of the battery; The actual charging power of the battery at time t; Let t be the actual discharge power of the battery at time t. This formula indicates that the battery's power capacity should not be less than the maximum charge / discharge power requirement within the planned cycle.
[0067] Battery energy capacity configuration constraints are expressed as follows: (30) In the formula, Plan the energy capacity for the storage battery; for t The battery stores energy at all times; and These represent the maximum and minimum battery energy storage values within the planning period, respectively. This formula indicates that the battery energy capacity should meet the maximum energy change demand within the planning period.
[0068] The planning objectives for the coordinated capacity of hydrogen-electric conversion and energy storage facilities are expressed as follows: (31) In the formula, The total investment cost; Cost of investment in renewable energy; The unit price of electricity; For the line l exist t The loss of time; 0-1 variables represent nodes i Should a new energy storage system be built? The cost per unit of energy storage capacity; For nodesi New energy storage system capacity.
[0069] The cost of renewable energy investment is expressed as follows: (32) In the formula, The unit installation cost of new renewable energy sources; The unit operating and maintenance cost of new renewable energy sources; For geographic grids x The newly added renewable energy capacity; For geographic grids x The capacity of renewable energy already connected to the grid; x For geographic grid numbers.
[0070] Through equations (26) to (32), the operating power and energy storage demand obtained in step S50 are transformed into capacity configuration boundaries for electrolyzers, fuel cells, hydrogen storage tanks and batteries, and a capacity coordination planning scheme for new energy grid hydrogen-electric conversion and energy storage facilities is obtained under the goal of minimizing annual investment costs.
[0071] Steps S10 to S60 are used to integrate the operating status of electric energy storage, the operating status of hydrogen energy storage, hydrogen production by electrolysis, fuel cell power generation, hydrogen energy storage energy balance, system flexibility margin compensation, and facility capacity collaborative planning into the new energy grid planning process, resulting in a new energy grid hydrogen-electric conversion and energy storage facility capacity collaborative planning scheme.
[0072] Example 2: This invention provides a method for coordinated planning of hydrogen-electric conversion and energy storage facility capacity in a new energy power grid based on flexibility margin compensation, comprising the following steps: Step 1: Establish an operating state model based on the parameters of the electric energy storage and hydrogen energy storage equipment to obtain the battery state of charge, hydrogen storage capacity and hydrogen storage level of the hydrogen storage tank, and use them as the state boundary for subsequent electric-hydrogen conversion and hydrogen storage balance. Step 2: Under the state boundary obtained in Step 1, establish an electrolysis hydrogen production and fuel cell conversion model, and calculate the hydrogen production of the electrolyzer, the discharge power of the fuel cell, and the hydrogen consumption at each time period. Step 3: Substitute the hydrogen production and consumption obtained in Step 2 into the hydrogen balance relationship of the hydrogen storage tank to update the hydrogen storage capacity, available hydrogen filling space and available hydrogen release capacity for each time period. Step 4: Based on the adjustable capacity of electric energy storage, the available capacity of hydrogen storage tank, the absorption capacity of electrolyzer and the power generation capacity of fuel cell obtained in Steps 1 to 3, calculate the upward and downward flexibility margins of the new energy grid and identify the flexibility deficit. Step 5: Using the flexibility deficit obtained in Step 4 as the compensation requirement, establish a complementary and coordinated optimization model for electricity and hydrogen storage to obtain the operating results that meet the requirements of electricity load, hydrogen load and flexibility compensation. Step 6: Convert the electrolyzer operating power, maximum hydrogen storage demand of the hydrogen storage tank, maximum discharge power of the fuel cell, and maximum charge and discharge demand of the electric energy storage obtained in Step 5 into capacity configuration boundaries, establish a capacity collaborative planning model for electro-hydrogen conversion and energy storage facilities, and determine the planned capacity of the electrolyzer, hydrogen storage tank, fuel cell, electric energy storage and related facilities.
[0073] It should be noted that the purpose of this embodiment is to verify the effectiveness of the method of the present invention. Steps S10 to S60 in Embodiment 2 correspond one-to-one with those in Embodiment 1, that is, step 1 corresponds to S10, step 2 corresponds to S20, and so on up to step 6 corresponding to S60. Since the principles, model construction process and parameter definitions of both are the same, the same content will not be repeated in Embodiment 2. Only the input data, comparative experimental settings and corresponding planning results used in this embodiment are given in detail to verify the effectiveness and technical effect of the method of the present invention in specific scenarios.
[0074] This embodiment selects a provincial-level new energy power grid as the case study. The input parameters include wind power output, photovoltaic power output, electrical load, industrial hydrogen load, transportation hydrogen load, municipal heating hydrogen load, power plant construction cost, electrolyzer capacity parameters, hydrogen storage tank capacity parameters, fuel cell parameters, and power grid operation constraint parameters. Based on the above input data, the following models are established sequentially: an electro-hydrogen storage operation status model, an electrolysis hydrogen production and fuel cell conversion model, a hydrogen storage system energy balance model, a new energy power grid flexibility margin calculation model, an electro-hydrogen storage complementary coordination optimization model, and an electro-hydrogen conversion and energy storage facility capacity collaborative planning model. The results of the new energy power grid electro-hydrogen conversion and energy storage facility capacity collaborative planning are obtained.
[0075] Step 1: Modeling method for the operating status of hydrogen-electric energy storage.
[0076] First, to address the need for coordinated operation of electric energy storage and hydrogen energy storage in new energy power grids, a battery state-of-charge (POC) model and a hydrogen storage tank state-of-charge (SOC) model are established. The battery POC model is used to calculate the available capacity of electric energy storage at different time periods, and the hydrogen storage tank SOC model is used to calculate the available hydrogen storage level at different time periods. Since the charging and discharging process of hydrogen energy storage is closely related to hydrogen load demand, it is necessary to first obtain the development trends of different types of hydrogen load when modeling the state of electric-hydrogen energy storage.
[0077] Figure 2 and Figure 3 The figures are the predicted results for industrial hydrogen load 1 and industrial hydrogen load 2, respectively. Figure 4 The results of the hydrogen load forecast for transportation are as follows. Figure 5 This is the predicted hydrogen load for municipal heating. (Source: [Insert Source Here]) Figures 2-5 It is evident that different types of hydrogen loads differ in their growth rate, trend, and scale of hydrogen consumption. Therefore, when calculating the hydrogen storage capacity of hydrogen storage tanks, industrial hydrogen, transportation hydrogen, and municipal heating hydrogen are considered as the demand inputs for the hydrogen energy storage system, enabling the configuration of hydrogen storage tank capacity to reflect the growth characteristics of various new types of loads.
[0078] Step 1 yields the battery's state of charge, the hydrogen storage capacity of the hydrogen storage tank, and the hydrogen storage level, providing state variables for subsequent hydrogen electrolysis production, fuel cell power generation, and hydrogen energy storage capacity configuration.
[0079] Step 2: Modeling method for electrolytic hydrogen production and fuel cell conversion.
[0080] Based on the operational status of electrical and hydrogen energy storage obtained in step 1, a model for electrolytic hydrogen production and fuel cell conversion is further established. When the output of new energy sources such as wind power and photovoltaics exceeds the system's energy demand, the surplus new energy power is input into the electrolyzer to produce hydrogen, and the produced hydrogen is stored in a hydrogen storage tank. When the output of new energy sources is insufficient or the system's energy supply pressure increases, the hydrogen in the hydrogen storage tank is used to generate electricity in the fuel cell, thereby realizing bidirectional conversion between electrical energy and hydrogen energy.
[0081] Figure 6 This is a graph showing the wind power output curve and the hydrogen charging / discharging power curve. (From...) Figure 6 It can be seen that when wind power output is high, the electrolyzer absorbs excess wind power and increases hydrogen production capacity, while the hydrogen storage tank is in a hydrogen-filling state; when wind power output is low, hydrogen production decreases, and the hydrogen storage tank releases hydrogen to meet hydrogen load demand or support fuel cell power generation. This process demonstrates that the electrolyzer and hydrogen storage tank can achieve energy transfer under fluctuating wind power output conditions, and the fuel cell can provide reverse power supply capability when the system power is insufficient.
[0082] Step 2 yields the input power of the electrolyzer, the amount of hydrogen produced by electrolysis, the discharge power of the fuel cell, and the hydrogen consumption of the fuel cell, providing a basis for calculations of the energy balance constraints of the subsequent hydrogen energy storage system.
[0083] Step 3: Energy balance constraint method for hydrogen energy storage system.
[0084] After obtaining the hydrogen production rate by electrolysis and the hydrogen consumption rate by the fuel cell in step 2, an energy balance constraint for the hydrogen storage system is established. The hydrogen storage system produces hydrogen through water electrolysis and stores the hydrogen in a hydrogen storage tank. The hydrogen in the storage tank can be fed into the fuel cell for power generation, or supplied to hydrogen refueling stations or other hydrogen loads. Therefore, the amount of hydrogen in the storage tank at any given time is jointly determined by the hydrogen storage amount in the previous time period, the hydrogen production rate by the electrolyzer, the hydrogen consumption rate by the fuel cell, and the hydrogen consumption rate by external hydrogen loads.
[0085] In this embodiment, Figures 2-5The predicted results for industrial hydrogen, transportation hydrogen, and municipal heating hydrogen are used as inputs for hydrogen load demand. Figure 6 The hydrogen charging and discharging power is used as the basis for verifying the operation of hydrogen energy storage, and upper and lower limits of hydrogen storage tank capacity and consistency of hydrogen storage at the beginning and end of the scheduling cycle are established. Through this step, it is ensured that the processes of hydrogen production, hydrogen storage, hydrogen use and fuel cell power generation remain in balance within the same planning cycle, avoiding problems such as insufficient hydrogen storage tank capacity or excessive hydrogen storage capacity redundancy.
[0086] Step 4: Calculation method for flexibility margin of new energy power grid.
[0087] Based on steps 1 to 3, the system's flexibility supply and demand are calculated according to the output of new energy sources, load forecasts, and the operating status of electrical energy storage and hydrogen energy storage. The system flexibility margin is the difference between the flexibility supply and demand in the same direction during the same time period. When the upward flexibility margin is insufficient, the system faces the risk of load shedding; when the downward flexibility margin is insufficient, the system faces the risk of wind and solar power curtailment. Through flexibility margin calculation, the regulation capacity that electrical energy storage, hydrogen energy storage, and electro-hydrogen conversion facilities need to undertake can be determined.
[0088] Figure 7 This is a sensitivity analysis chart for wind power penetration. (From...) Figure 7 It is evident that as wind power penetration changes, the system's wind curtailment level, investment costs, and operating costs all change. When wind power penetration is low, conventional power sources still possess significant cost-saving capabilities; however, as wind power penetration increases, the lack of electro-hydrogen conversion and hydrogen storage facilities exacerbates the system's insufficient downsizing flexibility, leading to higher wind curtailment rates and operating costs. By introducing hydrogen loads and electro-hydrogen storage, surplus wind power can be absorbed through hydrogen electrolysis, thereby improving the system's flexibility margin.
[0089] To further analyze the impact of hydrogen load ratio on system flexibility and renewable energy absorption capacity, scenarios with hydrogen load ratios of 0%, 5%, 10%, 15%, and 20% were set up, and the calculation results are shown in Table 1.
[0090] Table 1 Optimization results under different hydrogen energy ratios
[0091] As shown in Table 1, when the hydrogen load share increases from 0% to 20%, the wind curtailment rate decreases from 0.92% to 0.51%, indicating that hydrogen load integration can improve the system's downstream flexibility and enhance its renewable energy absorption capacity. With the increase in the hydrogen load share, both the electrolyzer capacity and the hydrogen storage tank capacity increase, and the total system cost shows a trend of first decreasing and then increasing, indicating a coordinated and optimized relationship between the hydrogen load share and equipment investment costs.
[0092] Step 5: Complementary and coordinated optimization method for electric hydrogen energy storage.
[0093] Under the conditions of satisfying power balance, energy storage constraints, tie-line power constraints, capacity constraints, hydrogen energy transportation constraints, and hydrogen energy vehicle ownership planning constraints, a complementary and coordinated optimization model for electric and hydrogen energy is established with the goal of minimizing the operating cost of the new energy power grid. This model comprehensively considers the operating costs of energy conversion units, energy storage units, and system interaction costs. By coordinating the operating states of electrolyzers, hydrogen storage tanks, fuel cells, and electrical energy storage, the system can reduce operating costs while meeting both electrical and hydrogen load demands.
[0094] To verify the impact of the flexible adjustment characteristics of hydrogen load on system operation, two scenarios were set up: one with interruptible hydrogen load and the other with transferable hydrogen load. The wind curtailment rate, maximum wind curtailment, electrolyzer capacity, hydrogen storage tank capacity, and total system cost were compared. The results are shown in Table 2.
[0095] Table 2 Optimization results of each evaluation indicator
[0096] As shown in Table 2, after considering interruptible and transferable hydrogen load, the system's wind curtailment rate decreased from 0.89% to 0.84%, and the maximum wind curtailment value, electrolyzer capacity, hydrogen storage tank capacity, and total cost all decreased. This indicates that hydrogen load is not only an energy consumption target but can also be used as a flexible adjustment resource to participate in the complementary and coordinated optimization of electricity, hydrogen, and storage, thereby reducing redundant configuration of electrolyzers and hydrogen storage tanks and improving the system's operational economy.
[0097] Step 6: Method for coordinated planning of capacity of electro-hydrogen conversion and energy storage facilities.
[0098] Based on the calculation results of steps 1 to 5, a coordinated planning model for new energy power grid hydrogen energy storage and energy conversion facilities is established. This model aims to minimize annual investment costs, comprehensively considering renewable energy investment costs, line loss costs, energy storage facility construction costs, electrolyzer investment costs, and hydrogen storage facility configuration requirements. It then calculates the planned capacity of thermal power, hydropower, photovoltaic, wind power, electrolyzers, and hydrogen storage tanks under different hydrogen load demands.
[0099] Figure 8 This diagram shows the power planning results under different hydrogen load demands. Figure 8 It can be seen that as hydrogen load demand increases, the scale of thermal power plant construction gradually decreases, while the scale of wind power, photovoltaic power, and electrolyzer construction gradually increases, indicating that the growth in hydrogen load demand can promote the consumption of new energy and the optimization of the power structure. To further illustrate the planning results under different hydrogen load demands, hydrogen load demands were set to 0.5 times, 1 times, 1.5 times, 2 times, 2.5 times, and 3 times the predicted hydrogen load, respectively. The results are shown in Table 3.
[0100] Table 3 Power Planning under Different Hydrogen Load Demands
[0101] As shown in Table 3, as the hydrogen load demand increases from 0.5 times to 3 times, the thermal power capacity decreases from 45,240 MW to 39,036 MW, the wind power capacity increases from 47,799 MW to 57,976 MW, the photovoltaic capacity increases from 18,327 MW to 23,721 MW, the electrolyzer capacity increases from 2,724 MW to 11,279 MW, and the proportion of wind and solar installed capacity increases from 52.97% to 63.56%. These results indicate that the coordinated planning of hydrogen-electric energy storage and energy conversion facilities can promote the replacement of conventional thermal power units with new energy sources and improve the utilization level of wind and solar new energy.
[0102] Meanwhile, to verify the applicability of this collaborative planning method to energy storage configuration across multiple time scales, 2025, 2030, and 2060 were selected as planning years, and the configuration results for short-term and long-term energy storage were calculated respectively. The results are shown in Table 4.
[0103] Table 4 Optimization results for short-term and long-term energy storage
[0104] As shown in Table 4, with the advancement of planning years and the increase in the proportion of new energy installed capacity, the demand for long-term energy storage configuration has increased significantly, with the capacity of electrolyzers, hydrogen storage, and fuel cells all showing an increasing trend. This result indicates that in a high-proportion new energy power grid, relying solely on short-term electrical energy storage is insufficient to meet the long-term energy transfer needs. Electro-hydrogen conversion and energy storage facilities can undertake long-term regulation functions, improving the adaptability of new energy power grid planning schemes.
[0105] In summary, the present invention provides a new energy grid electro-hydrogen conversion and energy storage facility capacity collaborative planning method based on flexibility margin compensation. Instead of configuring electric energy storage, hydrogen energy storage, electrolyzers, and fuel cells as isolated devices, the method first obtains the operating status of electric and hydrogen energy storage in step 1, then determines the electro-hydrogen conversion rate in step 2, updates the energy balance of the hydrogen storage tank in step 3, identifies the upward and downward flexibility deficits of the system in step 4, coordinates the operating modes of the electrolyzer, hydrogen storage tank, fuel cell, and electric energy storage based on the flexibility deficits in step 5, and finally converts the maximum hydrogen production power, maximum hydrogen storage demand, maximum fuel cell output, and maximum energy storage charge / discharge demand for each time period into facility capacity configuration results in step 6. This achieves continuous transmission and collaborative planning among new energy output, hydrogen load demand, electric energy storage, hydrogen storage, and electro-hydrogen conversion facility capacity, enabling the planning results to simultaneously meet the needs of new energy consumption, hydrogen load growth, and system flexibility compensation.
[0106] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for coordinated planning of hydrogen-electric conversion and energy storage facility capacity in new energy power grids based on flexibility margin compensation, characterized in that, The method includes: An operational status model for hydrogen energy storage is established, which includes a battery state-of-charge model and a hydrogen storage tank state-of-charge model. The battery state-of-charge model is used to calculate the battery state-of-charge for each period within the planning period, and the hydrogen storage capacity and level of the hydrogen storage tank are calculated using the hydrogen storage tank state-of-charge model for each period within the planning period. Using the battery's state of charge, the hydrogen storage tank's hydrogen capacity, and the hydrogen storage level as state boundaries, an electrolysis hydrogen production and fuel cell energy conversion model is established; the electrolysis hydrogen production, input electrolysis cell power, fuel cell discharge power, and fuel cell hydrogen consumption are calculated for each time period using the electrolysis hydrogen production and fuel cell energy conversion model. Using the hydrogen production capacity of the electrolyzer and the hydrogen consumption of the fuel cell as inputs, an energy balance model for the hydrogen storage system is established; the remaining hydrogen volume, refillable hydrogen space, and hydrogen release capacity of the hydrogen storage tank at each time period are calculated using the energy balance model of the hydrogen storage system. Using the battery's state of charge, hydrogen storage capacity in the hydrogen tank, input electrolyzer power, fuel cell discharge power, remaining hydrogen in the hydrogen tank, available hydrogen recharge space, and available hydrogen release capacity as the flexibility adjustment resource boundaries, a new energy power grid flexibility margin calculation model is established. In this model, the upward and downward flexibility supply are determined based on the conventional power supply regulation capacity, the battery's maximum rechargeable and dischargeable power, the fuel cell's available power generation capacity, and the electrolyzer's available absorption capacity. The upward and downward flexibility demand are determined based on the load forecast deviation and the new energy output forecast deviation. The difference between the flexibility supply and demand in the same direction is taken as the flexibility margin, and the absolute value of the negative flexibility margin is taken as the upward and downward flexibility deficits. Using the aforementioned upward and downward flexibility deficits as compensation requirements, a complementary coordination optimization model for electro-hydrogen energy storage is established. This model uses the constraint that the sum of the battery discharge power and the fuel cell discharge power must be greater than or equal to the upward flexibility deficit as the upward flexibility deficit compensation constraint, and the constraint that the sum of the battery charging power and the electrolyzer hydrogen production power must be greater than or equal to the downward flexibility deficit as the downward flexibility deficit compensation constraint. The optimization objective is to minimize the sum of the operating costs of the energy conversion unit, the operating costs of the energy storage unit, and the system interaction costs. Under the mandatory constraints of the upward and downward flexibility deficit compensation constraints, the electro-hydrogen energy storage complementary coordination optimization model is solved with the optimization objective as the guide, yielding the electrolyzer operating power, hydrogen storage tank charging / discharging volume, fuel cell output, and electro-energy storage charging / discharging state for each time period. The operating power of the electrolyzer, the hydrogen charge / discharge of the hydrogen storage tank, the output of the fuel cell, and the charge / discharge state of the energy storage are converted into capacity configuration boundaries to establish a capacity collaborative planning model for electro-hydrogen conversion and energy storage facilities. In this model, the maximum operating power of the electrolyzer in each time period is used as the lower limit constraint for the electrolyzer capacity, the maximum output of the fuel cell in each time period is used as the lower limit constraint for the fuel cell capacity, the maximum hydrogen storage capacity of the hydrogen storage tank in each time period is used as the lower limit constraint for the hydrogen storage tank capacity, the maximum charge / discharge power of the battery in each time period is used as the lower limit constraint for the battery power capacity, and the difference between the maximum and minimum battery energy storage within the planning period is used as the lower limit constraint for the battery energy capacity. The solution is performed with the objective of minimizing the sum of the investment cost of new renewable energy, the cost of line loss, and the construction cost of energy storage facilities, resulting in the planned capacity of the electrolyzer, the planned capacity of the fuel cell, the planned capacity of the hydrogen storage tank, the planned power capacity of the battery, and the planned energy capacity of the battery.
2. The method according to claim 1, characterized in that, The battery state-of-charge model is as follows: (1) In the formula, for t The battery's state of charge at all times, with a value ranging from 0 to 1; This represents the number of batteries connected in series in the battery pack. This represents the number of batteries connected in parallel within the battery pack. This refers to the rated capacity of a single battery cell. for The battery current is constantly monitored, with positive for discharging and negative for charging. For integration time; The methods for calculating the hydrogen storage capacity and level of a hydrogen storage tank using the hydrogen storage state model include: Calculate any Δ using the following formula. t Hydrogen storage capacity of time-limited hydrogen storage tank: (2) In the formula, for t Hydrogen storage capacity of the hydrogen storage tank at time 0; for t Hydrogen storage capacity in the hydrogen storage tank at time 0+Δt; The rate of change of hydrogen gas at the inlet of the hydrogen storage tank; The rate of change of hydrogen gas at the outlet of the hydrogen storage tank; The hydrogen storage level is calculated using the following formula: (3) In the formula, This represents the maximum hydrogen storage capacity of the hydrogen storage tank. for t The hydrogen storage capacity of the hydrogen storage tank at any time; for t The hydrogen storage level of the hydrogen storage tank at all times.
3. The method according to claim 2, characterized in that, After calculating the hydrogen storage capacity and level of the hydrogen storage tank for each period within the planning cycle using the hydrogen storage tank state model, the method further includes: Calculate the maximum discharge power and maximum recharge power of the battery based on the battery's state of charge: The formula for calculating the maximum discharge power of the battery is as follows: (4) In the formula, for t The maximum discharge power of the battery at any given time; This refers to the rated discharge power of the battery. This is the minimum state of charge of the battery; This refers to the rated capacity of the battery. The battery discharge efficiency is represented by _min_, which is the minimum value function. The formula for calculating the maximum rechargeable power of the battery is as follows: (5) In the formula, for t The maximum rechargeable power of the battery at all times; The rated charging power of the battery; This represents the upper limit of the battery's state of charge. To improve battery charging efficiency.
4. The method according to claim 3, characterized in that, The methods for calculating the hydrogen production rate of the electrolyzer, the input power of the electrolyzer, the discharge power of the fuel cell, and the hydrogen consumption of the fuel cell at different time periods using the aforementioned electrolysis hydrogen production and fuel cell energy conversion model include: When the output of new energy sources exceeds the demand for electricity, the surplus power from these sources is used as the power input to the electrolyzer, and the amount of hydrogen produced by water electrolysis is calculated using the following formula: (6) Due to the rated power limitation of the electrolytic cell, the power input to the electrolytic cell must meet the following requirements: (7) In the formula, The amount of hydrogen produced by the electrolyzer; The power input to the electrolytic cell; This refers to the calorific value of hydrogen. For electrolytic cell efficiency; This refers to the rated power of the electrolytic cell; For time intervals; When the output of new energy sources is insufficient, the discharge power of the fuel cell can be calculated using the following formula: (8) Limited by the rated power of the fuel cell, the discharge power of the fuel cell must meet the following requirements: (9) In the formula, This refers to the discharge power of the fuel cell; The amount of hydrogen input to the fuel cell; For fuel cell power generation efficiency; This refers to the rated power of the fuel cell.
5. The method according to claim 4, characterized in that, The methods for calculating the remaining hydrogen volume, available hydrogen refill space, and available hydrogen release capacity of the hydrogen storage tank at various times using the energy balance model of the hydrogen storage system include: The hydrogen energy balance constraint of the hydrogen energy storage system is defined as follows: (10) (11) (12) In the formula, and They are respectively t Time and t +1 indicates the amount of hydrogen in the hydrogen storage tank; for t The amount of hydrogen supplied to the hydrogen refueling station by the hydrogen energy storage system at all times; This refers to the rated capacity of the hydrogen storage tank. and These are the maximum and minimum hydrogen storage capacity coefficients of the hydrogen storage tank, respectively. and These represent the amount of hydrogen at the beginning and end of the hydrogen storage tank scheduling cycle, respectively. Based on the hydrogen energy balance constraint of the hydrogen energy storage system, the amount of hydrogen in the hydrogen storage tank at each moment within the planning period is recursively determined, and the amount of hydrogen in the hydrogen storage tank at the current moment is taken as the remaining amount of hydrogen in the hydrogen storage tank. Based on the remaining hydrogen in the hydrogen storage tank, the maximum allowable hydrogen storage capacity of the hydrogen storage tank is subtracted from the remaining hydrogen in the hydrogen storage tank to obtain the hydrogen refillable space at the current moment; the remaining hydrogen in the hydrogen storage tank is subtracted from the minimum allowable hydrogen storage capacity of the hydrogen storage tank to obtain the amount of hydrogen in the hydrogen storage tank that can be used for fuel cell power generation at the current moment, and the usable power generation capacity of the fuel cell is calculated based on the amount of hydrogen that can be used for fuel cell power generation, which is taken as the hydrogen release capacity at the current moment.
6. The method according to claim 5, characterized in that, After calculating the remaining hydrogen volume, available hydrogen capacity, and hydrogen release capacity of the hydrogen storage tank at each time point using the energy balance model of the hydrogen storage system, the method further includes: Based on the rated power of the fuel cell and the current available hydrogen quantity in the hydrogen storage tank, calculate the available power generation capacity of the fuel cell: (13) In the formula, for t The available power generation capacity of fuel cells at all times; Based on the rated power of the electrolyzer and the remaining hydrogen-fillable space in the hydrogen storage tank, calculate the available absorption capacity of the electrolyzer: (14) In the formula, for t The available absorption capacity of the electrolytic cell at any given time.
7. The method according to claim 6, characterized in that, Based on the conventional power supply regulation capability, the maximum charge / discharge power of the battery, the available power generation capacity of the fuel cell, and the available absorption capacity of the electrolyzer, the upward and downward flexibility supply are determined using the following formula: (15) (16) In the formula, for t The system provides upward flexibility in its supply chain. This is the upward adjustment capability of a conventional power supply; for t The system provides flexible supply to users from the ground up. This is the downward adjustment capability of a conventional power supply; Based on load forecasting deviations and renewable energy output forecasting deviations, the upward and downward flexibility requirements are determined using the following formulas: (17) (18) In the formula, for t The system's need for upward flexibility; This represents the positive load forecast deviation. This indicates a negative prediction bias for new energy sources. for t Downward flexibility requirements of the real-time system; This represents a positive prediction bias for new energy sources; This represents the negative forecast deviation of the load. The difference between the supply and demand for flexibility in the same direction is taken as the flexibility margin. The upward flexibility margin and the downward flexibility margin are expressed as follows: (19) (20) In the formula, for t The system has an upward flexibility margin. for t Downward flexibility margin of the system at any time.
8. The method according to claim 7, characterized in that, The absolute value of the flexibility margin when it is negative is taken as the flexibility deficit. The upward flexibility deficit and the downward flexibility deficit are expressed as follows: (21) (22) In the formula, for t The system lacks upward flexibility. for t The system lacks flexibility in terms of downtime.
9. The method according to claim 8, characterized in that, The upward flexibility deficit compensation constraint of the complementary coordination optimization model of electric hydrogen energy storage is expressed as follows: (23) In the formula, for t The actual discharge power of the battery at any given time; for t Real-time fuel cell discharge power; The downward flexibility deficit compensation constraint is expressed as: (24) In the formula, for t Real-time battery charging power; for t The actual hydrogen production power of the electrolyzer is constantly input; The optimization objective of the complementary and coordinated optimization model of the electric-hydrogen energy storage is expressed as: (25) In the formula, The total operating cost of the new energy power grid; for t The operating cost of the energy conversion unit at any given time; for t Operating costs of energy storage units at any time; for t Real-time system interaction costs.
10. The method according to claim 9, characterized in that, The electro-hydrogen conversion and energy storage facility capacity collaborative planning model includes electrolyzer capacity configuration constraints, fuel cell capacity configuration constraints, hydrogen storage tank capacity configuration constraints, battery power capacity configuration constraints, battery energy capacity configuration constraints, and collaborative planning objectives. The electrolytic cell capacity configuration constraint is expressed as follows: (26) In the formula, Plan the capacity of the electrolyzer; This represents the maximum operating power of the electrolytic cell within the planning period. The fuel cell capacity configuration constraint is expressed as follows: (27) In the formula, Planning capacity for fuel cells; The maximum discharge power of the fuel cell within the planning period; The hydrogen storage tank capacity configuration constraint is expressed as follows: (28) In the formula, Plan the capacity of the hydrogen storage tank; This represents the maximum hydrogen storage demand for the hydrogen storage tanks within the planning period. The battery power capacity configuration constraint is expressed as follows: (29) In the formula, Plan the power capacity of the battery; The actual charging power of the battery at time t; Let t be the actual discharge power of the battery at time t; The battery energy capacity configuration constraint is expressed as follows: (30) In the formula, Plan the energy capacity for the storage battery; for t The battery stores energy at all times; and These represent the maximum and minimum battery energy storage capacity during the planning period, respectively. The collaborative planning objective of the electro-hydrogen conversion and energy storage facility capacity collaborative planning model is expressed as: (31) In the formula, The total investment cost; Cost of investment in renewable energy; The unit price of electricity; For the line l exist t The loss of time; 0-1 variables represent nodes i Should a new energy storage system be built? The cost per unit of energy storage capacity; For nodes i New energy storage system capacity; The investment cost of the renewable energy source is expressed as follows: (32) In the formula, The unit installation cost of new renewable energy sources; The unit operating and maintenance cost of new renewable energy sources; For geographic grids x The newly added renewable energy capacity; For geographic grids x The capacity of renewable energy already connected to the grid; x For geographic grid numbers.
