Multi-time-scale electric hydrogen production field station power distribution method and device and storage medium

Through the multi-time scale power distribution method of electric hydrogen production stations, the power of electrolyzers is dynamically adjusted, which solves the problems of inefficiency and energy waste caused by changes in grid load and the volatility of renewable energy, and achieves more efficient and stable power generation. Hydrogen production process.

CN118841998APending Publication Date: 2024-10-25TSINGHUA UNIVERSITY +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410851085.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-25

Smart Images

  • Figure CN118841998A_ABST
    Figure CN118841998A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric hydrogen production, in particular to a multi-time-scale electric hydrogen production station power distribution method and device and a storage medium. The method comprises the steps that the total electrolysis power of an electric hydrogen production cluster in a target time period is obtained, reference data of each electrolytic cell in the target time period are calculated through a scheduling model according to the total electrolysis power, and the reference data comprise predicted data having an incidence relation with the power of the electrolytic cells; and for each electrolytic cell, according to the reference data of the electrolytic cell in the target time period, the real-time data of the electrolytic cell in each sub-period of the target time period is corrected, the target time period comprises a plurality of sub-periods, and the real-time data comprises data which is obtained through real-time measurement and has an association relationship with the power of the electrolytic cell. According to the method provided by the embodiment of the invention, multi-time-scale power distribution is realized, the method can better adapt to changes of power grid loads and renewable energy sources, and the efficiency and the stability of electric hydrogen production are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electric hydrogen production, and in particular to a method, device and storage medium for allocating power at a multi-time scale electric hydrogen production site. Background Art

[0002] With the rapid development of renewable energy, especially the large-scale grid connection of intermittent energy such as wind and solar energy, grid dispatching faces new challenges. In order to balance supply and demand and improve the stability of the system, hydrogen production has attracted widespread attention as a way of energy storage. Hydrogen production stations produce hydrogen by electrolyzing water, which can not only store excess electricity, but also convert hydrogen into electricity when needed, realizing the efficient use of energy.

[0003] At present, there are two main ways to allocate power within hydrogen production sites: average allocation and efficiency optimization allocation. Average allocation is simple and easy to implement, but may not achieve the best economic benefits; while efficiency optimization allocation can improve overall efficiency, it often ignores the real-time needs and safety constraints of the power grid. This fixed strategy often cannot adapt to changes in power grid load and the volatility of renewable energy, resulting in low efficiency and energy waste in hydrogen production. Summary of the invention

[0004] In view of this, the present disclosure proposes a multi-time-scale electric hydrogen production station power allocation method, device and storage medium.

[0005] According to one aspect of the present disclosure, a multi-time scale electric hydrogen production station power allocation method is provided, the method comprising:

[0006] Obtaining a total electrolysis power of an electric hydrogen production cluster within a target period, wherein the electric hydrogen production cluster includes a plurality of electrolyzers;

[0007] According to the total electrolysis power of the electric hydrogen production cluster in the target period, the benchmark data of each electrolyzer in the target period is calculated by the scheduling model, and the benchmark data includes the predicted data associated with the power of the electrolyzer;

[0008] For each of the electrolytic cells, the real-time data of the electrolytic cell in each sub-period of the target time period is corrected according to the baseline data of the electrolytic cell in the target time period, the target time period includes multiple sub-periods, and the real-time data includes data obtained by real-time measurement that is correlated with the power of the electrolytic cell.

[0009] In a possible implementation, the correcting of the real-time data of the electrolytic cell in each sub-period of the target time period according to the benchmark data of the electrolytic cell in the target time period includes:

[0010] For the real-time data of the electrolytic cell in each sub-period of the target time period, corresponding corrected real-time data is determined based on the real-time data and the benchmark data, and the corrected real-time data is used to instruct the controller of the electrolytic cell to control the power of the electrolytic cell.

[0011] In another possible implementation, the reference data includes predicted start / stop indications, stack temperature, and stack current, and the real-time data includes real-time measured start / stop indications, stack temperature, and stack current.

[0012] In another possible implementation, determining corresponding corrected real-time data according to the real-time data and the reference data includes:

[0013] Based on at least one of the first constraint condition, the second constraint condition, the third constraint condition and the fourth constraint condition, determining corresponding corrected real-time data according to the real-time data and the reference data;

[0014] The first constraint is used to indicate that the sum of the powers of the multiple electrolytic cells in each sub-period of the target time period is equal to the total electrolysis power. The second constraint is used to indicate the lower limit and upper limit of the stack current of each electrolytic cell in each sub-period of the target time period. The third constraint is used to indicate that the hydrogen content in the oxygen in the s+1th sub-period of the target time period is equal to the sum of the hydrogen content in the oxygen in the sth sub-period and the impurity difference, and the impurity difference is the difference between the impurity content entering the sth sub-period and the impurity content discharged from the sth sub-period. The fourth constraint is used to indicate the upper limit of the hydrogen content in the oxygen, and s is a positive integer.

[0015] In another possible implementation, the method further includes:

[0016] For each of the electrolyzers, determining a state variable of the electrolyzer in the target period according to the benchmark data of the electrolyzer in the target period, wherein the state variable comprises at least one of a power factor, a hydrogen output, and a hydrogen content in oxygen, wherein the power factor is used to indicate the quality of electric energy;

[0017] The state variables of the electrolytic cell in the target time period are returned to the scheduling model, and the state variables of the electrolytic cell in the target time period are used to make decisions in the scheduling model for the next time period.

[0018] In another possible implementation, the constraints of the scheduling model include power factor constraints, and the power factor constraints are used to indicate the lower limit value of the power factor of the electrolyzer specified by the grid specifications, and the power factor is used to indicate the quality of electric energy.

[0019] In another possible implementation, the constraints of the scheduling model also include power constraints and safety constraints. The power constraints are used to indicate an upper limit value of the power of the electrolyzer determined based on a preset power coefficient, and the safety constraints are used to indicate an upper limit value of the hydrogen content in oxygen determined by the internal safety operation constraints of the load of the electrolyzer.

[0020] According to another aspect of the present disclosure, a multi-time scale electric hydrogen production station power distribution device is provided, the device comprising:

[0021] An acquisition module, used to acquire a total electrolysis power of an electric hydrogen production cluster within a target period, wherein the electric hydrogen production cluster includes a plurality of electrolyzers;

[0022] A scheduling module, configured to calculate, according to the total electrolysis power of the electric hydrogen production cluster in the target period, the benchmark data of each electrolyzer in the target period through a scheduling model, wherein the benchmark data includes predicted data associated with the power of the electrolyzer;

[0023] A correction module is used to correct the real-time data of each electrolytic cell in each sub-period of the target time period according to the baseline data of the electrolytic cell in the target time period, wherein the target time period includes multiple sub-periods, and the real-time data includes data obtained by real-time measurement and associated with the power of the electrolytic cell.

[0024] In a possible implementation, the correction module is further used to:

[0025] For the real-time data of the electrolytic cell in each sub-period of the target time period, corresponding corrected real-time data is determined based on the real-time data and the benchmark data, and the corrected real-time data is used to instruct the controller of the electrolytic cell to control the power of the electrolytic cell.

[0026] In another possible implementation, the reference data includes predicted start / stop indications, stack temperature, and stack current, and the real-time data includes real-time measured start / stop indications, stack temperature, and stack current.

[0027] In another possible implementation, the correction module is further used to:

[0028] Based on at least one of the first constraint condition, the second constraint condition, the third constraint condition and the fourth constraint condition, determining corresponding corrected real-time data according to the real-time data and the reference data;

[0029] The first constraint is used to indicate that the sum of the powers of the multiple electrolytic cells in each sub-period of the target time period is equal to the total electrolysis power. The second constraint is used to indicate the lower limit and upper limit of the stack current of each electrolytic cell in each sub-period of the target time period. The third constraint is used to indicate that the hydrogen content in the oxygen in the s+1th sub-period of the target time period is equal to the sum of the hydrogen content in the oxygen in the sth sub-period and the impurity difference, and the impurity difference is the difference between the impurity content entering the sth sub-period and the impurity content discharged from the sth sub-period. The fourth constraint is used to indicate the upper limit of the hydrogen content in the oxygen, and s is a positive integer.

[0030] In another possible implementation, the apparatus further includes: a determining module, configured to:

[0031] For each of the electrolyzers, determining a state variable of the electrolyzer in the target period according to the benchmark data of the electrolyzer in the target period, wherein the state variable comprises at least one of a power factor, a hydrogen output, and a hydrogen content in oxygen, wherein the power factor is used to indicate the quality of electric energy;

[0032] The state variables of the electrolytic cell in the target time period are returned to the scheduling model, and the state variables of the electrolytic cell in the target time period are used to make decisions in the scheduling model for the next time period.

[0033] In another possible implementation, the constraints of the scheduling model include power factor constraints, and the power factor constraints are used to indicate the lower limit value of the power factor of the electrolyzer specified by the grid specifications, and the power factor is used to indicate the quality of electric energy.

[0034] In another possible implementation, the constraints of the scheduling model also include power constraints and safety constraints. The power constraints are used to indicate an upper limit value of the power of the electrolyzer determined based on a preset power coefficient, and the safety constraints are used to indicate an upper limit value of the hydrogen content in oxygen determined by the internal safety operation constraints of the load of the electrolyzer.

[0035] According to another aspect of the present disclosure, a multi-time scale electric hydrogen production station power distribution device is provided, the device comprising:

[0036] processor;

[0037] a memory for storing processor-executable instructions;

[0038] Wherein, the processor is configured to implement the above method when executing the instructions stored in the memory.

[0039] According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor.

[0040] According to another aspect of the present disclosure, a computer program product is provided, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of a computing device, the processor in the computing device executes the above method.

[0041] The disclosed embodiment proposes a multi-time-scale power allocation method for hydrogen production sites, which consists of a scheduling model and a real-time incremental correction algorithm. The method obtains the total electrolysis power of the hydrogen production cluster in the target period, and calculates the benchmark data of each electrolyzer in the target period through the scheduling model; for each electrolyzer, the real-time data of the electrolyzer in each sub-period of the target period is corrected according to the benchmark data of the electrolyzer in the target period, thereby realizing multi-time-scale power allocation. This method can better adapt to the changes in grid load and renewable energy, and improve the efficiency and stability of hydrogen production.

[0042] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0044] Figure 1 A schematic diagram of the structure of a computing device provided by an exemplary embodiment of the present disclosure is shown.

[0045] Figure 2 A flowchart of a multi-time-scale power allocation method for an electric hydrogen production station provided by an exemplary embodiment of the present disclosure is shown.

[0046] Figure 3 A schematic diagram showing a principle of a method provided by an exemplary embodiment of the present disclosure is shown.

[0047] Figure 4 An efficiency heat map corresponding to a multi-stack scheduling strategy provided by an exemplary embodiment of the present disclosure is shown.

[0048] Figure 5 A schematic diagram showing different scheduling strategies under different load levels provided by an exemplary embodiment of the present disclosure is shown.

[0049] Figure 6A schematic structural diagram of a multi-time-scale electric hydrogen production station power distribution device provided by an exemplary embodiment of the present disclosure is shown.

[0050] Figure 7 A block diagram of a device for multi-time-scale power allocation of an electric hydrogen production site is shown according to an exemplary embodiment. DETAILED DESCRIPTION

[0051] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0052] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0053] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0054] First, the execution subject of the method provided in the embodiment of the present disclosure is introduced. The execution subject of the method can be a computing device. Figure 1 , which shows a schematic diagram of the structure of a computing device provided by an exemplary embodiment of the present disclosure.

[0055] The computing device can be a server or a terminal. The terminal includes a mobile terminal or a fixed terminal, such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc. The server can be a server, a server cluster consisting of several servers, or a cloud computing service center.

[0056] The computing device includes a processor 10, a memory 20, and a communication interface 30. Those skilled in the art will appreciate that Figure 1 The structure shown in the figure does not constitute a limitation on the computing device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0057] The processor 10 is the control center of the computing device, and uses various interfaces and lines to connect various parts of the entire computing device. It executes various functions of the computing device and processes data by running or executing software programs and / or modules stored in the memory 20, and calling data stored in the memory 20, thereby controlling the computing device as a whole. The processor 10 can be implemented by a CPU or a GPU.

[0058] The memory 20 can be used to store software programs and modules. The processor 10 executes various functional applications and data processing by running the software programs and modules stored in the memory 20. The memory 20 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system 21, an acquisition module 22, a scheduling module 23, a correction module 24 and an application 25 required for at least one function, etc.; the data storage area may store data created according to the use of the computing device, etc. The memory 20 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk. Accordingly, the memory 20 may further include a memory controller to provide the processor 10 with access to the memory 20 .

[0059] Among them, the processor 10 performs the following functions by running the acquisition module 22: obtaining the total electrolysis power of the electric hydrogen production cluster within the target time period, and the electric hydrogen production cluster includes multiple electrolyzers; the processor 10 performs the following functions by running the scheduling module 23: according to the total electrolysis power of the electric hydrogen production cluster within the target time period, the benchmark data of each electrolyzer within the target time period is calculated by the scheduling model, and the benchmark data includes predicted data that is associated with the power of the electrolyzer; the processor 10 performs the following functions by running the correction module 24: for each electrolyzer, according to the benchmark data of the electrolyzer within the target time period, the real-time data of the electrolyzer within each sub-period of the target time period is corrected, the target time period includes multiple sub-periods, and the real-time data includes data that is associated with the power of the electrolyzer obtained by real-time measurement.

[0060] Below, several exemplary embodiments are used to introduce a multi-time-scale power allocation method for an electric hydrogen production station provided by an embodiment of the present disclosure.

[0061] Please refer to Figure 2 , which shows a flowchart of a multi-time scale power allocation method for an electric hydrogen production station provided by an exemplary embodiment of the present disclosure. The method includes the following steps.

[0062] Step 201 : obtaining a total electrolysis power of a hydrogen production cluster within a target period of time, where the hydrogen production cluster includes a plurality of electrolyzers.

[0063] The electric hydrogen production cluster includes multiple electrolyzers, each of which produces hydrogen by electrolyzing water. The total electrolysis power of the electric hydrogen production cluster during the target period refers to the sum of the powers of all electrolyzers in the electric hydrogen production cluster during the target period. The total electrolysis power of the electric hydrogen production cluster during the target period is preset, which can be a default setting or a custom setting. The total electrolysis power of the electric hydrogen production cluster during the target period can be determined by the power instruction issued by the power grid. Among them, the source of the power instruction: usually the power grid issues a power instruction to adjust the working state of the electrolyzer based on factors such as system load demand, power market conditions and power grid stability. The role of the power instruction: guides the total electrolysis power of the electric hydrogen production cluster during the target period, which directly affects the production and efficiency of hydrogen. By accurately controlling the power of the electrolysis process, it is possible to maximize the use of renewable energy, reduce carbon emissions, and improve energy conversion efficiency.

[0064] The target period is the time range for observation or experiment. The target period is a preset period of time, such as a preset hour.

[0065] Step 202, based on the total electrolysis power of the hydrogen production cluster in the target period, the benchmark data of each electrolyzer in the target period is calculated by the scheduling model, and the benchmark data includes predicted data that is correlated with the power of the electrolyzer.

[0066] The scheduling model may be a preset model, which is a model for allocating power to multiple electrolyzers of the electric hydrogen production cluster based on the total electrolysis power of the electric hydrogen production cluster within the target period. The scheduling model is used to calculate and determine the benchmark data corresponding to each of the multiple electrolyzers of the electric hydrogen production cluster within the target period. Optionally, the scheduling model is a scheduling model for robust multi-stack prediction at the hourly level.

[0067] The implementation of the scheduling model in the electric hydrogen production cluster needs to consider a variety of constraints to ensure the efficiency and safety of the system operation. The constraints of the scheduling model include but are not limited to the following:

[0068] 1. Power factor constraint: The power factor constraint is used to indicate the lower limit of the power factor of the electrolyzer specified by the grid specification. The power factor is used to indicate the power quality. This helps maintain the stability of the grid and prevent potential damage to the grid due to overload. By controlling the power factor, the grid load can be effectively balanced and the power quality can be optimized. The power factor constraint is also called the PF constraint.

[0069] 2. Power constraint: The power constraint is used to indicate the upper limit of the power of the electrolyzer determined based on the preset power coefficient. This measure not only helps protect the equipment from the risk of overload, but also ensures the economic efficiency of the hydrogen production process and the optimization of energy utilization. Reasonable setting of the power upper limit can avoid unnecessary energy waste and improve the sustainability of the system.

[0070] 3. Safety constraints: Safety constraints are used to indicate the upper limit of the hydrogen content in oxygen determined by the internal safety operation constraints of the electrolyzer's load. A mixture of hydrogen and oxygen is very prone to explosion at a certain ratio. Therefore, strictly controlling the hydrogen content in oxygen to avoid reaching a dangerous level is an important measure to ensure the safe operation of the electric hydrogen production cluster. Through real-time monitoring and adjustment, the occurrence of safety accidents can be effectively prevented. In addition, the comprehensive application of these constraints can not only improve the operating efficiency of the electric hydrogen production cluster, but also ensure long-term stable and safe hydrogen production. Safety constraints are also called HTO constraints.

[0071] It should be noted that the relevant details of the scheduling model can be referred to the relevant description in the following embodiments and will not be introduced here.

[0072] The power of the electrolyzer is a function of the stack current and stack temperature, so the start-stop instructions, operating temperature and operating current of the electrolyzer can be calculated based on the characteristics of the electrolyzer itself. Optionally, the baseline data includes predicted start-stop instructions, stack temperature and stack current. In the electric hydrogen cluster, the start-stop instructions, stack temperature and stack current are key parameters that affect the power of the electrolyzer. The following is an introduction to these key parameters: 1. Start-stop instructions: The start-stop instructions are instructions for the electrolyzer to start or stop working according to actual needs or preset plans. In electric hydrogen technology, frequent start and stop operations may cause damage to the proton exchange membrane of the electrolyzer, especially under high temperature and high pressure environments. 2. Stack temperature: The stack temperature refers to the operating temperature of the electrolyzer during the electrolysis process. This parameter is critical to the efficiency and stability of the system because the stack temperature directly affects the rate of electrochemical reactions and the performance of the proton exchange membrane. Too high a stack temperature may cause membrane degradation, while too low a stack temperature will slow down the reaction rate and reduce hydrogen production efficiency. 3. Stack current: Stack current refers to the working current passing through the electrolyzer during the electrolysis process. The size of the stack current directly affects the production and speed of hydrogen. An increase in current density can speed up the production of hydrogen, but it may also lead to higher energy consumption and greater system load.

[0073] Step 203, for each electrolytic cell, based on the baseline data of the electrolytic cell in the target time period, correct the real-time data of the electrolytic cell in each sub-period of the target time period, the target time period includes multiple sub-periods, and the real-time data includes data obtained by real-time measurement that is correlated with the power of the electrolytic cell.

[0074] For each electrolytic cell, the real-time data of the electrolytic cell in each sub-period of the target time period is corrected by a real-time incremental correction algorithm according to the baseline data of the electrolytic cell in the target time period.

[0075] The real-time incremental correction algorithm is a preset data processing method used to dynamically adjust and optimize the real-time data of the electrolyzer in each sub-period of the target period. This method is particularly suitable for scenarios that require extremely high real-time and accuracy of data, namely the management and scheduling of hydrogen production clusters.

[0076] The target period includes a plurality of preset sub-periods, and the plurality of sub-periods is at least two sub-periods. The number of sub-periods included in the target period and the duration of each sub-period are preset. The duration of each sub-period in the plurality of sub-periods is the same, or the duration of at least two sub-periods in the plurality of sub-periods is different. For example, the target period is one hour, and the target period includes four sub-periods, and the duration of each sub-period is 15 minutes. The embodiments of the present disclosure are not limited to this.

[0077] The real-time incremental correction algorithm is mainly aimed at comparing the real-time data collected in the sub-period in real time with the benchmark data, and adjusting it according to the preset correction logic. Optionally, for the real-time data of the electrolyzer in each sub-period of the target period, according to the real-time data and the benchmark data, determining the corresponding corrected real-time data may include: for the real-time data of the electrolyzer in each sub-period of the target period, inputting the real-time data and the benchmark data into the real-time incremental correction algorithm, determining the corresponding corrected real-time data, the real-time data may include the start-stop indication, the stack temperature and the stack current measured in real time, the corrected real-time data may include the corrected start-stop indication, the stack temperature and the stack current, and the corrected real-time data is used to instruct the controller of the electrolyzer to control the power of the electrolyzer. This algorithm can quickly respond to changing factors inside and outside the system, such as grid load fluctuations, changes in electrolyzer performance, etc., thereby ensuring the stability and efficient operation of the entire system.

[0078] In the electric hydrogen production cluster, the real-time data of each electrolyzer (such as the start and stop instructions, stack temperature and stack current measured in real time) need to be dynamically adjusted according to the actual hydrogen production demand and grid conditions. Using the real-time incremental correction algorithm, these real-time data can be finely controlled in each sub-cycle to optimize energy efficiency while ensuring that safe operation standards are met.

[0079] Optionally, the constraints of the real-time incremental correction algorithm include at least one of the first constraint, the second constraint, the third constraint, and the fourth constraint. These constraints ensure the operational safety and efficiency of the electric hydrogen production cluster in each sub-period and are the key to achieving an efficient electric hydrogen production process. That is, based on at least one of the first constraint, the second constraint, the third constraint, and the fourth constraint, the corresponding corrected real-time data is determined according to the real-time data and the benchmark data. The following is a further introduction to these four constraints:

[0080] 1. The first constraint: The first constraint is used to indicate that the sum of the power of multiple electrolyzers in each sub-period of the target period is equal to the total electrolysis power. This is crucial to maintaining grid stability and optimizing energy distribution. By accurately controlling the power output of each electrolyzer, the grid load can be effectively balanced to avoid resource waste or system overload caused by improper energy distribution.

[0081] 2. Second constraint: The second constraint is used to indicate the lower and upper limits of the stack current of each electrolyzer in each sub-period of the target period. Too high or too low stack current will directly affect the hydrogen production efficiency and equipment life. By implementing this constraint, the performance of the electrolyzer can be optimized while ensuring safety, ensuring that the hydrogen output and quality meet the preset standards.

[0082] 3. The third constraint condition: The third constraint condition is used to indicate that the hydrogen content in oxygen in the s+1th sub-period of the target period is equal to the sum of the hydrogen content in oxygen in the sth sub-period and the impurity difference. The impurity difference is the difference between the impurity content entering the sth sub-period and the impurity content discharged from the sth sub-period, and s is a positive integer. By calculating the change in impurity content in each sub-period and adjusting accordingly, potential safety risks such as explosions can be effectively prevented to ensure the continuity and safety of the hydrogen production process.

[0083] 4. The fourth constraint condition: The fourth constraint condition is used to indicate the upper limit of the hydrogen content in oxygen. Exceeding this limit will increase the risk of explosion. Therefore, strictly controlling the hydrogen content within a safe range is a key measure to prevent serious safety accidents.

[0084] The real-time incremental correction algorithm can also be used to obtain the state variables of the electrolyzer in the target period based on the baseline data output of the electrolyzer in the target period. Optionally, for each electrolyzer, the state variables of the electrolyzer in the target period are determined according to the baseline data of the electrolyzer in the target period, including: for each electrolyzer, the state variables of the electrolyzer in the target period are obtained by outputting the real-time incremental correction algorithm, and the state variables include at least one of power factor, hydrogen output and hydrogen content in oxygen. The following is a further introduction to these state variables: 1. Power factor: The power factor is used to indicate the quality of electric energy, which is equal to the ratio of active power to apparent power. In an electrolyzer, a power factor close to 1 indicates that the electric energy is efficiently utilized, while a value below 1 means that there is energy loss, usually due to reactive power caused by inductive or capacitive loads. 2. Hydrogen output: Hydrogen output refers to the amount of hydrogen produced by the electrolysis process. Hydrogen output is an important parameter for measuring electrolysis efficiency, usually expressed as a volume flow rate under standard conditions (such as ml / min or m 3 3. Hydrogen content in oxygen: The hydrogen content in oxygen refers to the percentage of hydrogen contained in the oxygen produced by electrolysis. This indicator is crucial for safety because a mixture of hydrogen and oxygen will form an explosive mixture at a certain ratio. Generally, the hydrogen content in oxygen should be as low as possible to ensure safe operation.

[0085] Optionally, the state variables of the electrolyzer in the target period are returned to the scheduling model, and the state variables of the electrolyzer in the target period are used to make decisions in the scheduling model of the next period, such as adjusting the baseline data of the electrolyzer in the next period to improve electrolysis efficiency or ensure safe operation. In the scheduling model of the next period, these state variables can be used to make more accurate and effective decisions to optimize hydrogen output or improve power quality.

[0086] Optionally, when multiple time periods need to be predicted and the target time period is one of them, the above-mentioned base data of each electrolyzer in the target time period calculated by the scheduling model according to the total electrolysis power of the electric hydrogen production cluster in the target time period may include: according to the total electrolysis power of the electric hydrogen production cluster in the target time period, the number of electrolyzers in the electric hydrogen production cluster and historical data, the base data of each electrolyzer in the target time period is calculated by the scheduling model, and the historical data includes the state variables output by the real-time incremental correction algorithm of the previous time period of the target time period. When the target time period is the first time period predicted, the historical data includes at least one of the preset initial value of the power factor, the initial value of the hydrogen output and the initial value of the hydrogen content in the oxygen.

[0087] The above process of the real-time incremental correction algorithm forms a feedback loop, in which the real-time data is corrected, the state variables are calculated and returned to the scheduling model, so as to make better decisions in the next period. It should be noted that the relevant details of the real-time incremental correction algorithm can be referred to the relevant description in the following embodiment, which will not be introduced here.

[0088] In summary, the disclosed embodiment provides a multi-time scale control method for an electric hydrogen production station taking into account the power factor, which realizes real-time current distribution and ensures safety constraints according to the power instructions issued by the power grid. However, the start and stop instructions of the electrolyzer and the evaluation of the power factor are at least in hours. Therefore, the disclosed embodiment proposes a multi-time scale control method, which consists of a scheduling model for robust multi-stack prediction at the hourly level and a real-time incremental correction algorithm. The benchmark data of each electrolyzer in the target period is calculated by the scheduling model; for each electrolyzer, according to the benchmark data of the electrolyzer in the target period, the real-time data of the electrolyzer in each sub-period of the target period is corrected by the real-time incremental correction algorithm, thereby realizing multi-time scale power distribution. This method can better adapt to changes in grid load and renewable energy, and improve the efficiency and stability of electric hydrogen production.

[0089] In an illustrative example, a schematic diagram of a multi-time scale power allocation method for hydrogen production stations provided by an embodiment of the present disclosure is shown in FIG. Figure 3As shown. The total electrolysis power of the electric hydrogen production cluster in time period h is obtained, and the total electrolysis power in time period h is input into the scheduling model of robust multi-stack prediction at the hourly level, and the benchmark data of each electrolyzer in time period h (i.e., the predicted start and stop instructions, stack temperature, and stack current) is output. For the real-time data of each electrolyzer in the sth sub-period of time period h (i.e., the start and stop instructions, stack temperature, and stack current obtained by real-time measurement), the real-time data and the benchmark data are input into the real-time incremental correction algorithm to determine the corresponding corrected real-time data (i.e., the corrected start and stop instructions, stack temperature, and stack current), and the initial value of s is 1. After adding 1 to the value of s, it is determined whether s is greater than the preset cycle threshold, and the preset cycle threshold is the total number of sub-periods included in time period h. When s is less than or equal to the preset cycle threshold, it means that the time period h has not ended, and the step of inputting the real-time data and benchmark data in the sth sub-period into the real-time incremental correction algorithm is continued. When s is greater than the preset cycle threshold, it means that the time period h has ended. The real-time incremental correction algorithm outputs the state variables of the electrolyzer in the time period h (i.e., power factor, hydrogen output and hydrogen content in oxygen), and returns the state variables of the electrolyzer in the time period h to the scheduling model for decision-making in the next time period h+1. The value of h is added by 1 to determine whether h is greater than the preset time period threshold. The preset time period threshold is the preset time period upper limit value. When h is less than or equal to the preset time period threshold, the above-mentioned power allocation step is continued. When h is greater than the preset time period threshold, the calculation is terminated.

[0090] The time period h can be the time period [h, h+1), and the power instruction of the hydrogen production cluster in the time period h, that is, the total electrolysis power, is obtained. The superscript P2H is the abbreviation of Power to H2, τ represents the τth electrolyzer in the hydrogen production cluster, N p Represents the prediction range, N p The hourly robust multi-stack prediction scheduling model is responsible for providing benchmark data, including the predicted start and stop indication δ b,h , Stack temperature T b,h and stack current I b,h In the sth sub-period of the time period [h,h+1), according to the real-time power of the sth sub-period Determine the real-time data in the s-th sub-period, input the real-time data and the reference data into the real-time incremental correction algorithm, determine the corresponding corrected real-time data, and the corrected real-time data includes the corrected start-stop indication δ b,h,s , Stack temperature T b,h,s and stack current I b,h,s. Schematically, the prediction calculation is performed with time period h as one hour. First, a total electrolysis power is determined, and then this hour is divided into four parts, that is, each sub-period is 15 minutes. There is generally a deviation between the actual measured real-time data and the predicted benchmark data. The deviation between the real-time data and the predicted benchmark data in each sub-period is calculated, and fine-tuning is performed on the basis of the hourly prediction, that is, real-time incremental correction is performed from the first sub-period to the last sub-period. At the end of all sub-periods in the time period h, the real-time incremental correction algorithm outputs the state variables of the electrolytic cell in the time period h. The state variables include the power factor PF h 、Hydrogen output m b,h and the hydrogen content in oxygen HTO b,h+1 The three state variables are returned to the scheduling model to make a decision in the next period, i.e., period h+1. The scheduling model and real-time incremental correction algorithm for hourly robust multi-stack prediction are further introduced below.

[0091] In each time period h, the hourly robust multi-stack forecast scheduling model can be represented by the following planning. In order to solve the uncertainty of real-time power command deviation and ensure the robustness of power factor constraints, a standard robust optimization model is established to formulate a control strategy for the "worst" case. It is the power instruction of the hydrogen production cluster in time period h issued by the dispatch center, that is, the total electrolysis power. HTO is the power deviation that may occur in time period h. b,h+τ+1|h is the state variable, I b,h+τ|h ,T b,h+τ|h ,δ b,h+τ|h is the control variable. The scheduling model of robust multi-fuel stack prediction at the hourly level is described by the following formula:

[0092]

[0093]

[0094] PF h+τ|h (I,T)≥PF min (3)

[0095]

[0096] HTO b,h+τ|h ≤HTO max (7)

[0097]

[0098] The goal of the scheduling model in formula (1) is to maximize the hydrogen output determined by the following formulas (9) and (10):

[0099]

[0100] η I =c1I 2 / (c2+I 2 ) (10)

[0101] The above formula (1) describes the function of the scheduling model, and the constraints of the scheduling model include power factor constraints, power constraints and safety constraints. 1. Power constraint: As described in formula (2), it indicates the upper limit of the power of the electrolyzer constrained by the preset power coefficient α; 2. Power factor constraint: As described in formula (3), it indicates that it should be higher than the lower limit of the power factor of the electrolyzer specified by the grid specification; 3. Safety constraint As described in formula (4), it indicates that it should be lower than the upper limit of the hydrogen content in oxygen determined by the internal safety operation constraint of the electrolyzer load. In addition, due to the inertia of gas and heat accumulation, the stack current I and the stack temperature T should obey the first-order constraint. Limited by the cross-diffusion of product gases that may cause combustible gas mixtures, the hydrogen content HTO in the oxygen in the separator should be within the safe range. Formula (5) describes the first-order dynamic accumulation process of the hydrogen content HTO in oxygen as a function of I. The volume fraction n of the output hydrogen impurity in formula (6) out It is related to the oxygen production rate determined by the stack current I. For the constraint of the stack temperature T, formula (8) describes the first-order dynamic equation of the stack temperature T, where the cooling power P cool Control the change of stack temperature T.

[0102] The meanings of the main parameters in the above formulas (1)-(10), the units of the main parameters or possible values ​​are shown in Table 1.

[0103] Table 1

[0104]

[0105]

[0106] The meanings of other parameters are as follows: J is the hydrogen production, is the hydrogen output of the bth electrolyzer in time period h, P b,h+τ|h (I,T) is the power of the bth electrolytic cell in time period h, PF h+τ|h (I,T) is the power factor of the bth electrolyzer in time period h, HTO b,h+τ+1|h (I) is the hydrogen content in the oxygen of the bth electrolyzer in time period h+1, HTO b,h+τ|h is the hydrogen content in oxygen in the bth electrolyzer in time period h, is the volume fraction of the input hydrogen impurity of the bth electrolyzer in time period h, is the volume fraction of the output hydrogen impurities of the bth electrolyzer in time period h, I b,h+τ|h is the stack current of the bth electrolytic cell in time period h, T b,h+τ|h is the stack temperature of the bth electrolytic cell in time period h, T b,h+τ-1|h is the stack temperature of the bth electrolytic cell in period h-1, U b,h+τ|h is the stack voltage of the bth electrolytic cell in time period h, is the cooling power of the bth electrolytic cell in time period h, η I is the efficiency, c1 is a constant, and c2 is a constant.

[0107] In summary, the above formulas (1)-(10) describe the scheduling model for robust multi-stack forecasting at the hourly level. However, there are many nonlinear terms in the model, which need to be re-described as a tractable model.

[0108] In the above formulas (1) and (2), and P b isI b and T b The nonlinear function can be processed by piecewise linearization method and further expressed as:

[0109]

[0110] Among them, σ b,k Represents the current I in the kth small time period b The weight of I b,k represents the current of the bth slot in the kth segment, λ b,l Indicates the temperature T in the first small time period b The weight, T b,l Represents the temperature of the bth slot in the lth section.

[0111] In order to ensure compatibility with the power factor constraint expression, the cross terms related to different battery stacks are not retained to improve solvability. Therefore, the discretized cubic polynomial in formula (13) can be formed piecewise, with a fitting error of less than 2%.

[0112]

[0113] In this way, the scheduling model for hourly robust multi-stack forecasting is reformulated in the form of MIL. The proposed two-level robust programming can dualize the internal "maximum" linear programming model according to the strong duality, thus producing a single-level "maximum" model. However, it should be noted that due to P b (I, T), and PF (I, T), the size of the number of binary variables in hourly robust stack prediction programming is N B N p NI N T =10 3 ~10 4 ,Considering the computability of industrial programmable logic controllers, it is difficult to balance the ,precision and timeliness of the optimization in the real-time time scale, a ,quantitative description is given through a case case, therefore, in the ,following, a rule-based real-time incremental correction algorithm is proposed.

[0114] The real-time incremental correction algorithm aims to follow the power command and ensure safety constraints. During the time interval [h,h+1), it is assumed that by adjusting the cooling power of the heat exchanger To control the stack temperature T b,h is constant and requires a current increment ΔI b,h,s To respond to real-time power commands In addition, the robustness of the power factor constraint is ensured by the hourly robust multi-stack prediction scheduling model. Therefore, the real-time control function in [h,h+1) is as follows:

[0115]

[0116] I min ≤I b,h,s ≤I max (16)

[0117]

[0118] HTO b,h,s ≤HTO max (18)

[0119] The above formula (14) is the optimization objective function, and the goal is to maximize the hydrogen production under the corrected current. The constraints of the real-time incremental correction algorithm include the first constraint, the second constraint, the third constraint and the fourth constraint: 1. The first constraint: As described in formula (15), it describes that in the s-th sub-period, the sum of the powers of multiple electrolyzers (the left side of the equation) is equal to the total electrolysis power (the right side of the equation); 2. The second constraint: As described in formula (16), it describes the lower limit and upper limit of the stack current of each electrolyzer in the s-th sub-period; 3. The third constraint: As described in formula (17), the hydrogen content in oxygen in the s+1-th sub-period (the left side of the equation) is equal to the sum of the hydrogen content in oxygen in the s-th sub-period and the impurity difference, and the impurity difference is the difference between the impurity content entering the s-th sub-period and the impurity content discharged in the s-th sub-period, and s is a positive integer; 4. The fourth constraint: As described in formula (18), it describes the upper limit of the hydrogen content in oxygen.

[0120] The meanings of the parameters in the above formulas (14)-(18) are as follows:Ωh is the set of b, is the hydrogen output of the bth electrolyzer in the sth sub-period of time period h, I b,h,s is the stack current of the bth electrolyzer in the sth sub-period of time period h, P b,h,s (I b,h,s ) is the power of the bth electrolytic cell in the sth sub-period of time period h, I b,h,s is the stack current of the bth electrolytic cell in the sth sub-period of time period h, I min is the preset current lower limit, I max is the preset current upper limit, HTO b,h,s+1 is the hydrogen content in oxygen of the bth electrolyzer in the s+1th sub-period of time period h, HTO b,h,s is the hydrogen content in oxygen of the bth electrolyzer in the sth sub-period of time period h, is the volume fraction of the input hydrogen impurity of the bth electrolyzer in the sth sub-period of time period h, is the volume fraction of the output hydrogen impurity of the bth electrolyzer in the sth sub-period of time period h, HTO max It is the preset upper limit of the hydrogen content in oxygen.

[0121] The rule-based real-time incremental correction algorithm, i.e., real-time optimal incremental allocation, pursues maximum energy conversion efficiency, which is closely related to two indicators: Indicates the incremental rate of hydrogen production, dP b (I b,h ) / dI b is the incremental rate of power consumption. Therefore, the allocation priority of the current increment is determined by The allocation priority is used to indicate the order in which increments are allocated to the control variables of the electrolyzer. When the current incremental allocation priority is the same as rank b,h However, the current increment ΔI b,h,s It should also ensure that HTO b,h,s ≤HTO max Always holds true, and the calculation formula is:

[0122]

[0123] HTO b,h,s =HTO b,h +ΔHTO b,h,s (20)

[0124] In an illustrative example, taking the real-time incremental correction algorithm to correct the stack current as an example, the calculation process of the real-time incremental correction algorithm provided by the embodiment of the present disclosure includes but is not limited to the following steps:

[0125] 1: Input the power of the electrolyzer in time period h, the power difference of the electrolyzer in time period h, the stack current of the b-th electrolyzer in time period h, the hydrogen content in the oxygen of the b-th electrolyzer in time period h, and the number of the b-th electrolyzer in time period h; 2: The initial value of sub-period s is 1; 3: When s is less than the maximum number of sub-periods + 1, perform the following operation, otherwise jump to 2; 4: Input the power of the electrolyzer in sub-period s of time period h; 5: The power correction value of sub-period s of time period h is equal to the power of sub-period s of time period h minus the power of time period h minus the power of time period h; 6: If 5 calculates If the value is greater than 0, continue the operation, otherwise jump to 12; 7: for loop, if the bth electrolyzer is in the power-on state, the current increment is calculated by the following formula (21); 8: Calculate the hydrogen content in oxygen and the difference between the hydrogen content in oxygen; 9: If the hydrogen content in oxygen exceeds the upper limit, the current increment is calculated by the following formula (22); 10: The current increment value of the electrolyzer depends on the safety constraint condition of the hydrogen content in oxygen; 11: If the hydrogen content in oxygen does not exceed the preset upper limit, the current increment is calculated by the following formula (23); 12: The algorithm ends.

[0126]

[0127] ΔI b,h,s =min{ΔI b,h,s ,I max -I b,h}{ΔI b,h,s =max{ΔI b,h,s ,-I b,h}} (twenty three)

[0128] In an illustrative example, Figure 4 Efficiency heatmaps corresponding to the multi-stack scheduling strategy are shown. Electrolyzers are also called stacks or stacks. Figure 4 (a) to (c) in the figure belong to the traditional multi-stack scheduling strategy in the related art. Figure 4 (d) to (f) belong to the multi-stack scheduling strategy proposed in the embodiment of the present disclosure. The multi-stack includes stack No. 1 and stack No. 2, I1 is the stack current of stack No. 1, I2 is the stack current of stack No. 2, and η represents the efficiency of hydrogen production.

[0129] In the PF constraint area. For the two-reactor hydrogen production load, there is an infeasible area of ​​PF constraint, that is, the area of ​​PF < 0.9, which is determined by Figure 4In addition, ①→②→③ represent the three states where the working temperature of the electrolyzer gradually decreases. ① indicates that the temperature of both stacks is 90℃, ② indicates that the temperature of stack No. 2 is 45℃ and the temperature of stack No. 1 is 90℃, and ③ indicates that the temperature of both stacks is 45℃. As the working temperature decreases, the area of ​​the infeasible region gradually decreases.

[0130] The allocation rule is oriented to the maximum hydrogen production. Under the traditional multi-stack scheduling strategy, the optimal production-oriented strategy without considering PF follows the "equal division" rule, that is, the stack working current is equally divided to pursue maximum efficiency. Moreover, the higher the operating temperature, the lower the energy consumption and the higher the efficiency. Therefore, the optimal trajectory associated with ① and ③ is along the diagonal, and the optimal trajectory associated with ② is distorted to stack No. 1, such as Figure 4 As shown in (a)-(c) in .

[0131] The allocation rule based on PF constraints proposed in the embodiment of the present disclosure adjusts the PF constraint production-oriented optimal trajectory related to ① and ② to a black line, as shown in the figure. Figure 4 For ②, different operating temperatures pull the original distribution trajectory toward the higher temperature side (stack 1) to obtain higher efficiency, and the PF constraint further exacerbates this imbalance, as shown in Figure 4 paragraph (e) of the Regulations. Figure 4 (d) and (e) in FIG. 5 show that the strategy proposed in the embodiment of the present disclosure follows this rule. The allocation rule proposed in the embodiment of the present disclosure achieves an excellent power factor at the expense of lower efficiency and reduced hydrogen production.

[0132] In another illustrative example, the control strategy proposed in the embodiment of the present disclosure is applied to an electric hydrogen production cluster including 10 electrolyzers to explore the scheduling rules of multiple fuel cells. For the method provided in the embodiment of the present disclosure, the typical different scheduling strategies under different load levels are explained by analyzing the operating characteristics. Taking the five load levels of 10%, 20%, 30%, 50% and 100% as examples, the load level is the ratio of the current power of a single electrolyzer to the rated power. The first three represent low load level scenarios, 50% represents a typical medium load level, and 100% represents a high load level scenario. Through the method provided in the embodiment of the present disclosure, the average power factor of the final output is as shown in Tables 2 and Figure 5 Table 2 shows the average power factor at different load levels. The average power factor is the average value of the power factor. Figure 5 Multi-stack scheduling of multi-stack P2H loads under four typical constant power configurations is shown: (a) load level is 10%; (b) load level is 20%; (c) load level is 30%; (d) load level is 50%; (e) zoomed in view.

[0133] Table 2

[0134]

[0135] 1. The load level is 10%. In this case, the average load level of a single stack can only reach 10%. Due to the HTO constraint, the stack cannot continue to operate at such a low load level because the HTO will reach the upper limit of 2% in about 3 hours. Therefore, Figure 5 (a) shows the average 4-hour cycle of each stack shutting down to remove hydrogen impurities and restarting. The cluster presents a rotating shutdown operation mode to ensure the HTO constraint. On this basis, the working stack follows the equal distribution rule to maximize the output, as shown in the box from t = 60 to 84 minutes. In this case, the PF constraint is safe and the average power factor is 0.91.

[0136] 2. The load level is 20%. In this scenario, at the cluster level, some stacks are shut down in turn, and other stacks follow the scheduling strategy of the equal distribution rule, such as Figure 5 As shown in (b) and the box at t = 60 to 84 minutes, the three stacks operate at a constant load level of 1.5kA with maximum production efficiency. The operating load level of stacks 1 to 5 is <1kA, which meets the requirements of the remaining power construction and is shut down every 4 hours to ensure safety. The performance of stacks 6 and 7 is between stacks 1 to 5 and stacks 8 to 10, and they are like a transition stage. In this case, the PF constraint is safe, with an average power factor of 0.91.

[0137] 3. The load level is 30%. In this case, Figure 5 (c) shows that based on the proposed control strategy, all stacks remain in operation and adjust the load power regularly with a period of about 4 hours under the PF and HTO constraints, such as t = 60-84 minutes, and the average load level of a single stack is 30%. However, the equal-division control strategy cannot meet the PF constraint, so an unequal current control strategy is adopted in the range of [1,2] kA to limit the average power factor to above 0.9. At the same time, dynamic current adjustment is crucial to limit the operation time of the stack at a low load level (1 kA) to no more than 3 hours to ensure the HTO constraint.

[0138] 4. The load level is 50%. In this case, Figure 5 (d) in Figure 2 shows that in each cycle, half of the ten stacks operate at around 3.5 kA and the other half operate between [1.5, 2] kA to limit the average power factor above 0.9. The current scheduling follows the unequal division rule. The scheduling model predictive control ensures that the HTO interval of most separators is stable at [1, 1.6]%. It represents the typical operating mode of multi-stack P2H load at medium load level.

[0139] 5) Load level = 100%. Finally, at high load level, the stack follows the optimal control strategy with the same equal-sharing rule as the conventional control strategy. Both the PF constraint and the HTO constraint are relaxed, and all stacks continue to operate without state and load power switches.

[0140] Finally, four corresponding multi-stack scheduling strategies can be obtained. Different load levels are accompanied by different control constraints, as shown in Table 3. Table 3 shows the multi-stack scheduling strategies under different load levels.

[0141] Table 3

[0142] Load Level HTO PF Description of multi-stack scheduling strategy 10% √ Switching in turns, current evenly distributed 20% √ Partial state switching, current evenly distributed 30% √ √ No state switching, current is adjusted regularly 50% √ No state switching, uneven current distribution 100% No state switching, current evenly distributed

[0143] In the power allocation of hydrogen production stations, the multi-stack scheduling strategy under different load levels has an important impact on improving system efficiency and responsiveness. The following is an introduction to the multi-stack scheduling strategy:

[0144] 1. Switch in-turn, current equal-split: This strategy switches the states of each electrolyzer in turn while keeping the current evenly distributed among the activated electrolyzers. State switching refers to switching the start state of the electrolyzer to the stop state, or switching the stop state of the electrolyzer to the start state. This helps to balance the wear and maintenance requirements of each electrolyzer, thereby extending the service life of the overall system.

[0145] 2. Partial Status Switch In-turn, Current Equal-Split: In this strategy, only some of the electrolyzers switch their status (start or shut down) as needed, while the others remain in operation and the current is still equally distributed. This strategy is suitable for electrolyzers with different performance or capacity in the system, and the operating status can be flexibly adjusted according to actual needs.

[0146] 3. No Status Switch, Current Adjust Periodically: Under this strategy, all electrolyzers maintain a constant operating state, and the current is periodically adjusted according to real-time demand. This method is suitable for a stable operating environment and can reduce the mechanical stress and energy consumption caused by frequent state switching.

[0147] 4. No Status Switch, Current Unequal-Split: In this strategy, although there is no status switching, the current distribution is not even, but optimized according to the specific conditions of each electrolyzer (such as temperature, pressure, etc.). This can more accurately control the amount and quality of hydrogen output.

[0148] 5. No Status Switch, Current Equal-Split: This is the most basic strategy, where all electrolyzers operate continuously and current is evenly distributed, which is suitable for situations where grid demand is relatively stable.

[0149] In order to verify the effectiveness of the control strategy proposed in the embodiment of the present disclosure, the time cost and real-time current correction of the method provided in the embodiment of the present disclosure were tested on an electric hydrogen production cluster including one electrolyzer. Table 4 shows the average time cost of the control strategy, with a prediction time of 1 hour and a real-time control sub-cycle of 15 minutes.

[0150] Table 4

[0151] One-hour-ahead robust scheduling Real-time current correction Time(s) 1660.28 1.47

[0152] In Table 4, the time for robust scheduling one hour in advance is 1660.28s, and the time for real-time current correction is 1.47s. The time for robust scheduling refers to the time required to complete the entire scheduling process, while the time for real-time current correction refers to the time required to correct the current in actual operation. These two time indicators can be used to evaluate the effectiveness and response speed of the control strategy. The results show that the proposed control strategy can ensure the tractability of control while ensuring accuracy and robustness.

[0153] In summary, the disclosed embodiment provides a multi-time scale control method for an electric hydrogen production station taking into account the power factor, which realizes real-time current distribution and ensures safety constraints according to the power instructions issued by the power grid. However, the start and stop instructions of the electrolyzer and the evaluation of the power factor are at least in hours. Therefore, the disclosed embodiment proposes a multi-time scale control method, which consists of a scheduling model for robust multi-stack prediction at the hourly level and a real-time incremental correction algorithm. The benchmark data of each electrolyzer in the target period is calculated by the scheduling model; for each electrolyzer, according to the benchmark data of the electrolyzer in the target period, the real-time data of the electrolyzer in each sub-period of the target period is corrected by the real-time incremental correction algorithm, thereby realizing multi-time scale power distribution. This method can better adapt to changes in grid load and renewable energy, and improve the efficiency and stability of electric hydrogen production.

[0154] The following is an apparatus embodiment of the present disclosure. For parts not described in detail in the apparatus embodiment, reference may be made to the technical details disclosed in the above method embodiment.

[0155] Please refer to Figure 6 , which shows a schematic diagram of the structure of a multi-time scale electric hydrogen production station power distribution device provided by an exemplary embodiment of the present disclosure. The device can realize all or part of the so-called computing device through software, hardware, or a combination of the two. The device includes: an acquisition module 22, a scheduling module 23, and a correction module 24.

[0156] An acquisition module 22 is used to acquire the total electrolysis power of the electric hydrogen production cluster within a target period, where the electric hydrogen production cluster includes a plurality of electrolyzers;

[0157] The scheduling module 23 is used to calculate the benchmark data of each electrolyzer in the target period according to the total electrolysis power of the electric hydrogen production cluster in the target period through the scheduling model, and the benchmark data includes the predicted data associated with the power of the electrolyzer;

[0158] The correction module 24 is used to correct the real-time data of each electrolytic cell in each sub-period of the target time period for each electrolytic cell according to the baseline data of the electrolytic cell in the target time period through a real-time incremental correction algorithm, the target time period includes multiple sub-periods, and the real-time data includes data obtained by real-time measurement that is correlated with the power of the electrolytic cell.

[0159] In a possible implementation, the correction module 24 is used to:

[0160] For the real-time data of the electrolytic cell in each sub-period of the target time period, the real-time data and the baseline data are input into the real-time incremental correction algorithm to determine the corresponding corrected real-time data. The corrected real-time data is used to instruct the controller of the electrolytic cell to control the power of the electrolytic cell.

[0161] In another possible implementation, the baseline data includes predicted start-stop indications, fuel cell stack temperature, and fuel cell stack current, and the real-time data includes real-time measured start-stop indications, fuel cell stack temperature, and fuel cell stack current.

[0162] In another possible implementation, the constraints of the real-time incremental correction algorithm include at least one of a first constraint, a second constraint, a third constraint and a fourth constraint, the first constraint being used to indicate that the sum of the powers of multiple electrolytic cells in each sub-period of the target time period is equal to the total electrolysis power, the second constraint being used to indicate the lower limit and upper limit of the stack current of each electrolytic cell in each sub-period of the target time period, the third constraint being used to indicate that the hydrogen content in the oxygen in the s+1th sub-period of the target time period is equal to the sum of the hydrogen content in the oxygen in the sth sub-period and the impurity difference, the impurity difference being the difference between the impurity content entering the sth sub-period and the impurity content discharged from the sth sub-period, the fourth constraint being used to indicate the upper limit of the hydrogen content in the oxygen, and s being a positive integer.

[0163] In another possible implementation, the device further includes: an output module, configured to:

[0164] For each electrolyzer, a state variable of the electrolyzer within a target period is obtained by outputting a real-time incremental correction algorithm, wherein the state variable includes at least one of a power factor, a hydrogen output, and a hydrogen content in oxygen, and the power factor is used to indicate the quality of electric energy;

[0165] The state variables of the electrolytic cell in the target period are returned to the scheduling model, and the state variables of the electrolytic cell in the target period are used to make decisions in the scheduling model of the next period.

[0166] In another possible implementation, the constraints of the dispatch model include power factor constraints, where the power factor constraints are used to indicate a lower limit value of the power factor of the electrolyzer specified by the grid specification, and the power factor is used to indicate the quality of electric energy.

[0167] In another possible implementation, the constraints of the scheduling model also include power constraints and safety constraints. The power constraints are used to indicate the upper limit value of the power of the electrolyzer determined based on a preset power coefficient, and the safety constraints are used to indicate the upper limit value of the hydrogen content in oxygen determined by the internal safe operation constraints of the electrolyzer load.

[0168] It should be noted that the device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example to implement its functions. In practical applications, the above-mentioned functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0169] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0170] An embodiment of the present disclosure also provides a multi-time-scale electric hydrogen production station power distribution device, the device comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0171] The embodiment of the present disclosure further provides a non-volatile computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions implement the method as claimed above when executed by a processor.

[0172] The embodiment of the present disclosure also provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of a computing device, the processor in the computing device executes the above method.

[0173] Figure 7 A block diagram of a device 1900 for multi-time scale power allocation of hydrogen production stations is shown according to an exemplary embodiment. For example, the device 1900 can be provided as a server or a terminal device. Figure 7 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0174] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958 (I / O interface). The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™ or the like.

[0175] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the device 1900 to perform the above method.

[0176] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0177] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0178] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0179] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0180] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0181] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0182] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0183] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0184] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A multi-time scale power allocation method for hydrogen production stations. It is characterized in that The method comprises: Obtaining a total electrolysis power of an electric hydrogen production cluster within a target period, wherein the electric hydrogen production cluster includes a plurality of electrolyzers; According to the total electrolysis power of the electric hydrogen production cluster in the target period, the benchmark data of each electrolyzer in the target period is calculated by the scheduling model, and the benchmark data includes the predicted data associated with the power of the electrolyzer; For each of the electrolytic cells, the real-time data of the electrolytic cell in each sub-period of the target time period is corrected according to the baseline data of the electrolytic cell in the target time period, the target time period includes multiple sub-periods, and the real-time data includes data obtained by real-time measurement that is correlated with the power of the electrolytic cell.

2. The method according to claim 1, It is characterized in that The step of correcting the real-time data of the electrolytic cell in each sub-period of the target time period according to the benchmark data of the electrolytic cell in the target time period comprises: For the real-time data of the electrolytic cell in each sub-period of the target time period, corresponding corrected real-time data is determined based on the real-time data and the benchmark data, and the corrected real-time data is used to instruct the controller of the electrolytic cell to control the power of the electrolytic cell.

3. The method according to claim 1, It is characterized in that The reference data includes predicted start / stop indications, stack temperature, and stack current, and the real-time data includes real-time measured start / stop indications, stack temperature, and stack current.

4. The method according to any one of claims 1 to 3, It is characterized in that The determining corresponding corrected real-time data according to the real-time data and the reference data includes: Based on at least one of the first constraint condition, the second constraint condition, the third constraint condition and the fourth constraint condition, determining corresponding corrected real-time data according to the real-time data and the reference data; The first constraint is used to indicate that the sum of the powers of the multiple electrolytic cells in each sub-period of the target time period is equal to the total electrolysis power. The second constraint is used to indicate the lower limit and upper limit of the stack current of each electrolytic cell in each sub-period of the target time period. The third constraint is used to indicate that the hydrogen content in the oxygen in the s+1th sub-period of the target time period is equal to the sum of the hydrogen content in the oxygen in the sth sub-period and the impurity difference, and the impurity difference is the difference between the impurity content entering the sth sub-period and the impurity content discharged from the sth sub-period. The fourth constraint is used to indicate the upper limit of the hydrogen content in the oxygen, and s is a positive integer.

5. The method according to any one of claims 1 to 3, It is characterized in that The method further comprises: For each of the electrolyzers, determining a state variable of the electrolyzer in the target period according to the benchmark data of the electrolyzer in the target period, wherein the state variable comprises at least one of a power factor, a hydrogen output, and a hydrogen content in oxygen, wherein the power factor is used to indicate the quality of electric energy; The state variables of the electrolytic cell in the target time period are returned to the scheduling model, and the state variables of the electrolytic cell in the target time period are used to make decisions in the scheduling model for the next time period.

6. The method according to any one of claims 1 to 3, It is characterized in that The constraint conditions of the dispatch model include power factor constraint conditions, and the power factor constraint conditions are used to indicate the lower limit value of the power factor of the electrolyzer specified by the power grid specification, and the power factor is used to indicate the quality of electric energy.

7. The method according to claim 6, It is characterized in that The constraints of the scheduling model also include power constraints and safety constraints. The power constraints are used to indicate the upper limit value of the power of the electrolyzer determined based on a preset power coefficient, and the safety constraints are used to indicate the upper limit value of the hydrogen content in oxygen determined by the internal safe operation constraints of the load of the electrolyzer.

8. A multi-time scale electric hydrogen production station power distribution device, It is characterized in that The device comprises: An acquisition module, used to acquire a total electrolysis power of an electric hydrogen production cluster within a target period, wherein the electric hydrogen production cluster includes a plurality of electrolyzers; A scheduling module, configured to calculate, according to the total electrolysis power of the electric hydrogen production cluster in the target period, the benchmark data of each electrolyzer in the target period through a scheduling model, wherein the benchmark data includes predicted data associated with the power of the electrolyzer; A correction module is used to correct the real-time data of each electrolytic cell in each sub-period of the target time period according to the baseline data of the electrolytic cell in the target time period, wherein the target time period includes multiple sub-periods, and the real-time data includes data obtained by real-time measurement and associated with the power of the electrolytic cell.

9. A multi-time scale electric hydrogen production station power distribution device, It is characterized in that The device comprises: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in any one of claims 1 to 7 when executing the instructions stored in the memory.

10. A non-volatile computer-readable storage medium having computer program instructions stored thereon, It is characterized in that When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Cooperative control method and device for renewable energy water electrolysis hydrogen production and ammonia synthesis system

    CN119536158A

  • Method and device for coordinated control of a system for synthesis of ammonia from hydrogen produced by electrolysis of water from renewable energy sources

    CN119536158B