Next Article in Journal
Effects of the PMMA Molecular Weight on the Thermal and Thermo-Oxidative Decomposition as the First Chemical Stage of Flaming Ignition
Previous Article in Journal
Autonomous Hydrodistillation with a Digital Twin for Efficient and Climate Neutral Manufacturing of Phytochemicals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization Strategy for Shared Energy Storage Operators-Multiple Microgrids with Hybrid Game-Theoretic Energy Trading

1
Key Laboratory of Renewable Energy Power Generation and Grid-Connected Technology in the Autonomous Region, Xinjiang University, Urumqi 830017, China
2
Engineering Research Center of Renewable Energy Power Generation and Grid-Connected Control, Ministry of Education, Xinjiang University, Urumqi 830017, China
3
School of Energy Engineering, Xinjiang Institute of Engineering, Urumqi 830023, China
*
Author to whom correspondence should be addressed.
Processes 2024, 12(1), 218; https://doi.org/10.3390/pr12010218
Submission received: 18 December 2023 / Revised: 13 January 2024 / Accepted: 14 January 2024 / Published: 18 January 2024
(This article belongs to the Section Energy Systems)

Abstract

:
To address the issue of low utilization rates, constrained operational modes, and the underutilization of flexible energy storage resources at the end-user level, this research paper introduces a collaborative operational approach for shared energy storage operators in a multiple microgrids (ESO-MGs) system. This approach takes into account the relation of electricity generated by MGs and the integration of diverse energy storage resources managed by ESO. A hybrid game-theoretic energy trading strategy is employed to address the challenges associated with energy trading and revenue distribution in this joint operational mode. Firstly, a multi-objective master–slave game optimization model is developed with the objective of maximizing the revenue earned by shared energy storage operators while simultaneously minimizing the operational costs of multiple microgrids. Secondly, acknowledging the peer-to-peer (P2P) energy sharing dynamics inherent in the multiple microgrid system, a non-co-operative game model is formulated. This model seeks to establish a multi-microgrid Nash equilibrium and equitable income allocation. Finally, leveraging the Karush–Kuhn–Tucker (KKT) conditions and drawing upon the principles of strong duality theory, precise dimensionality reduction is executed on the master–slave game model. The non-co-operative income is iteratively determined using the alternating direction multiplier algorithm. The empirical findings of this study indicate that the integration of electric vehicle clusters contributes to flexible storage resources for shared energy storage operators. Moreover, the proposed hybrid game optimization strategy enhances the overall benefits for shared energy storage operators and multiple microgrids, thereby affirming the economic viability and reliability of this innovative strategy.

1. Introduction

The rapid advancement of emerging energy sectors, notably wind and solar power technologies [1], has elevated the importance of effectively harnessing distributed resources in the context of achieving carbon neutrality. Microgrids have emerged as a promising solution to enhance the efficient utilization of multiple energy sources, balance supply and demand dynamics, optimize energy resource allocation, and satisfy carbon neutrality objectives [2]. Extensive studies have shown that the integration of various microgrids operating in the same distribution network area can establish a robust multiple-microgrids system facilitated by peer-to-peer (P2P) energy trading mechanisms [3,4]. In instances where one subsystem faces a shortage of dispatchable resources, it can seek support from neighboring subsystems, thereby enhancing the economic viability and dependable operation of interconnected systems [5].
Energy storage, as a burgeoning technology in power systems, plays a pivotal role in ensuring the dependable operation and sustainable growth of the power grid. Nevertheless, the absence of viable commercial models for energy storage has resulted in an underutilization of available energy storage resources [6]. In recent years, the concept of the “sharing economy” [7] has given rise to the “shared energy storage” model, which integrates the principles of the sharing economy with large-scale energy storage facilities [8,9]. In contrast to conventional energy storage paradigms, the operation mode of shared energy storage (SES) leverages the synergistic effect of centralized energy storage and the complementary characteristics of load patterns, effectively aggregating dormant resources and maximizing their potential across various aspects of energy generation, grid management, load balancing, and energy storage [10]. This approach facilitates the provision of cost-effective energy storage services and enhances the profitability of the energy storage business model. Large-scale clusters of electric vehicles (EVs) can be consolidated into a generalized energy storage (GES) system with increased capacity and charging/discharging capabilities, meeting the prerequisites for participation in the electricity market [11]. Wu et al. [12] have proposed that EV clusters, characterized by their mobile and flexible load-storage profiles, represents a promising shared energy storage operational strategy. This not only enhances the efficiency of electric vehicle usage but also enhances the dispatchable potential of shared energy storage, alleviating the burden associated with allocating shared energy storage capacity. Considering the limited scale of new energy resources and load profiles in microgrids, relying solely on power interactions between microgrids’ yields restricts benefits in terms of enhancing local new energy integration rates and cost reduction. Deng et al. [13] have introduced shared energy storage solutions into multiple microgrids, yielding significant improvements in the local new energy integration rates in these interconnected microgrids. Xi et al. [14] have carried out a comprehensive configuration of shared energy storage systems in community settings, aligning the configurations with the specific requirements of community residents. Simulation results have corroborated the cost reduction achieved through the strategic deployment of shared energy storage in community environments.
When incorporating shared energy storage into multiple-microgrid systems, intricate energy interaction issues arise due to the distinct energy entities of shared storage and multiple microgrids [15,16]. These complexities stem from the presence of different energy entities, creating interdependencies that add to the intricacy of the overall energy landscape [17]. The exchange of energy inherently involves the exchange of interests [18]. As a result, connecting a shared energy storage system to multiple microgrids introduces conflicts of interest between the energy storage operators and multiple microgrids. Conventional dispatch methods struggle to effectively manage the multi-level and multi-agent economic dynamics between shared energy storage and multiple-microgrid systems. Game theory emerges as a valuable tool to explain the operational logic governing such complex systems and incentivize multiple agents to participate actively in market bidding [19]. The economic dynamics between shared energy storage and multiple microgrid systems can be characterized through the lenses of co-operative and non-co-operative game theory, offering a nuanced understanding of their interplay in the energy landscape. In characterizing the interplay between shared energy storage and multiple microgrid systems through co-operative game theory, a collaborative alliance emerges where shared energy storage and multiple microgrids engage in a co-operative game. The overarching objective of this alliance is to maximize collective benefits, optimizing energy transactions and profits between the shared energy storage and multiple microgrid systems. In characterizing the dynamics between shared energy storage and multiple-microgrid systems through non-co-operative game theory, each entity strives to maximize its individual benefits. Commonly, shared energy storage takes on a leadership role, while multiple-microgrid systems act as followers. In the context of a leader–follower competition among energy entities, the optimization is centered on enhancing energy transactions and profits between shared energy storage and multiple microgrid systems. Kim et al. [20] undertook an effort to enhance the overall revenue of multiple microgrids and allocate co-operative benefits using co-operative game theory principles. Their findings indicated notable profit improvements for each microgrid compared to independent operation. Guo et al. [21] developed a one-leader–multiple-followers Stackelberg game model, designating the entire microgrid system as the leader and renewable energy, energy storage, and load as followers. This model effectively co-ordinated the generation, grid, load, and storage of the microgrid, resulting in a Stackelberg equilibrium that balanced the interests of multiple parties while ensuring system safety and stability. In a separate study, Xu et al. [22] proposed a Nash bargaining co-ordination optimization scheduling model for shared energy storage in multiple microgrids, employing a dual-layer ADMM algorithm. This model promoted collaborative energy supply, leading to mutually beneficial results for shared energy storage and microgrids, fostering a win–win scenario. Cui et al. [23] addressed energy trading competition among building clusters and devised a microgrid trading strategy based on non-co-operative game theory. This strategy considered the self-interest of each agent in the energy trading process and maximized the benefits for all participating agents.
Despite the valuable insights provided by the aforementioned literature on energy interaction, profit allocation, and shared energy storage involvement in multiple microgrids, there remains certain limitations. Firstly, these studies have not taken into account the integration and effective utilization of shared energy storage resources in the geographical region. Secondly, the formulation of real-time electricity prices for buying and selling electricity by the game leader, based on the real-time electricity transactions of different entities at lower levels, has been overlooked. Therefore, the lower-level microgrid systems struggle to establish effective interactions with shared energy storage, dampening the enthusiasm of microgrid members to engage in electricity trading. In light of these challenges, this paper introduces the concept of shared energy storage operators tasked with co-ordinating and managing shared energy storage facilities and electric vehicle shared energy storage resources in a given region. ESO offer electricity purchase and sale services to MGs and play an active role in guiding the economic operations of MGs by establishing electricity prices for buying and selling electricity.
In summary, this paper introduces a novel hybrid game-based two-tiered optimization strategy tailored for an ESO-MGs system, which is dedicated to examining the shared energy storage operators in the context of multiple microgrids and aims to optimize the real-time electricity pricing set by ESO for MGs, as well as the profit distribution subsequent to energy sharing in MGs. The principal contributions of this study are outlined as follows:
(1)
A descriptive methodology has been devised to characterize the uncertain distribution of electric vehicle clusters. Utilizing a data-driven method, it expresses the uncertainty range bridging the empirical distribution of EV clusters and their actual distribution.
(2)
A hybrid game model has been constructed, including the master–slave game dynamics between the shared energy storage operator and the multiple microgrid systems, alongside a non-co-operative game in the MGs themselves. In the master–slave game, the upper-level model seeks to maximize the ESO’s revenue, while the lower-level model seeks to minimize the costs incurred by the MGs. The non-co-operative game formulates the problem of profit allocation among MGs as a decomposable Nikaido-Isoda (NI) regularized model, subdivided into three iteratively solvable subproblems. The establishment of overall and local incentive constraints for the MGs ensures optimal profits for each agent and promotes economic harmony in the settlement of the overall system.
(3)
To facilitate the effective resolution of the model, the lower-level MGs model is transformed into a constraint for the upper-level ESO model, leveraging the derivation of KKT conditions in the master–slave game. Building on strong duality theory, the real-time communication variable comprising electricity prices and power between the upper and lower levels is linearized, thus enabling the rapid and precise solution of the global strategic equilibrium in the multi-level, multi-agent system.

2. Shared Energy Storage Operator-Multiple-Microgrids System Operation Mode

The principal stakeholders engaged in the collaborative operation of the shared energy storage operators-multiple-microgrids system (ESO-MGs) consist of the integrated energy storage operator. This entity combines scalable electric vehicle storage resources and shared energy storage stations. Furthermore, it interfaces with the multiple-microgrid system, in conjunction with the higher-level grid.

2.1. Service Model of the Shared Energy Storage Operator

Figure 1 provides a visual representation of the orchestration and management of shared energy storage in the region by the shared energy storage operator. The ESO is also tasked with overseeing the energy storage assets associated with electric vehicle clusters. While ensuring the complete fulfillment of electric vehicle charging requirements, the ESO seeks to cultivate the adaptable characteristics of its load storage resources. This, in turn, enhances the efficiency of energy storage asset utilization in the region, while concurrently offering electricity trading services to the multiple-microgrid system. The revenue streams for the shared energy storage operator are primarily derived from four sources: (1) the price differential between the settlement of energy storage and retrieval transactions between microgrid users and the ESO; (2) the levies levied by the ESO for provisioning electricity trading services to users, along with the fees remitted by users for grid connectivity; (3) the variance in pricing during the settlement of electricity procurement and sales transactions by the ESO with the grid; and (4) the charges imposed by the ESO for the provision of charging services to the EV clusters.

2.2. Microgrid Architecture

From Figure 2, the internal infrastructure of the microgrid comprises renewable energy generation systems (RGs), hydrogen energy systems (HES) (operating in a combined heat and power mode), gas boilers (GB), and electric heating (EH). Predicated on the internal resource allocation, the microgrid optimizes the operational outputs of these devices and manage electricity transactions between microgrids. This optimization is executed with the overarching aim of meeting the demand–supply equilibrium of both electricity and heat loads. The procurement of natural gas, a necessary component for the operation of gas boilers, is conducted through the gas system operator (GSO).
The energy trading framework of ESO-MGs is illustrated in Figure 3.
Figure 3 explains the dynamics in the MG system. In situations where there is an excess of electricity, it can be disseminated to other microgrids with electricity requirements through localized transactions. In cases where local consumption does not suffice to absorb this surplus, the excess electricity can be sold to the ESO. Conversely, when a microgrid experiences a deficit in electricity supply, it has the option to acquire electricity from fellow MG system members, and any remaining shortfall can be procured from the ESO. It is essential to note that, due to technical prerequisites and policy constraints that inhibit microgrid users from feeding electricity back into the grid, microgrids are limited to purchasing electricity from the grid or selling surplus electricity directly to the ESO or even discarding it. In its capacity as the custodian of shared energy storage resources and the energy provider to lower-level MGs, the ESO possesses the capability to sell surplus electricity to the external grid and acquire electricity from external sources during shortages. Additionally, the ESO establishes the pricing framework for electricity procurement and distribution with the objective of optimizing its own revenue.

3. Hybrid Game-Based Optimization Model for Energy Trading between the Energy Storage Operator and Multi-Microgrid

3.1. Leader–Follower Game Model between the Shared Energy Storage Operator and Multiple-Microgrid

3.1.1. Leader Model of ESO

The shared energy storage operator is composed of shared energy storage and electric vehicle cluster. By orchestrating and managing these two types of energy resources, the shared energy storage operator delivers electric power services to multiple microgrids.
(1)
Objective Function
The revenue of the shared energy storage operator consists of revenue from purchasing/selling electricity to/from the external power grid, revenue from purchasing/selling electricity to/from multiple microgrids, income from collecting grid usage fees from multiple microgrids, and income from charging fees from the electric vehicle cluster. The shared energy storage operator aims to maximize the sum of these revenues as the objective function.
The upper limits for energy transmission capacities, including ESO to power grid, ESO to MGs, and MG to MG, are outlined in Appendix A, Table A1. The upper and lower limits for the electricity purchase and sale prices from multiple microgrids to the ESO are illustrated in Appendix A, Figure A1. The purchasing and selling electricity prices from ESO to the power grid are illustrated in Appendix A, Figure A2.
max E = max ( E ess + E m + E serve + E c ) E ess = t = 1 T ( U db ( t ) P buy ( t ) U ds ( t ) P sell ( t ) ) E m = i I t = 1 T ( γ sell , i ( t ) P m , s , i ( t ) γ buy , i ( t ) P m , b , i ( t ) ) E serve = i = 1 I ω serve ( P m , s , i ( t ) + P m , b , i ( t ) ) E c = u t = 1 T ( P ch GES ( t ) P dis GES ( t ) )
In the equation, E ess , E m , and E serve represent the revenue from electricity purchase and sale to the grid, the revenue from participating in electricity trading with MGs, and the revenue from grid connection fees charged to MGs. E c represents the fees paid by the electric vehicle clusters to the operator for charging services. U db , U ds , γ buy , i , and γ sell , i represent the purchase and sale prices of electricity between the ESO and the grid, as well as the purchase and sale prices of electricity between the ESO and MGi. P buy ( t ) , P sell ( t ) , P m , b , i ( t ) , and P m , s , i ( t ) represent the purchase and sale power between the ESO and the grid at time t, as well as the purchase and sale power between MGi and the energy storage operator. ω serve represents the coefficient fees remitted by users for grid connectivity with ESO. P ch GES ( t ) and P dis GES ( t ) represent the charging and discharging power of the energy storage device aggregated by the EV cluster at time t. u represents the utility coefficient of electric vehicles.
(2)
Constraints for SES
The shared energy storage is a crucial component of the shared energy storage operator. The energy capacity constraints and charge–discharge constraints for the shared energy storage are expressed by the following equation:
η min SOC E F ess E ess ( t ) η max SOC E F ess E ess ( 1 ) = 0.1 E F ess E ess ( t ) E ess ( t 1 ) = η ch ess P ch ess ( t ) P dis ess ( t ) η dis ess Δ t E ess ( T ) = E ess ( 1 ) 0 P ch ess ( t ) P ch , max ess ω ch ess , 0 P dis ess ( t ) P dis , max ess ω dis ess ω ch ess + ω dis ess = 1 , ω ch ess { 0 , 1 } , ω dis ess { 0 , 1 }
In the equation, η min SOC and η max SOC denote the charging and discharging depths of energy storage; η ch ess and η dis ess denote the charging and discharging efficiency of energy storage. Additionally, P ch , max ess and P dis , max ess signify the maximum power capacity for charging and discharging, while P ch ess ( t ) and P dis ess ( t ) represent the charging and discharging power of energy storage at time t. Moreover, E F ess , E ess ( t ) , ω ch ess , and ω dis ess represent the capacity of energy storage, the capacity of energy storage at time t, and the binary parameters for charging and discharging of energy storage.
(3)
Uncertainty Set for EV Cluster
Due to the limited size of the EV cluster sample, potential discrepancies may arise between the empirical EV cluster distribution and its actual counterpart [17]. Therefore, a data-driven approach becomes essential to depict this uncertainty. The uncertainty set between the empirical and actual EV cluster distributions is detailed below. A comprehensive description of the electric vehicle cluster modeling can be found in Appendix B, Equations (A1) and (A2).
Ψ = ρ N type + | | ρ ρ 0 | | 1 θ 1 | | ρ ρ 0 | | θ | | ρ | | 1 = 1
In the equation, Ψ represents the uncertainty set. ρ denotes the vector consisting of uncertain variable distributions, i.e., representing the proportion of each type of electric vehicle. ρ 0 depicts the initial empirical distribution of uncertain variables, i.e., ρ 0 = { ρ n , 0 , n N * EV } , representing the frequency of each type of electric vehicle in historical data. θ 1 and θ indicate the matrix boundaries of the uncertainty set.
According to Zhao et al. and Ding et al. [24,25], { ρ 0 } satisfies the following confidence level:
Pr { | | ρ ρ 0 | | θ 1 } 1 2 K e ( 2 M θ 1 / K ) Pr { | | ρ ρ 0 | | θ } 1 2 K e ( 2 M θ )
(4)
Constraints for ESO-MGs Interconnection Power
0 P m , s , i ( t ) P max ξ i 0 P m , b , i ( t ) P max ( 1 ξ i ) ξ i { 0 , 1 }
In the equation, P max represents the maximum value for electricity purchase and sale, P m , b , i ( t ) and P m , s , i ( t ) represent the electricity purchased and sold by MGi from ESO at time t, and ξ i denotes the binary parameter that restricts simultaneous electricity purchase and sale by the Energy Storage Operator (ESO).
(5)
Constraints for ESO-Power Grid Interconnection Power
0 P buy ( t ) μ buy P grid , max 0 P sell ( t ) μ sell P grid , max μ buy + μ sell 1
In the equation, P grid , max represents the maximum value for electricity purchase and sale by ESO from/to the power grid. μ buy and μ sell represent the binary parameters restricting simultaneous electricity purchase and sale by ESO.
(6)
Constraints for MGs Electricity Purchase and Sale Prices
γ sell , i , min ( t ) γ sell , i ( t ) γ sell , i , max ( t ) γ buy , i , min ( t ) γ buy , i ( t ) γ buy , i , max ( t ) γ buy , ave , min γ buy , i ( t ) γ buy , ave , max γ sell , ave , min γ sell , i ( t ) γ sell , ave , max
In the equation, γ sell , i , min and γ sell , i , max represent the upper and lower limits of the electricity sale price from MGi to ESO and γ buy , i , min and γ buy , i , max denote the upper and lower limits of the electricity purchase price from MGi to ESO. γ buy , ave , min and γ sell , ave , min depict the minimum average value of the electricity purchase and sale prices from MG to ESO; γ buy , ave , max and γ sell , ave , max indicate the maximum average value of the electricity purchase and sale prices from MGs to ESO.
(7)
Power Balance Constraints
P buy ( t ) P sell ( t ) + P ch GES ( t ) P dis GES ( t ) + i = 1 I ( P m , s , i ( t ) P m , b , i ( t ) ) = P ch ess ( t ) P dis ess ( t )
In the equation, P ch GES ( t ) and P dis GES ( t ) represent total charging and discharging power of EV cluster at time t.

3.1.2. Follower Optimization Model for Multiple Microgrid

The specific modeling of internal devices in the multiple microgrid is shown in Appendix C, Equations (A3)–(A7).
(1)
Objective Function
MGs aim to minimize operating costs as the objective function.
min C = min t = 1 T ( C run + C tran + C gas + C serve ) C run = i = 1 I ω w P w , i ( t ) + ω pv P pv , i ( t ) + ω fue P fue , i ( t ) + ω ele P ele , i ( t ) + ω eh P eh , i ( t ) + ω GB M GB , i ( t ) C tran = i = 1 I γ sell , i ( t ) P m , s , i ( t ) + γ buy , i ( t ) P m , b , i ( t ) C gas = i = 1 I c GB M GB ( t ) C serve = i = 1 I ω serve ( P m , s , i ( t ) + P m , b , i ( t ) )
In the equation, C run , C tran , C gas , and C serve represent the operation and maintenance costs of MGs, the electricity interaction costs, the gas purchase costs, and the grid connection fees paid to the energy storage operator (ESO). ω w , ω pv , ω fue , ω ele , ω eh , and ω GB denote the operation coefficients of wind turbines, photovoltaic power plants, fuel cells, electrolyzers, electric heating, and gas boilers, respectively. c GB depicts the cost of purchasing gas according to unit volume.
(2)
Constraints
Demand Response in MGs:
P e , i ( t ) = P e , load , i ( t ) P e , cut , i ( t ) + P e , tran , i ( t ) 0 P e , cut , i ( t ) λ e , cut P e , load , i ( t ) λ e , tran P e , load , i ( t ) P e , tran , i ( t ) λ e , tran P e , load , i ( t ) t = 1 T P e , tran , i ( t ) = 0 P h , i ( t ) = P h , load , i ( t ) P h , cut , i ( t ) + P h , tran , i ( t ) 0 P h , cut , i ( t ) λ h , cut P h , load , i ( t ) λ h , tran P h , load , i ( t ) P h , tran , i ( t ) λ h , tran P h , load , i ( t ) t = 1 T P h , tran , i ( t ) = 0
In the equation, P e , i ( t ) and P h , i ( t ) represent the electric load and heat load of MGi after demand response at time t. P e , cut , i ( t ) and P e , tran , i ( t ) denote the reducible electric load and transferrable electric load of MGi at time t. P h , cut , i ( t ) and P h , tran , i ( t ) depict the reducible heat load and transferrable heat load of MGi at time t. λ e , cut and λ h , cut indicate the proportion of reducible electric load and reducible heat load. λ e , tran and λ h , tran symbolize the proportion of transferrable electric load and transferrable heat load.
Electric Balance Constraint:
P w , i ( t ) + P pv , i ( t ) + P fue , i ( t ) + P m , b ( t ) P m , s ( t ) P e , i ( t ) P tran , i ( t ) = 0
Heat Balance Constraint:
n ex ( H ele , i ( t ) + H fue , i ( t ) ) + H eh , i ( t ) + H GB , i ( t ) P h , i ( t ) = 0
In the equation, n ex represents the heat conversion coefficient of the heat and power cogeneration system with hydrogen storage.
Power Constraint for MG-MG Interconnection Lines:
0 P i , i 2 t μ i , i 2 t P i , i 2 max i , i 2 , i i 2 P i , tran ( t ) = i , i 2 I P i , i 2 t μ i , i 2 t + μ i 2 , i t 1
In the equation, I = { i 1 , i 2 , i 3 } represents the set of MGs. P i , i 2 t represents the electric power transmitted from MGi to MGi2 at time t. P i , i 2 max denotes the maximum electric power transmitted from MGi to MGi2 at time t. μ i , i 2 t and μ i 2 , i t depict binary variables.

3.2. Profit Allocation Model for Multi-Microgrid Based on Non-Co-Operative Game

The procedure for modeling electricity interaction costs and profit settlement in a multi-microgrid environment based on a non-co-operative game unfolds as follows. Firstly, the determination of the upper limit of individual rationality (ideal electricity interaction cost) for each participant in the non-co-operative game model is executed, leading to the formulation of the game’s strategy set. Secondly, both local and global incentive constraints are imposed upon the non-co-operative game. Finally, leveraging the obtained variable relationships from the modeling phase, the expression for profit settlement among microgrids is derived.

3.2.1. Upper Limit of Individual Rationality and Construction of Strategy Set for Non-Co-Operative Game Participants

(1)
Upper Limit of Individual Rationality for Non-Co-operative Game Participants
In the calculation of electricity interaction costs, it is necessary to establish the upper limit of individual rationality for each microgrid in the non-co-operative game model, signifying the ideal electricity interaction cost settlement. The modeling process for this ideal cost settlement proceeds as follows:
Utilizing the electricity interaction volumes between sub-areas acquired during the initial phase, the determination of the worst-case interaction price range (λmin, λmax) becomes essential, ensuring that every sub-area can achieve profitability through electricity exchange, even when procuring electricity at the highest possible price and selling it at the lowest price in this defined price range. The specific solution process is outlined in the following equation:
max ( λ max λ min ) s . t .   t = 1 T λ max max { 0 , e i t } + λ min min { 0 , e i t } C i 0 C i share , i I λ max λ min > 0 λ max , λ min > 0
In the equation, λ max and λ min represent the upper and lower limits of electricity prices, respectively. Similarly, e i t , C i 0 , and C i share denote the electricity interaction volume of MGi at time t, the cost associated with independent operation, and the cost associated with participating in electricity interaction.
When an MG procures electricity from other MGs at the lowest available price and sells its own electricity at the highest available price, the resulting cost of settled electricity interaction can be regarded as the ideal electricity interaction cost. This ideal cost serves as the upper boundary for individual rationality in the non-co-operative game involving MGs.
C i ref = λ min max { 0 , e i t } + λ max min { 0 , e i t }
In the equation, C i ref represents the ideal electricity interaction cost for MGi when engaging in electricity interaction.
(2)
Construction of Strategy Set for Non-Co-operative Game
To encourage MGs to approach the ideal electricity interaction cost as closely as possible, γ R N is introduced to assess the willingness of the MG to reduce costs.
γ i = π i C i ref C i 0 C i share C i ref
The strategy space set of the non-co-operative game model is obtained as γ = { γ 1 , γ 2 , γ 3 } and π = { π 1 , π 2 , π 3 } , where represents the strategy set of MGi.

3.2.2. Local and Global Incentive Constraints for Non-Co-Operative Game Model

The resolution of electricity interaction costs among MGs must adhere to the subsequent incentive constraints:
(1)
Local incentive constraint: the cost incurred by participating in electricity interaction for an MG must be lower than the cost of operating independently, thus indicating that the MG can derive benefits from participating in interconnection.
C i ref < π i < C i 0 C i share
(2)
Global incentive constraint: in order to ensure fairness in the settlement of electricity interaction costs among MGs and to prevent detrimental competition aimed at cost reduction among MGs, the total cost of electricity interaction involving three MGs must be constrained to zero.
i = 1 I π i = 0
In the equation, π i represents the electricity interaction cost of MGi.

3.2.3. Profit Settlement for MG

P r o i = C i 0 ( π i + C i share )
The difference between the cost C i 0 of MGi in independent operation and the cost π i + C i share of MGi in interconnected operation can be regarded as the profit of MGi, as shown in the equation below.
In the equation, P r o i represents the profit of MGi.

4. Mixed-Game Bi-Level Optimization Model Solution

The process for finding a solution to the shared energy storage operator—multi-microgrid master–slave—non-co-operative mixed game is depicted in Figure 4.
From Figure 4, the dynamic between ESO and the MGs system is characterized as a master–slave game. The ESO, in the role of the master, aims to maximize revenue, whereas the MGs, serving as followers, strive to minimize overall operational costs. Operational states are exchanged between ESO and MGs. Considering that the master–slave game presents a dual-objective optimization challenge, the KKT conditions are employed for a more efficient resolution, converting the dual-level optimization into a single-level problem. Additionally, the application of the strong duality principle helps remove the communication variable product in the dual-level model, thus leading to a solution that meets the requirements of this dual-level optimization issue. The profit distribution in the MGs system follows a non-co-operative game framework. Firstly, the upper boundary of competition and the set of optimization strategies for the non-co-operative game are established, rooted in the results of electricity sharing from the master–slave game. Secondly, global and local incentive constraints are implemented to manage the competition in the non-co-operative game. Finally, an NI regularization function is devised, transforming the profit distribution issue of the MGs’ non-co-operative game into a solvable mathematical model. This model is then progressively resolved using the ADMM algorithm.

4.1. Solving the Master–Slave Game Model Based on KKT Conditions and Strong Duality Theory

The master–slave game optimization problem is transmuted into a single-layer mixed-integer linear programing problem through the precise application of KKT conditions and the incorporation of the strong duality theory. The specific constraints introduced for this purpose are depicted in Equations (20) and (21). The formulation of the augmented Lagrangian function is detailed in Appendix D, Equation (A8).
(1)
Partial derivative constraints
ω ele λ 5 + λ 17 + λ 8 u 9 + u 10 = 0 ; ω fue λ 5 λ 9 λ 10 u 5 + u 6 = 0 ω eh λ 5 + λ 11 u 7 + u 8 = 0 ; P m , s + u 22 u 21 = 0 P m , b + u 20 u 19 = 0 ; λ 1 λ 5 = 0 ; λ 1 u 1 + u 2 = 0 λ 1 + λ 3 u 11 + u 22 = 0 ; λ 2 λ 6 = 0 λ 2 u 3 + u 4 = 0 ; λ 2 + λ 4 = 0 ; λ 5 ( : , 1 ) + λ 13 u 13 + u 14 = 0 λ 5 ( : , 1 ) + λ 14 u 15 + u 16 = 0 ; λ 5 ( : , 2 ) + λ 13 = 0 λ 5 ( : , 2 ) + λ 15 u 17 + u 18 = 0 ; λ 5 ( : , 3 ) + λ 14 = 0 λ 5 ( : , 3 ) + λ 15 = 0 ; n ex λ 6 λ 7 = 0 n ex λ 6 λ 9 = 0 ; λ 6 + λ 11 = 0 G HHV / n H 2 λ 8 G HHV λ 7 k 1 λ 12 = 0 G HHV λ 9 + G HHV λ 10 + k 1 λ 12 = 0 λ 12 ( 2 : T ) λ 12 ( 1 : T ) u 11 ( 2 : T ) + u 12 ( 2 : T ) = 0 c GB / ( η G B L N G ) + ω GB + λ 6 u 23 + u 24 = 0
In the equation, λ 1 λ 15 represents the Lagrange multiplier introduced to address the equality constraint.
(2)
Complementary slackness condition constraints
0 u 1 ( P e , cut ) 0 ; 0 u 2 ( P e , cut λ e , cut P e , load ) 0 0 u 3 ( P h , cut ) 0 ; 0 u 4 ( P h , cut λ h , cut P h , load ) 0 0 u 5 ( P fue ) 0 ; 0 u 6 ( P fue P fue , max ) 0 0 u 7 ( P eh ) 0 ; 0 u 8 ( P eh P eh , max ) 0 0 u 9 ( P ele ) 0 ; 0 u 10 ( P ele P ele , max ) 0 0 u 11 ( E min H 2 E H 2 ) 0 ; 0 u 12 ( E H 2 E max H 2 ) 0 0 u 13 ( P wire P 12 ) 0 ; 0 u 14 ( P 12 P wire ) 0 0 u 15 ( P wire P 23 ) 0 ; 0 u 16 ( P 23 P wire ) 0 0 u 17 ( P wire P 13 ) 0 ; 0 u 18 ( P 13 P wire ) 0 0 u 19 ( γ buy ) 0 ; 0 u 20 ( γ buy γ buy , max ) 0 0 u 21 ( γ sell ) 0 ; 0 u 22 ( γ sell γ sell , max ) 0 0 u 23 ( : , 1 ) ( H G B ( : , 1 ) ) 0 ; 0 u 24 ( : , 1 ) ( H GB ( : , 1 ) H GB 1 , max ) 0 0 u 23 ( : , 2 : 3 ) ( H G B ( : , 2 : 3 ) ) 0 ; 0 u 24 ( : , 2 : 3 ) ( H G B ( : , 2 : 3 ) H GB 2 , 3 , max ) 0
In the equation, u 1 u 23 represents the Lagrange multiplier introduced to address the inequality constraint. Due to the nonlinear nature of Equation (21), the big-M method is employed to introduce Boolean variables and transform the complementary relaxation condition into a cutting plane constraint. The specific linearization process is shown in Appendix E, Equations (A9) and (A10).
(3)
Elimination of bilinear term products using strong duality theory
Considering that the lower-level follower model lacks Boolean variables and constitutes a convex function, it adheres to the strong duality principle. This principle asserts that the optimal solution of the lower-level primal problem coincides with the optimal solution of the dual problem. Therefore, in alignment with the strong duality theory, the bilinear term products of electricity price and power in the objective function are substituted with linearized expressions employing dual variables. The detailed linearization method is depicted in Equations (22) and (23).
P m , s = u 24 u 23 P m , b = u 21 u 22
Deriving from the constraints of partial derivatives and cutting planes, the following results are obtained:
Substituting Equation (22) into Equation (8), the linearized expression with the coupling of master–slave game communication variable products is:
γ sell P m , s γ buy P m , b = u 24 γ sell , max u 23 γ sell , min ( u 21 γ buy , min u 22 γ buy , max )
Substituting Equation (23) into Equation (1), the final objective function of the master–slave game is as follows:
max E = max ( E ess + E m + E serve ) + max ( E c ) E ess = t = 1 T ( U db ( t ) P buy ( t ) U ds ( t ) P sell ( t ) ) E m = i I t = 1 T ( u 24 , i ( t ) γ sell , max ( t ) u 23 , i ( t ) γ sell , min ( t ) ( u 21 , i ( t ) γ buy , min ( t ) u 22 , i ( t ) γ buy , max ( t ) ) ) E serve = i = 1 I ω serve ( P m , s , i ( t ) + P m , b , i ( t ) ) , E c = u t = 1 T ( P ch GES ( t ) P dis GES ( t ) )

4.2. Solving the Non-Co-Operative Game Model Using the ADMM Algorithm

The strategy space of the non-co-operative game comprises two decision variables π and γ , between which there are connecting constraints, Equation (16). Thus, the non-co-operative game is modeled as a regularized NI function. In this model, the iterative process for the two decision variables is divided, and the ADMM algorithm is applied to resolve the non-co-operative game model. The precise steps of this solution method are as follows:
(1)
Construct the regularized NI function:
L ( π , γ , ω ) = | | γ | | 2 2 + τ 2 i I π i C i ref C i 0 C i share C i ref γ i + ω i τ 2
(2)
Update the decision variable π i ( k + 1 ) :
π i ( k + 1 ) = arg min L ( π i , γ ( k ) , ω ( k ) ) s . t . C i ref < π i < C i 0 C i share , i I
(3)
Update the decision variable γ ( k + 1 ) :
γ ( k + 1 ) = arg min L ( π ( k + 1 ) , γ , ω ( k ) ) s . t . i I γ i ( C i 0 C i share C i ref ) + C i ref = 0 , i I
(4)
Update ω i ( k + 1 ) :
ω i ( k + 1 ) = ω i ( k ) + τ π i ( k + 1 ) C i ref C i 0 C i share C i ref γ i ( k + 1 ) , i I
(5)
Update the iteration count k = k + 1:
| | ω ( k + 1 ) ω ( k ) | | ζ , convergence   in   the   Kth   iteration k > k max , the   algorithm   does   not   converge
(6)
Check the convergence of the algorithm.
According to the aforementioned procedure, the issue is addressed through iteration. Should the convergence criterion in Equation (29) be met, the solution process concludes. In contrast, if the criterion in Equation (29) is not fulfilled, the procedure reverts to step 2 for subsequent iteration. This continues until either the convergence criterion is met or the maximum convergence limit is attained.

5. Case Study Analysis

This article utilizes wind power generation and load data from three adjacent microgrids in a specific area in Xinjiang, China. The count of electric vehicle (EV) clusters amounts to 500. MATLAB 2020 serves as the experimental platform, with the Gurobi solver used for computation. In the non-co-operative game, the ADMM algorithm’s upper limit for iterations is 20, with penalty factors and convergence precision established at 2 × 10−3 and 1 × 10−10, respectively. The EVs charging and discharging coefficients and battery capacities are listed in Appendix E, Table A2. The SES charging and discharging coefficients and battery capacities are listed in Appendix E, Table A2. The duration of stay for EVs are listed in Appendix F, Table A3, while the internal equipment parameters of the MGs are available in Appendix F, Table A4.

5.1. Scheme Comparison

To verify the effectiveness of the proposed operational optimization strategy in enhancing the economic benefits of energy storage operation (ESO) and reducing MGs’ costs, the following scenarios are introduced:
Scenario 1: solely considering electricity sharing among MGs without ESO involvement.
Scenario 2: solely focusing on the master–slave game between ESO and MGs, disregarding electricity trading among lower-level MGs.
Scenario 3: incorporating the mixed game involving ESO and MGs and the electricity trading among lower-level MGs.
Specific comparison results regarding benefits and costs are presented in Table 1 and Table 2.
Table 1 reveals that, in Scenario 1, the total cost of MGs is CNY 6093.8218 lower than that in Scenario 2. Scenario 3, enabled by sufficient energy supply, allows MG to achieve local consumption through peer-to-peer electricity trading, reducing the total cost of MGs by CNY 6673.4779 compared to Scenario 2. Scenario 3, integration of ESO, lowers the total cost of MGs by CNY 579.6561 compared to Scenario 1. These results suggest that, on the basis of power sharing in MGs, ESO offering power purchase and sale services to MGs enhances the overall economic and reliable operation. In Scenario 3 compared to Scenario 2, ESO revenue increases by CNY 422.7511, demonstrating that ESO’s mixed-game pricing strategy effectively formulates an electricity pricing scheme, maximizing ESO’s revenue while minimizing MGs’ costs, thus improving co-ordination between ESO and MGs.
To verify the superiority of the proposed non-co-operative game strategy concerning income distribution among lower-level MGs, various validation scenarios are formulated.
Scenario A: allocating MGs’ income based on the Nash bargaining solution.
Scenario B: allocating MGs’ income based on the proposed non-co-operative game.
From Table 2, it can be seen that, following the implementation of electricity sharing among MGs, income levels for MGs exhibit varying degrees of improvement. In the income distribution scheme based on the non-co-operative game, MG1′s income registers an increase of CNY 469.2311, MG2′s by CNY 260.0482, and MG3′s by CNY 5944.1985, when contrasted with the co-operative game Nash bargaining solution. This non-co-operative game-based income distribution, as proposed in this study, not only reflects fairness and equity but also aligns more closely with the maximization of individual income.

5.2. Mixed-Game Results

5.2.1. Shared Energy Storage Operation Analysis

The charging, discharging power, and capacity variations of the shared energy storage are shown in Figure 5.
From Figure 5, it is evident that the SES attains its maximum charging and discharging power at 06:00 and 17:00, respectively. Energy storage levels reach their upper limit at 06:00 and the lower limit at 01:00, 14:00, and 20:00. During other time intervals, the SES effectively maintains the system’s energy balance through interactions with other devices in the joint operation system.

5.2.2. Charging and Discharging of Three EV Clusters

The charging and discharging power of the three EV clusters regulated by ESO are shown in Figure 6.
From Figure 6, it can be observed that, under the management of ESO, the three types of EV clusters exhibit organized charging and discharging throughout the day. The first type charges at 09:00 and from 15:00 to 17:00, discharging at 10:00–11:00 and 14:00. The second type charges at 08:00–09:00 and 15:00–16:00, discharging at 10:00–11:00 and 14:00. The third type charges at 9:00 and from 15:00 to 17:00, discharging at 11:00–14:00. This demonstrates the flexibility of EV clusters in providing load and energy storage resources to ESO. When SES resources are insufficient, EVs release energy to support ESO’s power supply services while still satisfying charging needs of customers during their EV stationary periods. The empirical distribution of EVs is shown in Appendix E, Figure A3.

5.2.3. Electricity Price Determination Analysis

The purchase and sale electricity prices set by ESO for MGs are shown in Figure 7.
From Figure 7, it can be observed that MG2 has the lowest price of electricity purchased, because it purchases relatively more electricity from ESO, while MG1 and MG3, which purchase almost no electricity, have slightly higher prices. This observation highlights ESO ability to establish a rational electricity price distribution strategy based on real-time electricity procurement data from lower-level MGs, thereby optimizing ESO revenue without imposing undue electricity expenses on MGs. The rationale and determinants influencing electricity sale pricing strategies among MGs align with electricity purchase pricing strategies.

5.2.4. MGs Electricity Trading Analysis

The electricity trading among MGs is shown in Figure 8.
From Figure 8, it becomes apparent that electricity sharing primarily occurs in the MG community during two timeframes: 01:00–07:00 and 18:00–24:00. During these intervals, MG1 finds itself procuring surplus electricity from MG2 and MG3 due to a constrained supply of load. Conversely, during the 08:00–17:00 window, MG3 encounters a temporary deficit in internal energy generation, leading to its acquisition of electricity from MG1 and MG2 to balance its energy demands. This observation highlights the role of resource-based electricity sharing among MGs in promoting local energy consumption. Therefore, this practice curtails the need for extensive electricity exchanges between MGs and the central grid, resulting in a more stabilized grid power profile.

5.2.5. Internal Operation Analysis of MGs

This section employs MG2 as a case study to dissect the dynamics of energy supply and demand balance. Figure 9 presents the results of electricity and heat optimization efforts undertaken in MG2. The results of electricity and heat optimization efforts undertaken in MG1 and MG3 are shown in Appendix F Figure A4 and Appendix G Figure A5. The internal energy balance within the ESO is shown in Appendix G, Figure A6.
From Figure 9, it is evident that MG2 exhibits the lowest electricity consumption during the timeframe spanning from 01:00 to 09:00. Therefore, MG1 refrains from procuring electricity from ESO, opting instead for an internal electricity equilibrium through collaborative electricity sharing. During the peak hours of electricity demand, namely, from 10:00 to 14:00 and 18:00 to 20:00, MG2 elects to acquire electricity from the ESO and facilitate electricity distribution amongst the various MGs to establish interconnectivity. During this interval, the ESO establishes a lower electricity pricing structure for MG2, thus minimizing its operational expenditure. Between 08:00 and 09:00, MG2 engages in the resale of electricity acquired from other MGs to the ESO, thereby capitalizing on arbitrage opportunities while simultaneously satisfying its energy requisites. This serves as a compelling illustration of MG2′s adeptness in optimizing energy utilization efficiency and realizing economic advantages in the complex framework of multi-level and multi-subject energy interactions.
From Figure 10, it becomes apparent that the hydrogen energy storage (HES), electric heater (EH), and gas boiler (GB) collaborate harmoniously to maintain dynamic equilibrium in terms of heat energy in MG2 during the dispatch cycle. Notably, GB and EH bear substantial responsibility in offering heating services, whereas EHS combined heat and power provision supplies heat during the windows of 10:00–11:00 and 13:00, alleviating the heating burden on other devices in MG2. Simultaneously, between 15:00 and 23:00, coinciding with the period of greater heat demand, the DR mechanism temporarily modifies user heating patterns, resulting in a reduction in heat load. This, in turn, facilitates the equilibrium of heat supply and demand, thereby ensuring the steadfast operation of MG2.

6. Conclusions

This article delves into the collaborative operational framework of ESO-MGs, proposing a novel hybrid strategy for optimizing gaming in the context of ESO-MGs. It conducts an extensive analysis of the co-operative operational dynamics of ESO and MGs across various tiers and entities. Through an in-depth analysis of energy exchange and profit allocation between ESO and MGs, the efficacy and economic advantages of the suggested approach are duly substantiated. The ensuing observations can be drawn from the empirical analysis:
(1)
ESO, employing co-ordinated control of EVs and SES, delivers power procurement and sales services to MGs. The hybrid game optimization strategy proposed herein fosters systematic co-ordination, the determination of electricity prices, and equitable profit sharing across multiple hierarchical levels and entities. Therefore, it results in the minimization of ESO expenditures, generating a profit of CNY 5544.4282, while MGs incur costs amounting to CNY 25,806.8069.
(2)
The inclusion of ESO in the MG environment, alongside comprehensive optimization through the hybrid gaming mechanism, fosters an increased electricity relationship among MGs, thereby enhancing operational flexibility and bolstering system stability. Moreover, this optimization leads to a reduction in the operational expenses of MGs.
(3)
At the lower echelons of MG systems, profit distribution, grounded in non-co-operative game theory, accentuates individual propensity towards reaping benefits, thereby increasing the enthusiasm of MGs to partake in electricity sharing, albeit to a certain extent.
(4)
Through the implementation of precise dimension reduction and linearization methods in the joint operational model of ESO-MGs, leveraging KKT conditions and the principles of strong duality theory, experimental results affirm the favorable solvability characteristics of the derived model.

Author Contributions

Y.C. contributed to the conception of the study; Y.C. and S.H. performed the experiment; Y.C. and W.W. contributed significantly to analysis and manuscript preparation; Y.C. and Z.Y. performed the data analyses and wrote the manuscript; and J.C., Z.C. and X.F. helped perform the analysis with constructive discussions. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Key R&D Program of the Autonomous Xinjiang Region (2022B01003-3); the Open Project of Key Laboratory of the Autonomous Region (2023D04029); the University scientific Program of Autonomous Region (XJEDU20211010); the National Key R&D Program of China (2021YFB1506902).

Data Availability Statement

Data are unavailable due to privacy or ethical restrictions.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Table A1. Energy transfer parameter.
Table A1. Energy transfer parameter.
Parameter NameValues and Units
P max 2000 kW
P i , i 2 max 1000 kW
P grid , max 8000 kW
Figure A1. Upper and lower limits of electricity purchase and sale prices for ESO and MGs.
Figure A1. Upper and lower limits of electricity purchase and sale prices for ESO and MGs.
Processes 12 00218 g0a1
Figure A2. Electricity purchase and sale prices for ESO and power grid.
Figure A2. Electricity purchase and sale prices for ESO and power grid.
Processes 12 00218 g0a2

Appendix B

Modeling of EV Clusters

(1)
Modeling of Single EV Cluster
The modeling approach for a single EV cluster is defined by establishing its initial state of charge, parking duration, and scheduled departure time, as illustrated in the subsequent equation specific to a single EV cluster.
0 P ch , j EV ( t ) r j P ch , j , max EV x ch EV ( t ) 0 P dis , j EV ( t ) r j P dis , j , max EV x dis EV ( t ) r j s j , min EV s j EV ( t ) r j s j , max EV s j EV ( t ) = s j EV ( t 1 ) + ( P ch , j EV ( t ) P dis , j EV ( t ) ) Δ t t [ t n EV , arrive , t n EV , leave ]
In the equation, P ch , j EV ( t ) and P dis , j EV ( t ) represent the charging and discharging power of EV cluster j at time t, respectively. s j EV ( t ) denotes the battery capacity of EV cluster j for the time t. P ch , j , max EV and P dis , j , max EV depict the maximum charging and discharging power of EV cluster j, respectively. s j , min EV and s j , max EV indicate the lower and upper limits of EV cluster j’s capacity, respectively, and represent the parking and departure times of EV cluster j, respectively. x ch EV ( t ) and x dis EV ( t ) symbolize the binary variable representing the charging and discharging of EV cluster j at time t. r j expresses the empirical distribution of EV cluster j.
(2)
Modeling of Multiple EV Clusters in GES
For EV cluster j, the parking state x j EV can be introduced to unify the connection time of the EV clusters to the same time-feasible domain, making the EV clusters additive in the time dimension.
P dis GES ( t ) = j = 1 , j J ζ P dis , j EV ( t ) x j EV ( t ) , P ch GES ( t ) = j = 1 , j J ( 1 ζ ) P ch , j EV ( t ) x j EV ( t ) P dis , max GES ( t ) = j = 1 , j J P dis , j , max EV ( t ) x j EV ( t ) P ch , max GES ( t ) = j = 1 , j J P ch , j , max EV ( t ) x j EV ( t ) S GES ( t ) = j = 1 , j J s j EV ( t ) S max GES = j = 1 , j J s j , max EV
In the equation, P ch GES ( t ) and P dis GES ( t ) represent the charging and discharging power of GES at time t, respectively. P ch , max GES ( t ) and P dis , max GES ( t ) denote the maximum charging and discharging power of GES at time t, respectively. S GES ( t ) depicts the capacity of GES at time t. ζ { 0 , 1 } indicates the binary variable for purchasing electricity from external sources (limiting the simultaneous purchase and sale of electricity by EV clusters). J symbolizes the set of EV clusters.

Appendix C

Internal Device Operation Models in MGs

(1)
Alkaline Electrolyzer Energy Conversion Model
P ele , i ( t ) = n H 2 , i ( t ) G HHV + H ele , i ( t ) η ele , i ( t ) = n H 2 , i ( t ) G HHV P ele , i ( t )
In the equation, P ele , i ( t ) and H ele , i ( t ) represent the power consumption and heat generation of the electrolyzer inside MGi during water electrolysis at time t. G HHV denotes the high heating value of hydrogen in kJ/mol. n H 2 , i ( t ) and η ele , i ( t ) depict the hydrogen production rate and efficiency of the electrolyzer at time t, respectively.
(2)
Proton Exchange Membrane Fuel Cell Energy Conversion Model
m H 2 , i ( t ) G HHV = P fc , i ( t ) + H fc , i ( t ) η fc , i ( t ) = P fc , i ( t ) m H 2 , i ( t ) G HHV
In the equation, P fc , i ( t ) and H fc , i ( t ) represent the power generation and heat generation of the fuel cell inside MGi at time t, respectively. m H 2 , i ( t ) and η fc , i ( t ) denote the hydrogen consumption rate and efficiency of the fuel cell inside MGi at time t, respectively.
(3)
Hydrogen Storage Tank Model
E i H 2 ( 1 ) = E i , 0 H 2 E i H 2 ( t ) E i H 2 ( t 1 ) = k 1 n H 2 , i ( t ) m H 2 , i ( t ) E i H 2 ( T ) = E i H 2 ( 1 ) E min H 2 E i H 2 ( t ) E max H 2 k 1 = 3600 ρ H 2 R T 0 P 0
In the equation, E i , 0 H 2 represents the initial hydrogen mass stored in the hydrogen storage tank of MGi. E min H 2 and E max H 2 denote the upper and lower limits of hydrogen mass in the storage tank, respectively. E i H 2 ( t ) and E i H 2 ( t 1 ) depict the hydrogen mass in the storage tank of MGi at time t and t − 1, respectively. k1 symbolizes the hydrogen mass conversion coefficient for production/consumption. T0 and P0 express the temperature and pressure at 0 degrees Celsius, respectively. ρ H 2 illustrates the density of hydrogen (kg/Nm3).
(4)
Electric Heating Device Model
η eh P eh , i ( t ) = H eh , i ( t ) 0 P eh , i ( t ) P eh , max
In the equation, P eh , i ( t ) and H eh , i ( t ) represent the power consumption and heat generation of the electric heating device inside MGi. P eh , max denotes the upper limit of electric heating power. η eh depicts the energy conversion efficiency of the electric heating device.
(5)
Gas Boiler Model
M GB , i ( t ) = H GB , i ( t ) η G B L N G 0 H GB , i ( t ) H GB , max
In the equation, M GB , i ( t ) and H GB , i ( t ) represent the gas consumption volume and heat generation power of the gas boiler inside MGi at time t, respectively. H GB , max denotes the maximum heating power of the gas boiler. η G B depicts the operating efficiency of the gas boiler. L N G indicates the high heating value of gas.

Appendix D

The augmented Lagrangian function formulated for reducing the dimensions in the master–slave game is presented in the subsequent equation.
L = i = 1 I t = 1 T ω ele P ele ( t ) + ω fue P fue ( t ) + ω eh P eh ( t ) + ω wt P wt ( t ) + ω pv P pv ( t ) γ sell , i ( t ) P m , s , i ( t ) + γ buy , i ( t ) P m , b , i ( t ) + ω serve ( P m , s , i ( t ) + P m , b , i ( t ) ) + λ 1 ( P e ( t ) P e , load ( t ) + P e , cut ( t ) P e , tran ( t ) ) + λ 2 ( P h ( t ) P h , load ( t ) + P h , cut ( t ) P h , tran ) + λ 3 t = 1 T P e , tran ( t ) + λ 4 t = 1 T P h , tran ( t ) + λ 5 ( P w ( t ) + P pv ( t ) + P fue ( t ) + P m , b ( t ) P m , s ( t ) P e ( t ) P tran ( t ) ) + λ 6 ( n ex ( H ele ( t ) + H fue ( t ) ) + H eh ( t ) + H GB ( t ) P h ( t ) ) + λ 7 ( P ele ( t ) n H 2 ( t ) G HHV H ele ( t ) ) + λ 8 ( η ele ( t ) P ele ( t ) n H 2 ( t ) G HHV ) + λ 9 ( m H 2 ( t ) G HHV P fue ( t ) H fue ( t ) ) + λ 10 ( m H 2 ( t ) G HHV P fue ( t ) H fue ( t ) ) + λ 11 ( H eh ( t ) η eh P eh ( t ) ) + λ 12 ( E H 2 ( t ) E H 2 ( t 1 ) k 1 ( n H 2 ( t ) m H 2 ( t ) ) ) + λ 13 ( P 1 , 2 ( t ) + P 2 , 1 ( t ) ) + λ 14 ( P 1 , 3 ( t ) + P 3 , 1 ( t ) ) + λ 15 ( P 2 , 3 ( t ) + P 3 , 2 ( t ) ) + u 1 ( t ) ( P e , cut ( t ) ) + u 2 ( t ) ( P e , cut ( t ) λ e , cut P e , load ( t ) ) + u 3 ( t ) ( P h , cut ( t ) ) + u 4 ( t ) ( P h , cut ( t ) λ h , cut P h , load ( t ) ) + u 5 ( t ) ( P fue ( t ) ) + u 6 ( t ) ( P fue ( t ) P fue , max ) + u 7 ( t ) ( P eh ( t ) ) + u 8 ( t ) ( P eh ( t ) P eh , max ) + u 9 ( t ) ( P ele ( t ) ) + u 10 ( t ) ( P ele ( t ) P ele , max ) + u 11 ( t ) ( E min H 2 E H 2 ( t ) ) + u 12 ( t ) ( E H 2 ( t ) E max H 2 ) + u 13 ( t ) ( P wire P 12 ( t ) ) + u 14 ( t ) ( P 12 ( t ) P wire ) + u 15 ( t ) ( P wire P 23 ( t ) ) + u 16 ( t ) ( P 23 ( t ) P wire ) + u 17 ( t ) ( P wire P 13 ( t ) ) + u 18 ( t ) ( P 13 ( t ) P wire ) + u 19 ( t ) ( γ buy ( t ) ) + u 20 ( t ) ( γ buy ( t ) γ buy , max ) + u 21 ( t ) ( γ sell ( t ) ) + u 22 ( t ) ( γ sell ( t ) γ sell , max ) + u 23 ( t ) ( H G B ( t ) ) + u 24 ( t ) ( H GB ( t ) H GB 1 , max )
The specific linearization process of Equation (20) is elaborated in Equations (A9) and (A10).

Appendix E

0 u 1 M v 1 ; M ( 1 v 1 ) ( P e , cut ) 0 0 u 2 M v 2 ; M ( 1 v 2 ) ( P e , cut λ e , cut P e , load ) 0 0 u 3 M v 3 ; M ( 1 v 3 ) ( P h , cut ) 0 0 u 4 M v 4 ; M ( 1 v 4 ) ( P h , cut λ h , cut P h , load ) 0 0 u 5 M v 5 ; M ( 1 v 5 ) ( P fue ) 0 0 u 6 M v 6 ; M ( 1 v 6 ) ( P fue P fue , max ) 0 0 u 7 M v 7 ; M ( 1 v 7 ) ( P eh ) 0 0 u 8 M v 8 ; M ( 1 v 8 ) ( P eh P eh , max ) 0 0 u 9 M v 9 ; M ( 1 v 9 ) ( P ele ) 0 0 u 10 M v 10 ; M ( 1 v 10 ) ( P ele P ele , max ) 0 0 u 11 M v 11 ; M ( 1 v 11 ) ( E min H 2 E H 2 ) 0 0 u 12 M v 12 ; M ( 1 v 12 ) ( E H 2 E max H 2 ) 0
0 u 13 M v 13 ; M ( 1 v 13 ) ( P wire P 12 ) 0 0 u 14 M v 14 ; M ( 1 v 14 ) ( P 12 P wire ) 0 0 u 15 M v 15 ; M ( 1 v 15 ) ( P wire P 23 ) 0 0 u 16 M v 16 ; M ( 1 v 16 ) ( P 23 P wire ) 0 0 u 17 M v 17 ; M ( 1 v 17 ) ( P wire P 13 ) 0 0 u 18 M v 18 ; M ( 1 v 18 ) ( P 13 P wire ) 0 0 u 19 M v 19 ; M ( 1 v 19 ) ( γ buy ) 0 0 u 20 M v 20 ; M ( 1 v 20 ) ( γ buy γ buy , max ) 0 0 u 21 M v 21 ; M ( 1 v 21 ) ( γ sell ) 0 0 u 22 M v 22 ; M ( 1 v 22 ) ( γ sell γ sell , max ) 0 0 u 23 ( : , 1 ) M v 23 ( : , 1 ) ; M ( 1 v 23 ( : , 1 ) ) ( H G B ( : , 1 ) ) 0 0 u 24 ( : , 1 ) M v 24 ( : , 1 ) ; M ( 1 v 24 ( : , 1 ) ) ( H GB ( : , 1 ) H GB 1 , max ) 0 0 u 23 ( : , 2 : 3 ) M v 23 ( : , 2 : 3 ) ; M ( 1 v 23 ( : , 2 : 3 ) ) ( H G B ( : , 2 : 3 ) ) 0 0 u 24 ( : , 2 : 3 ) M v 24 ( : , 2 : 3 ) ; M ( 1 v 24 ( : , 2 : 3 ) ) ( H G B ( : , 2 : 3 ) H GB 2 , 3 , max ) 0
In this equation, M is defined as a sufficiently large constant, while v1v24 are binary variables introduced to facilitate the linearization process.
Figure A3. The empirical distribution of EVs.
Figure A3. The empirical distribution of EVs.
Processes 12 00218 g0a3
Table A2. ESO equipment parameters.
Table A2. ESO equipment parameters.
Device Parameter NameValues and UnitsDevice Parameter NameValues and Units
Type I EV clusters P ch , 1 , max EV P dis , 1 , max EV : 6 kW
s 1 , min EV : 6.4 kWh
s 1 , max EV : 30.4 kWh
Type II EV clusters P ch , 1 , max EV P dis , 1 , max EV : 6 kW
s 1 , min EV : 8 kWh
s 1 , max EV : 38 kWh
Type III EV clusters P ch , 1 , max EV P dis , 1 , max EV : 10 kW
s 1 , min EV : 8 kWh
s 1 , max EV : 38 kWh
SES P ch , max GES P dis , max GES : 2500 kW
E ess : 5000 kW
η min SOC η max SOC : 0.2, 0.9

Appendix F

Table A3. EVs parameters.
Table A3. EVs parameters.
Type of EVMaximum Charge and Discharge Power/KwBattery Capacity/kWhInitial Amount of Electricity/kWhArrival TimeDeparture Time
Type I EV clusters6321609:0017:00
Type II EV clusters6402508:0016:00
Type III EV clusters10402009:0017:00
Table A4. MGs equipment parameters.
Table A4. MGs equipment parameters.
Device Parameter NameValues and UnitsDevice Parameter NameValues and Units
ELE η ele : 60%
P max ele : 800 kW
FUE η fue : 60%
P max fue : 650 kW
EH η eh : 95%
P max eh : 1050 kW
HST E min H 2 : 30 kg
E max H 2 : 300 kg
HHV G HHV : 282 kJ/molGB H GB 1 , max : 600 kW
H GB 2 3 , max : 200 kW
Figure A4. MG1 energy management.
Figure A4. MG1 energy management.
Processes 12 00218 g0a4

Appendix G

Figure A5. MG3 energy management.
Figure A5. MG3 energy management.
Processes 12 00218 g0a5
Figure A6. ESO energy management.
Figure A6. ESO energy management.
Processes 12 00218 g0a6

References

  1. Morstyn, T.; McCulloch, M. Multiclass energy management for peer-to-peer energy trading driven by prosumer preferences. IEEE Trans Power Syst. 2019, 34, 4005–4014. [Google Scholar] [CrossRef]
  2. Thang, T.N.; Kim, H.L.; Tan, M.P.; Minh, Q.D. An effective reactive power compensation method and a modern metaheuristic algorithm for loss reduction in distribution power networks. Complexity 2021, 2021, 8346738. [Google Scholar] [CrossRef]
  3. Liu, Y.; Li, X.; Liu, Y. A Low-Carbon and Economic Dispatch Strategy for a Multi-microgrid based on a meteorological classification to handle the uncertainty of wind power. Sensors 2023, 23, 5350. [Google Scholar] [CrossRef]
  4. Zhang, W.; Xu, Y. Distributed optimal control for multiple microgrids in a distribution network. IEEE Trans. Smart Grid 2019, 10, 3765–3779. [Google Scholar] [CrossRef]
  5. Xu, J.Z.; Yi, Y.Q. Multi-microgrid low-carbon economy operation strategy considering both source and load uncertainty: A nash bargaining approach. Energy 2023, 263, 125712. [Google Scholar] [CrossRef]
  6. Liu, J.; Zhang, N.; Kang, C.; Kirschen, D.; Xia, Q. Cloud energy storage for residential and small commercial consumers: A business case study. Appl. Energy 2017, 188, 226–236. [Google Scholar] [CrossRef]
  7. Dai, R.; Esmaeilbeigi, R.; Charkhgard, H. The utilization of shared energy storage in energy systems: A Comprehensive Review. IEEE Trans. Smart Grid 2021, 12, 3163–3174. [Google Scholar] [CrossRef]
  8. Zhang, W.; Wei, W.; Chen, L.J.; Zheng, B.S.; Mei, S.W. Service pricing and load dispatch of residential shared energy storage unit. Energy 2020, 202, 117543. [Google Scholar] [CrossRef]
  9. Lombardi, P.; Schwabe, F. Sharing economy as a new business model for energy storage systems. Appl. Energy 2017, 188, 485–496. [Google Scholar] [CrossRef]
  10. Tushar, W.; Chai, B.; Huang, S.S.; Smith, D.B.; Vincent Poor, H.; Yang, Z.Y. Energy storage sharing in smart grid: A modified auction-based approach. IEEE Trans. Smart Grid 2016, 7, 1462–1475. [Google Scholar] [CrossRef]
  11. Zhang, H.C.; Hu, Z.H.; Xu, Z.W.; Song, Y.H. Evaluation of achievable vehicle-to-grid capacity using aggregate PEV model. IEEE Trans. Power Syst. 2016, 32, 784–794. [Google Scholar] [CrossRef]
  12. Wu, M.; Bao, Y.-Q.; Chen, G.; Zhang, J.; Wang, B.; Qian, W. Hierarchical distributed control strategy for electric vehicle mobile energy storage clusters. Energies 2019, 12, 1195. [Google Scholar] [CrossRef]
  13. Deng, H.D.; Wang, J.J.; Shao, Y.M.; Zhou, Y.; Cao, Y.H.; Zhang, X.T.; Li, W.H. Optimization of configurations and scheduling of shared hybrid electric-hydrogen energy storages supporting to multi-microgrid system. J. Energy Storage 2023, 74, 109420. [Google Scholar] [CrossRef]
  14. Xie, Y.; Yao, Y.; Wang, Y.; Cha, W.; Zhou, S.; Wu, Y.; Huang, C. A cooperative game-based sizing and configuration of community-shared energy storage. Energies 2022, 15, 8626. [Google Scholar] [CrossRef]
  15. Qian, W.; Chen, C.; Gong, L.; Zhang, W. Research on nash game model for user side shared energy storage pricing. Sci. Rep. 2023, 13, 16099. [Google Scholar] [CrossRef] [PubMed]
  16. Li, B.; Yang, Q.; Kamwa, I. A novel stackelberg-game-based energy storage sharing scheme under demand charge. IEEE/CAA J. Autom. Sin. 2023, 10, 462–473. [Google Scholar] [CrossRef]
  17. Zhang, T.H.; Chen, C.M.; Li, Z.H.; Ma, Y.Q.; Zhang, W.J.; Zhang, Z.; Chen, D.W.; Lin, Z.Z. Shared energy storage-assisted and tolerance-based alliance strategy for wind power generators based on cooperative game and resource dependence theories. Int. J. Electr. Power Energy Syst. 2024, 155, 109605. [Google Scholar] [CrossRef]
  18. Chen, C.M.; Liu, C.; Ma, L.Y.; Chen, T.W.; Wei, Y.Q.; Qiu, W.Q.; Lin, Z.Z.; Li, Z.Y. Cooperative-game-based joint planning and cost allocation for multiple park-level integrated energy systems with shared energy storage. J. Energy Storage 2023, 73, 108861. [Google Scholar] [CrossRef]
  19. Wang, Z.C.; Chen, L.J.; Li, X.Z.; Mei, S.W. A nash bargaining model for energy sharing between micro-energy grids and energy storage. Energy 2023, 283, 129065. [Google Scholar] [CrossRef]
  20. Kim, H.; Lee, J.; Bahrami, S.; Wong, V.W.S. Direct energy trading of microgrids in distribution energy market. IEEE Tran. Power Syst. 2019, 35, 639–651. [Google Scholar] [CrossRef]
  21. Guo, T.; Guo, Q.; Huang, L.; Guo, H.; Lu, Y.; Tu, L. Microgrid source-network-load-storage master-slave game optimization method considering the energy storage overcharge/overdischarge risk. Energy 2023, 282, 128897. [Google Scholar] [CrossRef]
  22. Xu, Y.; Ye, S.; Qin, Z.; Lin, X.; Huangfu, J.; Zhou, W. A coordinated optimal scheduling model with nash bargaining for shared energy storage and multi-microgrids based on two-layer ADMM. Sustain. Energy Technol. Assess. 2023, 56, 102996. [Google Scholar] [CrossRef]
  23. Cui, S.; Wang, Y.W.; Shi, Y.; Xiao, J.W. A new and fair peer-to-peer energy sharing framework for energy buildings. IEEE Trans. Smart Grid 2020, 11, 3817–3826. [Google Scholar] [CrossRef]
  24. Zhao, C.Y.; Guan, Y.P. Data-driven stochastic unit commitment for integrating wind generation. IEEE Trans. Power Syst. 2016, 31, 2587–2596. [Google Scholar] [CrossRef]
  25. Ding, T.; Yang, Q.R.; Yang, Y.H.; Li, C.; Bie, Z.H.; Blaabjerg, F. A data-driven stochastic reactive power optimization considering uncertainties in active distribution networks and decomposition method. IEEE Trans. Smart Grid 2018, 9, 4994–5004. [Google Scholar] [CrossRef]
Figure 1. ESO operating model.
Figure 1. ESO operating model.
Processes 12 00218 g001
Figure 2. Microgrid energy system diagram.
Figure 2. Microgrid energy system diagram.
Processes 12 00218 g002
Figure 3. Energy trading framework.
Figure 3. Energy trading framework.
Processes 12 00218 g003
Figure 4. Solution strategy of the two-layer game between generalized shared energy storage service provider and MGs.
Figure 4. Solution strategy of the two-layer game between generalized shared energy storage service provider and MGs.
Processes 12 00218 g004
Figure 5. Charge, discharge, and energy storage capacity of SES.
Figure 5. Charge, discharge, and energy storage capacity of SES.
Processes 12 00218 g005
Figure 6. Participation of EVs in shared energy storage.
Figure 6. Participation of EVs in shared energy storage.
Processes 12 00218 g006
Figure 7. Electricity purchase price set by GESO to MGs.
Figure 7. Electricity purchase price set by GESO to MGs.
Processes 12 00218 g007
Figure 8. Interaction electricity between MGs.
Figure 8. Interaction electricity between MGs.
Processes 12 00218 g008
Figure 9. Power optimization results of MG2.
Figure 9. Power optimization results of MG2.
Processes 12 00218 g009
Figure 10. Thermal energy optimization results of MG2.
Figure 10. Thermal energy optimization results of MG2.
Processes 12 00218 g010
Table 1. The benefits of ESO and the costs of MGs under the three scenarios.
Table 1. The benefits of ESO and the costs of MGs under the three scenarios.
ScenarioMGCost/CNYTotal Cost/CNYESO Revenue/CNY
118047.177926,386.46300
28255.4929
310,083.7920
2116,629.527332,480.28485121.6771
213,744.4171
32106.3402
316037.426025,806.80695544.4282
215,009.4292
34759.9516
Table 2. MG clearing returns.
Table 2. MG clearing returns.
MGPre-P2P Cost/CNYPost-P2P Cost/CNYP2P Revenues/CNYA Revenues/CNYB Revenues/CNY
116,629.52736037.4260−10,122.87022224.4926469.2311
213,744.417115,009.42921525.06032224.4926260.0482
32106.34024759.95168597.80992224.49265944.1985
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

Chen, Y.; He, S.; Wang, W.; Yuan, Z.; Cheng, J.; Cheng, Z.; Fan, X. Optimization Strategy for Shared Energy Storage Operators-Multiple Microgrids with Hybrid Game-Theoretic Energy Trading. Processes 2024, 12, 218. https://doi.org/10.3390/pr12010218

AMA Style

Chen Y, He S, Wang W, Yuan Z, Cheng J, Cheng Z, Fan X. Optimization Strategy for Shared Energy Storage Operators-Multiple Microgrids with Hybrid Game-Theoretic Energy Trading. Processes. 2024; 12(1):218. https://doi.org/10.3390/pr12010218

Chicago/Turabian Style

Chen, Yi, Shan He, Weiqing Wang, Zhi Yuan, Jing Cheng, Zhijiang Cheng, and Xiaochao Fan. 2024. "Optimization Strategy for Shared Energy Storage Operators-Multiple Microgrids with Hybrid Game-Theoretic Energy Trading" Processes 12, no. 1: 218. https://doi.org/10.3390/pr12010218

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