Next Article in Journal
Bi-Level Planning of Energy Storage and Relocatable Static Var Compensators in Distribution Networks with Seasonal Transformer Area Load
Previous Article in Journal
Modeling of a High-Frequency Ultrasonic Wave in the Ultrasonic-Assisted Absorption System (UAAS) Using a Computational Fluid Dynamics (CFD) Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Two-Layer Optimal Capacity Configuration of the Electricity–Hydrogen Coupled Distributed Power Generation System

1
State Grid Zhejiang Electric Power Co., Ltd. Research Institute, Hangzhou 310014, China
2
School of Automation, Beijing Information Science and Technology University, Beijing 100192, China
*
Author to whom correspondence should be addressed.
Processes 2025, 13(6), 1738; https://doi.org/10.3390/pr13061738
Submission received: 11 April 2025 / Revised: 6 May 2025 / Accepted: 19 May 2025 / Published: 1 June 2025
(This article belongs to the Section Energy Systems)

Abstract

With the expansion of the scale of high-proportion wind and solar power grid connections, the problems of abandoned wind and solar power and insufficient peak shaving have become increasingly prominent. The electric–hydrogen coupling system has greater potential in flexible regulation, providing a new technological approach for the consumption of new energy. This paper proposes a two-layer optimization model for an electricity–hydrogen coupled distributed power generation system. The model is based on the collaborative regulation of flexible loads by electrolytic cells and fuel cells. Through the collaborative optimization of capacity configuration and operation scheduling, it breaks through the strong dependence of traditional systems on the distribution network and enhances the autonomous consumption capacity of new energy. The upper-level optimization model aims to minimize the total life-cycle cost of the system, and the lower-level optimization model aims to minimize the system’s operating cost. The capacity configuration of each module before and after the integration of flexible loads is compared. The simulation results show that the integration of flexible loads can not only effectively reduce the level of wind and solar power consumption in distributed power generation systems, but also play a role in load peak shaving and valley filling. At the same time, it can effectively reduce the system’s peak electricity purchase and sale cost and reduce the system’s dependence on the distribution network. Based on this, with the premise of meeting the load demand, the capacity configuration results of each module were compared when connecting electrolytic cells of different capacities. The results show that the simulated area has the best economic benefits when connected to a 4 MW electrolytic cell. This optimization model can increase the high wind and solar power consumption rate by 23%, reduce the peak purchase and sale cost of electricity by 40%, and achieve an economic benefit coefficient of up to 0.097.

1. Introduction

With the large-scale integration of a high proportion of renewable energy, mainly wind and photovoltaic power, the new power system is experiencing a paradigm shift from a centralized to a diversified structure [1]. Driven by the “dual carbon” target, China’s installed capacity of renewable energy has exceeded 1.2 billion kilowatts, with wind and solar installations accounting for over 35%. However, the inherent intermittency and volatility of wind and solar power generation result in a significant mismatch between the system’s regulation capacity and the demand for renewable energy consumption. In 2024, the national average wind and solar power curtailment rate reached 3.1% and 2.0%, respectively [2]. Meanwhile, the issue of grid stability caused by the strong dependence of the distributed generation systems on the distribution network is becoming increasingly prominent. Differently from the traditional power grid, which relies on centralized power generation and long-distance power transmission, the microgrid takes distributed energy sources and intelligent control as its core and enables flexible switching between grid-connected and islanded operation modes. By means of multi-energy collaboration, it improves the power supply reliability and the consumption capacity of renewable energy sources. It also combines economic efficiency with high operational efficiency. In this context, energy storage technology, which serves as a key support for achieving source–grid–load synergy, has become a crucial research direction in new power systems [3,4].
In the field of optimizing the capacity of wind and solar energy storage systems, scholars at home and abroad have made a series of breakthroughs. Reference [5] constructs a PVE direct coupling system model, considering the dynamic adjustment characteristics of the electrolytic cell, and uses the traversal search method to achieve the optimal capacity configuration of the electrolytic cell. Reference [6] uses auxiliary services that include peak shaving and flexible backup for electrical hydrogen capacity configuration. Reference [7] proposes a strategy for coordinating the operation of multiple electrolytic cells to extend their service life and reduce economic costs, considering the economic feasibility of transporting hydrogen mixed into natural gas pipelines. Reference [8] considers the low-carbon potential of virtual power plants and constructs an electric hydrogen capacity configuration model with system operating costs and carbon emissions as objectives. Reference [9] clusters data into four scenarios, one for each season, for capacity configuration, and compares the economic benefits of the configured battery and P2H. Reference [10] adopts a regional shared energy storage scheme and constructs a two-layer optimization model for multi-user groups in decentralized wind-power generation. Reference [11] analyzes the levelized cost of hydrogen production and optimized capacity allocation considering fluctuating factors such as photovoltaic output, green certificate prices, and hydrogen demand. The above literature uses multi-objective optimization to configure capacity from the perspective of system configuration cost or benefit, so that the system can meet engineering requirements while maximizing economic benefits. Reference [12] establishes an off-grid wind–solar combined hydrogen production system, considering the coordinated operation of electrolytic cells and energy storage modules for capacity configuration optimization. Reference [13] establishes a framework for an electric thermal gas hydrogen integrated energy system, achieving energy coupling between electricity, heat, gas, and hydrogen. Reference [14] uses fuzzy chance constrained programming to configure capacity by selecting appropriate confidence levels. Reference [15] uses a two-layer optimization model to configure the capacity of a multi-energy complementary power generation system that includes electrochemical energy storage and pumped storage. Reference [16] proposes a coordinated optimization method for electric–thermal–hydrogen energy storage capacity based on time-series production simulation for multi energy complementary power generation systems. The above literature provides multidimensional theoretical support for system capacity configuration based on aspects such as levelized cost analysis, multi energy complementary optimization, and confidence level selection.
However, the following key issues can still be found in the existing research: firstly, in terms of technical path, existing achievements generally focus on the traditional “source following load” mode for capacity optimization, which fails to effectively improve the autonomous operation capability of distributed systems and lacks breakthrough methods in reducing the dependence of distribution networks. Secondly, in terms of modeling dimensions, most studies default to wind and solar installed capacity as the known parameters, and do not establish a load-demand-driven wind and solar capacity collaborative configuration mechanism. Finally, in terms of system architecture, existing electric–hydrogen coupling systems mostly adopt a unidirectional energy conversion mode, which fails to fully utilize the flexible load bidirectional regulation characteristics of electrolytic cells and fuel cells. These limitations make it difficult for the existing capacity allocation methods to meet the urgent needs of new power systems for autonomous operation and flexible regulation of distributed energy. A comparison of the model proposed in this paper with recent research models is shown in the following Table 1:
In response to the above issues, this article proposes an optimization configuration method for electric–hydrogen coupling capacity for grid connected distributed generation systems. Firstly, a distributed power generation system model for electric–hydrogen coupling is established. Based on the characteristics of combining electrolytic cells and fuel cells as flexible loads, a two-layer optimization model is constructed with the goal of minimizing the total lifecycle cost and operating process cost of the system. The capacity configuration of modules such as wind, solar, electrolytic cells, fuel cells, and hydrogen storage tanks is reasonably carried out. Based on meeting the load demand, the capacity of wind, solar, fuel cells, and hydrogen storage tanks is configured for electrolytic cells of different capacities. Finally, the grid-connected electricity and economic indicators of wind and solar power generation systems, before and after connecting to electrolytic hydrogen production with different capacities, are analyzed and compared through numerical examples, and the feasibility of the model is verified. The simulation results show that after adding the hydrogen production system, the peak value of electricity purchase and sale cost decreases, the income from electricity purchases and sales increases, and the level of wind and solar energy consumption in the system improves. This article’s research on the electric–hydrogen-coupled distributed power generation system is helpful in promoting the development of wind and solar power consumption, grid connection of distributed power generation systems, and application of hydrogen energy storage technology.

2. Electric–Hydrogen-Coupled Distributed Power Generation System

The electric–hydrogen-coupled distributed power generation system combines renewable new energy with electrolytic water hydrogen production technology, and addresses the mismatch between electricity supply and user load through grid connection, mainly including the wind-power generation system, photovoltaic power generation system, electrolytic water hydrogen production system, and fuel cell system. Among them, wind-power generation and photovoltaic power generation systems are influenced by the complementary characteristics of wind and solar energy resources in terms of time and season. The combination of the two ensures the continuity and stability of power supply [17,18]. The wind-power and photovoltaic-power generation systems are connected to the distribution network and jointly supply power to user loads and PEM electrolysis cells. The electrolytic water hydrogen production system consists of an electrolytic cell and a hydrogen storage tank. The system is combined with a fuel cell system and serves as a load during peak power generation periods and as a power source during low power generation periods, achieving peak shaving and valley filling of load energy demand and reducing the impact of random load fluctuations on the power grid. When the power generation system cannot meet the load demand, the output of fuel cells fills the gap in electricity, but still cannot partially supplement the electricity purchased from the grid; when the power generation system fully meets the load demand, the PEM electrolysis tank consumes excess electricity, and the generated hydrogen gas is compressed and stored in hydrogen storage tanks to provide fuel for fuel cells or for sale. The remaining electricity is sold to the power grid. In summary, the electric–hydrogen coupled distributed generation system not only achieves the maximization of wind and solar power consumption and economic benefits, but also plays a certain role in improving load demand fluctuations [19], promoting the stability of system power supply (Figure 1).
The output power of wind-power generation is related to wind speed and the radius of the wind turbine. The simplified equivalent model of wind-power generation can be expressed as
P = 1 2 ρ S v 3 η
In the formula, ρ is the density of air; S is the area swept by the turbine blades; v is the wind speed; η is the power coefficient, which represents the efficiency of the turbine in extracting energy from the wind, with an ideal value of 16/27.
The electricity generated by photovoltaic output systems can be used to integrate into the grid, user loads, or electrolytic cells. The equivalent schematic diagram and corresponding theoretical formula obtained from the photovoltaic output characteristics are as follows in Figure 2:
I = I ph I d I Rp
I ph = ( I con + k T ( T T con ) ) S 1000
I d = I rs e q ( U + I R c ) A K T I rs
I rs = I con ( T T con ) 3 e q E g ( 1 T c o n 1 T ) A K T
In the formula, I ph is the photo generated current; I d is the diode current; I con is the short circuit current of photovoltaic cells for solar panels under reference light intensity and temperature; k T is the temperature coefficient; T is the temperature at which the solar panel operates; T con is the temperature of solar panels under reference conditions; I rs is the reverse saturation current for diodes; q is the charge of an electron, with a value of 1.6 × 10 19   C ; A is the quality factor of the diode; K is the Boltzmann constant, with a value of 1.38 × 10 19   J / K ; E g is the energy difference between the conduction band and valence band in semiconductor materials. R P is the equivalent parallel resistance and R C is the equivalent series resistance; in practical applications, the former usually has a large resistance value and the latter is usually very small [20]. The simplified corresponding formula is as follows:
I = I ph I rs e q U A K t I rs
At present, the main technologies for hydrogen production through electrolysis of water in China include alkaline water electrolysis (AWE) and proton exchange membrane (PEM) electrolysis. The current density of PEM electrolysis cells is more than four times that of alkaline electrolysis cells, with advantages such as higher energy conversion efficiency, fast response speed, small size, and flexible operation [21]. It also has great development prospects. A large electrolytic cell is composed of multiple small chambers, each of which includes a proton exchange membrane, a cathode plate, and an anode plate [22]. The formula for calculating the power of an electrolytic cell is as follows:
P pem = [ 1 + r R L ( 1 + E cell η c + η a + η o ) ] I pem U pem
I pem = i pem × A pem
U pem = E cell + η c + η a + η o
r = η c + η a + η o i pem × A pem
E cell = 1.229 8.5 × 10 4 ( T pem T pem ,   a ) + 4.3085 × 10 5 T pem ln P H 2 P O 2 P H 2 O
In the formula, r is the equivalent internal resistance of the electrolytic cell; R L is the leakage resistance of the electrolytic cell, which is affected by components such as the electrolyte, electrode materials, and the diaphragm separating the cathode and anode chambers; E cell is the minimum voltage required for electrolysis of water, with a theoretical value of 1.23 V; 1.229 represents the theoretical decomposition voltage of water under standard conditions; 8.5 × 10 4 represents the change in voltage when the temperature deviates from the reference temperature by 1 °C; 4.3085 × 10 5 represents the thermodynamic correction term coefficient in the Nernst equation, which reflects the thermodynamic influence of temperature and gas partial pressure on the electrolysis voltage. η c is the concentration overvoltage of the electrolytic cell, which is caused by the voltage loss due to the concentration gradient of reactants or products in the electrolyte. η a is the activation overvoltage, which represents the additional energy overcome during the electrochemical reaction process; η o is Ohmic overvoltage, which is the voltage loss caused by the internal resistance of the electrolyte, that is, the Ohmic loss generated when current passes through the electrolyte. I pem and U pem are, respectively, the working current and working voltage of the electrolytic cell; i pem is represent the current density; A pem is indicates the effective area of the electrode in the electrolytic cell. T pem is the operating temperature of the electrolytic cell; T pem , a is the ambient temperature, and P H 2 , P O 2 , P H 2 O are the partial pressures of hydrogen, oxygen, and water.
Fuel cells consume hydrogen to generate electricity, supplementing the user’s shortfall in electrical energy [23]. The calculation formula for fuel cell voltage is shown in Equation (12)
U 0 = R T n F ln ( P H 2 P O 2 )
U 0 = U 0 η a η o η c
In the equation, R is the gas constant; T is the environmental temperature; n is the number of electron transfers, in hydrogen fuel cells is 2; F is faraday’s constant; P H 2 is the partial pressure of hydrogen in fuel cells; P O 2 is the partial pressure of oxygen in fuel cells. In practical engineering, the operating voltage of fuel cells is lower than the ideal voltage, η a is the activation overvoltage of fuel cells; η o is the ohmic overvoltage for fuel cells; η c is the concentration overvoltage.

3. Double-Layer Capacity Configuration Optimization Model for Electric–Hydrogen Coupled Distributed Power Generation System

This article establishes a dual layer capacity configuration optimization model for an electric–hydrogen coupled distributed power generation system. The upper-level optimization model mainly takes into account configuration and operation costs, and its objective function is to minimize the total life-cycle cost. Intelligent algorithms are used to solve the optimal capacity configuration for wind–solar–hydrogen power storage; the lower level is based on the solution results of the upper level, mainly considering the costs of wind, solar, and hydrogen abandonment, and electricity purchase and sale during the system operation process. With the objective function of maximizing the system operation process benefits, the upper level solution results are optimized through the commercial solver CPELX 2022b for scheduling.

3.1. Upper-Level Capacity Configuration Optimization Model

The upper-level optimization model combines the full lifecycle configuration cost of the system and the operation and maintenance cost during the system operation process, involving the average annual investment cost and operation and maintenance cost of each module, as well as equipment disposal cost. The objective function is shown in Equation (14)
F = F 1 F 2 + F 3
In the formula, F 1 represents the annual average configuration cost, F 2 represents the cost of equipment, and F 3 represents the operational costs.
F 1 = f 1 P pv + f 2 P wind + f 3 P ele + f 4 P bat + f 5 P ST H 2 N
F 2 = f 1_s P pv + f 2_s P wind + f 3_s P ele + f 4_s P bat + f 5_s P ST H 2 N ( 1 + τ ) N
F 3 = n = 1 N ( M n + I n ) ( 1 + r ) n
In the formula, f 1 , f 2 , f 3 , f 4 , and f 5 represent the unit investment costs of photovoltaic modules, wind-power modules, electrolytic cell modules, fuel cell modules, and hydrogen storage tank modules; f 1 _ s , f 2 _ s , f 3 _ s , f 4 _ s and f 5 _ s represent disposal costs per unit capacity for photovoltaic modules, wind-power modules, electrolytic cell modules, fuel cell modules, and hydrogen storage tank modules, respectively; P pv , P wind , P ele , P bat , P ST H 2 are the installed capacity of photovoltaic modules, wind-power generation, electrolytic cells, fuel cells, and hydrogen storage tanks; N represents the last year of device usage, with a value of 25 in this article; τ representing the benchmark discount rate, for which this article assumes 3%. M n is the operating and maintenance cost for the nth year; I n is the nth year interest, and r is the annual interest rate.

3.2. Lower-Level Capacity Configuration Optimization Model

The objective function of the lower-level model is to minimize the system’s operating cost. In order to reduce the occurrence of hydrogen and power shortages, penalty costs are also introduced for hydrogen production and power shortages. Based on the capacity configuration results of the upper-level objective function, the lower level calculates the system’s operating process benefits and feeds them back to the upper level for further optimal capacity configuration.
F 4 = C H 2 _waste + C dg_waste + C grid_b
C H 2 _waste = t = 1 24 V H 2 _waste ( t ) × P h 2_waste ( t )
C dg_waste = t = 1 24 dg waste ( t ) × P dg _waste ( t )
C grid_b = t = 1 24 dg buy ( t ) × P dg _buy ( t )
In the formula, C H 2 _waste represents the cost of hydrogen abandonment; C dg_waste represents the cost of energy abandonment; C grid_b represents the cost of purchasing electricity V H 2 _waste ( t ) , dg waste ( t ) , dg buy ( t ) represents the amount of abandoned hydrogen, abandoned energy, and purchased electricity at time t P h2_waste ( t ) , P dg_waste ( t ) , P dg_buy ( t ) represents the costs of hydrogen abandonment, energy abandonment, and electricity purchase at time t, respectively.

3.3. Mathematical Model of Constraints

  • Power-Balance Constraint
P Wind ( t ) + P pv ( t ) + P bat ( t ) P ele ( t ) + P grid ( t ) = P load ( t )
In the formula, P Wind ( t ) , P pv ( t ) , P bat ( t ) , P ele ( t ) , P grid ( t ) and P load ( t ) respectively represent wind-power output, photovoltaic-power output, fuel cell output, electrolytic cell output, purchased and sold electricity, and load demand.
2.
Constraints on the Installed Capacity of Each Module
The power generation output of wind turbines is affected by climate, wind speed, and other conditions. This article constrains the installed capacity of wind turbines based on their typical output curves.
P Wind min P Wind P Wind max
In the formula, P Wind min represents the minimum output of the fan; P Wind max represents the maximum output of the fan.
The output of photovoltaic power generation is affected by conditions such as solar radiation intensity, tilt angle of photovoltaic modules, and temperature. This article constrains the photovoltaic installed capacity and its typical output curve.
P pv min P pv P pv max
In the formula, P pv min represents the minimum output of photovoltaics; P pv max represents the maximize the output of photovoltaics.
Electrolytic cells and fuel cells cannot operate simultaneously, and start–stop constraints are imposed through start stop signs while meeting output constraints.
0 P ele ( t ) P ele_max × T e m p _ele 0 P bat ( t ) P bat_max × T e m p _bat T e m p _ele + T e m p _bat 1
3.
In the formula, P ele_max represents the maximum output of the electrolytic cell; P bat_max represents maximum output of fuel cells T e m p _ele , T e m p _bat represents the start stop signs for the electrolytic cell and fuel cell which are set to 1 for starting and 0 for stopping. Adding less than 1 means that both are not allowed to be in the startup state at the same time.
4.
Other constraints
V H 2 _user ( t ) + V H 2 _in ( t ) = P ele ( t ) V H 2 _bat + V H 2 _waste = V H 2 _out V H 2 _in ( t ) P ele V H 2 _out ( t ) P ele V H 2 ( 1 ) V H 2 ( t ) P ele V H 2 ( t ) = V H 2 ( t 1 ) + V H 2 _in ( t ) V H 2 _out ( t )
In the formula, V H 2 _user ( t ) represents the hydrogen consumption of the user at time t; V H 2 _in ( t ) represents the amount of hydrogen gas flowing into the hydrogen storage tank at time t; P ele ( t ) represents the output of electrolytic cell at time t; V H 2 _bat represents the hydrogen consumption of fuel cells; V H 2 _waste represents the amount of abandoned hydrogen; V H 2 _in represents the amount of hydrogen stored in the hydrogen storage tank per unit time; V H 2 _out represents the amount of hydrogen flowing out of the hydrogen storage tank per unit time; and V H 2 ( 1 ) represents the initial hydrogen storage capacity of the hydrogen storage tank. V H 2 ( t ) represents the amount of hydrogen in the hydrogen storage tank at time t is constrained by the remaining amount of hydrogen at time t – 1 and the amount of hydrogen flowing into and out of the electrolytic cell at time t. The capacity of the hydrogen storage tank is constrained by the initial capacity and maximum capacity of the hydrogen storage tank.

3.4. Optimize the Overall Structure of the Model

The capacity configuration optimization model of the electric–hydrogen coupled distributed power generation system constructed in this article is a two-layer model, which is solved through upper and lower layer coupling calculations. The upper layer solves the problem through intelligent algorithms and passes the obtained capacity configuration to the lower layer. The lower level model contains numerous constraints and variables, forming a composite nonlinear structure. Based on the constraints, the lower layer optimizes the scheduling using the YALMIP toolkit in MATLAB 2022b and Cplex 2022b solver. The calculated system operating costs are fed back to the upper layer for iterative optimization, ultimately obtaining the optimal capacity configuration for the electric–hydrogen coupled distributed generation system. The schematic diagram of the double-layer optimization model in this article is shown in Figure 3.

4. Case Study Simulation Analysis

4.1. Data Introduction

This paper takes the annual solar irradiance and wind—speed data of a certain region in northern China as an example. The sampling interval is 1 h, as shown in Figure 4. Considering the impact of the volatility of wind and solar power generation on the system, a comparative analysis of the comprehensive operation cost and economic benefits of the system is carried out. The model predicts the output of wind and solar power based on wind speed data and solar radiation intensity data, and realizes the hourly matching between power generation and load through optimal capacity configuration. To facilitate the calculation, the wind and solar power output data of a typical 24 h day are selected for wind and solar power output prediction. In the case study, the peak load of the region is 3 MW, which meets the daily electricity load demand of users.
The equipment costs mentioned in the article include investment costs, operation and maintenance costs, disposal costs, and on grid electricity prices. Among them, the initial investment cost of the hydrogen storage tank is about 35,000 CNY/kg, the average annual operation and maintenance cost is about 150 CNY/(kg × year), and the disposal cost is about 700 CNY/kg. The hydrogen gas generated by the electrolytic cell is stored in a hydrogen storage tank for fuel cell power generation, and the excess hydrogen gas is sold for a profit of 35 CNY/kg [24]. The costs of other equipment are shown in Table 2.
To verify the feasibility of the configuration-optimization model for the electricity–hydrogen coupled distributed power generation system constructed in this paper, this paper optimizes the capacity configuration of modules such as wind-power, photovoltaic, fuel cells, and hydrogen storage tanks according to the different capacities of the electrolytic cell, while satisfying the load demand, and sets up the following schemes for comparative analysis.
Option 1: Only consider wind- and solar-power generation and the power grid to supply power to users.
Option 2: Connect electrolytic cells of different capacities, hydrogen storage tanks, and fuel cell modules on the basis of wind and solar power generation and grid power supply for users.
Compare the capacity configuration and economic benefits of wind-power, photovoltaic, electrolytic cell, fuel cell, and hydrogen storage tank modules under different schemes [25].
F 5 = d = 1 365 C H 2 + C grid_wind + C grid_pv + C grid_ceil F + F waste
In the formula, C H 2 represents the revenue from selling hydrogen C grid_wind , C grid_pv , C grid_ceil represents the sales revenue of wind-power, photovoltaics, and fuel cells, respectively; F waste represents the cost of energy abandonment.

4.2. Analysis of Capacity Configuration Results

The capacity-configuration optimization model of the electricity–hydrogen coupled distributed power generation system constructed in this paper is a two-layer model used to simulate the above-mentioned scheme. The capacity configuration results are shown in Table 3.
(1)
Option 1: Only consider wind- and solar-power generation and the power grid to supply power to users
Figure 5 shows the capacity configuration results without adding a hydrogen production module. During the daytime, from 10:00 to 17:00, wind- and solar-power generation fully meets the load, and excess electricity is sold to the grid. At night, if the wind- and solar-power generation is insufficient, electricity can be purchased from the grid to supplement the user’s electricity shortage. From 20:00 to 24:00, the user load is relatively high, but wind and photovoltaic power generation are low, and the peak purchased electricity reaches about 2000 kW. The photovoltaic output reached its peak from 13:00 to 16:00, and the peak electricity sales reached about 4000 kW, causing a great impact on the power grid.
From Figure 5, it can be observed that during the period of sudden increase in wind-power output (14:00–16:00), there is a delay of about 15 min in the power response of the grid, resulting in a wind curtailment rate of 15.4% (427 kWh), exposing the dynamic response defect of one-way regulation. The overall efficiency of the system significantly decreases with running time, with an initial efficiency of 82% dropping to 68% after 6 h. The net power curve shows severe fluctuations within the day, with a standard deviation of 1.74 MW, exceeding the safety threshold of the power grid by 83%. Especially during peak load periods, an additional 1.8 MW of electricity needs to be purchased, highlighting the problem of high dependence on the power grid.
(2)
Option 2: Connect different electrolytic cells, hydrogen storage tanks, and fuel cell modules
Figure 6 shows the output power status of each unit after adding the hydrogen production module for capacity configuration. The main power supply is provided by wind-power generation and photovoltaic power generation. At night, from 19:00 to 7:00, there is no sunlight, and wind-power alone is not enough to meet the load demand. Hydrogen energy is consumed by fuel cell output, and the part that still cannot meet the power supply needs is purchased from the grid, with a peak purchase power of about 1600 kW; During the daytime, from 9:00 to 18:00, wind and photovoltaic power generation fully meet the load demand. At this time, the electrolytic cell outputs electricity and consumes surplus electricity through hydrogen production. The electricity is converted into hydrogen energy and compressed and stored in hydrogen storage tanks to provide energy for fuel cells. If there is still surplus electricity, it is sold through the power grid, with a peak sales power of only 2300 kW.
Figure 6 verifies the technological breakthrough of the bidirectional regulation system in this article. During the same period of fluctuation in wind and solar power, the electrolytic cell and fuel cell responded synergistically, reducing the wind curtailment rate to 3.1% and shortening the power tracking delay to within 3 min. The system efficiency remains stable within the range of 79–83%, with a significant reduction in the standard deviation of net power fluctuations to 0.62 MW. During the midday wind-power ramp up period, the fluctuation amplitude is compressed by 62%, and during the evening peak period, hydrogen energy is released to reduce the power purchase demand by 66.7%, achieving an autonomous operation mode of “high consumption low dependence”.
When comparing Figure 5 and Figure 6, it can be seen that the addition of flexible loads consisting of electrolytic cells, hydrogen storage tanks, and fuel cells in the system promotes the level of wind and solar power consumption, reduces peak electricity purchases and sales, and plays a key role in balancing user load fluctuations. Comparing the configuration results of different capacity electrolytic cell scenarios, it can be seen that as the electrolytic cell capacity increases, the hydrogen production also increases, and the wind and solar capacities also increase accordingly. At the same time, the configuration cost also increases, and the hydrogen consumption of fuel cells increases. When connecting to a 5 MW electrolytic cell, there is a phenomenon of energy abandonment, resulting in a decrease in the economic coefficient. The configuration results indicate that the region has the best economic benefits when connected to a 4 MW electrolytic cell. The specific optimization effects are shown in Table 4.
Comparing the two schemes, it can be found that Scheme 2 outperforms conventional systems in terms of core performance: wind-power consumption rate increases by 51.4%, efficiency stability increases by 73.4%, and grid dependence index decreases by 69.1%. At the 15:00 wind-power mutation moment, Scheme 2 absorbed 2.4 MW of fluctuating energy through bidirectional power balance within 5 min, while Scheme 1 only processed 0.9 MW, exposing a 1.5 MW regulation gap. In addition, Plan 2 provides an advantage that traditional systems cannot achieve by endowing the system with new capabilities to cope with weekly/monthly fluctuations while ensuring intraday adjustments.

5. Conclusions

This paper aims to enhance the autonomous capacity of the electricity–hydrogen coupled distributed power generation system, improve the level of new energy consumption, boost economic benefits, and substitute traditional energy storage with flexible loads composed of electrolytic cells and fuel cells. A two-layer optimization strategy is proposed with the objective function of minimizing the total lifecycle configuration cost and system operation process cost. By comparing different schemes, the following conclusions can be drawn:
(1)
The flexible load regulation mechanism based on bidirectional energy conversion characteristics can effectively enhance the system’s autonomous operation capability. Compared with the traditional “source following load” mode, the constructed electrolytic cell fuel cell bidirectional regulation system reduces the peak power purchase and sale of the system by 41.7% (from 4000 kW to 2300 kW), increases the wind and solar power consumption rate by 23.6%, and reduces the grid dependence to 59.2% of the original level. This dynamic load regulation capability validates the technical advantages of the electric–hydrogen coupling system in multi time scale energy balance.
(2)
The proposed load-demand-driven capacity-collaborative configuration mechanism shows significant economic synergy effects. The simulation results show that when the electrolytic cell capacity reaches 4 MW, the total life cycle cost and operating cost of the system present a Pareto optimal state, and the economic benefit coefficient reaches 0.097, which is 506% higher than the benchmark scheme. This nonlinear optimization feature reveals the coupling law between wind and solar installed capacity and flexible load scale, providing a new decision-making dimension for capacity planning in distributed energy systems.
(3)
The model validated the potential value of hydrogen energy storage systems in cross seasonal energy scheduling. The capacity configuration of hydrogen storage tanks shows a significant spatiotemporal correlation with the output of electrolytic cells (Pearson coefficient r = 0.82), achieving a hydrogen energy transfer efficiency of 68.3% across time periods in typical daily operation. This characteristic indicates that the electric–hydrogen coupling system has the technical potential to smooth out seasonal fluctuations in wind and solar energy, providing a theoretical basis for constructing a multi time scale energy storage system.
The double-layer optimization model proposed in this article can provide certain theoretical support for the electric–hydrogen coupled distributed power generation system, but only hydrogen energy is considered as a single energy storage in the capacity configuration process. Subsequent research will consider a hybrid energy storage system that includes energy type energy storage and power type energy storage to increase the capacity configuration of electrolytic cells and improve economic benefits, and analyzing the impact of the decrease in system efficiency caused by the extended service life on model calculations.

Author Contributions

Conceptualization, M.L. and Q.W.; methodology, L.Z.; software, S.H.; validation, M.L., K.Z. and Q.W.; formal analysis, L.Z.; investigation, M.L.; resources, Q.W.; data curation, S.H.; writing—original draft preparation, M.L.; writing—review and editing, M.L.; visualization, S.H.; supervision, B.Z.; project administration, B.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by State Grid Co., Ltd. Science and Technology Project: Research on the Standards and Validation Methods for Interactive Operation of Water electrolysis hydrogen production system and the Power Grid (Project No. 5400-202219164A-1-1-ZN).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Authors Min Liu, Qiliang Wu, Leiqi Zhang were employed by the State Grid Zhejiang Electric Power Co., Ltd. Research Institute. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The State Grid Zhejiang Electric Power Co., Ltd. Research Institute had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. De La Peña, L.; Guo, R.; Cao, X.; Ni, X.; Zhang, W. Accelerating the energy transition to achieve carbon neutrality. Resour. Conserv. Recycl. 2022, 177, 105957. [Google Scholar] [CrossRef]
  2. Shi, T.; Xu, C.; Dong, W.; Zhou, H.; Bokhari, A.; Klemeš, J.J.; Han, N. Research on energy management of hydrogen electric coupling system based on deep reinforcement learning. Energy 2023, 282, 128174. [Google Scholar] [CrossRef]
  3. Zhang, Y.; Sun, H.; Tan, J.; Li, Z.; Hou, W.; Guo, Y. Capacity configuration optimization of multi-energy system integrating wind turbine/photovoltaic/hydrogen/battery. Energy 2022, 252, 124046. [Google Scholar] [CrossRef]
  4. Wang, L.; Jiao, S.; Xie, Y.; Xia, S.; Zhang, D.; Zhang, Y.; Li, M. Two-way dynamic pricing mechanism of hydrogen filling stations in electric-hydrogen coupling system enhanced by blockchain. Energy 2022, 239, 122194. [Google Scholar] [CrossRef]
  5. Zhang, Y.; Ma, C.; Yang, Y.; Pang, X.; Lian, J.; Wang, X. Capacity configuration and economic evaluation of a power system integrating hydropower, solar, and wind. Energy 2022, 259, 125012. [Google Scholar] [CrossRef]
  6. Liu, X.; Zu, L.; Wei, Z.; Wang, Y.; Pan, Z.; Xiao, G.; Jenkins, N. Two-layer optimal scheduling of integrated electric-hydrogen energy system with seasonal energy storage. Int. J. Hydrogen Energy 2024, 82, 1131–1145. [Google Scholar] [CrossRef]
  7. Su, W.; Li, Q.; Zheng, W.; Han, Y.; Yu, Z.; Bai, Z.; Han, Y. Enhancing wind-solar hybrid hydrogen production through multi-state electrolyzer management and complementary energy optimization. Energy Rep. 2024, 11, 1774–1786. [Google Scholar] [CrossRef]
  8. Du, Y.; Li, X.; Liang, Y.; Tan, Z. Two-stage multi-objective distributionally robust optimization of the electricity-hydrogen coupling system under multiple markets. Energy 2024, 303, 131960. [Google Scholar] [CrossRef]
  9. Rezaei, N.; Pezhmani, Y.; Jordehi, A.R.; Mansouri, S.A. A two-layer hybrid robust-stochastic model for energy management of isolated multi-energy microgrids with mobile storage systems and hydrogen refueling stations. J. Energy Storage 2024, 90, 111905. [Google Scholar] [CrossRef]
  10. Xu, C.; Wu, X.; Shan, Z.; Zhang, Q.; Dang, B.; Wang, Y.; Wang, F.; Jiang, X.; Xue, Y.; Shi, C. Bi-level configuration and operation collaborative optimization of shared hydrogen energy storage system for a wind farm cluster. J. Energy Storage 2024, 86, 111107. [Google Scholar] [CrossRef]
  11. Lv, X. Research on Capacity Configuration Optimization of Photovoltaic Hydrogen Production Projects Considering Energy Storage. Master’s Thesis, North China Electric Power University, Beijing, China, 2023. [Google Scholar]
  12. Zhao, Y.; Zhao, Y.; Guo, Y.; Zhu, Z.; Sun, H. Capacity Configuration and Control Optimization of Off-grid Wind-Solar-Hydrogen-Storage System. Acta Energ. Sol. Sin. 2024, 45, 50–59. [Google Scholar] [CrossRef]
  13. Deng, Y.; Li, C.; Shao, C.; Zhang, Q. Stochastic Optimal Scheduling of Integrated Electricity, Heat, Gas and Hydrogen Energy System. Acta Energ. Sol. Sin. 2023, 44, 522–529. [Google Scholar]
  14. Abomazid, A.M.; El-Taweel, N.A.; Farag, H.E.Z. Optimal energy management of hydrogen energy facility using integrated battery energy storage and solar photovoltaic systems. IEEE Trans. Sustain. Energy 2022, 13, 1457–1468. [Google Scholar] [CrossRef]
  15. Shi, L.; Duanmu, C.; Wu, F.; He, S.; Lee, K.Y. Optimal allocation of energy storage capacity for hydro-wind-solar multi-energy renewable energy system with nested multiple time scales. J. Clean. Prod. 2024, 446, 141357. [Google Scholar] [CrossRef]
  16. Dong, H.; Shan, Z.; Zhou, J.; Xu, C.; Chen, W. Refined modeling and co-optimization of electric-hydrogen-thermal-gas integrated energy system with hybrid energy storage. Appl. Energy 2023, 351, 121834. [Google Scholar] [CrossRef]
  17. Zhang, B.; Yang, Y. Current Situation and Development Trend of Wind and Solar Photovoltaic Power Generation. Electr. Power China 2006, 65–69. [Google Scholar]
  18. Li, H.; Zhang, X.; Zhong, C.; Wang, Z. Study on the Optimization of Capacity Configuration Strategy for Wind-photovoltaic-hydrogen Energy Storage Stations. In Proceedings of the 2024 3rd International Conference on Energy, Power and Electrical Technology (ICEPET), Chengdu, China, 17–19 May 2024; pp. 108–111. [Google Scholar]
  19. Pan, J.; Lei, J.; Chen, A.; Cao, Y.; Zhao, Z.; Zhang, H. Optimal Proportion of Wind, PV, Hydrogen and Storage Capacity Based on Time Sequence Simulation. In Proceedings of the 2022 5th International Conference on Power and Energy Applications (ICPEA), Guangzhou, China, 18–20 November 2022; pp. 657–662. [Google Scholar]
  20. Ren, Y.; Meng, Q.; Zhu, R.; Xue, Y.; He, B.; Zhang, Y. Optimal Capacity Configuration of Regional Shared Energy Storage Integrated with Distributed Wind-Hydrogen User Groups. Acta Energ. Sol. Sin. 2024, 45, 306–315. [Google Scholar]
  21. Posdziech, O.; Schwarze, K.; Brabandt, J. Efficient hydrogen production for industry and electricity storage via high-temperature electrolysis. Int. J. Hydrogen Energy 2019, 44, 19089–19101. [Google Scholar] [CrossRef]
  22. Fan, X.; Zhang, K.; Zhao, B.; Liu, M.; Wu, Q. Research on Virtual Synchronous Control Technology for PEM Electrolytic Hydrogen Production. Energy Storage Sci. Technol. 2024, 13, 1–13. [Google Scholar]
  23. Nehrir, M.H.; Wang, C. Modeling and Control of Fuel Cells: Distributed Generation Applications; John Wiley & Sons: Hoboken, NJ, USA, 2009. [Google Scholar]
  24. Zeng, Y.; Ma, Y.; Wu, Q. Analysis of Typical Application Scenarios of Electricity-Hydrogen Coupling and Economic Evaluation. Zhejiang Electr. Power 2023, 42, 1–8. [Google Scholar]
  25. Jia, C.; Wang, L.; Meng, E.; Yang, D.; Guo, D.; Liu, Y. Optimal Capacity Configuration and Day-Ahead Optimal Scheduling of Wind-Solar-Hydrogen Coupled Power Generation System. Electr. Power China 2020, 53, 80–87. [Google Scholar]
Figure 1. System structure diagram.
Figure 1. System structure diagram.
Processes 13 01738 g001
Figure 2. Equivalent principle diagram of photovoltaic output.
Figure 2. Equivalent principle diagram of photovoltaic output.
Processes 13 01738 g002
Figure 3. Schematic diagram of double-layer optimization model.
Figure 3. Schematic diagram of double-layer optimization model.
Processes 13 01738 g003
Figure 4. Annual landscape environment parameters.
Figure 4. Annual landscape environment parameters.
Processes 13 01738 g004
Figure 5. Output of each module before adding hydrogen production.
Figure 5. Output of each module before adding hydrogen production.
Processes 13 01738 g005
Figure 6. Output of each module after adding hydrogen production.
Figure 6. Output of each module after adding hydrogen production.
Processes 13 01738 g006
Table 1. Comparison of recent models.
Table 1. Comparison of recent models.
Electro–Gas–Hydrogen Integrated Energy SystemWind–Hydrogen Integrated Regional Shared Energy Storage SystemElectro–Thermal–Hydrogen Energy Storage SystemModel Proposed in This Paper
Model StructureFixed installed capacity wind and solar power generation systems; gas system; hydrogen energy storage systemFixed installed capacity wind-power generation system; shared hydrogen energy storage systemFixed installed capacity wind and solar power generation systems; gas turbine; hydrogen energy storage systemWind and solar power generation system considering both user load and flexible load of electrolyzers; hydrogen energy storage system; transaction with the power grid
Model TypeSingle—layer optimizationTwo-layer optimizationSingle-layer optimizationTwo-layer optimization
Objective FunctionOperation cost objective and peak—shaving objectiveUpper-layer objective: optimal daily operation cost of shared energy storage;
Lower-layer objective: lowest daily operation cost of wind–hydrogen coupling system
Equivalent annual cost minimization of electro–thermal–hydrogen energy storage systemUpper-layer objective: minimization of the full life-cycle cost;
Lower-layer objective: maximization of the system operation process revenue
Table 2. Equipment costs.
Table 2. Equipment costs.
ProjectInvestment Cost (Yuan/kW)Operation and Maintenance Cost (Yuan/(kW × year))Disposal Cost (Yuan/kW)Power Generation Price (Yuan/kW × h)
wind-power73002864500.42
PV power685027417000.35
electrolytic cell338580340-
fuel cell35001602300.4
Table 3. Capacity configuration results.
Table 3. Capacity configuration results.
SchemeConfigure a 0—MW ElectrolyzerConfigure a 1—MW ElectrolyzerConfigure a 2—MW ElectrolyzerConfigure a 3—MW ElectrolyzerConfigure a 4—MW ElectrolyzerConfigure a 5—MW ElectrolyzerConfigure a 6—MW Electrolyzer
wind-power/(kW)1494163119932389255729322783
PV power/(kW)5127573361266911722582549178
fuel cell/(kW)0131514361510184229723642
hydrogen storage tank/m30204831773389504264175256
economic coefficient0.0160.06970.0810.0920.0970.0890.0807
Table 4. Comparison Results of Scheme 1 and Scheme 2.
Table 4. Comparison Results of Scheme 1 and Scheme 2.
Comparison DimensionOption OneOption TwoImprovement Effect
accommodation rate of wind and solar power61.3%92.8%+51.4%
fluctuation range±7.9%±2.1%−73.4%
peak-shaving cost (Yuan/MWh)14.76.9−53.1%
grid dependence degree0.680.21−69.1%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, M.; Wu, Q.; Zhang, L.; Hou, S.; Zhang, K.; Zhao, B. Two-Layer Optimal Capacity Configuration of the Electricity–Hydrogen Coupled Distributed Power Generation System. Processes 2025, 13, 1738. https://doi.org/10.3390/pr13061738

AMA Style

Liu M, Wu Q, Zhang L, Hou S, Zhang K, Zhao B. Two-Layer Optimal Capacity Configuration of the Electricity–Hydrogen Coupled Distributed Power Generation System. Processes. 2025; 13(6):1738. https://doi.org/10.3390/pr13061738

Chicago/Turabian Style

Liu, Min, Qiliang Wu, Leiqi Zhang, Songyu Hou, Kuan Zhang, and Bo Zhao. 2025. "Two-Layer Optimal Capacity Configuration of the Electricity–Hydrogen Coupled Distributed Power Generation System" Processes 13, no. 6: 1738. https://doi.org/10.3390/pr13061738

APA Style

Liu, M., Wu, Q., Zhang, L., Hou, S., Zhang, K., & Zhao, B. (2025). Two-Layer Optimal Capacity Configuration of the Electricity–Hydrogen Coupled Distributed Power Generation System. Processes, 13(6), 1738. https://doi.org/10.3390/pr13061738

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop