1. Introduction
With the continual expansion of the world economy, problems of finite energy supplies and environmental damage have become prominent international concerns necessitating immediate shifts in energy paradigms. Compared to traditional fossil fuel-based power generation, distributed generation technologies—primarily reliant on wind and photovoltaic energy—are noted for their high efficiency and environmental friendliness [
1,
2], and have therefore been widely adopted. In response to the challenges associated with the grid integration of distributed energy resources, the concept of microgrids has been proposed by researchers [
3,
4].
An effective and rational capacity allocation for each component within a microgrid constitutes a fundamental aspect of the planning and design phase. This approach is crucial for maintaining system reliability and security, while simultaneously reducing capital expenditures and optimizing operational efficiency. In recent years, extensive research efforts have been devoted to the capacity sizing of microgrids. For instance, Reference [
5] proposes a microgrid capacity configuration method based on sensitivity analysis, considering the relationship between the sensitivity of wind/solar/diesel/storage and the total cost of the microgrid, to obtain the optimal configuration scheme for capacity optimization. Reference [
6] accounts for the heterogeneous characteristics of distributed energy resources (DERs), energy storage mechanisms, and load dynamics, and proposes a hybrid energy storage-configuration framework tailored to mitigating load fluctuations, particularly the peak-to-valley disparity. Reference [
7] integrates energy storage units into existing distributed photovoltaic systems to form a grid-connected PV-storage microgrid. A demand response model is introduced to optimize the energy storage configuration, where a hybrid integer programming approach combined with an enhanced particle swarm algorithm is employed to solve the demand-side management process. The study further evaluates the impact of demand response on microgrid economic performance and storage capacity planning. Reference [
8] investigates demand-side management strategies for shiftable loads (e.g., seawater desalination) under power supply reliability constraints. A chaotic free search algorithm is adopted to solve the optimal distributed generation capacity configuration problem in microgrids, with analysis on load-shifting strategy effects. It formulates a comprehensive capacity optimization model that combines wind, solar, diesel, and energy storage units with desalination loads, balancing both economic viability and environmental sustainability. The feasibility and performance of the proposed model are substantiated through simulation validation.
From the preceding analysis, it is evident that most current studies on microgrid capacity optimization concentrate on the coordinated deployment of renewable energy sources—such as wind and photovoltaic systems—alongside diesel generators and conventional battery storage technologies. In contrast, the exploration of hydrogen-based energy storage within microgrid frameworks remains relatively underdeveloped. Nonetheless, hydrogen stands out due to its environmentally friendly nature, high energy conversion efficiency, and superior energy density. Integrating hydrogen with traditional electric energy systems facilitates enhanced energy cascade utilization and boosts overall energy efficiency. As such, investigating hybrid energy storage microgrid capacity planning that incorporates electric–hydrogen synergy is of considerable research value. Reference [
9] proposed a wind/solar/storage grid-connected microgrid structure of hydrogen-containing energy storage and a battery hybrid energy storage system, overcoming the shortcomings of the high cost and short life of the traditional single energy storage system of storage batteries. Based on the hybrid energy storage system of hydrogen energy storage microgrid proposed in Reference [
9], and based on the rapid estimation method, the different response times of electricity and hydrogen energy storage systems in hydrogen energy storage systems are considered, and the capacity of the microgrid system is optimized according to the weather and load conditions. Reference [
10], based on a fast estimation method, considers the different response times of the electrical and hydrogen storage systems in a microgrid with hydrogen energy storage, and optimizes the capacity configuration of the microgrid system according to actual weather and load conditions. Reference [
11] optimizes island microgrids containing hydrogen energy storage based on carbon emissions and maximum capacity. Reference [
12] proposed a new island microgrid energy management method based on electricity–hydrogen coupling, which minimizes the use cost of energy storage equipment by controlling the working state of each energy storage system and maintains the energy storage state of the energy storage system at a reasonable level, so as to achieve stable system operation. Reference [
13], in view of the high energy transportation cost and serious pollution emissions from fossil fuel units on remote islands, established a dual-layer capacity planning model for reversible solid oxide batteries with electric heating and hydrogen coupling isolated island microgrids based on different working conditions. Considering the uncertainty of source and load, the stochastic scenario is generated, and the capacity planning decision of the island microgrid equipment is combined with the typical daily operation scheduling, and the whale optimization algorithm and CPLEX solver are used to solve the two-layer model, which proves that the power–hydrogen coupling programming model of the island microgrid can effectively improve the economy and flexibility of the operation of the island microgrid.
In recent years, extensive research has been carried out both domestically and internationally on the coordinated optimization of distribution systems and microgrids. Scholars have studied the method of distribution microgrid collaboration from the perspective of transactions, that is, the distribution grid guides the power demand of microgrids through electricity prices [
14,
15]. Some scholars have also proposed a collaborative optimization scheduling method for distribution microgrids based on flexible operating domains from a domain perspective [
16]. Reference [
17] considers the connection of microgrids through dedicated interconnection lines and proposes a flexible grouping-based coordinated scheduling method for microgrids. Some scholars have further studied the impact of peer-to-peer (P2P) transactions between multiple microgrids on micro collaboration based on micro collaboration [
18,
19]. However, the above studies are all based on fixed topology structures and do not consider the impact of network reconstruction. The distribution network can optimize power flow distribution through network reconstruction, further improving operational efficiency [
20]. Due to the external costs brought by P2P transactions between multiple microgrids to the distribution network, microgrids need to pay network fees to the distribution network [
21]. However, network reconstruction will affect the electrical distance between microgrids, which in turn affects the network fees for P2P transactions. Reference [
22] did not include network fees in the revenue of the distribution network and used Dijkstra’s algorithm to calculate the shortest electrical distance after topology changes. Reference [
23] proposes a cross-network fee accounting mechanism suitable for dynamic topology, which integrates the cross-network fee mechanism into the distribution network optimization model. In addition, the above research only considers the guiding effect of network reconstruction on P2P transactions, ignoring the role of electricity prices. Most existing electric–hydrogen coupling models only consider the hybrid energy storage operation architecture of electric–hydrogen coupling systems, without considering the operation and maintenance balance of hydrogen energy and constructing a trading model between hydrogen energy and the outside world.
To overcome these limitations, this study develops a coordinated planning framework for electricity–hydrogen integrated multi-microgrid systems. First, the operational characteristics of hydrogen energy storage systems are analyzed, and the coordinated operating mechanism between hydrogen storage and distributed power generation is elaborated. Furthermore, by considering the interactive operation between electric and hydrogen energy systems across multiple microgrids, an optimal configuration model for wind–solar-based multi-microgrids incorporating electricity–hydrogen coupling is established. This model is then compared with traditional microgrid capacity optimization scenarios to analyze and evaluate the operational modes and economic performance of the microgrids.
4. The Example Analysis
To assess the performance of the proposed approach, a practical distribution network located in the Shandong Province is selected as the case study. Within this network, three microgrids—each integrated with hydrogen energy storage systems—are interconnected with the main distribution system. The corresponding system topology is depicted in
Figure 4, and the detailed system parameters are listed in
Table 1. The simulation is conducted using the established microgrid capacity configuration model, with regional load demand and solar irradiance data serving as input parameters. The simulation time step, Δt, is set to 1 h.
Five distinct operational scenarios are examined in this study:
Scenario 1 involves the optimal capacity allocation for a single microgrid incorporating photovoltaic (PV), wind, and battery storage systems.
Scenario 2 investigates the optimal configuration of multiple microgrids based on conventional microturbine generation.
Scenario 3 extends Scenario 2 by introducing energy interaction and coordination among the multiple microgrids utilizing microturbines.
Scenario 4 replaces the traditional gas turbines in Scenario 2 with an optimized hydrogen-integrated configuration, comprising wind, solar, and storage elements within a single microgrid.
Scenario 5 further enhances Scenario 4 by implementing a coordinated operation across all microgrids, thereby establishing a two-layer optimization model for a hydrogen-enabled multi-microgrid system.
Among them, the peak electricity price period is 9:00–11:00 and 19:00–23:00, the electricity price is 1.35 CNY/kWh, the trough electricity price period is 24:00–8:00 and 12:00–18:00, and the electricity price is 0.48 CNY/kWh and 0.9 CNY/kWh, respectively.
4.1. The Configuration and Operation Results of the Microgrids
According to the optimization configuration method mentioned in this article, the final configuration scheme and operating results of the microgrid are obtained, as shown in
Table 2 and
Table 3.
Analysis shows that in scenario 1, the revenue is the lowest compared to the other scenarios. In scenario 2, the cost and revenue increase significantly after the installation of gas turbines. In scenario 3, the cost decreases and the revenue increases significantly after the addition of multi-microgrid energy interactions compared to scenario 2. In scenario 4, the cost significantly decreases and the revenue slightly increases after the gas turbine is replaced with a hydrogen energy storage system. From this, it can be seen that hydrogen energy storage does not need to consider the fuel costs generated by burning fossil fuels compared to micro gas turbines, greatly reducing the annual operating costs of microgrids. Moreover, hydrogen energy storage can increase the annual operating revenue of microgrids through external transactions. Scenario 5 adds the interaction of electricity and hydrogen energy between multiple microgrids and sub microgrids on the basis of scenario 4, resulting in increased operating revenue and reduced costs for microgrids. By comparison, it can be concluded that the multi-microgrid hydrogen energy storage optimization interaction system considered in scenario 5 has better performance than traditional microgrid optimization configuration for reasonable configuration and stable operation of microgrids.
4.2. Typical Daily Simulation Scenarios for Microgrids
- (1)
Microgrid power operation scenarios
Take the typical daily operation scenario of microgrid 1 in spring as an example, and analyze the photovoltaic output, wind turbine output, electrolytic cell, fuel cell, battery, and load output of the electric–hydrogen coupling system at different time periods.
Figure 5 shows the typical daily operation scenario of multiple microgrids with electricity-hydrogen coupling, taking Microgrid 1 in Scenario 5 during a typical spring day as an example.
Analysis shows that the proposed optimization configuration model for microgrids with electricity–hydrogen coupling can effectively allocate power. During the period of 11:00–14:00 when there is sufficient sunlight, the photovoltaic system has more protection and control power. The output of hydrogen fuel cells decreases significantly during the period from 10:00 to 13:00, while the output of electrolyzers reaches its peak during the same period. This indicates that during daytime hours, when solar irradiance is sufficient, photovoltaic generation exceeds the load demand, and the surplus electricity is utilized for hydrogen production via electrolyzers. Taking advantage of the long-term storage capability of hydrogen storage tanks, the generated hydrogen is stored and later used for combustion and power generation during periods of electricity shortage, thereby increasing the internal revenue of the microgrid. In the evening, when photovoltaic output is insufficient to meet the load demand, the system relies on hydrogen stored in the tanks, hydrogen produced by electrolyzers during this period, and hydrogen procured from external sources. These are converted to electricity via hydrogen fuel cells to satisfy demand. Consequently, the complementary characteristics of battery energy storage systems and hydrogen energy storage systems significantly reduce solar energy curtailment, enhance energy utilization efficiency, and improve the stability of the microgrid system.
According to the analysis of
Figure 6 and
Figure 7, it can be seen that during the period of sufficient light from 10:00 to 14:00, the power of the electrolytic cell remains the highest, and the remaining hydrogen power is used to sell to the outside world. The hydrogen power burned by the fuel cell is the lowest. During the period of no light from 18:00 to 24:00, the storage capacity of hydrogen storage tanks and energy storage batteries is greatly reduced, while the amount of hydrogen and electricity purchased through interaction with the outside world increases significantly, and the operating power of hydrogen fuel cells reaches its peak. However, from 24:00 the day before to 3:00 on the current day, the energy stored in hydrogen storage tanks and batteries increases again, resulting in a decrease in the amount of hydrogen purchased and an increase in the amount of electricity sold. From this, it can be seen that sufficient electricity and hydrogen energy are generated during the daytime when there is sufficient sunlight. The excess electricity and hydrogen energy are stored in batteries and hydrogen storage tanks for preservation and released during the non-light stage. At the same time, electricity and hydrogen energy are purchased from the outside to meet the load demand of different periods, and stored in batteries and hydrogen storage tanks for release during the remaining non-light stage at night to meet the load demand of different periods, and to reduce the purchased power from the outside and improve the economy of microgrids.
By comparing
Figure 8,
Figure 9 and
Figure 10 with
Figure 6 and
Figure 7, it is evident that in scenario 4, the absence of control interactions among microgrids leads to a significant increase in the required capacities of batteries and hydrogen storage tanks. The purchase of electricity and hydrogen from the distribution network rise substantially, while sales and photovoltaic output decline. In contrast, scenario 5 introduces coordinated operation among multiple microgrids based on scenario 4, enabling internal load balancing while considering the demands of other microgrids. This coordination reduces external energy exchanges and enhances the system-wide equilibrium within the multi-microgrid framework.
- (2)
Analysis of Daily Operation Results of Interactive Power between the Microgrid and Distribution Network
Figure 11 demonstrates that scenario 1 reveals insufficient battery capacity to satisfy system load requirements across multiple intervals. Particularly during peak hours (05:00–08:00 and 17:00–19:00), the microgrid requires significant external power procurement to maintain operational demand; in scenario 2, micro gas turbines are considered based on scenario 1, and sustainable power generation during nighttime greatly reduces the power purchased from the distribution network; and in scenario 3, power interaction between multiple microgrids is considered, and power scheduling between multiple microgrids is added under the output of micro gas turbines. This makes power scheduling in the power system more flexible, and further supplements the shortfall power in different time periods. Thus, minimizing the distribution network’s power draw per interval; in scenario 4, the micro gas turbine is replaced with a hydrogen energy storage system, which can store hydrogen gas produced during the day in hydrogen storage tanks for use at night. Simulation results indicate a substantial decrease in the microgrid’s grid power procurement. In scenario 5, energy interaction between multiple microgrids was added on the basis of scenario 4. When endogenous production and storage capacity prove insufficient, the microgrid compensates for energy deficits via coordinated power transactions with neighboring microgrid networks. Consequently, distribution network power procurement demonstrates further reduction relative to scenario 4. From this, it can be seen that the coupling between hydrogen energy storage systems and power systems can greatly improve energy utilization efficiency, while also enhancing the stability of multi-period power system output. The energy interaction between multiple microgrids can enhance the flexibility of microgrids and the stability of the power supply at different times.
As shown in
Figure 12, there are five typical daily operating scenarios where microgrids sell electricity to the distribution network. Analysis shows that during the period of sufficient sunlight from 8:00 to 18:00, the microgrid sells a higher amount of electricity to the distribution network in four scenarios. At night, the sales of electricity to the distribution network in the other three scenarios are much lower than those in scenarios 4 and 5. Scenarios 4 and 5 sell electricity to the distribution network in all 24 time periods, and the overall revenue of the microgrid also increases significantly. Compared to scenario 2, scenario 3 considers an interactive system, and analysis shows that the total sales power of the system is lower than scenario 2, while the number of time periods during which the system sells electricity to the distribution network is higher than scenario 2. From this, it can be seen that the multi-microgrid interaction system can flexibly adjust energy according to the needs of the microgrid, effectively allocate it, and enhance the stability and reliability of the system. Hydrogen energy storage systems can significantly enhance the stability and flexibility of microgrids, as well as solve the problem of energy imbalance in the time domain of power systems.
Table 4 shows the overall operating costs of microgrids in five scenarios.
Table 5 shows the capacity configuration of microgrid 1 in scenarios 1, 2, 3, and 4. Comparing
Table 1 and
Table 4, it can be seen that in scenario 1, the photovoltaic power generation device cannot supply power to the microgrid normally due to insufficient light during the nighttime to meet the load demand. Therefore, a larger battery capacity needs to be configured to supply power to the microgrid during the nighttime. At the same time, the microgrid needs to purchase a large amount of electricity from the distribution network. Comparing scenario 1 and scenario 4, it can be seen that the operating cost of scenario 1 is much higher than that of scenario 4, and the operating revenue is much lower than that of scenario 4. From this, it can be concluded that using an electric–hydrogen coupling device is more economical and flexible than traditional power system devices. Comparing scenario 1, scenario 2, and scenario 4, it can be seen that although micro gas turbines can meet the load demand of microgrids in low light conditions at night, they require a large amount of fuel, which greatly increases the operating cost of the microgrids. The investment cost of hydrogen energy storage systems is relatively high, but their system consumes renewable resources, and the operating cost is much lower than scenario 2. From this, it can be concluded that hydrogen energy storage systems are more environmentally friendly and economical than traditional gas turbine systems. Comparing scenario 4 and scenario 5, it can be seen that the operating cost of scenario 5 is lower than that of scenario 4. Scenario 5 achieves collaborative operation among multiple microgrids through the buying and selling of electricity and hydrogen energy among multiple microgrids when there is a shortage of electricity in a single microgrid. It can be seen that the coordinated operation of multiple microgrids can further improve the economy of microgrids.
5. Conclusions
The new energy distributed generation of microgrids can not only improve energy utilization efficiency and reduce waste light, but also enhance the flexibility and power supply reliability of microgrid systems. As a backup power source for microgrids, gas turbines greatly improve the reliability of microgrid power supply. This article replaces the micro gas turbine in the traditional microgrid optimization configuration model with a hydrogen energy storage system, establishes an electric–hydrogen coupled microgrid wind–solar–energy-storage optimization configuration model, and considers the interaction between multi-microgrid electricity and hydrogen energy to improve the interactivity, flexibility, and power supply stability of microgrid energy. Hydrogen energy, as a renewable energy source, is generated by electrolyzing water. During the combustion process in fuel cells, water is mainly produced, and its emissions are almost free of greenhouse gases and pollutants. Compared to using natural gas as fuel for gas turbines, it can reduce fuel costs while ensuring environmental cleanliness.
The specific conclusions drawn from multiple iterations of the model in four different scenarios are as follows:
- (1)
The attenuation coefficient of hydrogen storage tanks is much smaller than that of energy storage batteries. The conversion of electrical energy into hydrogen energy through electrolytic cells and storage in hydrogen storage tanks can reduce the pressure caused by overall peak loads at different times, thereby significantly reducing the cost of electricity procurement.
- (2)
The optimization configuration method of microgrids with electric–hydrogen coupling has a higher investment cost compared to traditional microgrid optimization configuration methods. However, due to the regenerative and continuous nature of hydrogen energy storage, the production of electrolyzed water does not rely on fossil fuels, greatly reducing environmental pollution and operating costs of microgrids.
- (3)
The multi-microgrid interaction system can optimize the energy exchange between each microgrid, reduce resource waste, and improve the overall energy efficiency of the system; the integration of hydrogen energy interaction further improves the flexibility of microgrids, and multi-microgrid systems can be flexibly adjusted according to demand, greatly reducing the amount of electricity purchased by multi-microgrid systems from the distribution network and increasing the revenue of microgrids.