Bi-level optimization of configurations and scheduling for the multi-microgrid system (MMS) considering shared hybrid electric-hydrogen energy storage service

Lu Lia,b ,Xulong Zhoua , Shilong Chena,*, Guihong Bia , Zeliang Zhua , Yurui Fanc

a Faculty of Electrical Engineering, Kunming University of Science and Technology, Kunming 650500, PR China

b College of Engineering, Design and Physical Sciences, Brunel University of London, London UB8 3PH, UK

c Department of Civil and Environmental Engineering, Brunel University of London, London UB8 3PH, UK

Abstract

Shared energy storage helps lower user investment costs and enhances energy efficiency, which is considered a pivotal driver in accelerating the green transition of energy sectors. In view of the increasing demand for hydrogen, this paper proposes a bi-level optimization of configurations and scheduling for combined cooling, heating, and power (CCHP) microgrid systems considering shared hybrid electric-hydrogen energy storage service. The upper-level model addresses the capacity allocation problem of energy storage stations,while the lower-level model optimizes the operational strategies for the multi-microgrid system(MMS). To resolve the complexity of the coupled bi-level problem, Karush-Kuhn-Tucker (KKT) conditions and the Big-M method are applied to reformulate it into a solvable mixed-integer linear programming (MILP) model, compatible with CPLEX. The economic viability and rationality of the proposed approach are verified through comparisons of three cases.Numerical results show that the proposed approach reduces user annual costs by 20.15%compared to MMS without additional energy storage equipment and achieves 100% renewable absorption. For operators,it yields 5.71 M CNY annual profit with 3.02-year payback.Compared to MMS with electricity sharing,it further cuts user costs by 3.84%,boosts operator profit by 60.71%, and shortens payback by 15.88%.

Keywords: Shared energy storage; Combined cooling, heating and power (CCHP); Hybrid electric-hydrogen energy;MMS;Karush-Kuhn-Tucker(KKT);Big-M

0 Intr oduction

Greenhouse gas emissions, especially carbon dioxide,account for 80% of total emissions due to human activity[1]. This directly contributes to the frequency of extreme weather even ts. Concomitant problems include rising global temperatures [2] and depletion of environm ental resources [3]. To mitigate the potential environmental damage caused by climate change as much as possible,countries across the world have formally a dopted,announced, or are considering net-zero emission goals in alignment with the Paris Agreement [4]. In 2020, China announced an expansion of its nationally determined contribution, aiming to achieve net-zero carbon dioxide emissions by 2060 [5].

The CCHP system is an energy-efficient and environmentally friendly system capable of delivering cooling,heating, and electricity simultaneously [6]. By introducing decoupling equipment into the traditional CCHP system,a CCHP microgrid can be established [7]. It can promote green energy production, improve energy efficiency [8],while reducing carbon dioxide emissions [9]. The implementation of CCHP microgrids contributes significantly to the achievement of ‘‘carbon neutrality”.

Research on CCHP microgrids has already yielded some results. Reference [10] integrated a Power-to-Gas(P2G) device into a CCHP microgrid and applied a distributed robust optimization approach to address energy dispat ch issues. The results showed that this method improves stability and economy. Reference [11] proposed a new multi-timescale dynamic robust optimal scheduling approach, significantly lower the operating expenses of CCHP micro grids and enhance the robustness of their cooperative operation. Reference [12] proposed an optimized scheduling framework for integrating adiabatic compressed air energy storage and CCHP microgrids, considering temperature dynamics. A pilot project conducted in China demonstrated that the system’s operating costs were reduced by 13.7% compared to previous levels.

A substantial portion of research on CCHP microgrids emphasizes integrating advanced technologies or renewable energy sources, alongside developing innovative models and optimization methods. However, there is limited focus on the economic feasibility and practical implementation of these technologies, particularly within complex system configurations.At the same time,renewable energy is volatile and intermittent due to weather factors [13].These studies do not perform well when dealing with uncertain renewable energy outputs. Microgrid systems require integrate d energy storage equipment to manage the volatility of renewable energy[14]. However, the extensive and widespread deployment of energy storage equipment faces problems such as high costs, technical difficulties, and imperfect market mechanisms.

To tackle the problems mentioned above, some scholars have suggested new models of energy storage sharing.Reference[15] proposes a novel energy trading market equilibrium model that integrates peer-to-peer trading mechanisms with energy storage sharing and implements this model for residential consumers. Reference [16]extended the energy sharing model into direct and buffer sharing, developed a day-ahead stochastic planning model to assist energy sharers’ decision-making. Reference [17]introduced another way of sharing, cloud energy storage(CES), which reduces the cost by exploiting consumer complementarities and economies of scale. Results for residential customers in Ireland showed that CES could provide residents with more convenient and economical channels for purchasing energy.

Currently, much attention is directed towards exploring sharing models and investigating operational strategies or economic dispatch methods. Few studies have addressed capacity configurat ions for energy storage devices and the maximization of their economic benefits over their life cycle. Most scholars focus solely on electricity in energysharing services.

Hybrid energy storage can cope with future multienergy coupling and improve the flexibility of energy storage systems,garnering significant interest from researchers[18]. Hydrogen frequently serves a crucial function in hybrid energy storage systems owing to its high energy density, eco-friendliness, and convenient transportability[19]. It is widely regarded as essential for shifting away from the current reliance on fossil fuels and advancing toward a holistic sustainable energy transition.[20]. Reference [21] constructed a distributed robustness-based hybrid energy storage model for electricity and hydrogen in the MMS. This model ensures system economy and can cope with fluctuating renewable energy output.Reference[22] proposed a bi-level optimization model that integrates hydrogen energy with shared energy storage. This approach not only meets the demand of the exter nal hydrogen energy market but also provides microgrid users with greater flexibility in buying and selling energy.Reference [23] proposed hybrid shared energy storage models with different emphases for three different types of regionally integrated energy systems: residential, industrial, and commercial. Although the above literature can enhance the system’s economic performance, it lacks a more comprehensive consideration of hydrogen energy circulation.Most studies focus on utilizin g the hydrogen generated by shared energy storage either as fuel for power generation or directly selling it to external energy markets, without accounting for the growing internal hydrogen demand within the system.

Addressing the previously identified issues, this paper proposes a bi-level optimization model of configurations and scheduling for the MMS considering shared hybrid electric-hydrogen energy storage service. It can address both the operation optimization for the MMS and the capacity configuration for hybrid energy storage station(HESS). Firstly, the framework structure and operational mode of the proposed service are presented. Subsequently,the simplification and solving process of the complex bilevel optimization model are illustrated. This includes using the KKT conditions and the Big-M method to simplify the model for direct solving by the CPLEX solver.Finally, the economic feasibility and reasonableness of the proposed scheme are verified through a simulation example. The contributions are outlined as follows:

1)Building upon traditional electricity sharing, this study proposes a more advanced shared hybrid electric-hydrogen energy storage service. A bi-level optimization algorithm is employed to address the complex interest interactions between the operator and the MMS, while simultaneously balancing the benefits of both parties.

2) By introducing hydrogen energy flow from HESS to MMS in the model, the approach facilitates more flexible multi-energy trans mission within the system while supplying hydrogen to the microgrid at below-market prices.

3) The paper analyzes the operation and profitability of the proposed scheme, providin g useful references for industry practitioners.

1 System Design

In current energy systems, shared energy storage has become a viable strategy to enhance resource utilization and reduce investment costs [24]. Three prevalent models are widely adopted [25]:

1) Operator-Invested Centralized Shared Energy Storage Station: An independent operator invests in and constructs a large-scale centralized energy storage facility. The primary revenue streams are derived from service f ees, energy arbitrage, and capacity leasing. This approach reduces individual investment burdens while ensuring high utilization efficiency.

2) Jointly Invested Shared Energy Storage Station:Multiple energy storage users collaboratively invest in a shared storage facility. By pooling resources,participants mitigate high initial capital expenditures while gaining access to reliable energy storage services. This cooperative model promotes costsharing and minimizes idle capacity.

3) User-Leased Energy Storage Equipment: End-users with privately owned energy storage devices lease their idle capacity to others, creating an additional revenue stre am. This decentralized model maximizes equipment utilization and facilitates energy circulation across the broader grid.

An increasing number of pilot projects have emerged and achieved significant results. In China’s Gansu Province, a 500 MW/1000 MWh project offers capacity leasing at just CNY 250 per kW/year—far lower than the cost of building private facilities. Meanwhile,projects in Californ ia have achieved over 80%utilization rates in ancillary services markets, significantly outperforming traditional distributed storage systems.

To avoid conflicts of interest between multiple users and reduce the complexity of implementation, this paper adopts the first service model mentioned above. Furthermore, based on single-energy sharing, a new hyb rid energy sharing model is proposed to facilitate more efficient and flexible energy transmission. The corresponding system architecture is illustrated in Fig. 1.

1.1 Framework

As shown in the upper part of Fig. 1, HESS consists of an electricity storage station (ESS) and a hydrogen storage station (HSS), where HSS consists of a P2G device and a tank to store hydrogen. In HESS, both the stored and consumed electrical energy originate from MMS. Excess power generated by the microgrid can be utilized, stored or converted into hydrogen through the dispatch center in HESS. The electricity stored in HESS fills the power gap of MMS. And the hydrogen in it can be supplied to the outside market and to microgrid users who need it.

The structure of CCHP microgrids is shown at the bottom of Fig. 1. Each microgrid is fitted with a range of energy conversion and utilization devices, including gas turbines, heat exchangers, waste heat boilers, gas boilers,electric chillers, absorption chillers, etc. Microgrids are connected to the power grid. However, considering the technical requirements for backward transmission and related policy restrictions, this paper assumes that microgrids cannot sell electricity to the power grid [26]. HESS and microgrids act as independent operating entities, both seeking to maximize their respective benefits through the interactions involving electricity and hydrogen energy.

1.2 Operation

A dispatch center is established within HESS. Users interested in joining the energy storage service need to provide the dispatch center with hourly-resolved annual forecasts of their load demand, renewable generation, and electricity purchase prices. Upon collecting the usersubmitted forecast data, the dispatch center performs data cleaning and processing to eliminate outliers and ensure consistency. The processed dataset is then clustered into multiple representative typical days to reduce computational complexity while preserving key variability. Based on these typical days, the dispatch center calculates the optimized capacity of HESS and the operational costs for users. Once both parties reach an agreement, the service agreement is signed, specifying the device capacity,charging and discharging plans,and rules for the payment of service fees, among other details.

ESS and HSS provide energy storage assistance to users in their respective service areas. ESS can absorb some of the excess power from microgrids while delivering power to users in need. In contrast to conventional power stations, the buses of ESS are connected to the microgrid users separately, which allows th e transfer of energy at the spatial level through the buses [27]. During a specific period, if the energy demand of all users connected to the ESS bus requires charging, ESS will receive discharging instructions from the dispatch center. Conversely, if the users generate excess electricity, ESS will store excess electricity. HSS produces hydrogen from purchased electrical energy and sells it to needy users. Hydrogen energy will first be used to meet the demand of microgrid users,and any surplus hydrogen energy will then be transferred to the outside market. This paper considers hydrogen tanker transport for hydrogen energy transmission. Unlike the energy transmission mode of ESS, HSS allows for simultaneous input and output of energy.

035c30643d2f4a365bcc825fddce773d.jpg

Fig. 1. Structure of the shared hybrid electric-hydrogen energy storage service.

The service fee is charged to users by the HESS operator for accessing energy storage capabilities, and it is paid when users interact with ESS or sell power to HSS.Although power exchanges between microgrids do not occur directly through ESS, they are still billed in a manner that simulates flow into and out of ESS. Opera tors gain revenue in two ways: first,by charging users for their services, and second, by purchasing energy at low prices and selling it at high prices.For the convenience of subsequent calculations,this paper uniformly equates hydrogen energy to electric power.

2 Bi-level optimization model building

Bi-level optimization is suitable for addressing system optimization problems that feature distinct primary and secondary models. Typically, the upper part serves as the primary model, while the lower part serves as the secondary one.Both levels have their own objective functions and constraint sets. The optimization procedure initiates at the upper model, where decision variables are determined and subsequently transmitted to the lower model.Upon receipt of this data, the lower model establishes its feasible domain and carries out optimization tasks aimed at achieving the optimal value of its objective function.These outcomes are then relayed back to the upper model.Through iterative processes, the optimal value for the comprehensive model is attained. This optimization method tightly integrates the upper and lower levels of fostering mutual influence and constraint while considering the interests of both parties.

2.1 Upper-level HESS model

This model is tasked with optimizing the maximum annual profit of HESS during the planning period.The decision variables consist of two parts. One part is the capacity configurations and maximum power of HES S. The other part is the energy interaction of HESS with the microgrid and the hydrogen energy market.

2.1.1 Objective function of HESS

Based on the decision variables described above, the objective function can be formulated below:

d627735de85902b7aded5b7e6cd9e47d.jpg

693bd19ae260301098352f68ca5d67ec.jpg

1) The daily investment cost of ESS can be described as:

db01e1c25f9bc128974a0da041cc0ef9.jpg

b31c972be290a797dd724c9b169e1a89.jpg

2) The daily investment cost of HSS can be described as:

3b59603fb11d30dd53ebffe0f963d7a1.jpg

d5ef5b99ca42acd4de6a812b314ccd8d.jpg

3) The purchasing cost of electricity for ESS can be described as:

1741d1ad730d95414aaa500b9b04c941.jpg

170a339fd99abd172d6f2a867798466a.jpg

4) The purchasing cost of electricity for HSS can be described as:

e7b57102d7fef62be25900fd4a5bfe43.jpg

226a165d806b2a2cb00c806d1faff2fe.jpg

5) Transporting costs of hydrogen can be described as[28]:

fe0edd9ba798706b374f63a972979a43.jpg

83cc79a27bee28d25711e7e9b7f671fc.jpg

6) The service revenue can be described as:

07b9a306686a31eb32d99e09c7fefc55.jpg

f5e1ae71de70091e8679bb2f04615e45.jpg

7) The revenue generated by selling electricity can be described as:

c6e239d6448c253b5a03d35ebe84f72b.jpg

whered5a218351c9e5b25bc95868d8d52b906.jpgis the purchasing price of electricity from ESS at time t.

8) The revenue generated by selling hydrogen from HSS to microgrids can be described as:

037502ba830faf12286af8198887e12e.jpg

1aa848146ad0099b11fab1f94b739d6c.jpg

9) The revenue generated by selling hydrogen from HSS to the outside market can be described as:

d72844c45124b8f342289bcdeb2f5f53.jpg

ce158e868b3533366ff385c0c5136008.jpg

2.1.2 Effects of equipment degradation

In this section, a linear degradation model for HESS is introduced to enable a more comprehensive evaluation of the system’s economic performance. The model primarily considers the linear degradation of ESS capacity over time as well as the linear efficiency decline of P2G equipment.At the same time,it is assumed that no parameter degradation occurs during a typical operational day. Parameter adjustments, incorporating linear decay, are implemented only upon completion of each typical day.

ec70829d16b37c1e33ecb7b489284147.jpg

20184e234053f393d777a4416e40adc8.jpg

2.1.3 Constraints of HESS

1) The ratio of capacity to rated power [22] can be defined as:

64a374e791e36964d4ecbfad96c09098.jpg

where: δess and δhssare the ratio of ESS and HSS,respectively.

2) Charging and discharging constraints of ESS on the884e8e4f18f97c88f97479a8211cdfb1.jpgtypical day can be described as:

5083362ae19073568b7922bfb00b60b8.jpg

eef3e20000d8f059595a2390c97dfaad.jpg

3) Charging and discharging constraints of HSS on the38ffebdca448a194d98705355b14e92f.jpgtypical day can be described as:

5eba029fbc906733f2643ee2b4b4b7e3.jpg

cd48b4c8664cb1794008213173d744ca.jpg

4) Constraints between HSS and the outside market can be described as:

9a1d27f11c1e31581f229171d399f9f2.jpg

225d393d2c1d70015324dd089f69f06d.jpg

2.2 Lower-level MMS model

This model is tasked with optimizing the minimum annual operating cost of the MMS during the planning period. Decision variables include outputs of devices within microgrids, power interactions between the main power grid and microgrids and their corresponding states,as well as power interactions between HESS and microgrids and their respective states.

2.2.1 Objective function of the MMS

The optimization seeks to minimize the annual operating cost of the MMS, which can be described as:

152c943c8e2e98de425f9da384dca9e1.jpg

730e2bcef3efb6135f15a387875d2bd5.jpg

1) The purchasing cost from the power grid can be described as:

20e39139033067b431b16d9d1228895a.jpg

ae195b690ffbe44fd92bd3e62635cf48.jpg

2) The cost of gas can be described as:

c489f66077eb311cf93da287410eeec0.jpg

ebdd60ab96534fac7a4c6992db396fca.jpg

2.2.2 Constraints of the MMS

Some equation constraints that need to be met for the optimal operation of the MMS are listed below:

1) Electrical power balance can be described as:

05d09bfa3c31b65e9f3498f872d26008.jpg

5b47063f04d37cf30a285e5b3b47557d.jpg

2) Cooling power balance can be described as:

626ab80e51b20a295eff3d3f6faa14cf.jpg

8dc0b755e9df2bbd97e87f8f35d10f82.jpg

3) Heating power balance can be described as:

61fc0404579ac96ed7c41506501bd2cf.jpg

deea478824e17dc16c7f946db3fe41c3.jpg

4) Waste heat balance can be described as:

99f35ceb25b461268fa08d4474db23d3.jpg

b574f58cd276586f820b7e9e05315f4d.jpg

5) Charging and discharging the balance of ESS can be described as:

5ed728e3a23e68f21d6dd9a470b18cf6.jpg

6) Charging balance of HSS can be described as:

acd49d39e0065ef5f7307dd885efd133.jpg

7) Discharging balance of HSS can be described as:

3929d3b8b6a394442b3c82efb5558da6.jpg

8) Hydrogen load balance can be described as:

83459d67352356afa64c975e01bc8d23.jpg

4b6281f4937eda8be244f831ad918cf4.jpg

It also needs to satisfy the inequ ality constraints as follows:

1) Constraints of output can be described as:

2e217e74f235b600e4233b39c7f6c747.jpg

where: the above are maximum and minimum values for each device, respectively.

2) Constraints of energy interaction with the power grid

can be described as:

ea196849173f3f5cbc0d8e02ec311662.jpg

where9a226530830da322cab5be23b7193370.jpgis the maximum electric power that microgrids can purchase from the power grid.

3) Constraints of energy interaction with ESS can be described as:

ac3638221309b725549a8ce75ef20f7b.jpg

1af7b5282ae2b3232f72dac42d7829e3.jpg

408848b4cd3a56e79b4c8beefa05c682.jpg

4) Constraints of energy interaction with HSS can be described as:

76cb84e772f3c7ff03b3041a11ec341c.jpg

f45662b24d8ce3329e71ceef22ca97d6.jpg

3 Model solving process based on bi-level optimization

As illustrated i n Fig. 2, the solution process for the proposed shared hybrid electric-hydrogen energy storage service consists of three main stages: data input, model construc tion,and bi-level optimization model simplification.

The input data includes two key components: the annual forecasted load and output of renewable energy units, and the energy price information for interactions among stakeholders. The annual forecast data undergoes preproces sing—such as feature extraction and data cleaning—before being processed using the K-means clustering method to generate representative typical daily datasets.

The bi-level optimization model, detailed in the previous chapter, comprises an upper-level model with integer and continuous variables under nonlinear constraints,and a lower-level model formulated as a mixed-integer linear program. Both levels aim to maximize their respective objectives, resulting in a complex interdependence.

Due to the strong coupling between the two levels,direct computation is intractable. To address this, the Lagrangian function of the lower-level model is first constructed. The lower-level model is then transformed into upper-level constraints using the KKT complementary slackness conditions, as shown in Appendix A (Equations A2–A40). Next, nonlinearities in the converted model are linearized via the Big-M method (Appendix A, Equations A41–A43), yielding a single-layer MILP formulation.Finally, the simplified MILP model is solved using the commercial solver CPLEX in MATLAB, outputting the optimal hybrid energy storage configuration and microgrid operation results.

4 Case study

4.1 Parameter setting

69021fe66a246f0c2583f36884d6506c.jpg

Fig. 2. Flowchart for solving the bi-level model of shared hybrid electrichydrogen energy storage service.

Three disconnected CCHP microgrids, namely MG 1,MG 2, and MG 3, are selected to constitute an MMS.Each microgrid is directly connected to HESS, with distances of 50 km, 80 km, and 120 km, respectively. MG1 is a power-abundant microgrid characterized by high wind and photovoltaic output, while MG2 represents a balanced energy supply–demand microgrid without wind turbines. In contrast, MG3 is an energy-deficient microgrid with significant load demand. Considering the significant impact of seasonal variations on microgrids, the Kmeans clustering method is adopted to cluster the forecast data of spring, summer, autumn, and winter into four typical days to simulate the annual operation of MMS. Each season consists of 91 days, and each day is 24 h long.The clustered data of microgrids are illustrated in Fig. B1 of Appendix B. The hydrogen load in the outside market after clustering is depicted in Fig. B2 of Appendix B.The gas price is taken as the industrial gas price,3.42CNY/m3. The economic parameters of various devices in HESS can be found in Table 1. Table 2 illustrates the pricing for electricity and hydrogen interactions among the power grid, microgrids, HESS, and the outside market.The unit power cost for the service is 0.05CNY/kWh.Equipment-related parameters are provided in Appendix C, Table C1.

To validate the advantages of the proposed shared HESS service, a comparative analysis of three scenarios is conducted:

1) The MMS without additional energy storage equipment.

2) The MMS participates in the shared ESS service.

3) The MMS participates in the shared HESS service.

4.2 Optimization results

Under the three cases, the annual operating cost of the MMS, the annual profit of the operator,and the renewable energy absorption rate are shown in Table 3. In Case 1,there is no additional energy storage equipment incorporated into the MMS. Excess energy is wasted, and power shortages are compensated by purchasing from the power grid. Its annual operating cost is 37,759,034 CNY, with a renewable energy absorption rate of only 69.78%, leading to significant wastage.

After participating in shared electric energy storage service, the power purchase of the MMS is more flexible and versatile. Excess electricity can also be sold to ESS, generating additional revenue and avoiding energy waste. The annual operating cost of the MMS decreased to 31,355,549 CNY, a decrease of 16.96% from Case 1.Renewable energy absorption rate increased to 100%. In addition, the operator receives a considerable amount of profit, amounting to 3,557,835 CNY annually.

In Case 3, hydrogen trading is incorporated into the shared energy storage service, providing users with hydrogen energy at prices substantially below market rates,while further enhancing the flexibility of microgrid users in both purchasing and selling electricity. The cost of the MMS is 30,152,336 CNY, a decrease of 7,606,698 compared to Case 1, a decrease of approximately 20.15%.Considering the hydrogen demand,the operator’s energy sales channels are expanded, with a consequent increase in profit. In this case, the operator can earn 5,717,427 CNY in annual profit. This is a rise of 2,159,592 CNY, nearly 60.71% from Case 2.

The following discusses the advantages of Case 3 compared with Case 2, focusing on the capacity configuration and payback periods. The outcomes of the optimized capacity are presented in Table 4. Due to the consideration of hydrogen demand, the system’s electrical energy allocation becomes more flexible. The capacity of ESS decreased by 2,991.69 kWh, representing a reduction of approx imately 55.35%, which significantly lowered its cost. However, to meet user demand, a P2G device with a power output of 1,385.85 kW and a hydrogen tank with a capacity of 5,543.40 kWh were added. Although the total equipment investment cost of Case 3 is less advantageous compared to Case 2, by analyzing Tables 1 an d 3, it can be concluded that the operator can expect to shorten the payback period due to higher benefits and the longer lifespan of the equipment.

Table 5 demonstrates the payback periods for each device as well as the operator, thus providing a clearer perspective on the economic benefits of the two cases. For both cases, the payback periods for the energy storage equipment are less than their respective lifetimes. It is theoretically feasible for operators to invest in shared energy storage. In Case 2, ESS can achieve payback in 3.59 years by selling electricity and charging a service fee. In Case 3,the addition of hydrogen trading further enhances the benefits. The payback pe riods for ESS, P2G device, and hydrogen storage tank are 1.64 years, 4.74 years, and 7.20 years, respectively. Operators can recover all equipment construction and maintenance costs in 3.02 years,which is a reduction of 0.57 years. It should be noted that the profits for the P2G device and hydrogen storage tank are calculated by distributing the total HSS revenue according to their investment proportion.

To summarize, the introduction of shared energy storage services can cut down user expenses, achieve a 100%renewable energy absorption rate, and provide considerable benefits to operators. The model introduced in this paper, integrating hydrogen energy with shared energy storage, demonstrates more incredible economic benefits for both users and operators when contrasted with conventional shared electric energy storage service.

4.3 Energy interaction

4.3.1 Energy interaction in Case 2

Figs. 3 and 4 illustrate the optimized charging and discharging behavior of ESS and the energy exchange dynamics on the microgrid side in Case 2, respectively. From Fig. 3, it can be observed that during several time periods,such as 14:00–16:00 and 20:00–24:00, the stock change is zero. Power is exchanged solely through the ESS bus,enabling the spatial transfer of energy. For the rest of the time, ESS is in a state of charging or discharging, maintaining the balance of the entire system by exchanging energy with the microgrid. From 00:0 0 to 08:00,the first accumulation of electricity occurred. Combined with Fig. 4, MG 1imported a significant amount of wind power into ESS during that period. Meanwhile, the two energy-deficient microgrids did not consume too much ESS stock but chose to purchase power from gas companies and the power grid to satisfy their load. After 8:00, the grid electricity prices rise rapidly. Microgrids stop purchasing power from the power grid and instead depend on the cheaper ESS supply. The ESS stock falls rapidly. The second phase of power accumulation occurs between 10:00 and 14:00, driven by a surge in photovoltaic (PV) generation. However, renewable energy generation exhibits inherent intermittency, with PV systems being particularly pronounced in this regard. As solar irradiance diminishes, PV output gradually declines to zero.Consequently, the MMS resumes drawing energy from ESS to maintain load demand.

Table 1 Economic parameters of HESS.

44f9c15a3932fb8a91771b28f3a3a019.jpg

Table 2 Energy interactive price list.

0d6f0bad67acfd38965d3e98bdc59a2c.jpg

Table 3 Comparison of costs, benefits and renewable energy absorption rate under three cases.

f4c5480e77f58564369c1dd3824f4770.jpg

Table 4 Outcomes of the optimized capacity configuratio n in Case 2 and Case 3.

a73d7d4935cc811b270206f552929cc5.jpg

4.3.2 Energy interaction in Case 3

Fig. 5 illustrates the optimization of charging and discharging for HESS in Case 3. According to Fig. 5(b),HSS discharges are mainly concentrated between 07:00 and 20:00, so hydrogen loads are concentrated during daytime hours. The selling price of electricity for microgrids is highest during 08:00–12:00 and 17:00–21:00 due to the time-of-use tariff. HSS needs to meet its electricity demand while avoiding purchasing at these peak periods. Therefore,the energy charging of HSS is primarily concentrated from 00:00 to 08:00 and from 12:00 to 16:00.

As shown in Fig. 5(a), from 00:00 to 08:00, the energy purchase decisions of ESS and HSS are similar, with both choosing to charge during the low-price period. However,the total chargi ng power of the two stations already exceeds the power supply available from microgrids.Combined with the data shown in Fig. 6, MG 2 and MG 3 both sacrificed some of their own interests during that period to purchase electricity from the grid to maintain the economic efficiency of the entire system.

4.4 Sensitivity analysis

Using the renewable energy input data in Section 4. 1 as the baseline (with a renewable energy penetration r ate of 1),Fig. 7 illustrates the impact of varying penetration rates on the shared hybrid electric-hydrogen energy storage system. In this experiment, the actual renewable energy penetration rate is 58.12%. As shown in the figure, when the penetration rate decreases, the capacity configurationdeclines accordingly, leading to economic losses for both operator and microgrids.

Table 5 Payback periods for each device and operator in Case 2 and Case 3.

f699df18944399838fd477d1af95cc90.jpg
a1a44d9033f8c988a75170ab233f4641.jpg

Fig. 3. Optimization of the charging and discharging energy for ESS on a typical spring day in Case 2.

In the initial stage of increasing penetration rates,microgrids can profit by selling more energy to the stations, while operators can reap greater benefits by deploying slightly larger storage systems. However, if the penetration rate continues to rise beyond a certain threshold, the energy input from the microgrid will far exceed the overall system’s load de mand.Operators must significantly expand energy storage capacity to accommodate the energy, which will lead to a sharp increase in the initial construction costs of the equipment.This not only reduces the operators’ annual revenue but also extends the investment payback period.

4.5 Adaptive analysis based on Monte Carlo simulation

Due to the randomness of wind turbines, PV systems,and loads, the operation of microgrids incorporating shared hybrid electric-hydrogen energy storage is significantly affected. To address this, the Monte Carlo method was employed to randomly generate 1,000 scenarios by combining the renewable energy output characteristics and load profiles of various users. These scenarios cover extreme cases such as peak loads, full output from wind turbines or PV systems, and extremely low generation.By simulating the operation under these scenarios, the optimal operational strategies for each scenario, as well as the economic benefits for users and operators, can be obtained.

839be9580d752132e0930f8aa3844f3b.jpg

Fig. 4. Optimization of the energy interaction for microgrids on a typical spring day in Case 2.

e9fed6ec5727386f20cc5a11d06f3bc1.jpg

Fig. 5. Optimization of the charging and discharging energy for HESS on a typical spring day in Case 3.

Fig. 8 presents a comparison of economic benefits between Case 3 and Case 2 across the 1000 generated scenarios. Positive values indicate that Case 3 has better economic benefits than Case 2. The figure clearly shows that the proposed shared hybrid electric-hydrogen energy storage service is superior to Case 2 in 94.3% of scenarios,achieving a win–win situation for microgrids and operators. In only 0.6% of cases, the proposed scheme is completely inferior to the traditional electricity-sharing model.These results indicate that even when considering uncertainty factors, the proposed scheme remains significantly superior to the traditional model. Monte Carlo simulations comprehensively assess the impact of various uncertainty factors on the model’s economic performance,thereby providing robust validation of its reliability. It should be noted that the determination of the benefit boundary is based on the calculation results of the maximum benefit difference between Case 3 and Case 2.

79d97341f89cacf5efb6afab949666c0.jpg

Fig. 6. Optimization of the energy interaction for microgrids on a typical spring day in Case 3.

e505deb318c42560161eb9d5036d67d0.jpg

Fig. 7. Sensitivity analysis of renewable energy penetration.

5 Conc lusion

For the CCHP MMS with hydrogen energy demand,this paper proposes a bi-level optimization model incorporating shared hybrid electric-hydrogen energy storage services. The upper-level model optimizes the life-cycle capacity configuration of HESS, while the lower-level model focuses on the operational optimization of the MMS, integrating cooling, heating, electricity, and hydrogen energy. By applying the KKT conditions, the lowerlevel model is transformed into constraints for the upperlevel model. Subsequently, the Big-M method linearizes nonlinear components, converting the problem into a MILP model. Case studies validate the economic feasibility and reliability of the proposed scheme,yielding the following key findings:

1) The proposed scheme enables users to access more flexible energy trading options and lower-cost energy procurement channels. The MMS achieves a 20.15%reduction in annual operating costs while increasing the renewable energy utilization rate to 100%.

2) The payback periods for ESS, P2G devices, and hydrogen storage tanks are 1.64 years, 4.74 years,and 7.20 years, respectively–all shorter than their expected service lives. The overall payback period for HESS is only 3.02 years, demonstrating significant profit potential for operators.

3) Integrated HSS-ESS services, capable of meeting diverse energy demands for CCHP microgrid users,demonstrate significant potential in future applications featuring high renewable energy penetration and multi-energy coupling.

d79996ff973d3fa268be0f155f74826c.jpg

Fig. 8. Comparison of economic benefits between Case 3 and Case 2 across the 1000 generated scenarios.

CRediT authorship contribution statement

Lu Li: Writing – original draft, Methodology. Xulong Zhou: Software. Shilong Chen: Supervision. Guihong Bi:Data curation. Zeliang Zhu: Validation. Yurui Fan: Formal analysis, Conceptualization.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Appendix A

c946b2c0cca09d816e6c2bcd95daa8da.jpg

Firstly, Lagrangian multipliers are introduced corresponding to the equational and non-equational constraints respectively. Then use the complementary slackness condition of KKT to construct the Lagrangian function (A1),the lower model can be reformulated as a supplementary constraint on the upper model. The obtained single-level mixed-integer nonlinear model is shown in equations.(A2) (A40).

be20f1d742b24498c0f7b6bdeb201f8c.jpg
257469ddb79796b0a0c68e072f72f72f.jpg

d043d731cb54b47a7b903f1c6850c6e5.jpg

8828f27c32e6d49162e9a7e5081f5df4.jpg

901ef42612486cfdee468778d77e3031.jpg

Appendix B

1ec05cffb0ab2999bab41e012b690b89.jpg

Fig. B1. Clustered data of microgrids

7e13ec5c7f2f97a61ef06da45d131f48.jpg

Fig. B2. Clustered data of the outside energy market

Appendix C

Table C1 Equipment-related parameters of microgrids.

67818751ee619551a5276b6c80019a52.jpg

References

[1]S. Raza et al., Advances in technology and utilization of natural resources for achieving carbon neutrality and a sustainable solution to neutral environment, Environ. Res. 220 (2023) 115135.

[2]J. Yao, H.D. Han, Y. Yang, Y.M. Song, G.H. Li, A review of recent progress of carbon capture, utilization,and storage(CCUS)in China, Appl. Sci.-Basel 13 (2) (2023) 1169.

[3]C.W. Lu, K. Wang, Natural resource conservation outpaces and climate change: Roles of reforestation, mineral extraction, and natural resources depletion, Res. Policy 86 (2023) 104159.

[4]X. Li, C.J. Raorane, C. Xia, Y. Wu, T.K.N. Tran, T. Khademi,Latest approaches on green hydrogen as a potential source of renewable energy towards sustainable energy: Spotlighting of recent innovations, challenges, and future insights,Fuel 334(2023).

[5]M.-T. Huang, P.-M. Zhai, Achieving Paris agreement temperature goals requires carbon neutrality by middle century with farreaching transitions in the whole society, Adv. Clim. Chang. Res.12 (2) (2021) 281–286.

[6]Y. Zhou, J. Wang, Y. Liu, R. Yan, Y. Ma, Incorporating deep learning of load predictions to enhance the optimal active energy management of combined cooling, heating and power system,Energy 233 (2021).

[7]Y. Li, F. Zhang, Y. Li, Y. Wang, An improved two-stage robust optimization model for CCHP-P2G microgrid system considering multi-energy operation under wind power outputs uncertainties,Energy 223 (2021).

[8]X. Yang, K. Liu, Z. Leng, T. Liu, L. Zhang, L. Mei, Multidimensions analysis of solar hybrid CCHP systems with redundant design, Energy 253 (2022).

[9]W. Guo, Q. Wang, H. Liu, W.A. Desire, Multi-energy collaborative optimization of park integrated energy system considering carbon emission and demand response, Energy Rep.9 (2023) 3683–3694.

[10]Z. Siqin, D. Niu, X. Wang, H. Zhen, M.Li, J.Wang,A two-stage distributionally robust optimization model for P2G-CCHP microgrid considering uncertainty and carbon emission, Energy 260 (2022).

[11]Z. Cheng, D. Jia, Z. Li, J. Si, S. Xu, Multi-time scale dynamic robust optimal scheduling of CCHP microgrid based on rolling optimization, Int. J. Electr. Power Energy Syst. 139 (2022).

[12]Y. Li, F. Yao, S. Zhang, Y. Liu, S. Miao, An optimal dispatch model of adiabatic compressed air energy storage system considering its temperature dynamic behavior for combined cooling, heating and power microgrid dispatch, J. Storage Mater.51 (2022).

[13]H. Chen et al., Grid resilience with high renewable penetration: A PJM approach, IEEE Trans. Sustain. Energ. 14 (2) (2023) 1169–1177.

[14]B. Modu, M.P. Abdullah, A.L. Bukar, M.F.Hamza,A systematic review of hybrid renewable energy systems with hydrogen storage:sizing, optimization, and energy management strategy, Int. J.Hydrogen Energy 48 (97) (2023) 38354–38373.

[15]B. Zheng, W. Wei, Y. Chen, Q. Wu,S.Mei,A peer-to-peer energy trading market embedded with residential shared energy storage units, Appl. Energy 308 (2022).

[16]N. Liu, M. Cheng, X. Yu, J. Zhong, J. Lei, Energy-sharing provider for PV prosumer clusters: a hybrid approach using stochastic programming and stackelberg game, IEEE Trans. Ind.Electron. 65 (8) (2018) 6740–6750.

[17]J. Liu, N. Zhang, C. Kang, D.S. Kirschen, Q. Xia, Decisionmaking models for the participants in cloud energy storage, IEEE Trans. Smart Grid 9 (6) (2018) 5512–5521.

[18]T. Zhang, Y. Ma, Y. Wu, L. Yi, Optimization configuration and application value assessment modeling of hybrid energy storage in the new power system with multi-flexible resources coupling, J.Storage Mater. 62 (2023).

[19]Q. Hassan, A.Z. Sameen, H.M. Salman, M. Jaszczur, A.K. Al-Jiboory, Hydrogen energy future: Advancem ents in storage technologies and implications for sustainab ility, J. Storage Mater.72 (2023).

[20]T. Zhang, J. Uratani, Y. Huang, L. Xu, S. Griffiths, Y. Ding,Hydrogen liquefaction and storage: recent progress and perspectives, Renew. Sustain. Energy Rev. 176 (2023).

[21]J. Li, Y. Xiao, S. Lu, Optimal configuration of multi microgrid electric hydrogen hybrid energy storage capacity based on distributed robustness, J. Storage Mater. 76 (2024).

[22]H. Deng et al., Optimization of configurations and scheduling of shared hybrid electric hydrogen energy storages supporting to multi-microgrid system, J. Storage Mater. 74 (2023).

[23]Q. Li, X. Xiao, Y. Pu, S. Luo, H. Liu, W. Chen, Hierarchical optimal scheduling method for regional integrated energy systems considering electricity-hydrogen shared energy, Appl. Energy 349(2023).

[24]Y.L. Xie et al., Shared energy storage configuration in distribution networks: A multi-agent tri-level programmin g approach, Appl.Energy 372 (2024) 123771.

[25]L. Li, et al., ‘‘A Review of Research on Shared Energy Storage Operation Models and Pricing Strategies,” in: Presented at the 2024 3RD Asian conference on Frontiers of Power and Energy,ACFPE 2024, 2024.

[26]S. Wu, J. Liu, Q. Zhou, C. Wang, Z. Chen, Optimal economic scheduling for multi-microgrid system with combined cooling,heating and power considering service of energy storage station,Automat. Electr. Power Syst. 43 (10) (2019) 10–18.

[27]Y. Xie, Y. Luo, Z. Li, Z. Xu, L. Li, K. Yang, Op timal allocation of shared energy storage considering the economic consumption of microgrid new energy, High Volt. Eng. 48 (11) (2 022) 4403–4412.

[28]F.Q. Xu, X.P. Li, C.H. Jin, Optimal capacity configuration and dynamic pricing strategy of a shared hybrid hydrogen energy storage system for integrated energy system alliance:a bi-level,Int.J. Hydrogen Energy 69 (2024) 331–346.

[29]S. Wu, Q. Li, J. Liu, Q. Zhou, C. Wang, Bi-le vel optimal configuration for combined cooling heating and power multimicrogrids based on energy storage station service, Power Syst.Technol. 45 (10) (2021) 3822–3832.

[30]A. Acakpovi, P. Adjei, N. Nwulu, N.Y. Asabere, P.-F. Pai,Optimal hybrid renewable energy system: a comparative study of wind/hydrogen/fuel-cell and wind/battery storage, J. Electr.Comput. Eng. 2020 (2020) 1–15.

Received 17 March 2025;revised 3 July 2025; accepted 19 September 2025

Peer review under the responsibility of Global Energy Interconnection Group Co. Ltd.

* Corresponding author.

E-mail addresses: 103586871@qq.com (L. Li), 2284778358@qq.com(X. Zhou), chenshilong3@163.com (S. Chen), KM_BGH@163.com(G. Bi), zhuzeliang99@163.com (Z. Zhu), yurui.fan@brunel.ac.uk(Y. Fan).

https://doi.org/10.1016/j.gloei.2025.09.001

2096-5117/© 2025 Global Energy Interconnection Group Co. Ltd. Publishing services by Elsevier B.V. on behalf of KeAi Communications Co. Ltd.

This is an open access article under the CC BY-NC-ND license(http://creativecommons.org/licenses/by-nc-nd/4.0/).

a241fefd0046e9c6167c699c23ce5a30.jpg

Lu Li received the Ph.D. degree at North China Electric Power University, Hebei, China, in 2015. Currently, she is an Associate Professor at the Faculty of Electrical Engineering, Kunming University of Science and Technology, Kunming, China. Her research interests include electricity markets and energy economics.

  • 目录

    图1