A capacity optimization method for off-grid photovoltaic hydrogen production systems
By constructing a mathematical model of an off-grid photovoltaic hydrogen production system and improving the honey badger algorithm, the dynamic operation of the electrolyzer array is optimized, solving the problem of inaccurate capacity configuration in existing technologies and achieving higher hydrogen production output and lower costs.
Patent Information
- Application Number
- CN202311133522.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-09-04
AI Technical Summary
Existing capacity optimization methods for off-grid photovoltaic hydrogen production systems cannot accurately reflect the actual operation of the electrolyzer, leading to equipment redundancy and increased hydrogen production costs. Furthermore, improper electrolyzer startup methods can affect system output.
Mathematical models of photovoltaic arrays, energy storage battery packs, electrolyzer arrays, and hydrogen storage tank arrays are constructed. A dynamic operation model of the electrolyzer array is established. The system capacity is optimized by combining the improved honey badger algorithm. The difference between cold start and hot start time of the electrolyzer is considered, and a penalty function is introduced to optimize the objective function.
It increased the system's hydrogen production output, reduced the unit cost of hydrogen production, avoided the reduction in equipment lifespan caused by repeated start-ups and shutdowns of the electrolyzer, and achieved optimal equipment configuration and rapid solution.
Smart Images

Figure CN117172109B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of photovoltaic energy storage and renewable energy hydrogen production technology, specifically involving a capacity optimization method for off-grid photovoltaic hydrogen production systems. Background Technology
[0002] With the development of photovoltaic (PV) power generation technology, my country's total installed PV capacity has continuously increased, reaching the forefront of the world. Large-scale PV power generation provides an effective solution for reducing carbon emissions. However, the high capacity also brings many complex problems. The significant uncertainty of PV power generation makes grid connection very difficult, resulting in prominent curtailment and underutilization of PV power. Therefore, a new approach is needed to meet the needs of PV power consumption and carbon emission reduction. In recent years, off-grid systems have emerged as a new solution for PV power consumption. Off-grid systems are not dependent on the power grid and are not limited by geographical location, enabling local consumption of PV power. Hydrogen energy, as a clean energy source, can be coupled with off-grid PV power generation systems. The electricity generated by PV equipment can power the electrolysis of water to produce hydrogen. Since the only byproduct of hydrogen production and use is water, it is a completely clean energy source. Therefore, combining off-grid PV systems with water electrolysis technology can achieve PV power consumption and reduce carbon emissions.
[0003] Although off-grid photovoltaic (PV) hydrogen production systems are gaining increasing attention due to their higher PV power consumption, lower carbon emissions, and broad application prospects, they still face many challenges. For example, the state of the electrolyzer is affected by factors such as PV power generation and the energy storage battery's charge. Currently, most capacity optimization methods for off-grid hydrogen production systems employ simple electrolyzer start-up and shutdown models. However, because solar resources and load demands are highly unpredictable and random, these models cannot accurately reflect the actual operation of the electrolyzer, leading to over-configuration of the entire system's capacity and underutilization of equipment redundancy, thus increasing the overall hydrogen production cost. Furthermore, electrolyzers undergo cold and hot starts during actual operation, each requiring different times, which affects the system's hydrogen production output. Existing capacity optimization methods typically use cold starts, resulting in longer start-up times, which shorten the electrolyzer's operating time and reduce the system's hydrogen production output. Therefore, this invention proposes a capacity optimization method for off-grid PV hydrogen production systems. Summary of the Invention
[0004] To address the shortcomings of existing technologies, the technical problem this invention aims to solve is to provide a capacity optimization method for off-grid photovoltaic hydrogen production systems.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] A capacity optimization method for an off-grid photovoltaic hydrogen production system, characterized by comprising the following steps:
[0007] Step 1: Construct mathematical models of each component of the off-grid photovoltaic hydrogen production system, including mathematical models of the photovoltaic array, energy storage battery pack, electrolyzer array, and hydrogen storage tank array;
[0008] Step 2: Establish dynamic operation models of electrolytic cell arrays under different modes;
[0009] The dynamic operation model of the electrolytic cell array in shutdown mode is as follows:
[0010]
[0011] In the formula: Y(t) and Y(t-1) are the states of the electrolytic cell array at times t and t-1, respectively; I indicates that the electrolytic cell array is in a shutdown state; S indicates that the electrolytic cell array is in a standby state; L indicates that the electrolytic cell array is in a normal operating state; SOC(t) is the state of charge of the energy storage battery pack at time t; λ is the state of charge threshold of the energy storage battery pack that enables the electrolytic cell array to start; P e,wt P is the standby power of the electrolytic cell array. pv (t) represents the photovoltaic power generation at time t, P e,min This represents the minimum operating power of the electrolytic cell array;
[0012] The dynamic operation model of the electrolytic cell array in standby mode is as follows:
[0013]
[0014] Where: DOD is the maximum depth of discharge of the energy storage battery pack;
[0015] The dynamic operation model of the electrolytic cell array in operation mode is as follows:
[0016]
[0017] The charging and discharging power of the energy storage battery pack varies depending on the state of the electrolytic cell array and the photovoltaic power generation. The charging and discharging power of the energy storage battery pack is expressed as follows:
[0018]
[0019] In the formula: P b (t) represents the charging and discharging power of the energy storage battery pack at time t, P e,norm This refers to the rated power of the electrolytic cell array;
[0020] Step 3: Design the objective function and constraints for capacity optimization;
[0021] The objective function is expressed as:
[0022]
[0023] In the formula, Let F(t) be the total annual hydrogen production of the system, F(t) be the hydrogen production of the system at time t, k be the total annual hydrogen production time of the system, Q(t) be the penalty function, and C be the total annual cost of the system.
[0024] The constraints on the objective function include constraints on the number of devices and constraints on the state of charge and charging / discharging power of the energy storage battery pack;
[0025] Step 4: Improve the honey badger algorithm and use the improved honey badger algorithm to solve the objective function to obtain the capacity optimization results of the off-grid photovoltaic hydrogen production system.
[0026] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0027] 1. The capacity optimization method of this invention, based on existing mathematical models of photovoltaic power generation, energy storage battery packs, electrolyzer arrays, and hydrogen storage tank arrays, addresses the issues of volatility and uncertainty in photovoltaic power generation and high system hydrogen production costs. In capacity optimization, it formulates a system energy management strategy based on the state of the electrolyzer array, photovoltaic power generation, and energy storage battery pack capacity, constructing a dynamic operation model for the electrolyzer array. When photovoltaic power generation fluctuates, the electrolyzer array can be placed in standby mode, ensuring stable system operation while reducing the start-up time of the electrolyzer from shutdown to operation. It also avoids the problem of reduced electrolyzer lifespan caused by repeated start-ups and shutdowns.
[0028] 2. Cold start of an electrolyzer is the transition from shutdown to normal operation, while hot start is the transition from standby to normal operation. The time required for cold and hot starts differs, and different start-up methods affect the hydrogen production output of the system. Therefore, cold and hot starts of the electrolyzer are considered in the electrolyzer model and the electrolyzer dynamic operation model. At the same time, a penalty function is introduced into the objective function of capacity optimization, which is beneficial to improving the hydrogen production output of the system and reducing the unit hydrogen production cost.
[0029] 3. The improved honey badger algorithm is used to solve the objective function, optimize the number of devices in the system, achieve the optimal capacity configuration, avoid device redundancy, reduce the unit hydrogen production cost of the system, and has a faster solution speed. Attached Figure Description
[0030] Figure 1 This is a schematic diagram of the off-grid photovoltaic hydrogen production system of the present invention;
[0031] Figure 2 This is an overall flowchart of the present invention;
[0032] Figure 3 This is a flowchart of the optimization solution using the improved honey badger algorithm. Detailed Implementation
[0033] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments, but this does not limit the scope of protection of this application.
[0034] This invention relates to a capacity optimization method for an off-grid photovoltaic hydrogen production system, specifically comprising the following steps:
[0035] Step 1: The off-grid photovoltaic hydrogen production system mainly consists of a photovoltaic array, an energy storage battery pack, an electrolyzer array, and a hydrogen storage tank array; establish mathematical models for the photovoltaic array, energy storage battery pack, electrolyzer array, and hydrogen storage tank array in the off-grid photovoltaic hydrogen production system respectively;
[0036] 1-1. Mathematical Model of Photovoltaic Array
[0037]
[0038] In the formula: P pv (t) represents the photovoltaic power generation at time t, N pv Y represents the number of photovoltaic panels. pv f is the rated capacity of the photovoltaic panel. pv G(t) is the comprehensive photovoltaic loss factor, where G(t) is the actual solar irradiance at time t. stc The solar irradiance under standard test conditions is given by β, where β is the temperature coefficient and T is the solar irradiance. c (t) represents the actual temperature of the photovoltaic panel at time t, where T is the actual temperature of the photovoltaic panel. c.stc This refers to the temperature of the photovoltaic panel under standard test conditions.
[0039] 1-2. Mathematical Model of Energy Storage Battery Pack
[0040]
[0041] In the formula, P b (t) represents the charging and discharging power of the energy storage battery pack at time t, P b (t) being a positive number indicates that the energy storage battery pack is in a charging state, P b A negative value for (t) indicates that the energy storage battery pack is in a discharging state; P b,input (t) represents the required charge / discharge power of the energy storage battery pack at time t, N bs P represents the number of energy storage batteries. bc,max P is the maximum charging power of the energy storage battery. bdc,max This represents the maximum discharge power of the energy storage battery.
[0042] The capacity of an energy storage battery pack is expressed using its state of charge (SOC).
[0043]
[0044] In the formula, SOC(t) is the state of charge of the energy storage battery pack at time t, SOC(t-1) is the state of charge of the energy storage battery pack at time t-1, and C b V is the energy storage battery capacity, V is the rated voltage of the energy storage battery, Δt is the system's time resolution interval, and η is the energy storage battery capacity. b The charging and discharging efficiency of energy storage batteries.
[0045] 1-3. Mathematical Model of Electrolytic Cell Array
[0046]
[0047] In the formula, P e (t) represents the actual operating power of the electrolytic cell array at time t, P e,norm P is the rated power of the electrolytic cell array. e,min P is the minimum operating power of the electrolytic cell array. e,wt P is the standby power of the electrolytic cell array. e,input (t) represents the power supplied by the system to the electrolytic cell array at time t;
[0048] To simplify the calculation, a first-order polynomial is used to calculate the hydrogen production rate. The expression for the hydrogen production rate is:
[0049]
[0050] 1-4. Mathematical Model of Hydrogen Storage Tank Array
[0051]
[0052] In the formula, R is the ideal gas constant. Let T be the pressure of the hydrogen storage tank at times t and t-1. H2 V is the operating temperature of the hydrogen storage tank. H2 For the capacity of the hydrogen storage tank, and These represent the hydrogen production capacity and hydrogen load of the electrolyzer array, respectively. Minimum pressure for the hydrogen storage tank, This is the maximum pressure of the hydrogen storage tank.
[0053] Step 2: In order to minimize the number of times the electrolyzer is started and shut down, an energy management strategy for the system is formulated based on the photovoltaic power generation and the energy storage battery pack capacity, and a dynamic operation model of the electrolyzer array is established.
[0054] The operating model of the electrolytic cell array is as follows:
[0055]
[0056] In the formula, Y(t) represents the state of the electrolytic cell array at time t, I indicates that the electrolytic cell array is in a shutdown state, S indicates that the electrolytic cell array is in a standby state, and L indicates that the electrolytic cell array is in a normal operating state.
[0057] 2-1. The dynamic operation model of the electrolytic cell array in shutdown mode is as follows:
[0058]
[0059] In the formula: λ is the state of charge threshold of the energy storage battery pack that enables the electrolytic cell array to start. In this embodiment, λ is taken as 0.8.
[0060] When the electrolytic cell array is in a shutdown state at time t-1, if the state of charge (SOC) of the energy storage battery pack is greater than or equal to λ at time t, and the photovoltaic power generation is greater than or equal to the standby power of the electrolytic cell array while being less than the minimum operating power of the electrolytic cell array, then the electrolytic cell array switches to a standby state at time t; if the SOC of the energy storage battery pack is greater than or equal to λ and the photovoltaic power generation is greater than or equal to the minimum operating power of the electrolytic cell array at time t, then the electrolytic cell array switches to a normal operating state at time t; if the SOC of the energy storage battery pack is less than λ or the standby power of the electrolytic cell array is greater than the photovoltaic power generation, then the electrolytic cell array switches to a shutdown state at time t.
[0061] 2-2. The dynamic operation model of the electrolytic cell array in standby mode is as follows:
[0062]
[0063] Where: DOD is the maximum depth of discharge of the energy storage battery pack;
[0064] When the electrolytic cell array is in standby mode at time t-1, if the state of charge of the energy storage battery pack is greater than 1-DOD and less than λ at time t, or the photovoltaic power generation is greater than or equal to the standby power of the electrolytic cell array and less than the minimum operating power of the electrolytic cell array, then the electrolytic cell array will remain in standby mode at time t; if the state of charge of the energy storage battery pack is greater than or equal to λ and the photovoltaic power generation is greater than or equal to the minimum operating power of the electrolytic cell array at time t, then the electrolytic cell array will switch to normal operation mode at time t; if the state of charge of the energy storage battery pack is less than 1-DOD and the photovoltaic power generation is less than the minimum operating power of the electrolytic cell array at time t, then the electrolytic cell array will switch to shutdown mode at time t.
[0065] 2-3. The dynamic operation model of the electrolytic cell array under the operating mode is as follows:
[0066]
[0067] When the electrolytic cell array is in normal operation at time t-1, if the state of charge of the energy storage battery pack at time t is less than or equal to 1-DOD, and the photovoltaic power generation is greater than or equal to the standby power of the electrolytic cell array while being less than the minimum operating power of the electrolytic cell array, then the electrolytic cell array switches to standby mode at time t; if the state of charge of the energy storage battery pack at time t is greater than 1-DOD or the photovoltaic power generation is greater than or equal to the minimum operating power of the electrolytic cell array, then the electrolytic cell array maintains normal operation at time t; if the state of charge of the energy storage battery pack at time t is less than or equal to 1-DOD and the photovoltaic power generation is greater than the standby power of the electrolytic cell array, then the electrolytic cell array switches to shutdown mode at time t.
[0068] 2-4. Charging and discharging power of energy storage battery pack
[0069] The charging and discharging power of the energy storage battery pack varies depending on the state of the electrolytic cell array and the photovoltaic power generation. When the electrolytic cell array is in shutdown mode, all photovoltaic power generation is used to charge the energy storage battery. When the electrolytic cell array is in standby mode, if the photovoltaic power generation is less than the standby power of the electrolytic cell array, the energy storage battery discharges; if the photovoltaic power generation is greater than the standby power of the electrolytic cell array, the energy storage battery charges. When the electrolytic cell array is in normal operation mode, if the photovoltaic power generation is greater than the rated power of the electrolytic cell array, the energy storage battery charges; if the photovoltaic power generation is less than the minimum operating power of the electrolytic cell array, the energy storage battery discharges.
[0070] The charging and discharging power of an energy storage battery pack is expressed as:
[0071]
[0072] Step 3: Design the objective function and constraints for capacity optimization;
[0073] 3-1. The objective function for capacity optimization is:
[0074]
[0075] In the formula, Let F(t) be the total annual hydrogen production of the system, F(t) be the hydrogen production of the system at time t, k be the total annual hydrogen production time of the system, Q(t) be the penalty function, and C be the total annual cost of the system.
[0076] C = C cap_eq +C com (13)
[0077] C cap_eq =C cap (r(1+r) Y / (1+r) Y -1) (14)
[0078] C cap =Ccap_pv +C cap_bat +C cap_ele +C cap_g (15)
[0079] C om =C om_pv +C om_bat +C om_ele+ C om_g (16)
[0080] In the formula: C cap_eq C represents the annual investment cost of the system. om For the annual operation and maintenance cost of the system, C cap Let r be the initial investment cost of the system, r be the discount rate, Y be the useful life of the system, and C be the initial investment cost of the system. cap_pv C cap_bat C cap_ele C cap_g C represents the initial investment cost of the photovoltaic power generation unit, energy storage battery pack, electrolyzer, and hydrogen storage tank, respectively. om_pv C om_bat C om_ele C om_g These are the annual operation and maintenance costs of the photovoltaic array, energy storage battery pack, electrolyzer array, and hydrogen storage tank array, respectively.
[0081] Since cold and hot starts of the electrolyzer can affect hydrogen production, with cold starts requiring 40-60 minutes and hot starts requiring 20 minutes, a penalty function Q(t) is added to the objective function based on the electrolyzer array state. The expression for the penalty function is as follows:
[0082]
[0083] In the formula, M is a coefficient;
[0084] 3-2. Constraints on the Objective Function
[0085] Equipment quantity constraint: Number of photovoltaic panels N pv Number of energy storage batteries N bs Number of electrolytic cells N el and the number of hydrogen storage tanks N g It can only be a non-negative integer;
[0086] Energy storage battery constraints: To prevent overcharging or over-discharging of energy storage batteries, constraints are imposed on the state of charge and charging / discharging power of the energy storage battery pack. This results in:
[0087]
[0088] In the formula: P bc The charging power of the energy storage battery, Pbdc This refers to the discharge power of the energy storage battery.
[0089] Step 4: Improve the honey badger algorithm and use the improved honey badger algorithm to solve the objective function to obtain the capacity optimization results of the off-grid photovoltaic hydrogen production system;
[0090] 4-1. Initialize the population based on an elite reverse learning strategy;
[0091] Each individual in the population represents a solution to the objective function, indicating the number of devices in the off-grid photovoltaic hydrogen production system. Traditional honey badger algorithms initialize the population randomly within the search domain, but the range of individuals is insufficient and does not uniformly cover the entire search domain. To increase the diversity of the initial population and improve the algorithm's search efficiency, an elite back-learning strategy is used to optimize the initial population, generating elite back-learned individuals. The initial population size is 2N, and the population size after elite back-learning is N.
[0092] x oij =lb j +ub j -x ij (19)
[0093] x ij =lb j +r1(ub j -lb j (20)
[0094] In the formula: x ij x represents the initial population individual. oij lb represents individuals in a population that engage in reverse learning by elites. j and ub j Let r1 and r2 represent the upper and lower bounds of the search domain for the j-th dimension variable, respectively, and r1 is a random number between 0 and 1.
[0095] 4-2. Calculate the odor intensity of individuals in the population according to formula (21). The odor intensity is related to the prey source intensity and the distance between the prey and the honey badger. The greater the odor intensity, the faster the honey badger moves. Use the objective function as the fitness function to calculate the fitness value of individuals in the population. Take the position of the individual with the highest fitness value in each generation as the optimal position of the individual in the population.
[0096]
[0097] S=(x i -x i+1 ) 2 (twenty two)
[0098] d i =x prey -xi (twenty three)
[0099] In the formula: I i Let r1 be the odor intensity of the i-th individual in the population, r2 be a random number between 0 and 1, S be the prey source intensity or concentration intensity, and d be the odor intensity of the i-th individual in the population. i Let x be the distance between the prey and the i-th individual in the population. prey x represents the optimal position of an individual in the current population. i x i+1 Let i be the position of the i-th and i+1-th individuals in the population;
[0100] Update the density factor ε according to equation (24);
[0101] ε=W×exp(-m / T max ) (twenty four)
[0102] Where W is a constant greater than 1 (default is 2), T max The maximum number of iterations for the population is denoted by m, and the current iteration number is denoted by m.
[0103] 4-3. Update the location of individuals in the population based on odor intensity and Cauchy variation strategy;
[0104] The honey badger's foraging path was randomly selected between the honey-collecting and digging stages. During the digging stage, its foraging path was designed to resemble a heart shape, which can be represented as:
[0105] x inew =x prey +F·τ·I i ·x prey +F·r3·ε·d i ·|cos(2πr4)·(1-cos(2πr5))| (25)
[0106] In the formula, x inew τ represents the updated position of the i-th individual in the population, where τ≥1 indicates the individual's ability to capture prey, with a default value of 6; F represents the search direction flag, and r3, r4, and r5 are all random numbers between 0 and 1.
[0107] During the honey-gathering stage, individuals in the population follow the nectar... The trajectory of the movement to obtain honey is represented as follows:
[0108] x inew =x prey +F·r6·ε·d i (26)
[0109] In the formula: r6 is a random number between 0 and 1;
[0110] To avoid getting trapped in local optima during the optimization process, the honey badger algorithm introduces a Cauchy mutation strategy to further update the positions of individuals in the population, thereby increasing population diversity and improving the algorithm's global search capability. Cauchy mutation generates larger perturbations near the current population individuals, resulting in a wider range for the Cauchy distribution function. The Cauchy mutation process can be represented as:
[0111] x inewx =x inew +x inew ·Cauchy(0,1) (27)
[0112] In the formula: x inewx Let represent the position of the i-th individual in the population after Cauchy mutation, where Cauchy(0,1) is the Cauchy mutation operator;
[0113] 4-4. Iterate repeatedly until the maximum number of iterations is reached, output the optimal population individual, and calculate the fitness value of the optimal population individual to obtain the system capacity optimization result.
[0114] Example
[0115] This embodiment uses solar irradiance and hydrogen load data with a time resolution of 600 s for calculation. The power of a single photovoltaic panel is 0.55 kW, and the comprehensive photovoltaic loss coefficient f is... pv The value is 0.213, the temperature coefficient β is -0.34% / ℃, and the capacity C of a single energy storage battery is... b The energy storage battery has a capacity of 148Ah and a charge / discharge efficiency η. b The rated power P of the electrolytic cell array is 95%. e,norm The minimum operating power P of the electrolytic cell array is 10kW. e,min The standby power P of the electrolytic cell array is 3kW. e,wt It is 2.5 kW, and the capacity of a single hydrogen storage tank is v. H2 The weight is 1 kg, the system's lifespan Y is set to 20 years, and the discount rate r is 5%.
[0116] To verify the superiority of the method of the present invention, the objective function of equation (12) was solved by the traditional honey badger algorithm (HBA), particle swarm optimization (PSO) and the improved honey badger algorithm of the present invention (RC-HBA). The results were compared by taking the average value after multiple experiments under the same parameters. The comparison results are shown in Table 1.
[0117] Table 1 Comparison of capacity optimization results of the three algorithms
[0118] Algorithm Name Unit cost of hydrogen production (RMB / kg) Number of iterations required for convergence HBA 34.7 15 PSO 34.4 16 RC-HBA 34.1 13
[0119] As shown in Table 1, compared to the particle swarm optimization algorithm and the traditional honey badger algorithm, the improved honey badger algorithm has higher solution speed and accuracy. This is because the elite reverse learning strategy utilizes the characteristic that elite individuals contain more effective information than ordinary individuals. It constructs a reverse population by using elite individuals from the current population to increase population diversity, and selects the best individual from the new population formed by the current and reverse populations as the next generation of individuals for the next iteration, thus improving the solution speed. Furthermore, the Cauchy mutation strategy is used to further update the positions of individuals in the population, avoiding the algorithm from getting trapped in local optima, which helps improve the solution accuracy.
[0120] To verify the superiority of the dynamic operation model of the electrolytic cell array, the dynamic operation model of the electrolytic cell array was compared with the simple electrolytic cell array startup model. The number of startups of the electrolytic cell array was taken as the average of 12 months. The capacity optimization methods of both models used the improved honey badger algorithm (RC-HBA) to solve the objective function. The comparison results are shown in Table 2.
[0121] Table 2 Comparison of capacity optimization results under different electrolytic cell array operation models
[0122]
[0123] As shown in Table 2, the electrolyzer arrays have the same number of start-ups under both models. However, the capacity optimization method of the electrolyzer array dynamic operation model divides the start-up of the electrolyzer array into cold start and hot start, which significantly reduces the number of photovoltaic panels, energy storage batteries, and electrolyzers used and the unit hydrogen production cost. The number of hydrogen storage tanks increases slightly because more hydrogen is produced. Therefore, the electrolyzer array dynamic operation model of the present invention has lower hydrogen production cost and higher hydrogen production.
[0124] Any aspects not covered in this invention are applicable to existing technologies.
Claims
1. A capacity optimization method for an off-grid photovoltaic hydrogen production system, characterized in that, Includes the following steps: Step 1: Construct mathematical models of each component of the off-grid photovoltaic hydrogen production system, including mathematical models of the photovoltaic array, energy storage battery pack, electrolyzer array, and hydrogen storage tank array; Step 2: Establish dynamic operation models of electrolytic cell arrays under different modes; The dynamic operation model of the electrolytic cell array in shutdown mode is as follows: In the formula: Y(t) and Y(t-1) are the states of the electrolytic cell array at times t and t-1, respectively; I indicates that the electrolytic cell array is in a shutdown state; S indicates that the electrolytic cell array is in a standby state; L indicates that the electrolytic cell array is in a normal operating state; SOC(t) is the state of charge of the energy storage battery pack at time t; λ is the state of charge threshold of the energy storage battery pack that enables the electrolytic cell array to start; P e,wt P is the standby power of the electrolytic cell array. pv (t) represents the photovoltaic power generation at time t, P e,min This represents the minimum operating power of the electrolytic cell array; The dynamic operation model of the electrolytic cell array in standby mode is as follows: Where: DOD is the maximum depth of discharge of the energy storage battery pack; The dynamic operation model of the electrolytic cell array in operation mode is as follows: The charging and discharging power of the energy storage battery pack varies depending on the state of the electrolytic cell array and the photovoltaic power generation. The charging and discharging power of the energy storage battery pack is expressed as follows: In the formula: P b (t) represents the charging and discharging power of the energy storage battery pack at time t, P e,norm This refers to the rated power of the electrolytic cell array; Step 3: Design the objective function and constraints for capacity optimization; The objective function is expressed as: In the formula, Let F(t) be the total annual hydrogen production of the system, F(t) be the hydrogen production of the system at time t, k be the total annual hydrogen production time of the system, Q(t) be the penalty function, and C be the total annual cost of the system. The constraints on the objective function include constraints on the number of devices and constraints on the state of charge and charging / discharging power of the energy storage battery pack; Step 4: Improve the honey badger algorithm and use the improved honey badger algorithm to solve the objective function to obtain the capacity optimization results of the off-grid photovoltaic hydrogen production system.
2. The capacity optimization method for an off-grid photovoltaic hydrogen production system according to claim 1, characterized in that, The expression for the penalty function is: In the formula, M is a coefficient, and P e (t) represents the actual operating power of the electrolytic cell array at time t.
3. The capacity optimization method for an off-grid photovoltaic hydrogen production system according to claim 1 or 2, characterized in that, The mathematical model of a photovoltaic array is as follows: Where: N pv Y represents the number of photovoltaic panels. pv f is the rated capacity of the photovoltaic panel. pv G(t) is the comprehensive photovoltaic loss factor, where G(t) is the actual solar irradiance at time t. stc The solar irradiance under standard test conditions is given by β, where β is the temperature coefficient and T is the solar irradiance. c (t) represents the actual temperature of the photovoltaic panel at time t, where T is the actual temperature of the photovoltaic panel. c.stc The temperature of the photovoltaic panel under standard test conditions; The mathematical model of the energy storage battery pack is In the formula, P b,input (t) represents the required charge / discharge power of the energy storage battery pack at time t, N bs P represents the number of energy storage batteries. bc,max P is the maximum charging power of the energy storage battery. bdc,max This represents the maximum discharge power of the energy storage battery. The mathematical model for the electrolytic cell array is: In the formula, P e,input (t) represents the power supplied by the system to the electrolytic cell array at time t; The mathematical model for the hydrogen storage tank array is as follows: In the formula, R is the ideal gas constant. Let T be the pressure of the hydrogen storage tank at times t and t-1. H2 V is the operating temperature of the hydrogen storage tank. H2 For the capacity of the hydrogen storage tank, and These represent the hydrogen production capacity and hydrogen load of the electrolyzer array, respectively. Minimum pressure for the hydrogen storage tank, This is the maximum pressure of the hydrogen storage tank.
4. The capacity optimization method for an off-grid photovoltaic hydrogen production system according to claim 1, characterized in that, Improvements to the honey badger algorithm include using an elite reverse learning strategy to initialize the population and a Cauchy mutation strategy to generate a new population.
Citation Information
Patent Citations
Capacity optimization configuration method for wind-solar-storage coupled off-grid hydrogen production micro-grid system
CN115528708A
MPC-based hierarchical coordinated control method and device for wind-hydrogen coupling system
US20230043165A1
