Hydrogen production cluster power distribution method and device and computer equipment
By setting start-up and shutdown priorities in the hydrogen production cluster, and combining the state machine of the electrolyzer with a delay mechanism, the problems of frequent start-up and shutdown and uneven power distribution of the hydrogen production cluster under dynamic operating conditions were solved, achieving stable operation and improved energy efficiency.
Patent Information
- Application Number
- CN202512006672.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-29
- Publication Date
- 2026-04-03
AI Technical Summary
Existing hydrogen production clusters suffer from frequent start-stop cycles, uneven power distribution, low energy efficiency, and overload of some units under dynamic operating conditions, failing to effectively address power command fluctuations on the grid side and differences in the operating status of hydrogen production units.
By acquiring the configuration information of each electrolyzer in the hydrogen production cluster, setting start-up and shutdown priorities, and weighting them according to the electrolyzer temperature, hydrogen production unit operating status, and historical operating time, an electrolyzer control state machine is constructed to achieve precise power allocation. Combined with start-up and shutdown delay mechanisms and state transition rules, the start-up and shutdown process of the electrolyzer is optimized.
It has enabled the hydrogen production cluster to operate stably under dynamic conditions, reduced the number of start-ups and shutdowns, improved energy efficiency, balanced unit lifespan, and ensured response speed and operational stability.
Smart Images

Figure CN121785416A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of hydrogen production technology, and in particular to a method, apparatus and computer equipment for power distribution in a hydrogen production cluster. Background Technology
[0002] With the rapid expansion of renewable energy installed capacity, green electricity to hydrogen production, as one of the core pathways for absorbing intermittent new energy sources, places high demands on the coordinated control of multiple units, dynamic power distribution, and balanced equipment lifespan of hydrogen production systems.
[0003] Existing hydrogen production clusters mostly adopt independent control of single units or fixed power distribution mode. Although they can meet the basic hydrogen production needs, they face complex scenarios such as power command fluctuations on the grid side and differences in the operating status of hydrogen production units. Due to the lack of detailed modeling of the entire life cycle status of the electrolyzer, hydrogen production clusters have problems such as frequent start-up and shutdown, uneven power distribution, low energy efficiency, and overload of some units under dynamic operating conditions. Summary of the Invention
[0004] The purpose of this invention is to provide a method, apparatus, and computer equipment for power distribution in a hydrogen production cluster, aiming to solve problems such as frequent start-stop, uneven power distribution, low energy efficiency, and overload of some units in the cluster under dynamic operating conditions.
[0005] To solve the above-mentioned technical problems, the objective of this invention is achieved through the following technical solution: providing a method for power allocation in a hydrogen production cluster, comprising the following steps: The configuration information of each electrolyzer in the hydrogen production cluster is obtained, and the start-up priority and shutdown priority of each electrolyzer are set according to the configuration information; wherein, the hydrogen production cluster includes at least one hydrogen production unit, each hydrogen production unit includes multiple electrolyzers, and the configuration information includes the electrolyzer temperature, the operating status of the hydrogen production unit, and the historical operating time of the electrolyzer; When it is necessary to start up or stop, the corresponding electrolytic cells shall be started up or stopped according to the start-up priority and stop-up priority. When a hydrogen production active power command is received, the ratio of the rated power of a single electrolyzer in operation mode to the total rated power of all electrolyzers in operation mode is obtained. This ratio is used as an allocation coefficient, and power is allocated to each electrolyzer according to the allocation coefficient.
[0006] Furthermore, the step of setting start-up and shutdown priorities for each electrolytic cell based on the configuration information includes the following steps: A first weight, a second weight, and a third weight are respectively assigned to the electrolyzer temperature, the hydrogen production unit operating status, and the electrolyzer historical operating time; wherein the first weight, the second weight, and the third weight decrease sequentially. The electrolyzer temperature, hydrogen production unit operating status, and electrolyzer historical operating time are set to a unified dimension. The electrolyzer temperature, hydrogen production unit operating status, and electrolyzer historical operating time are weighted according to the set corresponding weights to obtain the start-up priority of each electrolyzer. A fourth weight and a fifth weight are set for the operating status of the hydrogen production unit and the historical operating time of the electrolyzer, respectively. The operating status of the hydrogen production unit and the historical operating time of the electrolyzer are weighted according to the set weights to obtain the shutdown priority of each electrolyzer; wherein the fourth weight is greater than the fifth weight.
[0007] Furthermore, it also includes: Determine whether the electrolytic cell needs to be started based on the following startup logic: In the formula: This is a flag indicating whether the hydrogen production cluster needs to be started. A value of 1 indicates that the cluster needs to be started; otherwise, it does not need to be started. This refers to the number of electrolyzers in operation within the hydrogen production cluster. Power allocation instructions for the hydrogen production cluster; This refers to the start-up power of the electrolytic cell; This represents the sum of the maximum operating power of all electrolytic cells currently in operation. Determine whether the electrolytic cell needs to be shut down based on the following shutdown logic: In the formula: This is a flag indicating when the hydrogen production cluster needs to be shut down. A value of 1 indicates that shutdown is required; otherwise, shutdown is not required. This refers to the number of electrolyzers in operation within the hydrogen production cluster. Power allocation instructions for the hydrogen production cluster; This represents the total shutdown power of all electrolytic cells currently in operation.
[0008] Furthermore, it also includes: Through state set Describe the control mode of the electrolyzer; Constructing the Electrolytic Cell Control State Machine According to the Formula : In the formula: The electrolytic cell is in an uncontrollable state; The electrolytic cell is in a state of communication loss; The electrolytic cell is in a faulty state; The electrolytic cell is in a stopped state; The electrolytic cell is in operation; An electrolytic cell in the startup state selected by the startup logic; For electrolytic cells in a shutdown state selected by shutdown logic; This refers to the real-time operating power of the electrolytic cell; This refers to the start-up power of the electrolytic cell; This is an uncontrollable control mode; This is the fault control mode; In shutdown mode; This is the control mode during startup; Control mode during shutdown; This is the control mode during operation.
[0009] Furthermore, it also includes: The state transition rules for the electrolytic cell are defined as follows: From uncontrollable control mode One-way jump to running control mode Shutdown mode Or fault control mode ; From fault control mode One-way jump to running control mode Or shutdown mode ; From shutdown mode One-way jump to startup control mode Or fault control mode ; Control mode from startup One-way jump to running control mode Or fault control mode ; Control mode from shutdown One-way jump to stop mode Or fault control mode ; Control mode during operation One-way jump to stop control mode Or fault control mode .
[0010] Furthermore, the step of starting or stopping the electrolytic cell according to the start-up priority and stop-down priority when start-up or stop-down is required includes: When startup is required, the electrolytic cell with the highest startup priority is selected first, and a delay is performed according to the set startup delay. After the delay, the control mode of the corresponding electrolytic cell is switched to startup mode. The start-up command is sent to the corresponding electrolytic cell, and the power of the corresponding electrolytic cell is controlled to increase unidirectionally according to the preset power adjustment rate until the start-up power is reached. Then switch the control mode of the corresponding electrolytic cell to the running control mode. ; When a shutdown is required, the electrolytic cell with the highest shutdown priority is selected first, and a delay is performed according to the set shutdown delay time. After the delay, the control mode of the corresponding electrolytic cell is switched to shutdown mode. A shutdown command is issued to the corresponding electrolytic cell, and the power of the corresponding electrolytic cell is controlled to decrease unidirectionally according to the preset power adjustment rate until the minimum operating step size is reached. Then, a shutdown command is issued, and once the power decreases to 0, the control mode of the corresponding electrolytic cell is switched to shutdown control mode. .
[0011] Furthermore, it also includes: When it is necessary to adjust the power of the electrolytic cell, obtain the adjustment method; When the adjustment method is power increase adjustment, the minimum value between the rated power and the maximum operating power of the electrolytic cell is calculated and the current allocated power is subtracted to obtain the power increase adjustment margin of a single electrolytic cell. The power increase operation is performed on the electrolytic cell according to the power increase adjustment margin. When the adjustment method is power reduction adjustment, the power of the electrolytic cell is calculated by subtracting the power of the electrolytic cell shutdown from the current allocated power of the electrolytic cell, and the power reduction adjustment margin of a single electrolytic cell is obtained. The power reduction operation is performed on the electrolytic cell according to the power reduction adjustment margin.
[0012] Furthermore, it also includes: When a power allocation command is received, it is determined whether the dynamic change of the power allocation command is within the adjustment threshold range of the steady-state rate. If so, the power of the electrolytic cell is regulated at a steady-state rate; If not, power adjustment is performed on each electrolytic cell to trigger the fluctuation rate, and the adjustment range of a single electrolytic cell is increased to make up for the adjustment demand gap until all electrolytic cells are at the fluctuation rate, wherein the fluctuation rate is greater than the steady-state rate.
[0013] The present invention also provides a power distribution device for a hydrogen production cluster, comprising: The configuration unit is used to acquire the configuration information of each electrolyzer in the hydrogen production cluster, and set the start-up priority and shutdown priority of each electrolyzer according to the configuration information; wherein, the hydrogen production cluster includes at least one hydrogen production unit, each hydrogen production unit includes multiple electrolyzers, and the configuration information includes the electrolyzer temperature, the operating status of the hydrogen production unit, and the historical operating time of the electrolyzer; The start-up and shutdown unit is used to start up or shut down the corresponding electrolytic cells according to the start-up priority and shutdown priority when start-up or shutdown is required. The allocation unit is used to obtain the ratio of the rated power of a single electrolyzer in operation mode to the total rated power of the electrolyzers in operation mode when it receives a hydrogen production active power command, use the ratio as an allocation coefficient, and allocate power to each electrolyzer according to the allocation coefficient.
[0014] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the hydrogen production cluster power allocation method as described above.
[0015] This invention provides a method, apparatus, and computer for power allocation in a hydrogen production cluster. The method includes acquiring configuration information for each electrolyzer in the hydrogen production cluster, and setting start-up and shutdown priorities for each electrolyzer based on the configuration information; when start-up or shutdown is required, starting or shutting down the corresponding electrolyzer according to the start-up and shutdown priorities; when a hydrogen production active power command is received, obtaining the ratio of the rated power of a single electrolyzer in operating mode to the total rated power of all electrolyzers in operating mode, using the ratio as an allocation coefficient, and allocating power to each electrolyzer according to the allocation coefficient. This embodiment employs a multi-machine allocation scheduling and control strategy for the hydrogen production cluster, prioritizing start-up and shutdown, and adapting the operating power allocation strategy to both stable and fluctuating operating conditions. It achieves precise power allocation based on the real-time adjustment capability of the units, taking into account objectives such as response speed, operational stability, and lifespan balance, thereby minimizing the number of start-ups and shutdowns, maximizing operational stability, and balancing unit lifespan. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A schematic flowchart of a hydrogen production cluster power allocation method provided in an embodiment of the present invention; Figure 2 This is a diagram illustrating the multi-state machine control mode determination for hydrogen production clusters according to an embodiment of the present invention. Figure 3 This is a diagram illustrating the active power command for hydrogen production under the test startup logic in an embodiment of the present invention. Figure 4 This is a start-up sequence diagram for a hydrogen production cluster according to an embodiment of the present invention; Figure 5 This is a diagram showing the active power command for hydrogen production under the shutdown logic in an embodiment of the present invention. Figure 6 This is a shutdown sequence diagram for a hydrogen production cluster according to an embodiment of the present invention; Figure 7 This is a diagram of the active power command for hydrogen production under the test allocation logic in an embodiment of the present invention; Figure 8 This is a diagram showing the active power of each electrolyzer in the hydrogen production cluster according to an embodiment of the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0020] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0021] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0022] Please see Figure 1 This invention provides a method for power allocation in a hydrogen production cluster, comprising: S101. Obtain the configuration information of each electrolyzer in the hydrogen production cluster, and set the start-up priority and shutdown priority of each electrolyzer according to the configuration information; wherein, the hydrogen production cluster includes at least one hydrogen production unit, each hydrogen production unit includes multiple electrolyzers, and the configuration information includes the electrolyzer temperature, the operating status of the hydrogen production unit, and the historical operating time of the electrolyzer; S102. When it is necessary to start or stop the machine, start or stop the corresponding electrolytic cell according to the start-up priority and stop-up priority. S103. When a hydrogen production active power command is received, the ratio of the rated power of a single electrolyzer in operation mode to the rated power of the total electrolyzers in operation mode is obtained, the ratio is used as the allocation coefficient, and the power is allocated to each electrolyzer according to the allocation coefficient.
[0023] This embodiment adopts a multi-unit allocation scheduling and control strategy for hydrogen production clusters, sets priorities for start-up and shutdown, adapts to stable and fluctuating operating conditions through power allocation strategies, and achieves precise power allocation based on the real-time adjustment capability of the electrolyzer units, taking into account objectives such as response speed, operational stability, and lifespan balance, thereby minimizing the number of start-ups and shutdowns, maximizing operational stability, and balancing unit lifespan.
[0024] Specifically, the power allocation method for hydrogen production clusters also includes: Through state set Describe the control mode of the electrolyzer; Constructing the Electrolytic Cell Control State Machine According to the Formula : In the formula: The electrolytic cell is in an uncontrollable state; The electrolytic cell is in a state of communication loss; The electrolytic cell is in a faulty state; The electrolytic cell is in a stopped state; The electrolytic cell is in operation; An electrolytic cell in the startup state selected by the startup logic; For electrolytic cells in a shutdown state selected by shutdown logic; This refers to the real-time operating power of the electrolytic cell; This refers to the start-up power of the electrolytic cell; This is an uncontrollable control mode; This is the fault control mode; In shutdown mode; This is the control mode during startup; Control mode during shutdown; This is the control mode during operation.
[0025] This embodiment divides the electrolytic cell state into multiple dimensions such as uncontrollable, communication loss, fault, stop, and operation, and uses a state set. Describe the control modes of the electrolyzer and construct the control state machine of the electrolyzer. .
[0026] Specifically, the power allocation method for hydrogen production clusters also includes: The state transition rules for the electrolytic cell are defined as follows: In the formula: arrows indicate one-way jumps.
[0027] Specifically, the state transition rules are explained as follows: From uncontrollable control mode It can switch to the running control mode in one direction. Shutdown mode Or fault control mode ; From fault control mode It can switch to the running control mode in one direction. Or shutdown mode ; From shutdown mode It can switch to the start-up control mode in one direction. Or fault control mode ; Control mode from startup It can switch to the running control mode in one direction. Or fault control mode ; Control mode from shutdown It can jump to the shutdown mode in one direction. Or fault control mode ; Control mode during operation It can switch to the stop control mode in one direction. Or fault control mode .
[0028] In this embodiment, constraints for state transitions are defined, and state machine transition rules are used to avoid unnecessary unit start-ups and shutdowns triggered by short-term power fluctuations.
[0029] In this embodiment, the start-up is constrained by the electrolyzer temperature, the operating status of the hydrogen production unit, and the historical operating time of the electrolyzer; the shutdown is constrained by the operating status of the hydrogen production unit and the historical operating time of the electrolyzer.
[0030] Specifically, step S101 includes: S201. A first weight, a second weight, and a third weight are respectively assigned to the electrolyzer temperature, the hydrogen production unit operating status, and the electrolyzer historical operating time; wherein the first weight, the second weight, and the third weight decrease sequentially. S202. Set the electrolyzer temperature, hydrogen production unit operating status and electrolyzer historical operating time to a unified dimension, and weight the electrolyzer temperature, hydrogen production unit operating status and electrolyzer historical operating time according to the set corresponding weights to obtain the start-up priority of each electrolyzer. S203. Set a fourth weight and a fifth weight for the operating status of the hydrogen production unit and the historical operating time of the electrolyzer, respectively. Weight the operating status of the hydrogen production unit and the historical operating time of the electrolyzer according to the set weights to obtain the shutdown priority of each electrolyzer; wherein the fourth weight is greater than the fifth weight.
[0031] In the calculation of start-up priority, the electrolyzer temperature has the highest weight and the greatest impact on start-up priority; the operating status of the hydrogen production unit has a medium weight and a medium impact on start-up priority; and the historical operating time of the electrolyzer has the lowest weight and the least impact on start-up priority. In the calculation of shutdown priority, the operating status of the hydrogen production unit has a relatively high weight and a relatively high impact on shutdown priority; and the historical operating time of the electrolyzer has a relatively low weight and a relatively low impact on shutdown priority.
[0032] The dimensional conversion between electrolytic cell temperature and historical operating time is relatively simple. Furthermore, in the calculation of start-up priority, electrolytic cell temperature is positively correlated with start-up priority; that is, the higher the electrolytic cell temperature, the higher the start-up priority score. Conversely, historical operating time is negatively correlated with start-up priority; that is, the shorter the historical operating time, the higher the start-up priority score. Similarly, in the calculation of shutdown priority, historical operating time is positively correlated with shutdown priority; that is, the longer the historical operating time, the higher the shutdown priority score.
[0033] The operating status of a hydrogen production unit refers to whether there are any electrolyzers in the unit that are in operation or shut down. For start-up priority, the operating status refers to whether there are any electrolyzers in the unit that are in operation; for shutdown priority, the operating status refers to whether there are any electrolyzers in the unit that are shut down.
[0034] Specifically, when calculating start-up priority, for example, consider two hydrogen production units A and B. Unit A includes two electrolyzers, A1 and A2, while unit B includes two electrolyzers, B1 and B2. If electrolyzer A1 in unit A is operational, but electrolyzer A2 is not, and neither electrolyzer B1 nor B2 in unit B is operational, then, without considering other factors, electrolyzer A2 scores higher than electrolyzers B1 and B2 in terms of the operational status of the hydrogen production unit. This is because unit A contains an operational electrolyzer, A1. In other words, if an electrolyzer in a hydrogen production unit is operational, the other electrolyzers in that unit are started first.
[0035] When calculating shutdown priority, for example, consider two hydrogen production units A and B. Unit A includes two electrolyzers, A1 and A2, while unit B includes two electrolyzers, B1 and B2. If electrolyzer A1 in unit A is shut down, while electrolyzer A2 is not shut down, and both electrolyzers B1 and B2 in unit B are not shut down, then, without considering other factors, electrolyzers B1 and B2 score higher than electrolyzer A2 in terms of the hydrogen production unit's operational status. This is because unit A has one shut-down electrolyzer, A1, so other hydrogen production units (i.e., the electrolyzers in unit B) are shut down first. In other words, if a hydrogen production unit has a shut-down electrolyzer, the electrolyzers in other hydrogen production units are shut down first.
[0036] Start-up priority is determined as follows: each factor is assigned a weight by a weighting factor, with the electrolyzer temperature weight (first weight) being the highest, followed by the hydrogen production unit operating status weight (second weight), and the electrolyzer historical operating time weight (third weight) being the lowest. The higher the overall priority score, the higher the priority for startup.
[0037] When calculating the final priority score (start-up priority), the electrolyzer temperature, hydrogen production unit operating status, and electrolyzer historical operating time can be set to a unified dimension. Then, a weighted average is applied according to the weights to obtain the final priority score, i.e., the start-up priority.
[0038] It should be noted that temperature weighting can be further divided into hot standby temperature weighting and cold standby temperature weighting, with the hot standby temperature weighting being greater than the cold standby temperature weighting. When the electrolytic cell temperature is higher than the set standard operating temperature, the electrolytic cell unit is in hot standby mode; if the electrolytic cell temperature is lower than the set standard temperature, the electrolytic cell unit is in cold standby mode. Electrolytic cells in hot standby mode are assigned hot standby temperature weighting, and electrolytic cells in cold standby mode are assigned cold standby temperature weighting.
[0039] Shutdown priority is determined as follows: weights are assigned to each factor through weighting factors, with the hydrogen production unit's operating status (fourth weight) having the highest weight, and the electrolyzer's historical operating time (fifth weight) having a lower weight. The higher the overall priority score, the higher the priority for shutdown. Since temperature is not a factor to consider when calculating shutdown priority, no temperature-related weights are set.
[0040] This embodiment also introduces a start-stop delay mechanism. Specifically, step S102 includes: S301. When startup is required, first select the electrolytic cell with the highest startup priority, and perform a delay processing according to the set startup delay. After the delay processing, switch the control mode of the corresponding electrolytic cell to startup mode. The start-up command is sent to the corresponding electrolytic cell, and the power of the corresponding electrolytic cell is controlled to increase unidirectionally according to the preset power adjustment rate until the start-up power is reached. Then switch the control mode of the corresponding electrolytic cell to the running control mode. ; S302. When a shutdown is required, first select the electrolytic cell with the highest shutdown priority, and perform a delay according to the set shutdown delay time. After the delay, switch the control mode of the corresponding electrolytic cell to shutdown mode. A shutdown command is issued to the corresponding electrolytic cell, and the power of the corresponding electrolytic cell is controlled to decrease unidirectionally according to the preset power adjustment rate until the minimum operating step size is reached. Then, a shutdown command is issued, and once the power decreases to 0, the control mode of the corresponding electrolytic cell is switched to shutdown control mode. .
[0041] This embodiment introduces a start-stop delay mechanism through the linkage control of start-stop delay and state transition, avoiding frequent start-ups and shutdowns of the electrolytic cell caused by short-term power fluctuations. The minimum operating step size is the minimum power that can be adjusted according to the power adjustment rate.
[0042] The hydrogen production cluster power allocation method of the present invention further includes: Determine whether the electrolytic cell needs to be started based on the following startup logic: In the formula: This is a flag indicating whether the hydrogen production cluster needs to be started. A value of 1 indicates that the cluster needs to be started; otherwise, it does not need to be started. This refers to the number of electrolyzers in operation within the hydrogen production cluster. Power allocation instructions for the hydrogen production cluster; This refers to the start-up power of the electrolytic cell; This represents the sum of the maximum operating power of all electrolytic cells currently in operation. Determine whether the electrolytic cell needs to be shut down based on the following shutdown logic: In the formula: This is a flag indicating when the hydrogen production cluster needs to be shut down. A value of 1 indicates that shutdown is required; otherwise, shutdown is not required. This refers to the number of electrolyzers in operation within the hydrogen production cluster. Power allocation instructions for the hydrogen production cluster; This represents the total shutdown power of all electrolytic cells currently in operation.
[0043] The embodiments of the present invention use the above method to determine whether it is necessary to select an electrolytic cell to be shut down and set a flag, so as to facilitate subsequent start-up or shutdown according to priority.
[0044] The startup logic is explained as follows: 1. When there are no electrolyzers in operation in the hydrogen production cluster, 1) if the power allocation command (or active power for hydrogen production) can reach the startup power of a single electrolyzer, then the cell will be started; 2) if the power allocation command cannot reach the startup power of a single electrolyzer, then the cell will not be started; 2. When there are electrolyzers in operation in the hydrogen production cluster, 1) the power allocation command must exceed the sum of the maximum operating power of all electrolyzers currently in operation before the cell will be started; 2) if the power allocation command does not exceed the sum of the maximum operating power of all electrolyzers currently in operation, then the cell will not be started.
[0045] The shutdown logic is explained as follows: When there is at least one electrolyzer in the hydrogen production cluster that is in operation, 1) if the power allocation command (or active power for hydrogen production) of the hydrogen production cluster is less than the sum of the shutdown power (understood as the minimum operating power) of all electrolyzers currently in operation, then one electrolyzer must be shut down; 2) if the power allocation command of the hydrogen production cluster is greater than or equal to the sum of the shutdown power of all electrolyzers currently in operation, then no shutdown is required; 2. When there are zero electrolyzers in the hydrogen production cluster that are in operation, then there are no electrolyzers that need to be shut down.
[0046] In step S103, when a real-time hydrogen production active power command is received, the ratio of the rated power of a single electrolyzer in operation mode to the rated power of the total electrolyzers in operation mode is obtained, the ratio is used as an allocation coefficient, and the power is allocated to each electrolyzer according to the allocation coefficient.
[0047] This embodiment uses the rated power of a single electrolyzer as a fixed allocation benchmark, ignoring the slight differences in the real-time operating status of each electrolyzer unit. After the system stabilizes, the power trends of each electrolyzer unit are consistent, making it suitable for large-scale hydrogen production scenarios with stable hydrogen production, high consistency of electrolyzer parameters, and high consistency of operating conditions.
[0048] The power allocation coefficient is the ratio of the rated power of a single electrolyzer unit to the total rated power of all electrolyzer units under the current operating mode. When a new electrolyzer unit is added or a new electrolyzer unit is added to the hydrogen production cluster, the allocation coefficient needs to be recalculated according to the rated power ratio.
[0049] The hydrogen production cluster power allocation method of the present invention further includes: When it is necessary to adjust the power of the electrolytic cell, obtain the adjustment method; When the adjustment method is power increase adjustment, the minimum value between the rated power and the maximum operating power of the electrolytic cell is calculated and the current allocated power is subtracted to obtain the power increase adjustment margin of a single electrolytic cell. The power increase operation is performed on the electrolytic cell according to the power increase adjustment margin. When the adjustment method is power reduction adjustment, the power of the electrolytic cell is calculated by subtracting the power of the electrolytic cell shutdown from the current allocated power of the electrolytic cell, and the power reduction adjustment margin of a single electrolytic cell is obtained. The power reduction operation is performed on the electrolytic cell according to the power reduction adjustment margin.
[0050] The embodiments of this invention take the real-time adjustment capability of a single electrolyzer as the core allocation basis, and divide it into two adjustment modes: power increase adjustment and power decrease adjustment, so as to achieve precise allocation of power commands. It is suitable for allocation scenarios where power commands fluctuate frequently and hydrogen production load is frequently adjusted.
[0051] The core of the power increase allocation method lies in using the maximum adjustable power increment of the electrolytic cell unit as a weighting coefficient to proportionally allocate power commands. The power increase adjustment margin of a single electrolytic cell is obtained by subtracting the currently allocated power from the minimum of the cell's rated power and maximum operating power. During operation, it should be ensured that the allocated power of each electrolytic cell does not exceed the minimum of its rated power and maximum operating power. If the adjustment margin of an electrolytic cell is close to zero (e.g., the adjustment margin is less than the first preset value), then that electrolytic cell will not participate in the power allocation adjustment; only the remaining electrolytic cells with sufficient margin will be adjusted. Through this method, the unreasonable allocation of high power increments to electrolytic cells with small margins is avoided, reducing the risk of equipment overload while achieving precise matching between the power increment and the real-time load capacity of the electrolytic cell unit. For example, if there are three electrolytic cells A, B, and C, with an adjustment margin of 200kW for cell A, 100kW for cell B, and 100kW for cell C, and an additional 200kW of power is needed, then an increment of 100kW would be allocated to cell A, 50kW to cell B, and 50kW to cell C.
[0052] The core of power reduction operation allocation lies in using the current safe power reduction of the electrolyzer without shutting down as a constraint. Power reduction operations are performed on the electrolyzers according to the adjustment margin. The power reduction adjustment margin for a single electrolyzer is calculated by subtracting the electrolyzer's shutdown power from its current allocated power. During operation, it should be ensured that the allocated power of each electrolyzer is not lower than its shutdown power. If the adjustment margin of an electrolyzer is close to zero (e.g., the adjustment margin is less than the second preset value), that electrolyzer will not participate in power allocation adjustment; only the remaining electrolyzers with sufficient margin will be adjusted. This method avoids the electrolyzers from switching operating modes due to sudden power drops, ensuring the continuity of the hydrogen production process. Simultaneously, through balanced adjustment, the number of equipment start-ups and shutdowns is reduced. The adjustment method for power reduction is similar to that for power increase, so it will not be elaborated further.
[0053] This invention, through a control logic that unidirectionally changes the power regulation rate, achieves a smooth transition during unit state switching, thereby improving system operational stability. It also employs a start / stop priority determination logic that dynamically determines start / stop priorities based on state characteristics, differentiating the weights of hot / cold standby states.
[0054] This invention allocates hydrogen production power by combining the relationship between the input electrical power and hydrogen production rate of the electrolyzer module in its working state and control mode. The rationality of the allocation is tested through integrated C++ code and Matlab Simulink simulation platform. The target values of grid-connected power and hydrogen production power can be flexibly set in each working mode, and the target values of the working mode or working mode can be dynamically adjusted in real time during operation, while maintaining the continuity of the solution process, so as to achieve multi-mode working scheduling and improve the efficiency of new energy utilization.
[0055] The hydrogen production cluster power allocation method of the present invention further includes: When a power allocation command is received, it is determined whether the dynamic change of the power allocation command is within the adjustment threshold range of the steady-state rate. If so, the power of the electrolytic cell is regulated at a steady-state rate; If not, power adjustment is performed on each electrolytic cell to trigger the fluctuation rate, and the adjustment range of a single electrolytic cell is increased to make up for the adjustment demand gap until all electrolytic cells are at the fluctuation rate, wherein the fluctuation rate is greater than the steady-state rate.
[0056] In this embodiment, the dynamic change of the power allocation command refers to the dynamic change within a unit time, such as a1 kW. The steady-state rate adjustment threshold range refers to the fact that all electrolytic cells usually adjust their power at a steady-state rate, such as the total adjusted power of all electrolytic cells within a unit time being b1 kW. The fluctuation rate refers to the fact that all electrolytic cells adjust their power at a higher rate, such as the total adjusted power of all electrolytic cells within a unit time being c1 kW, and c1 is greater than b1.
[0057] If the dynamic change in the power allocation command is within the steady-state rate adjustment threshold range, then each electrolyzer only needs to adjust its power according to the steady-state rate, maintaining a stable power adjustment rate to ensure the continuity of the hydrogen production process. If the dynamic change in the power allocation command is not within the steady-state rate adjustment threshold range, then the electrolyzer needs to adjust its power at a faster rate, requiring the triggering of fluctuating rate power adjustment. When triggering fluctuating rate power adjustment, following the principle of minimum fluctuating rate adjustment, the fluctuating rate is triggered one by one for the previously stable electrolyzers. For example, first switch electrolyzer A to fluctuating rate, then determine whether the total adjustment power of all electrolyzers per unit time can meet the requirements of the dynamic change in the power allocation command. If it still cannot, then switch electrolyzer B to fluctuating rate, and then continue to determine whether the total adjustment power of all electrolyzers per unit time can meet the requirements of the dynamic change in the power allocation command, and so on, until all electrolyzers are under fluctuating rate adjustment. In this way, by gradually increasing the adjustment range of individual electrolyzers, the gap in system adjustment needs is filled, reducing unnecessary adjustments.
[0058] This invention, based on the aforementioned electrolyzer power allocation according to rated power or adjustable capacity, introduces a steady-state rate and fluctuation rate adjustment mechanism for the electrolyzer, ultimately outputting allocated power that satisfies the system's dynamic response and electrolyzer operating constraints. Through a hierarchical rate control strategy, it ensures the hydrogen production system's rapid response to power fluctuations while avoiding grid-side impacts and fluctuations at the hydrogen production end caused by simultaneous rate switching of multiple electrolyzers, thus adapting to power command fluctuations and the electrolyzer equipment's operating mechanism.
[0059] The present invention also provides a control mode verification embodiment to verify its cluster control function.
[0060] Specifically, the parameter configuration of the ewhp module (hydrogen production cluster allocation module) is shown in Table 1 below: Table 1 The initial configuration of the electrolytic cell is shown in Table 2 below: Table 2 Figure 2 A state machine diagram based on a multi-machine electrolyzer is presented. The core of this hydrogen production model is compiled and solved in the S-Function module of Matlab / Simulink by integrating C++ code, thereby realizing dynamic power control.
[0061] Operating Condition 1: Simulation tests were conducted according to the electrolyzer startup logic described above and the initial configuration of the electrolyzer in Table 2. The planned power curve for the hydrogen production cluster was set as follows. Figure 3As shown, as the active power output for hydrogen production (i.e., the active power command for hydrogen production) increases, the electrolyzers are started up one by one. The start-up sequence is based on the "Start-up Logic" above. Figure 4 The startup priorities, from highest to lowest, are: electrolyzer 2, electrolyzer 1, electrolyzer 4, and electrolyzer 3. When calculating startup priorities, electrolyzer 2 is in hot standby mode and has the shortest historical operating time, therefore it has the highest startup priority. Since electrolyzer 1 has a higher temperature than electrolyzers 3 and 4, and electrolyzers 1 and 2 are located in the same hydrogen production unit, considering these factors, the final calculation shows that the startup priority of electrolyzer 1 is higher than that of electrolyzers 3 and 4. Electrolyzers 3 and 4 are both in cold standby mode, and the historical operating time of electrolyzer 4 is shorter than that of electrolyzer 3, therefore, the startup priority of electrolyzer 4 is higher than that of electrolyzer 3. If the active power of hydrogen production exceeds the sum of the rated power of the first three electrolyzers, then all three need to be started, meaning electrolyzer 3 should be started last.
[0062] Operating Condition 2: Simulation tests were conducted according to the above-described electrolyzer shutdown logic and the initial electrolyzer configuration in Table 2. The planned power curve for the hydrogen production cluster was set as follows. Figure 5 As shown, as the active power of hydrogen production decreases, the electrolyzers are shut down one by one, following the shutdown sequence as described in the "Shutdown Logic" section above. Figure 6 The shutdown priorities, from highest to lowest, are: electrolyzer 1, electrolyzer 3, electrolyzer 2, and electrolyzer 4. Electrolyzer 1 has the longest historical operating time, so it has the highest shutdown priority. After shutdown, since there are electrolyzers in hydrogen production unit 1 that are currently shut down, the electrolyzers in hydrogen production unit 2 are shut down first. Since electrolyzer 3 has a longer historical operating time than electrolyzer 4, it has the second highest shutdown priority. Electrolyzer 2 has a longer historical operating time than electrolyzer 4, so it has the third highest shutdown priority. Electrolyzer 4 has the fourth highest shutdown priority. Finally, all electrolyzers are shut down, reducing hydrogen production power to zero.
[0063] It should be noted that the above "startup logic" and "shutdown logic" are just examples. In reality, the final score needs to be determined by weighting each weight and factor, thereby determining the priority.
[0064] Operating Condition 3: Taking the rated power distribution mode as an example, all electrolyzers are controlled at a steady-state rate by default. When the hydrogen production cluster's adjustment capacity is insufficient, the electrolyzers are switched to fluctuating rate control sequentially according to a preset priority (this can be a separate priority from the start-stop logic, or a priority similar to the start-stop logic). Simulation tests are performed according to the above logic and the initial configuration of the electrolyzers. The output waveform is as follows: Figure 7 , Figure 8 As shown. In Figure 7 and Figure 8Based on the aforementioned start-up logic, shutdown logic, and allocation criteria, the hydrogen production cluster is controlled to follow the active power of hydrogen production. Based on this method of controlling the hydrogen production cluster to follow the parameters, control curves for the two groups of four electrolyzers are obtained.
[0065] The test conclusions are as follows: In tests under operating conditions 1 and 2, when there are start-up and shutdown requirements, the start-up and shutdown sequence of the electrolyzers satisfies the following: start-up is constrained by the electrolyzer temperature, the operating status of the hydrogen production unit, and the historical operating time of the electrolyzer; shutdown is constrained by the operating status of the hydrogen production unit and the historical operating time of the electrolyzer. In test under operating condition 3, there are start-up and shutdown requirements, which satisfy the above logic, and the control process satisfies the following: when the electrolyzer starts up, it must be increased to the start-up power threshold at a certain slope before it can participate in subsequent adjustments; when the electrolyzer shuts down, it must be decreased to the shutdown power threshold at a certain slope before it can shut down, reducing the impact on the microgrid. The adjustment distinguishes between fluctuation rate and stable rate. In the electrolyzer cluster control, the power distribution dynamically stabilizes and the load is balanced. Each power source responds synchronously to power fluctuations during the adjustment process, and the power difference is small in the final stable stage.
[0066] This embodiment provides a power distribution device for a hydrogen production cluster, which includes: The configuration unit is used to acquire the configuration information of each electrolyzer in the hydrogen production cluster, and set the start-up priority and shutdown priority of each electrolyzer according to the configuration information; wherein, the hydrogen production cluster includes at least one hydrogen production unit, each hydrogen production unit includes multiple electrolyzers, and the configuration information includes the electrolyzer temperature, the operating status of the hydrogen production unit, and the historical operating time of the electrolyzer; The start-up and shutdown unit is used to start up or shut down the corresponding electrolytic cells according to the start-up priority and shutdown priority when start-up or shutdown is required. The allocation unit is used to obtain the ratio of the rated power of a single electrolyzer in operation mode to the total rated power of the electrolyzers in operation mode when it receives a hydrogen production active power command, use the ratio as an allocation coefficient, and allocate power to each electrolyzer according to the allocation coefficient.
[0067] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described apparatus and unit can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0068] The present invention also provides a computer device, which may include a memory and a processor. The memory stores a computer program, and when the processor calls the computer program in the memory, it can implement the methods provided in the above embodiments. Of course, the computer device may also include various network interfaces, power supplies, and other components.
[0069] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for power allocation in a hydrogen production cluster, characterized in that, Including the following steps: The configuration information of each electrolyzer in the hydrogen production cluster is obtained, and the start-up priority and shutdown priority of each electrolyzer are set according to the configuration information; wherein, the hydrogen production cluster includes at least one hydrogen production unit, each hydrogen production unit includes multiple electrolyzers, and the configuration information includes the electrolyzer temperature, the operating status of the hydrogen production unit, and the historical operating time of the electrolyzer; When it is necessary to start up or stop, the corresponding electrolytic cells shall be started up or stopped according to the start-up priority and stop-up priority. When a hydrogen production active power command is received, the ratio of the rated power of a single electrolyzer in operation mode to the total rated power of all electrolyzers in operation mode is obtained. This ratio is used as an allocation coefficient, and power is allocated to each electrolyzer according to the allocation coefficient.
2. The method for power allocation in a hydrogen production cluster according to claim 1, characterized in that, The step of setting start-up and shutdown priorities for each electrolytic cell based on the configuration information includes the following steps: A first weight, a second weight, and a third weight are respectively assigned to the electrolyzer temperature, the hydrogen production unit operating status, and the electrolyzer historical operating time; wherein the first weight, the second weight, and the third weight decrease sequentially. The electrolyzer temperature, hydrogen production unit operating status, and electrolyzer historical operating time are set to a unified dimension. The electrolyzer temperature, hydrogen production unit operating status, and electrolyzer historical operating time are weighted according to the set corresponding weights to obtain the start-up priority of each electrolyzer. A fourth weight and a fifth weight are set for the operating status of the hydrogen production unit and the historical operating time of the electrolyzer, respectively. The operating status of the hydrogen production unit and the historical operating time of the electrolyzer are weighted according to the set weights to obtain the shutdown priority of each electrolyzer; wherein the fourth weight is greater than the fifth weight.
3. The method for power allocation in a hydrogen production cluster according to claim 1, characterized in that, Also includes: Determine whether the electrolytic cell needs to be started based on the following startup logic: In the formula: This is a flag indicating whether the hydrogen production cluster needs to be started. A value of 1 indicates that the cluster needs to be started; otherwise, it does not need to be started. This refers to the number of electrolyzers in operation within the hydrogen production cluster. Power allocation instructions for the hydrogen production cluster; This refers to the start-up power of the electrolytic cell; This represents the sum of the maximum operating power of all electrolytic cells currently in operation. Determine whether the electrolytic cell needs to be shut down based on the following shutdown logic: In the formula: This is a flag indicating when the hydrogen production cluster needs to be shut down. A value of 1 indicates that shutdown is required; otherwise, shutdown is not required. This refers to the number of electrolyzers in operation within the hydrogen production cluster. Power allocation instructions for the hydrogen production cluster; This represents the total shutdown power of all electrolytic cells currently in operation.
4. The method for power allocation in a hydrogen production cluster according to claim 1, characterized in that, Also includes: Through state set Describe the control mode of the electrolyzer; Constructing the Electrolytic Cell Control State Machine According to the Formula : In the formula: The electrolytic cell is in an uncontrollable state; The electrolytic cell is in a state of communication loss; The electrolytic cell is in a faulty state; The electrolytic cell is in a stopped state; The electrolytic cell is in operation; An electrolytic cell in the startup state selected by the startup logic; For electrolytic cells in a shutdown state selected by shutdown logic; This refers to the real-time operating power of the electrolytic cell; This refers to the start-up power of the electrolytic cell; This is an uncontrollable control mode; This is the fault control mode; In shutdown mode; This is the control mode during startup; Control mode during shutdown; This is the control mode during operation.
5. The method for power allocation in a hydrogen production cluster according to claim 4, characterized in that, Also includes: The state transition rules for the electrolytic cell are defined as follows: From uncontrollable control mode One-way jump to running control mode Shutdown mode Or fault control mode ; From fault control mode One-way jump to running control mode Or shutdown mode ; From shutdown mode One-way jump to startup control mode Or fault control mode ; Control mode from startup One-way jump to running control mode Or fault control mode ; Control mode from shutdown One-way jump to stop mode Or fault control mode ; Control mode during operation One-way jump to stop control mode Or fault control mode .
6. The method for power allocation in a hydrogen production cluster according to claim 1, characterized in that, When it is necessary to start up or stop, the corresponding electrolytic cells are started up or stopped according to the start-up priority and stop-up priority, including: When startup is required, the electrolytic cell with the highest startup priority is selected first, and a delay is performed according to the set startup delay. After the delay, the control mode of the corresponding electrolytic cell is switched to startup mode. The start-up command is sent to the corresponding electrolytic cell, and the power of the corresponding electrolytic cell is controlled to increase unidirectionally according to the preset power adjustment rate until the start-up power is reached. Then switch the control mode of the corresponding electrolytic cell to the running control mode. ; When a shutdown is required, the electrolytic cell with the highest shutdown priority is selected first, and a delay is performed according to the set shutdown delay time. After the delay, the control mode of the corresponding electrolytic cell is switched to shutdown mode. A shutdown command is issued to the corresponding electrolytic cell, and the power of the corresponding electrolytic cell is controlled to decrease unidirectionally according to the preset power adjustment rate until the minimum operating step size is reached. Then, a shutdown command is issued, and once the power decreases to 0, the control mode of the corresponding electrolytic cell is switched to shutdown control mode. .
7. The method for power allocation in a hydrogen production cluster according to claim 1, characterized in that, Also includes: When it is necessary to adjust the power of the electrolytic cell, obtain the adjustment method; When the adjustment method is power increase adjustment, the minimum value between the rated power and the maximum operating power of the electrolytic cell is calculated and the current allocated power is subtracted to obtain the power increase adjustment margin of a single electrolytic cell. The power increase operation is performed on the electrolytic cell according to the power increase adjustment margin. When the adjustment method is power reduction adjustment, the power of the electrolytic cell is calculated by subtracting the power of the electrolytic cell shutdown from the current allocated power of the electrolytic cell, and the power reduction adjustment margin of a single electrolytic cell is obtained. The power reduction operation is performed on the electrolytic cell according to the power reduction adjustment margin.
8. The method for power allocation in a hydrogen production cluster according to claim 1, characterized in that, Also includes: When a power allocation command is received, it is determined whether the dynamic change of the power allocation command is within the adjustment threshold range of the steady-state rate. If so, the power of the electrolytic cell is regulated at a steady-state rate; If not, power adjustment is performed on each electrolytic cell to trigger the fluctuation rate, and the adjustment range of a single electrolytic cell is increased to make up for the adjustment demand gap until all electrolytic cells are at the fluctuation rate, wherein the fluctuation rate is greater than the steady-state rate.
9. A power distribution device for a hydrogen production cluster, characterized in that, include: The configuration unit is used to acquire the configuration information of each electrolyzer in the hydrogen production cluster, and set the start-up priority and shutdown priority of each electrolyzer according to the configuration information; wherein, the hydrogen production cluster includes at least one hydrogen production unit, each hydrogen production unit includes multiple electrolyzers, and the configuration information includes the electrolyzer temperature, the operating status of the hydrogen production unit, and the historical operating time of the electrolyzer; The start-up and shutdown unit is used to start up or shut down the corresponding electrolytic cells according to the start-up priority and shutdown priority when start-up or shutdown is required. The allocation unit is used to obtain the ratio of the rated power of a single electrolyzer in operation mode to the total rated power of the electrolyzers in operation mode when it receives a hydrogen production active power command, use the ratio as an allocation coefficient, and allocate power to each electrolyzer according to the allocation coefficient.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the hydrogen production cluster power allocation method as described in any one of claims 1 to 8.