Energy scheduling strategy generation method of green electricity hydrogen production system and related equipment
By generating and adjusting the energy dispatch strategy of the green electricity hydrogen production system, the instability of the electrolyzer caused by the volatility of new energy power generation was solved, achieving time-period energy balance and moment-to-moment power balance, and improving the stability of the electrolyzer.
Patent Information
- Application Number
- CN202410875577.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-11-01
AI Technical Summary
In green electricity-to-hydrogen systems under "weak grid connection" and "off-grid" scenarios, the large fluctuations in new energy power generation lead to frequent changes in the power of electrolyzer equipment due to existing energy dispatch strategies, which reduces the operational stability of the electrolyzer equipment.
By acquiring green electricity generation data, energy storage system status data, and hydrogen production system status data, an initial energy dispatch strategy is generated using a preset energy management model. This strategy is then adjusted based on time-based power balance constraints and converted into a target energy dispatch strategy within a secondary decision time interval, thereby achieving time-based energy balance and time-based power balance.
This improved the operational stability of the electrolyzer, achieving time-based energy balance and moment-based power balance within the target scheduling period, thus ensuring the stable operation of the electrolyzer.
Smart Images

Figure CN118889480A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of green electricity hydrogen production, and in particular to an energy scheduling strategy generation method, device, energy management system and storage medium for a green electricity hydrogen production system. Background Art
[0002] The green electricity hydrogen production system in the "weak grid connection" and "off-grid" scenarios includes source-load-storage equipment: the source side is new energy power generation equipment, which is used to provide green electricity to the system; the storage side is energy storage equipment, which is used to store surplus green electricity to power the system; the load side is hydrogen production equipment, which can receive electricity provided by new energy power generation equipment and / or energy storage equipment to prepare hydrogen. In addition, an energy management system (EMS) is set up to run the energy scheduling strategy to monitor, control and optimize the energy use of the green electricity hydrogen production system. The quality of the energy scheduling strategy of the EMS will directly affect the achievement of the overall goals of the green electricity hydrogen production system, such as hydrogen production.
[0003] At present, in the "weak grid-connected" and "off-grid" scenarios, the green electricity hydrogen production system relies on the existing EMS energy scheduling strategy because of the large volatility of renewable energy power generation, which will cause the power of the electrolyzer equipment to change frequently, reducing the stability of the operation of the electrolyzer equipment. Summary of the invention
[0004] The present application provides a method, device, energy management system and storage medium for generating an energy scheduling strategy for a green electricity hydrogen production system, which are used to determine the initial energy scheduling strategy within a first-level decision time interval through time period energy balance constraints, and convert the initial energy scheduling strategy into a target energy scheduling strategy within a second-level decision time interval, thereby solving the problem of reduced stability of the electrolyzer when the electrolyzer is powered by a green electricity power generation system, achieving time period energy balance and moment power balance within the target scheduling period, and improving the operation stability of the electrolyzer.
[0005] A first aspect of an embodiment of the present application provides a method for generating an energy scheduling strategy for a green electricity hydrogen production system. The green electricity hydrogen production system includes an energy management system, a green electricity power generation system, an energy storage system and a hydrogen production system. The method for generating an energy scheduling strategy for the green electricity hydrogen production system includes: obtaining green electricity power generation data of the green electricity power generation system, energy storage status data of the energy storage system and hydrogen production status data of the hydrogen production system; inputting the green electricity power generation data, the energy storage status data and the hydrogen production status data into a preset energy management model, solving the scheduling strategy and obtaining an initial energy scheduling strategy, the initial energy scheduling strategy is used to indicate energy scheduling instructions for each first-level decision time interval within a preset scheduling period; adjusting the initial energy scheduling strategy based on a preset moment power balance constraint to obtain a target energy scheduling strategy, the target energy scheduling strategy includes energy scheduling instructions for second-level decision time intervals within the target scheduling period, and the second-level decision time interval is less than the first-level decision time interval.
[0006] A second aspect of an embodiment of the present application provides an energy scheduling strategy generation device for a green electricity hydrogen production system, which is applied to a green electricity hydrogen production system in a weak grid-connected scenario. The green electricity hydrogen production system includes an energy management system, a green electricity power generation system, an energy storage system and a hydrogen production system. The energy scheduling strategy generation device for the green electricity hydrogen production system includes: a data acquisition module, which is used to acquire green electricity power generation data of the green electricity power generation system, energy storage status data of the energy storage system and hydrogen production status data of the hydrogen production system; a solution module, which is used to input the green electricity power generation data, the energy storage status data and the hydrogen production status data into a preset energy management model, solve the scheduling strategy, and obtain an initial energy scheduling strategy, which is used to indicate energy scheduling instructions for each first-level decision time interval within a preset scheduling period; a strategy adjustment module, which is used to adjust the initial energy scheduling strategy based on a preset moment power balance constraint to obtain a target energy scheduling strategy, which includes energy scheduling instructions for second-level decision time intervals within the target scheduling period, and the second-level decision time interval is less than the first-level decision time interval.
[0007] A third aspect of an embodiment of the present application provides an energy management system, which is applied to a green electricity hydrogen production system. The green electricity hydrogen production system includes an energy management system, a green electricity power generation system, an energy storage system and a hydrogen production system. The energy management system includes: a memory and at least one processor, wherein instructions are stored in the memory; at least one processor calls the instructions in the memory so that the energy management system executes the energy scheduling strategy generation method for the green electricity hydrogen production system of the first aspect mentioned above.
[0008] A fourth aspect of the present application provides a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium is run on a computer, the computer executes the above-mentioned method for generating an energy scheduling strategy for a green electricity hydrogen production system.
[0009] In the technical solution provided by the present application, the green electricity hydrogen production system includes an energy management system, a green electricity power generation system, an energy storage system and a hydrogen production system, and obtains the green electricity power generation data of the green electricity power generation system, the energy storage state data of the energy storage system and the hydrogen production state data of the hydrogen production system; the green electricity power generation data, the energy storage state data and the hydrogen production state data are input into the preset energy management model, and the scheduling strategy is solved to obtain the initial energy scheduling strategy, which is used to indicate the energy scheduling instructions of each first-level decision time interval within the preset scheduling period; the initial energy scheduling strategy is adjusted based on the preset moment power balance constraint to obtain the target energy scheduling strategy, and the target energy scheduling strategy includes the energy scheduling instructions of the second-level decision time interval within the target scheduling period, and the second-level decision time interval is less than the first-level decision time interval. In the embodiment of the present application, the initial energy scheduling strategy within the first-level decision time interval is determined by the time period energy balance constraint, and the initial energy scheduling strategy is converted into the target energy scheduling strategy within the second-level decision time interval, which solves the problem of reduced stability of the electrolyzer when the electrolyzer is powered by the green electricity power generation system, and achieves the time period energy balance and moment power balance within the target scheduling period, and improves the effect of improving the stability of the electrolyzer operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A schematic diagram of an embodiment of a method for generating an energy scheduling strategy for a green electricity hydrogen production system in an embodiment of the present application;
[0011] Figure 2 This is a schematic diagram of a green electricity-based hydrogen production system in an embodiment of the present application;
[0012] Figure 3 It is a schematic diagram of the operation result of the traditional energy scheduling model and the second-level power difference in the embodiment of the present application;
[0013] Figure 4 A schematic diagram of the energy scheduling result and second-level power difference of the energy management model in an embodiment of the present application;
[0014] Figure 5 This is another schematic diagram of an embodiment of the method for generating an energy scheduling strategy for a green electricity hydrogen production system in an embodiment of the present application;
[0015] Figure 6 A schematic diagram of an energy scheduling strategy generating device for a green electricity hydrogen production system in an embodiment of the present application;
[0016] Figure 7 A schematic diagram of an energy management system in an embodiment of the present application. DETAILED DESCRIPTION
[0017] The present application provides a method, device, energy management system and storage medium for generating an energy scheduling strategy for a green electricity hydrogen production system, which are used to determine the initial energy scheduling strategy within a first-level decision time interval through time period energy balance constraints, and convert the initial energy scheduling strategy into an energy scheduling strategy within a second-level decision time interval, thereby solving the problem of reduced stability of the electrolyzer when the electrolyzer is powered by a green electricity power generation system, achieving time period energy balance and moment power balance within the target scheduling period, and improving the operation stability of the electrolyzer.
[0018] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0019] See also Figure 1 , a flow chart of a method for generating an energy scheduling strategy for a green electricity hydrogen production system provided in an embodiment of the present application, which is applied to Figure 2 The green electricity hydrogen production system in the "weak grid connection" scenario shown in the figure includes a green electricity power generation system, an energy storage system and a hydrogen production system. The energy scheduling strategy generation method of the green electricity hydrogen production system specifically includes:
[0020] 101. Obtain green electricity generation data of the green electricity generation system, energy storage status data of the energy storage system, and hydrogen production status data of the hydrogen production system.
[0021] In addition to the green electricity generation system, energy storage system and hydrogen production system, the green electricity hydrogen production system also includes an energy management system. In this embodiment and subsequent embodiments, the energy management system is the execution body, and the subsequent embodiments will not be repeated. Among them, the green electricity generation system can be a photovoltaic power generation system or a wind power generation system, or other new energy power generation systems, as long as it is a power generation system that provides green electricity. Green electricity refers to the process of producing electricity, and the carbon dioxide emissions are zero or close to zero. Compared with electricity produced by other methods (such as thermal power generation), it has a lower impact on the environment.
[0022] like Figure 2 As shown in the figure, the solid arrows represent the direction of energy flow, and the dotted arrows represent the direction of data transmission.
[0023] The energy management system obtains the green electricity generation data of the green electricity generation system, the energy storage status data of the energy storage system, and the hydrogen production status data of the hydrogen production system. For ease of understanding, the photovoltaic power generation system is used as an example in this embodiment and subsequent embodiments. The green electricity generation data corresponds to the photovoltaic power generation data, wherein the photovoltaic power generation data can be determined by a preset prediction algorithm, and the photovoltaic power generation data includes the photovoltaic power generation power at each first-level decision time interval. Where t represents the tth first-level decision time interval, 1≤t≤T, t is an integer, T is the total number of first-level decision time intervals, and the area coefficient of the photovoltaic power generation system is γ; the energy storage state data includes the energy storage upper limit capacity SOC of each battery in the energy storage system max , Energy storage lower limit capacity SOC min , the initial remaining power SOC_0 of the energy storage system, the upper limit of the energy storage charging and discharging power P bat,max 、Charging efficiency η ch 、Discharge efficiency η dis The hydrogen production status data includes the number of electrolyzers N, the upper limit of the power consumption of a single electrolyzer P tank,max 、Rated power consumption of single electrolytic cell P tank,rate , the lower limit of power consumption of a single electrolytic cell P tank,min , the minimum power supply P of a single electrolytic cell tank,close , the upper limit of hydrogen production of a single electrolyzer H max , the lower limit of hydrogen production of a single electrolyzer H min , the length of the electrolytic cell ramp-up time Δt1, the length of the electrolytic cell stable time Δt2, the maximum number of on / off times the electrolytic cell can accept within the scheduling interval M open .
[0024] It is understandable that the upper limits of the energy storage charge and discharge power of each battery in the energy storage system may be the same or different. The embodiment of the present application takes the same as an example for explanation. If the energy storage charge and discharge power of each battery is to be set to be different, the upper limits of the energy storage charge and discharge power corresponding to each battery can be selected during calculation. No further details are given here. The minimum startup power of a single electrolyzer is greater than 0. For example, it may be 816KW. If it is lower than this minimum startup power, the purity of the produced hydrogen is too low and the electrolyzer is not turned on. At the same time, the length of the electrolyzer climbing time is manually set according to the actual situation. Under normal circumstances, the power change rate of the electrolyzer is required to be no more than 3% per second, that is, at least 34 seconds are required to be reserved for power climbing. In the embodiment of the present application, it is set to 50 seconds. Among them, the number of power on and off is calculated once each time the power is turned on or off. For example, if the power is turned on first and then turned off, the number of power on and off increases by 2 times.
[0025] It should be noted that in the embodiment of the present application, the green electricity hydrogen production system operates in a weak grid-connected scenario. Therefore, the hydrogen production system is provided with electricity through the green electricity power generation system and / or the energy storage system. When the green electricity power generation system generates a large amount of electricity, there is still surplus electricity after consumption by the energy storage system and the hydrogen production system, and then it can be fed to the grid, that is, discharged to the grid; however, when the green electricity power generation system generates a small amount of electricity, the electricity provided by the green electricity power generation system and the energy storage system still cannot meet the consumption of the hydrogen production system. In order to meet the requirements of green electricity hydrogen production, electricity cannot be drawn from the grid in the weak grid-connected scenario. The total power of the electrolyzer in the hydrogen production system can be reduced, or the hydrogen production system can be shut down.
[0026] It should also be noted that in off-grid scenarios, since power cannot be fed into the grid, surplus electricity needs to be discarded while ensuring the normal operation of the energy management model algorithm.
[0027] 102. Input the green electricity generation data, energy storage status data and hydrogen production status data into a preset energy management model to solve the scheduling strategy and obtain an initial energy scheduling strategy. The initial energy scheduling strategy is used to indicate the energy scheduling instructions for each first-level decision time interval within a preset scheduling period.
[0028] The energy management system inputs green electricity generation data, energy storage status data and hydrogen production status data into a preset energy management model to solve the scheduling strategy and obtain an initial energy scheduling strategy. The initial energy scheduling strategy is used to indicate the energy scheduling instructions for each first-level decision time interval within a preset scheduling period.
[0029] It should be noted that, in the embodiment of the present application, for solving the energy management model, an initial energy scheduling strategy is formulated with maximizing hydrogen production as the optimization goal. For the traditional energy scheduling model, maximizing hydrogen production can only be energy scheduled according to the decision time interval in minutes. In the traditional energy scheduling model, because the electrolyzer in the hydrogen production system has a climbing constraint, it is necessary to set a reasonable climbing time and power command frequency, that is, the electrolyzer power is first climbed at a uniform speed in the first few seconds of a decision period, and then runs smoothly. For example, assuming that the power change rate of the electrolyzer is no more than 3% per second, that is, at least 34 seconds need to be reserved for power climbing. Assuming that the decision time interval of the traditional energy scheduling model is 300 seconds, the climbing time Δt1 can be set to 50 seconds.
[0030] Because the traditional energy scheduling model assumes that the power within the minute-level decision time interval of the scheduling is unchanged, this will result in: ① When the electrolyzer power climbs downward, it should be ensured that the energy storage can help the electrolyzer power climb downward by modifying the charging and discharging power. Therefore, the charging and discharging power of the energy storage system may change within the minute-level decision time interval, and there may be a situation where the energy storage charging and discharging strategy is required to exceed the power limit. At the same time, when the charging and discharging power changes, it is impossible to calculate the change of the remaining energy storage power within the minute-level decision time interval. ② When the electrolyzer power climbs upward too quickly, that is, the photovoltaic power is too large, the energy storage system may not be able to absorb the excess power in time, and the surplus power will be connected to the grid. Therefore, there are changes in the grid within the minute-level decision time interval, and the total grid-connected power within the minute-level decision time interval cannot be calculated.
[0031] In order to solve the above problems, the embodiment of the present application adopts preset time period energy balance constraints, preset moment power constraints and preset time period energy constraints to replace the moment power balance constraints of the traditional energy scheduling model, wherein the energy balance constraint is used to ensure the energy balance within the first-level decision time interval; the moment power constraint is used to ensure that the total power gap of the electrolyzer at any time within the first-level decision time interval can be supplemented by the discharge of the energy storage system; the time period energy constraint is used to ensure that the online and abandoned power will be greater than or equal to the surplus power, and the online and abandoned power can be the online and abandoned photovoltaic power, the online and abandoned wind power, or other, the abandoned green power is not limited here.
[0032] 103. The initial energy scheduling strategy is adjusted based on the preset moment power balance constraint to obtain a target energy scheduling strategy. The target energy scheduling strategy includes energy scheduling instructions for the secondary decision time interval within the target scheduling period. The secondary decision time interval is smaller than the primary decision time interval, that is, the time scale of the secondary decision time interval is smaller than the time scale of the primary decision time interval, wherein the time scale refers to time measurement values such as seconds, minutes, hours, days, months, and years.
[0033] The energy management system adjusts the initial energy scheduling strategy based on the preset power balance constraint to obtain the target energy scheduling strategy, which includes the energy scheduling instructions of the secondary decision time interval within the target scheduling period, and the secondary decision time interval is less than the primary decision time interval. Among them, the target scheduling period is less than the preset scheduling period, and the preset scheduling period is the time period determined by the energy management model for which the energy scheduling strategy needs to be planned, and the target scheduling period refers to the algorithm iteration interval of the energy management model. The data of the entire preset scheduling period does not need to be processed, and only the data within the target scheduling period needs to be processed, because after each target scheduling period, the algorithm of the energy management model will be re-iterated, and the energy scheduling strategy after the target scheduling period will be discarded. Therefore, only the target energy scheduling strategy needs to cover the target scheduling period.
[0034] It should be noted that in addition to ensuring the energy balance within the first-level decision time interval, it is also necessary to ensure the solvability of the power balance when the electrolyzer power climbs, and adjust the initial energy scheduling strategy of the first-level decision time interval to the target energy scheduling strategy of the second-level decision time interval, so as to achieve moment-to-moment power balance within the second-level decision time interval.
[0035] Under the scheduling of the traditional energy scheduling model, it is impossible to achieve system power balance on a smaller time scale (such as seconds, milliseconds, etc.). Figure 3 As shown, taking the dispatch result at 9 am as an example, pv represents photovoltaic power generation, tank represents the total power consumption of the electrolyzer, bat_ch represents the battery charging power, bat_dis represents the battery discharging power, pg represents the remaining power, and dis represents the second-level power difference of the green power hydrogen production system caused by the dispatch instruction, that is, dis = pv-tank-bat_ch+bat_dis-pg. After the energy management model provided in the embodiment of the present application is used for dispatching, the dispatch result is as follows Figure 4 As shown, it can be seen Figure 3 The second-level power difference dis in always deviates from the value of 0 because the EMS algorithm used cannot accurately dispatch energy to the second level. The energy dispatch instructions obtained cannot keep up with the second-level power ramp changes of the electrolyzer, resulting in the system being unable to achieve second-level power balance, affecting the stability of the electrolyzer operation. Figure 4 The second-level power difference of the China Green Power hydrogen production system is always 0. On the basis of satisfying the energy balance within the minute-level time interval, it also achieves the second-level power balance.
[0036] In the embodiment of the present application, the initial energy scheduling strategy within the first-level decision time interval is determined through the time period energy balance constraint, and the initial energy scheduling strategy is converted into the energy scheduling strategy within the second-level decision time interval, which solves the problem of reduced stability of the electrolytic cell when the electrolytic cell is powered by a green electricity generation system, achieves time period energy balance and moment power balance within the target scheduling period, and improves the operation stability of the electrolytic cell.
[0037] See also Figure 5 , another flow chart of the energy scheduling strategy generation method of the green electricity hydrogen production system provided in the embodiment of the present application is applied to Figure 2 The green electricity hydrogen production system in the "weak grid connection" scenario shown in the figure includes an energy management system, a green electricity power generation system, an energy storage system and a hydrogen production system. The energy scheduling strategy generation method of the green electricity hydrogen production system specifically includes:
[0038] 501. Obtain green electricity generation data of the green electricity generation system, energy storage status data of the energy storage system, and hydrogen production status data of the hydrogen production system.
[0039] Step 501 is similar to step 101 and will not be described again here.
[0040] 502. Initialize the objective function in the preset energy management model to obtain an initialized objective function.
[0041] The energy management system initializes the preset energy management model to obtain the initial energy scheduling model. The objective function in the preset energy management model is: (1); wherein n represents the index of the electrolytic cell, which is an integer less than or equal to the maximum number of electrolytic cells N, and t represents the index of the first-level decision time interval, which is an integer less than or equal to the total number of time intervals T. Used to indicate that the electrolyzer goes from startup to shutdown; Used to indicate that the electrolyzer is switched from shutdown to startup. represents the net charge during the t-th first-level decision time interval, represents the net discharge amount during the tth first-level decision time interval, and M is a sufficiently large constant.
[0042] It should be noted that during initialization, the following initialization constraints need to be met: 1. Set the remaining power value at the initial moment; 2. Set the electrolytic cell state of electrolytic cell n at the initial moment, and the electrolytic cell state includes the power-on state, the power-off state, the overload state, and the non-overload state; 3. Set the power consumption value of electrolytic cell n at the initial moment.
[0043] 503. Constrain the initialized objective function based on a preset time period energy balance constraint, a preset moment power constraint, and a preset time period energy constraint to obtain a constrained objective function.
[0044] Specifically, the energy management system constrains the initialized objective function based on preset energy storage constraints and preset hydrogen production constraints to obtain a transition objective function. The hydrogen production constraints are used to indicate the constraints on the operating parameters of the electrolyzer in the hydrogen production system, and the energy storage constraints are used to indicate the constraints on the operating parameters of the energy storage system. The energy management system constrains the transition objective function through preset time period energy balance constraints, preset moment power constraints, and preset time period energy constraints to obtain a constrained objective function.
[0045] It should be noted that the embodiment of the present application takes maximizing hydrogen production as the main optimization goal. Under the premise of ensuring the power stability of the electrolyzer in the hydrogen production system, it is necessary to reduce the use and consumption of the electrolyzer and the energy storage system, that is, to reduce the number of times the electrolyzer is turned on and off and the total amount of charge and discharge of the battery in the energy storage system.
[0046] Therefore, it is also necessary to impose hardware constraints on the electrolyzers of the energy storage system and the hydrogen production system. For the electrolyzers, the following power-on and power-off restrictions need to be met: 1. The number of power-on and power-off times per day for each electrolyzer must be less than the preset maximum number of power-on and power-off times. Among them, the maximum number of power-on and power-off times is generally set to 4 times. For example, if the electrolyzer is allowed to shut down once a day, it can also be set according to actual conditions. For the energy storage system, the following charging and discharging restrictions need to be met: 1. The remaining power of the energy storage system in the tth first-level decision time interval is less than or equal to the upper limit capacity of the energy storage, and greater than or equal to the lower limit capacity of the energy storage; 2. The remaining power between two adjacent first-level decision time intervals satisfies the formula: 3. The net charge amount in the tth first-level decision time interval is greater than or equal to 0, and less than or equal to the product of the power consumption upper limit of a single electrolyzer and the preset scheduling period; 4. The energy storage system cannot charge and discharge at the same time; among them, soc t It is used to indicate the remaining capacity of the energy storage system within the t-th primary decision time interval, soc t-1 It is used to represent the remaining power of the energy storage system within the t-1th first-level decision time interval, η ch Used to indicate the charging efficiency and discharging efficiency η of the energy storage system dis Used to indicate the discharge efficiency of the energy storage system. It is used to represent the net charge in the t-th first-level decision time interval, It is used to indicate the net discharge amount in the tth first-level decision time interval, Δt1 is used to indicate the ramp-up time of the electrolyzer, Δt2 is used to indicate the stable operation time of the electrolyzer, the preset scheduling period is equal to the sum of the ramp-up time and the stable operation time, Δt1+Δt2=3600 / step_hour, step_hour is used to indicate the number of timestamps within one hour.
[0047] It should be noted that in order not to affect the goal of prioritizing hydrogen production, the number of shutdowns and the total amount of battery charge and discharge are controlled at a smaller order of magnitude, so that the solution can be biased towards a smaller number of shutdowns and total amount of battery charge and discharge while ensuring hydrogen production.
[0048] For the electrolyzer, power limit conditions and hydrogen production limit conditions must also be met. The power limit condition is: the power consumption of electrolyzer n in the tth first-level decision time interval must be less than or equal to the upper limit of the power consumption of a single electrolyzer, and greater than or equal to the lower limit of the power consumption of a single electrolyzer; the hydrogen production limit condition is:
[0049] h2 nt ≤a k p nt +b k ,k=1,...,K,n=1,...,N,t=1,...,T(3);
[0050] Among them, h1 nt It is used to represent the H component (ramp) of electrolytic cell n at the tth primary decision time interval, h2 nt It is used to represent the H component (steady) produced by electrolytic cell n at the tth primary decision time interval, p nt It is used to represent the power consumption of electrolytic cell n in the tth primary decision time interval, p nt-1 It is used to represent the power consumption of electrolytic cell n in the t-1th first-level decision time interval, a k Used to represent the slope of the piecewise linear relationship between power and hydrogen production, b k Used to represent the offset after the piecewise linear relationship between power and hydrogen production.
[0051] It should be noted that the continuous overload time of a single electrolyzer cannot exceed 1 hour. Among them, constraints (2)-(3) give the relationship between the hydrogen production components. It can be understood that after constraining according to the power on / off restriction conditions, charging and discharging restriction conditions, power restriction conditions and hydrogen production restriction conditions, it is also necessary to constrain according to the preset time period energy balance constraint, the preset moment power constraint and the preset time period energy constraint. Among them, the preset time period energy balance constraint is:
[0052]
[0053] in, It is used to represent the photovoltaic power generation power of the t-th first-level decision time interval, Δt1 is used to represent the power ramp period of the electrolyzer, and Δt2 is used to represent the stable operation period of the electrolyzer. It is used to represent the charge amount of the t-th first-level decision time interval, It is used to represent the charging amount of the t-th first-level decision time interval, γ is used to represent the area coefficient of the green power generation system, and p nt It is used to represent the power consumption of electrolytic cell n in the tth primary decision time interval, p nt-1 It is used to represent the power consumption of electrolytic cell n in the t-1th first-level decision time interval, eg t It is used to represent the online power consumption in the t-th first-level decision time interval. It can be understood that by using constraint (4) to perform time period energy balance constraints, ignoring the fluctuation of second-level power, the energy of each part in the decision period is calculated, where the area coefficient
[0054] Among them, the preset moment power constraint is:
[0055]
[0056] in, It is used to represent the photovoltaic power generation power in the t-th first-level decision time interval, p nt It is used to represent the power consumption of electrolytic cell n in the tth primary decision time interval, p nt-1 It is used to represent the power consumption of electrolytic cell n in the t-1th first-level decision time interval, P bat,max It is used to indicate the upper limit of the charge and discharge power of the energy storage system. It can be understood that constraint (5) ensures that the power difference at the initial moment in each first-level decision time interval can be supplemented by the discharge of the energy storage system, and the power difference is the difference between the photovoltaic power generation power and the power used by the electrolyzer; constraint (6) ensures that the power difference at the end moment in each first-level decision time interval can be supplemented by the discharge of the energy storage system.
[0057] It is understandable that when the green electricity generation system is wind power, Can be replaced by Represents the wind power generation power in the tth first-level decision time interval.
[0058] Among them, the preset time period energy constraint is:
[0059] 1. When there is surplus power at the initial moment of the first-level decision time interval and there is no surplus power at the end moment, the formula is satisfied:
[0060] 2. When there is no surplus power at the initial moment of the first-level decision time interval and there is surplus power at the end moment, the formula is satisfied:
[0061] 3. When there is surplus power at the initial moment of the first-level decision time interval and there is surplus power at the end moment, the formula is satisfied:
[0062]
[0063] in, It is used to represent the photovoltaic power generation power in the t-th first-level decision time interval, p nt It is used to represent the power consumption of electrolytic cell n in the tth primary decision time interval, p nt-1 It is used to represent the power consumption of electrolytic cell n in the t-1th first-level decision time interval, P bat,max It is used to indicate the upper limit of the charging and discharging power of the energy storage system, Δt1 is used to indicate the power ramp period of the electrolyzer, Δt2 is used to indicate the stable operation period of the electrolyzer, and γ is used to indicate the area coefficient of the green power generation system, eg t Used to indicate the remaining power within the tth first-level decision time interval.
[0064] It can be understood that constraints (7)-(9) ensure that if the remaining power exceeds the battery charging power within the first-level decision time interval, the remaining power will be connected to the network or discarded. The preset moment power constraint and the preset period energy constraint ensure that the energy management model has a solution.
[0065] Specifically, when constraint (7) When is positive, it means that the remaining power cannot be absorbed by the energy storage system at the initial time within the first-level decision time interval. When the constraint (8) When it is positive, it indicates the remaining power that cannot be absorbed by the energy storage system at the end time within the first-level decision time interval. The remaining power multiplied by the area coefficient and the duration represents the remaining electricity that cannot be absorbed.
[0066] At the same time, because the hydrogen production system in the embodiment of the present application can be in a weak grid-connected scenario or an off-grid scenario, when it is in a weak grid-connected scenario, it is also necessary to perform weak grid-connected scenario constraints, that is, the green electricity hydrogen production system can only discharge electricity to the grid but cannot draw electricity from the grid. The weak grid-connected scenario constraints are: t ≥0,t=1,...,T(9); where, eg t Used to indicate the remaining power within the tth first-level decision time interval.
[0067] In this embodiment, the energy management model is combined with the second-level processing of the strategy to realize a second-level energy scheduling strategy that takes into account the power ramping constraint of the electrolyzer. It combines the advantages of the energy scheduling algorithm in accurately solving long-term scheduling problems and the high-speed calculation advantages of scheduling results in seconds, avoiding the high computational cost modeling method with too many variables when only using traditional energy scheduling optimization algorithms to achieve second-level scheduling.
[0068] 504. Input the green electricity generation data, energy storage status data and hydrogen production status data into the constrained objective function to obtain an initial energy scheduling strategy, which is used to indicate energy scheduling instructions for each first-level decision time interval within a preset scheduling period.
[0069] The energy management system inputs green electricity generation data, energy storage status data and hydrogen production status data into the constrained objective function to obtain an initial energy scheduling strategy containing energy scheduling instructions for each first-level decision time interval within a preset scheduling period.
[0070] It is understandable that the energy management system inputs the acquired green electricity generation data, energy storage status data and hydrogen production status data into the constrained objective function of the energy management model. The energy management model will automatically generate an initial energy scheduling strategy, but the initial energy scheduling strategy is still the energy scheduling result of the first-level decision time interval, and the second-level power balance instruction disassembly can be performed.
[0071] 505. Analyze the initial energy scheduling strategy to obtain energy scheduling instructions for each first-level decision time interval within a preset scheduling period.
[0072] The energy management system analyzes the initial energy scheduling strategy and obtains energy scheduling instructions for each first-level decision time interval within the preset scheduling period.
[0073] 506. Constrain the energy scheduling instruction of each first-level decision time interval based on the preset moment power balance constraint to obtain the energy scheduling instruction of each second-level decision time interval in the target scheduling period, and the target scheduling period is less than or equal to the preset scheduling period.
[0074] For example, the following steps may be included: (1) the energy management system analyzes the green power generation data and the initial energy scheduling strategy corresponding to each first-level decision time interval within the target scheduling period, and obtains the green power generation power (in this embodiment of the application, the photovoltaic power generation) within each first-level decision time interval. As an example) and operating parameters, the operating parameters include energy storage charging capacity Energy storage discharge and the power used by each electrolytic cell p nt .
[0075] (2) The energy management system determines the power usage of each electrolytic cell in each second-level decision time interval during the target scheduling period based on the power usage of each electrolytic cell in each first-level decision time interval and the preset electrolytic cell power ramp constraint.
[0076] For example, the power p' at the tth first-level decision time interval of the nth electrolyzer at the tth second nτ for Among them, Δt1 is used to represent the power ramp period of the electrolyzer, Δt2 is used to represent the stable operation period of the electrolyzer, and p nt It is used to represent the power consumption of electrolytic cell n in the tth primary decision time interval, p nt-1 Used to represent the power consumption of electrolytic cell n in the t-1th first-level decision time interval.
[0077] It should be noted that in order to speed up the calculation process, it is not necessary to process the data of the entire preset scheduling period. Only the results within dt2 (algorithm iteration time) seconds need to be processed, because the algorithm of the energy management model will be re-iterated after every dt2 seconds, and the energy scheduling instructions after dt2 seconds will be discarded.
[0078] Among them, it is necessary to compare the iteration time dt2 and the preset scheduling period (Δt1+Δt2). When the iteration time dt2>Δt1+Δt2, the stable working period interval of the electrolytic cell is Δt1<τ≤Δt1+Δt2. When the iteration time dt2<Δt1+Δt2, the stable working period interval of the electrolytic cell is Δt1<τ≤dt2.
[0079] It is understandable that the time scale of the "preset scheduling period" is longer than that of the "target scheduling period". For example, the scheduling interval is the preset scheduling period (1 day), and the instruction for the first-level decision time interval (5 minutes) is given, and the instruction is modified to the second-level decision time interval (1 second). Then the preset scheduling period is 1 day, and the iteration speed of the energy management module is 5 minutes, that is, the target scheduling period (recalculation cycle) is 5 minutes, and it is recalculated every 5 minutes. Then the instruction to modify it to 1 second only needs to be done for 5 minutes. Among them, the preset scheduling period can be at the day or hour level, and the target scheduling period can be at the minute, second, millisecond, etc. level.
[0080] In the embodiment of the present application, the first-level decision time interval is a minute-level decision time interval, the second-level decision time interval is a second-level decision time interval, and the green power generation power is a photovoltaic power generation power.
[0081] For the sake of convenience, the data processing of the t-th minute-level decision time interval (for example, 5 minutes) is used as an example. Assume that the iteration time is dt2, and the power change rate of the selected electrolyzer is no more than 3% per second, that is, at least 34 seconds are required for power ramping. The power ramping period Δt1 is set to 50 seconds. Then the power p' of the n-th electrolyzer at the t-th minute-level decision time interval at the t-th second is nτ
[0082]
[0083] (3) The energy management system determines the energy storage discharge power in each second-level decision time interval within the target scheduling period based on the green electricity generation power in each first-level decision time interval and the power usage of each electrolytic cell in each second-level decision time interval within the target scheduling period.
[0084] For example, the discharge power at the τth second of the tth minute-level decision time interval is expressed as in, Used to represent the photovoltaic power generation power at the t-th minute-level decision time interval, p' nτ It is used to represent the power of the nth electrolyzer at the tth minute-level decision time interval.
[0085] (4) The energy management system determines the total energy storage charge during the target scheduling period based on the energy storage charge amount during each first-level decision time interval, the energy storage discharge amount during each first-level decision time interval, and the energy storage discharge power during each second-level decision time interval during the target scheduling period.
[0086] For example, in, It is used to indicate the total amount of electricity that needs to be charged within the t-th minute-level decision time interval. It is used to represent the net charge amount in the t-th minute-level decision time interval, It is used to represent the net discharge amount in the t-th minute-level decision time interval, It is used to represent the discharge power at the τth second of the tth minute-level decision time interval, and dt2 is used to represent the target scheduling period, where the unit of energy is kilowatt-hour, which needs to be converted into seconds, that is, one hour contains 3600 seconds.
[0087] (5) The energy management system determines the energy storage charging power at each secondary decision time interval within the target scheduling period based on the total energy storage charge power within the target scheduling period and the energy storage discharge power at each secondary decision time interval within the target scheduling period.
[0088] For example, the charging power at the τth second of the tth minute-level decision time interval is expressed as
[0089] in, Used to represent the photovoltaic power generation power at the t-th minute-level decision time interval, p' nτ It is used to represent the power of the nth electrolyzer at the tth minute-level decision time interval, P bat,max Used to indicate the upper limit of the charging and discharging power of the energy storage system. It is used to indicate the total amount of electricity that needs to be charged within the t-th minute-level decision time interval. It is used to represent the charging power at the τth second of the tth minute-level decision time interval.
[0090] (6) The energy management system determines the remaining power in each second-level decision time interval within the target scheduling period based on the preset power balance constraints, the green electricity generation power in each first-level decision time interval, the power usage of each electrolytic cell in each second-level decision time interval within the target scheduling period, the energy storage discharge power in each second-level decision time interval within the target scheduling period, and the energy storage charging power in each second-level decision time interval within the target scheduling period.
[0091] The remaining power may be used for feeding power to the grid or abandoned. The remaining power may be abandoned optical power or abandoned wind power, which is not specifically limited here.
[0092] For example, if the green power generation power is photovoltaic power generation power, the first-level decision time interval is a minute-level decision time interval, and the second-level decision time interval is a second-level decision time interval, then according to the preset moment power balance constraint, the remaining power at the tth minute-level time interval at the tth second is expressed as pg' τ , Among them, pg' τ It is used to represent the residual power at the tth second of the tth minute-level decision time interval, Used to represent the photovoltaic power generation power at the t-th minute-level decision time interval, p' nτ It is used to represent the power used by the nth electrolyzer at the tth minute-level decision time interval, It is used to represent the charging power at the τth second of the tth minute-level decision time interval, Used to represent the discharge power at the τth second of the tth minute-level decision time interval.
[0093] (7) The energy management system generates energy scheduling instructions for each secondary decision time interval within the target scheduling period based on the power usage of each electrolytic cell in each secondary decision time interval within the target scheduling period, the energy storage discharge power in each secondary decision time interval within the target scheduling period, the energy storage charging power in each secondary decision time interval within the target scheduling period, and the remaining power in each secondary decision time interval within the target scheduling period.
[0094] In this embodiment, the initial energy scheduling strategy is converted through strategy second-level processing to ensure power balance in seconds, thereby setting an energy management model for medium-length time intervals (for example, 5 minutes) to ensure the stability of electrolyzer operation. It more comprehensively considers the energy storage discharge and remaining power limitation caused by power ramping during the startup of the electrolyzer, thereby achieving the effect of increasing the hydrogen production during the actual operation of the green electricity hydrogen production system.
[0095] 507. Combine the energy scheduling instructions of each secondary decision time interval within the target scheduling period into a target energy scheduling strategy for the target scheduling period.
[0096] It is understandable that the energy scheduling instructions of minute-level decision time intervals can be parsed into second-level energy scheduling instructions. For example, the initial energy scheduling strategy of the conventional 5-minute decision time interval will be decomposed into a target energy scheduling strategy containing 300 second-level energy scheduling instructions.
[0097] Optionally, after step 507, the following steps are further included:
[0098] The target energy scheduling strategy is sent to the energy storage system and the hydrogen production system so that the energy storage system and the hydrogen production system work according to the target energy scheduling strategy. Among them, the execution subject of the target energy scheduling strategy may be an edge device, a cloud server or a power conversion system (PCS), etc. For example, the execution subject of the energy storage system may be a PCS, and the execution subject of the hydrogen production system may be other controllers, which are not limited here.
[0099] Specifically, the target energy scheduling strategy includes the energy storage discharge power for controlling each secondary decision time interval of the energy storage system, the energy storage charging power for each secondary decision time interval and the residual power for each secondary decision time interval, and is used to control the power usage of each electrolyzer of the hydrogen production system for each secondary decision time interval, wherein the power usage refers to the electrical power or hydrogen production power of the electrolyzer.
[0100] It can be understood that the power data in the target strategy satisfy the constraints of second-level power balance. If necessary, one or some power data within a certain second can be 0. In addition, if no adjustment is made to a certain scheduling object within a certain second, the current instruction of the scheduling object can be kept consistent with the previous instruction.
[0101] Optionally, after step 507, the following steps are further included:
[0102] When the green electricity hydrogen production system operates in the target scheduling period according to the target energy scheduling strategy, the preset energy management model is iteratively updated to obtain the iterated energy management model.
[0103] It should be noted that in order to speed up the calculation process, the data of the entire preset scheduling period does not need to be processed, and only the results within the target scheduling period dt2 seconds need to be processed, because the algorithm of the energy management model will be re-iterated after every dt2 seconds, and the energy scheduling instructions after dt2 seconds will be discarded.
[0104] In the embodiment of the present application, the initial energy scheduling strategy within the first-level decision time interval is determined through the time period energy balance constraint, and the initial energy scheduling strategy is converted into the energy scheduling strategy within the second-level decision time interval, which solves the problem of reduced stability of the electrolytic cell when the electrolytic cell is powered by a green electricity generation system, achieves time period energy balance and moment power balance within the target scheduling period, and improves the operation stability of the electrolytic cell.
[0105] The above describes the energy scheduling strategy generation method of the green electricity hydrogen production system in the embodiment of the present application. The following describes the energy scheduling strategy generation device of the green electricity hydrogen production system in the embodiment of the present application. Figure 6 , an embodiment of an energy scheduling strategy generation device for a green electricity hydrogen production system in an embodiment of the present application, the green electricity hydrogen production system includes a green electricity power generation system, an energy storage system and a hydrogen production system, and the energy scheduling strategy generation device for the green electricity hydrogen production system includes:
[0106] A data acquisition module 601 is used to acquire green electricity generation data of the green electricity generation system, energy storage status data of the energy storage system, and hydrogen production status data of the hydrogen production system;
[0107] A strategy solving module 602 is used to input the green electricity generation data, the energy storage state data and the hydrogen production state data into a preset energy management model to solve the scheduling strategy and obtain an initial energy scheduling strategy, wherein the initial energy scheduling strategy is used to indicate energy scheduling instructions for each first-level decision time interval within a preset scheduling period;
[0108] The strategy adjustment module 603 is used to adjust the initial energy scheduling strategy based on the preset moment power balance constraint to obtain the target energy scheduling strategy, wherein the target energy scheduling strategy includes the energy scheduling instructions of the secondary decision time interval within the target scheduling period, and the secondary decision time interval is smaller than the primary decision time interval.
[0109] In a feasible implementation manner, the strategy solving module 602 includes:
[0110] An initialization unit 6021 is used to initialize the objective function in the preset energy management model to obtain an initialized objective function;
[0111] A first constraint unit 6022 is used to constrain the initialized objective function based on a preset time period energy balance constraint, a preset moment power constraint and a preset time period energy constraint to obtain a constrained objective function;
[0112] The strategy generation unit 6023 is used to input the green electricity generation data, the energy storage status data and the hydrogen production status data into the constrained objective function to obtain an initial energy scheduling strategy.
[0113] In a feasible implementation manner, the constraint unit 6022 is specifically used to:
[0114] constraining the initialized objective function based on a preset energy storage constraint and a preset hydrogen production constraint to obtain a transitional objective function, wherein the hydrogen production constraint is used to indicate a constraint condition of an operating parameter of an electrolyzer in the hydrogen production system, and the energy storage constraint is used to indicate a constraint condition of an operating parameter of the energy storage system;
[0115] The objective function of the transition is constrained by a preset time period energy balance constraint, a preset moment power constraint and a preset time period energy constraint to obtain a constrained objective function.
[0116] In a feasible implementation manner, the policy adjustment module 603 includes:
[0117] The parsing unit 6031 is used to parse the initial energy scheduling strategy to obtain energy scheduling instructions for each first-level decision time interval within a preset scheduling period;
[0118] The second constraint unit 6032 is used to constrain the energy scheduling instruction of each first-level decision time interval based on the preset moment power balance constraint, and obtain the energy scheduling instruction of each second-level decision time interval in the target scheduling period, and the target scheduling period is less than or equal to the preset scheduling period;
[0119] The combining unit 6033 is used to combine the energy scheduling instructions of each secondary decision time interval within the target scheduling period into a target energy scheduling strategy for the target scheduling period.
[0120] In a feasible implementation manner, the second constraint unit 6032 is specifically used to:
[0121] The green electricity generation data and the initial energy scheduling strategy corresponding to each first-level decision time interval within the target scheduling period are analyzed respectively to obtain the green electricity generation power and operating parameters within each first-level decision time interval, wherein the operating parameters include the energy storage charging amount, the energy storage discharging amount and the power used by each electrolyzer;
[0122] Determine the power usage of each electrolytic cell in each secondary decision time interval within the target scheduling period based on the power usage of each electrolytic cell in each primary decision time interval and the preset electrolytic cell power ramp constraint;
[0123] Determine the energy storage discharge power of each secondary decision time interval within the target scheduling period based on the green electricity generation power within each primary decision time interval and the power usage of each electrolyzer within each secondary decision time interval within the target scheduling period;
[0124] Determine the total amount of energy storage charged in the target scheduling period based on the energy storage charge amount in each first-level decision time interval, the energy storage discharge amount in each first-level decision time interval, and the energy storage discharge power in each second-level decision time interval in the target scheduling period;
[0125] Determine the energy storage charging power of each secondary decision time interval within the target scheduling period based on the total energy storage charge during the target scheduling period and the energy storage discharge power of each secondary decision time interval within the target scheduling period;
[0126] Determine the remaining power of each secondary decision time interval in the target scheduling period based on the preset power balance constraint at the moment, the green electricity generation power in each primary decision time interval, the power usage of each electrolyzer in each secondary decision time interval in the target scheduling period, the energy storage discharge power in each secondary decision time interval in the target scheduling period, and the energy storage charging power in each secondary decision time interval in the target scheduling period;
[0127] Energy scheduling instructions for each secondary decision time interval within the target scheduling period are generated based on the power usage of each electrolytic cell in each secondary decision time interval within the target scheduling period, the energy storage discharge power in each secondary decision time interval within the target scheduling period, the energy storage charging power in each secondary decision time interval within the target scheduling period, and the remaining power in each secondary decision time interval within the target scheduling period.
[0128] In a feasible implementation manner, the second constraint unit 6032 is further specifically used for:
[0129] Determining the power ramp-up period of each electrolyzer based on a preset ramp-up time length;
[0130] Determine the stable operation period of each electrolyzer based on the preset ramp time length and target scheduling period;
[0131] Determine the ramping power of each electrolytic cell in each secondary decision time interval based on the power usage of each electrolytic cell in two adjacent primary decision time intervals and the power ramping period of each electrolytic cell, and determine the steady power of each electrolytic cell in each secondary decision time interval based on the power usage of each electrolytic cell in each primary decision time interval and the steady operation period of each electrolytic cell;
[0132] The power usage of each electrolytic cell in each secondary decision time interval during the target scheduling period is determined according to the climbing power of each electrolytic cell in each secondary decision time interval and the steady power of each electrolytic cell in each secondary decision time interval.
[0133] In a feasible implementation manner, the energy scheduling strategy generating device of the green electricity hydrogen production system further includes:
[0134] The sending module 604 is used to send the target energy scheduling strategy to the energy storage system and the hydrogen production system.
[0135] In a feasible implementation manner, the energy scheduling strategy generation device of the green electricity hydrogen production system further includes:
[0136] The iteration module 605 is used to iteratively update the preset energy management model when the green electricity hydrogen production system operates in the target scheduling period according to the target energy scheduling strategy to obtain an iterated energy management model.
[0137] In the embodiment of the present application, the initial energy scheduling strategy within the first-level decision time interval is determined through the time period energy balance constraint, and the initial energy scheduling strategy is converted into the target energy scheduling strategy within the second-level decision time interval, which solves the problem of reduced stability of the electrolytic cell when the electrolytic cell is powered by a green electricity generation system, achieves time period energy balance and moment power balance within the target scheduling period, and improves the operation stability of the electrolytic cell.
[0138] The energy management system further includes a processor and a memory, wherein the memory 701 stores machine executable instructions that can be executed by the processor 700 , and the processor 700 executes the machine executable instructions to implement the energy scheduling strategy generation method for the green electricity hydrogen production system.
[0139] Further, Figure 7 The energy management system shown further includes a bus 702 and a communication interface 703 , and the processor 700 , the communication interface 703 and the memory 701 are connected via the bus 702 .
[0140] The memory 701 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), for example, at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 703 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 702 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0141] The processor 700 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 700. The above processor 700 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 701 , and the processor 700 reads the information in the memory 701 and completes the method steps of the above-mentioned embodiment in combination with its hardware.
[0142] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of generating an energy scheduling strategy for the green electricity hydrogen production system, and the steps specifically include:
[0143] Obtain the green electricity generation data of the green electricity generation system, the energy storage status data of the energy storage system, and the hydrogen production status data of the hydrogen production system; input the green electricity generation data, the energy storage status data, and the hydrogen production status data into a preset energy management model, solve the scheduling strategy, and obtain the initial energy scheduling strategy, which is used to indicate the energy scheduling instructions for each first-level decision time interval within the preset scheduling period; adjust the initial energy scheduling strategy based on the preset moment power balance constraint to obtain the target energy scheduling strategy, which includes the energy scheduling instructions for the second-level decision time interval within the target scheduling period, and the second-level decision time interval is less than the first-level decision time interval. In the embodiment of the present application, the initial energy scheduling strategy within the first-level decision time interval is determined by the time period energy balance constraint, and the initial energy scheduling strategy is converted into the target energy scheduling strategy within the second-level decision time interval, which solves the problem of reduced stability of the electrolyzer when the electrolyzer is powered by the green electricity generation system, and achieves the time period energy balance and moment power balance within the target scheduling period, thereby improving the operation stability of the electrolyzer.
[0144] The above-mentioned green electricity generation data, energy storage status data and hydrogen production status data are input into a preset energy management model to solve the scheduling strategy and obtain an initial energy scheduling strategy, including: initializing the objective function in the preset energy management model to obtain an initialized objective function; constraining the initialized objective function based on a preset time period energy balance constraint, a preset moment power constraint and a preset time period energy constraint to obtain a constrained objective function; inputting the green electricity generation data, energy storage status data and hydrogen production status data into the constrained objective function to obtain an initial energy scheduling strategy.
[0145] The above-mentioned method constrains the initialized objective function based on the preset time period energy balance constraint, the preset moment power constraint and the preset time period energy constraint to obtain the constrained objective function, including: constraining the initialized objective function based on the preset energy storage constraint and the preset hydrogen production constraint to obtain a transition objective function, the hydrogen production constraint is used to indicate the restriction conditions of the operating parameters of the electrolyzer in the hydrogen production system, and the energy storage constraint is used to indicate the restriction conditions of the operating parameters of the energy storage system; constraining the transition objective function by the preset time period energy balance constraint, the preset moment power constraint and the preset time period energy constraint to obtain the constrained objective function.
[0146] The above-mentioned method adjusts the initial energy scheduling strategy based on the preset moment power balance constraint to obtain the target energy scheduling strategy, which includes the energy scheduling instructions for the secondary decision time intervals within the target scheduling period, including: parsing the initial energy scheduling strategy to obtain the energy scheduling instructions for each first-level decision time interval within the preset scheduling period; constraining the energy scheduling instructions for each first-level decision time interval based on the preset moment power balance constraint to obtain the energy scheduling instructions for each second-level decision time interval within the target scheduling period, and the target scheduling period is less than or equal to the preset scheduling period; combining the energy scheduling instructions for each second-level decision time interval within the target scheduling period into the target energy scheduling strategy for the target scheduling period.
[0147] The above-mentioned energy scheduling instructions for each first-level decision time interval are constrained based on the preset moment power balance constraint to obtain the energy scheduling instructions for each second-level decision time interval in the target scheduling period, including: respectively analyzing the green electricity generation data and the initial energy scheduling strategy corresponding to each first-level decision time interval in the target scheduling period to obtain the green electricity generation power and operating parameters in each first-level decision time interval, the operating parameters including the energy storage charging amount, the energy storage discharging amount and the power usage of each electrolyzer; determining the power usage of each electrolyzer in each second-level decision time interval in the target scheduling period based on the power usage of each electrolyzer in each first-level decision time interval and the preset electrolyzer power climbing constraint; determining the energy storage discharge power in each second-level decision time interval in the target scheduling period based on the green electricity generation power in each first-level decision time interval and the power usage of each electrolyzer in each second-level decision time interval in the target scheduling period; determining the energy storage discharge power in each second-level decision time interval in the target scheduling period based on the energy storage charging amount in each first-level decision time interval, the energy storage discharge amount in each first-level decision time interval and the power usage of each second-level decision in the target scheduling period The total amount of energy storage charged in the target scheduling period is determined based on the energy storage discharge power of each secondary decision time interval in the target scheduling period; the energy storage charging power in each secondary decision time interval in the target scheduling period is determined based on the total amount of energy storage charged in the target scheduling period and the energy storage discharge power in each secondary decision time interval in the target scheduling period; the residual power in each secondary decision time interval in the target scheduling period is determined based on the preset moment power balance constraint, the green electricity generation power in each primary decision time interval, the power used by each electrolyzer in each secondary decision time interval in the target scheduling period, the energy storage discharge power in each secondary decision time interval in the target scheduling period, and the energy storage charging power in each secondary decision time interval in the target scheduling period; the energy scheduling instructions for each secondary decision time interval in the target scheduling period are generated based on the power used by each electrolyzer in each secondary decision time interval in the target scheduling period, the energy storage discharge power in each secondary decision time interval in the target scheduling period, the energy storage charging power in each secondary decision time interval in the target scheduling period, and the residual power in each secondary decision time interval in the target scheduling period.
[0148] The above-mentioned method of determining the power usage of each electrolytic cell in each secondary decision time interval within the target scheduling period based on the power usage of each electrolytic cell in each first-level decision time interval and the preset electrolytic cell power climbing constraint includes: determining the power climbing period of each electrolytic cell based on the preset climbing time length; determining the stable operation time period of each electrolytic cell based on the preset climbing time length and the target scheduling period; determining the climbing power of each electrolytic cell in each secondary decision time interval based on the power usage of each electrolytic cell in two adjacent first-level decision time intervals and the power climbing period of each electrolytic cell, and determining the stable power of each electrolytic cell in each secondary decision time interval based on the power usage of each electrolytic cell in each first-level decision time interval and the stable operation period of each electrolytic cell; determining the power usage of each electrolytic cell in each secondary decision time interval within the target scheduling period according to the climbing power of each electrolytic cell in each secondary decision time interval and the stable power of each electrolytic cell in each secondary decision time interval.
[0149] After the initial energy scheduling strategy is adjusted based on the preset power balance constraint to obtain the target energy scheduling strategy, the method further includes: sending the target energy scheduling strategy to the energy storage system and the hydrogen production system.
[0150] After the initial energy scheduling strategy is adjusted based on the preset power balance constraint to obtain the target energy scheduling strategy, the method also includes: when the green electricity hydrogen production system operates the target scheduling period according to the target energy scheduling strategy, the preset energy management model is iteratively updated to obtain the iterated energy management model.
[0151] The above-mentioned first-level decision time interval is a minute-level decision time interval, and the second-level decision time interval is a second-level decision time interval.
[0152] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0153] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0154] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0155] Finally, it should be noted that the above embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art who is familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for generating an energy scheduling strategy for a green electricity hydrogen production system, characterized in that: The green electricity hydrogen production system includes an energy management system, a green electricity power generation system, an energy storage system and a hydrogen production system. The method includes: Acquire green electricity generation data of the green electricity generation system, energy storage status data of the energy storage system, and hydrogen production status data of the hydrogen production system; Inputting the green electricity generation data, the energy storage status data and the hydrogen production status data into a preset energy management model, solving the scheduling strategy, and obtaining an initial energy scheduling strategy, wherein the initial energy scheduling strategy is used to indicate energy scheduling instructions for each first-level decision time interval within a preset scheduling period; The initial energy scheduling strategy is adjusted based on a preset moment power balance constraint to obtain a target energy scheduling strategy, wherein the target energy scheduling strategy includes energy scheduling instructions for a secondary decision time interval within a target scheduling period, and the secondary decision time interval is smaller than the primary decision time interval.
2. The method for generating an energy scheduling strategy for a green electricity hydrogen production system according to claim 1, characterized in that: The step of inputting the green electricity generation data, the energy storage state data and the hydrogen production state data into a preset energy management model to solve the scheduling strategy and obtain an initial energy scheduling strategy includes: Initializing the objective function in the preset energy management model to obtain an initialized objective function; Constraining the initialized objective function based on a preset time period energy balance constraint, a preset moment power constraint, and a preset time period energy constraint to obtain a constrained objective function; The green electricity generation data, the energy storage status data and the hydrogen production status data are input into the constrained objective function to obtain an initial energy scheduling strategy.
3. The method for generating an energy scheduling strategy for a green electricity hydrogen production system according to claim 2, characterized in that: The initialization objective function is constrained based on the preset time period energy balance constraint, the preset moment power constraint and the preset time period energy constraint to obtain the constrained objective function, including: constraining the initialized objective function based on a preset energy storage constraint and a preset hydrogen production constraint to obtain a transitional objective function, wherein the hydrogen production constraint is used to indicate a constraint condition of an operating parameter of an electrolyzer in the hydrogen production system, and the energy storage constraint is used to indicate a constraint condition of an operating parameter of the energy storage system; The objective function of the transition is constrained by a preset time period energy balance constraint, a preset moment power constraint and a preset time period energy constraint to obtain a constrained objective function.
4. The energy scheduling strategy generation method for the green electricity hydrogen production system according to claim 1 is characterized in that: The initial energy scheduling strategy is adjusted based on the preset moment power balance constraint to obtain a target energy scheduling strategy, wherein the target energy scheduling strategy includes energy scheduling instructions for the secondary decision time interval within the target scheduling period, including: Analyze the initial energy scheduling strategy to obtain energy scheduling instructions for each first-level decision time interval within a preset scheduling period; Constraining the energy scheduling instruction of each first-level decision time interval based on the preset moment power balance constraint to obtain the energy scheduling instruction of each second-level decision time interval within the target scheduling period, wherein the target scheduling period is less than or equal to the preset scheduling period; The energy scheduling instructions of each secondary decision time interval within the target scheduling period are combined into a target energy scheduling strategy for the target scheduling period.
5. The method for generating an energy scheduling strategy for a green electricity hydrogen production system according to claim 4, characterized in that: The energy scheduling instruction of each first-level decision time interval is constrained based on the preset moment power balance constraint to obtain the energy scheduling instruction of each second-level decision time interval within the target scheduling period, including: The green electricity generation data and the initial energy scheduling strategy corresponding to each first-level decision time interval within the target scheduling period are analyzed respectively to obtain the green electricity generation power and operating parameters within each first-level decision time interval, wherein the operating parameters include the energy storage charging amount, the energy storage discharging amount and the power used by each electrolyzer; Determine the power usage of each electrolytic cell in each secondary decision time interval within the target scheduling period based on the power usage of each electrolytic cell in each primary decision time interval and the preset electrolytic cell power ramp constraint; Determine the energy storage discharge power of each secondary decision time interval within the target scheduling period based on the green electricity generation power within each primary decision time interval and the power usage of each electrolyzer within each secondary decision time interval within the target scheduling period; Determine the total amount of energy storage charged in the target scheduling period based on the energy storage charge amount in each first-level decision time interval, the energy storage discharge amount in each first-level decision time interval, and the energy storage discharge power in each second-level decision time interval in the target scheduling period; Determine the energy storage charging power of each secondary decision time interval within the target scheduling period based on the total energy storage charge during the target scheduling period and the energy storage discharge power of each secondary decision time interval within the target scheduling period; Determine the remaining power of each secondary decision time interval in the target scheduling period based on the preset power balance constraint at the moment, the green electricity generation power in each primary decision time interval, the power usage of each electrolyzer in each secondary decision time interval in the target scheduling period, the energy storage discharge power in each secondary decision time interval in the target scheduling period, and the energy storage charging power in each secondary decision time interval in the target scheduling period; Energy scheduling instructions for each secondary decision time interval within the target scheduling period are generated based on the power usage of each electrolytic cell in each secondary decision time interval within the target scheduling period, the energy storage discharge power in each secondary decision time interval within the target scheduling period, the energy storage charging power in each secondary decision time interval within the target scheduling period, and the remaining power in each secondary decision time interval within the target scheduling period.
6. The method for generating an energy scheduling strategy for a green electricity hydrogen production system according to claim 5, characterized in that: The method of determining the power usage of each electrolytic cell in each secondary decision time interval within the target scheduling period based on the power usage of each electrolytic cell in each primary decision time interval and the preset electrolytic cell power ramp constraint includes: Determining the power ramp-up period of each electrolyzer based on a preset ramp-up time length; Determine the stable operation period of each electrolyzer based on the preset ramp time length and target scheduling period; Determine the ramping power of each electrolytic cell in each secondary decision time interval based on the power usage of each electrolytic cell in two adjacent primary decision time intervals and the power ramping period of each electrolytic cell, and determine the steady power of each electrolytic cell in each secondary decision time interval based on the power usage of each electrolytic cell in each primary decision time interval and the steady operation period of each electrolytic cell; The power usage of each electrolytic cell in each secondary decision time interval during the target scheduling period is determined according to the climbing power of each electrolytic cell in each secondary decision time interval and the steady power of each electrolytic cell in each secondary decision time interval.
7. The method for generating an energy scheduling strategy for a green electricity hydrogen production system according to any one of claims 1 to 6, characterized in that: After the initial energy scheduling strategy is adjusted based on the preset moment power balance constraint to obtain the target energy scheduling strategy, the method further includes: The target energy scheduling strategy is sent to the energy storage system and the hydrogen production system.
8. The method for generating an energy scheduling strategy for a green electricity hydrogen production system according to any one of claims 1 to 6, characterized in that: After the initial energy scheduling strategy is adjusted based on the preset moment power balance constraint to obtain the target energy scheduling strategy, the method further includes: When the green electricity hydrogen production system operates in a target scheduling period according to the target energy scheduling strategy, the preset energy management model is iteratively updated to obtain an iterated energy management model.
9. The method for generating an energy scheduling strategy for a green electricity hydrogen production system according to any one of claims 1 to 6, characterized in that: The first-level decision time interval is a minute-level decision time interval, and the second-level decision time interval is a second-level decision time interval.
10. An energy scheduling strategy generation device for a green electricity hydrogen production system, characterized in that: The green electricity hydrogen production system includes an energy management system, a green electricity power generation system, an energy storage system and a hydrogen production system. The energy scheduling strategy generation device of the green electricity hydrogen production system includes: A data acquisition module, used to acquire green electricity generation data of the green electricity generation system, energy storage status data of the energy storage system, and hydrogen production status data of the hydrogen production system; A solution module, used for inputting the green electricity generation data, the energy storage state data and the hydrogen production state data into a preset energy management model, solving the scheduling strategy, and obtaining an initial energy scheduling strategy, wherein the initial energy scheduling strategy is used to indicate energy scheduling instructions for each first-level decision time interval within a preset scheduling period; A strategy adjustment module is used to adjust the initial energy scheduling strategy based on a preset moment power balance constraint to obtain a target energy scheduling strategy, wherein the target energy scheduling strategy includes energy scheduling instructions for a secondary decision time interval within a target scheduling period, and the secondary decision time interval is smaller than the primary decision time interval.
11. An energy management system, characterized in that: Applied to a green electricity hydrogen production system, the green electricity hydrogen production system includes a green electricity power generation system, an energy storage system and a hydrogen production system, the energy management system includes a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected through a line; The at least one processor calls the instructions in the memory so that the energy management system executes the energy scheduling strategy generation method for the green electricity hydrogen production system as described in any one of claims 1-9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed by a processor, implement the energy scheduling strategy generation method for a green electricity hydrogen production system as described in any one of claims 1-9.
Citation Information
Cited By
Evaluation method and device for green ionization network hydrogen production system
CN119721470A
