Abstract
In the context of the coordinated operation of microgrids and community energy storage systems, achieving optimal resource allocation under complex and uncertain conditions has emerged as a prominent research focus. This study proposes a robust collaborative optimization model for microgrids and community energy storage systems under a game-theoretic environment where potential fraudulent behavior is considered. A multi-energy collaborative system model is first constructed, integrating multiple uncertainties in source-load pricing, and a max-min robust optimization strategy is employed to improve scheduling resilience. Secondly, a game-theoretic model is introduced to identify and suppress manipulative behaviors by dishonest microgrids in energy transactions, based on a Nash bargaining mechanism. Finally, a distributed collaborative solution framework is developed using the Alternating Direction Method of Multipliers and Column-and-Constraint Generation to enable efficient parallel computation. Simulation results indicate that the framework reduces the alliance’s total cost from CNY 66,319.37 to CNY 57,924.89, saving CNY 8394.48. Specifically, the operational costs of MG1, MG2, and MG3 were reduced by CNY 742.60, CNY 1069.92, and CNY 1451.40, respectively, while CES achieved an additional revenue of CNY 5130.56 through peak shaving and valley filling operations. Furthermore, this distributed algorithm converges within 6–15 iterations and demonstrates high computational efficiency and robustness across various uncertain scenarios.
1. Introduction
With the gradual advancement of the “dual carbon” goals and the evolution of energy systems toward low-carbon and intelligent paradigms [1,2], microgrids (MGs) have emerged as key enablers of distributed energy utilization and are playing an increasingly vital role in modern power systems. By integrating distributed photovoltaic(PV), wind turbine(WT), and energy storage systems, MGs are capable of autonomous operation and flexible grid interconnection, thereby enhancing renewable energy accommodation and increasing supply reliability [3,4,5,6]. However, individual MGs still face limitations in scale, resource adequacy, and resilience to uncertainty. Therefore, establishing a collaborative operational framework for multi-microgrids has been regarded as an effective strategy to address the challenges of multi-energy system optimization [7,8].
In multi-microgrid systems, coordinated electricity usage and shared energy storage resources are essential for enhancing overall system synergy. community energy storage (CES) systems, which allocate shared storage resources among multiple MGs, significantly improve storage utilization and enhance system flexibility. Accordingly, CES has been recognized as a key enabler for the large-scale integration and flexible dispatch of distributed energy resources [9,10,11]. In recent years, extensive research has been conducted by domestic and international scholars on modeling, scheduling, and pricing mechanisms related to shared energy storage in multi-MG systems. For instance, Reference [12] proposes a two-stage robust optimization scheduling model aimed at improving system resilience. Reference [13] introduces a Stackelberg game-based mechanism to address fairness in resource allocation for shared energy storage. Reference [14] investigates operational modes and economic incentive schemes for CES within the ancillary services market. Interconnection planning involving bidirectional converters (BdC) is critical for enhancing the reliability and robustness of hybrid AC/DC microgrid clusters with high renewable energy penetration. However, challenges, such as the non-convexity of BdC efficiency and the uncertainty of renewable energy sources, complicate the planning process. To address these issues, Reference [15] proposes a three-level planning framework based on BdC, which combines dynamic BdC efficiency and a data-correlated uncertainty set (DcUS) derived from historical data patterns. The framework employs a least-squares approximation method to linearize BdC efficiency and constructs DcUS to balance computational efficiency and solution robustness.
Although previous studies have systematically examined the operational optimization of multi-microgrids and shared energy storage, significant challenges still persist in real-world implementation. On the one hand, MGs are independent operational entities with self-interested objectives, which may result in non-cooperative or even adversarial behaviors when sharing common resources such as CES. On the other hand, uncertainty in renewable energy output and load demand has a significant impact on the stability of multi-microgrid operations. Traditional centralized dispatch strategies are often inadequate in addressing these challenges when applied to distributed and autonomous systems [16,17,18].
In response to the aforementioned challenges, robust optimization techniques have been increasingly adopted for scheduling in multi-microgrid systems. Robust optimization eliminates the need for specific probabilistic assumptions about uncertainty; instead, it constructs uncertainty sets to optimize scheduling strategies under worst-case conditions [19,20,21]. Representative studies include [22], which proposes a min–max robust optimization model to address renewable output fluctuations, and [23] which incorporates economic dispatch and low-carbon constraints into a robust optimization framework, employing the Column-and-Constraint Generation (C&CG) algorithm for efficient solving. Additionally, studies such as [24,25,26] employ the Alternating Direction Method of Multipliers (ADMM) to achieve distributed collaborative scheduling across multi-microgrids, thereby improving computational efficiency and preserving participant privacy. Reference [27] designs a robust optimal framework to mitigate oscillatory dynamics in doubly fed induction generators (DFIGs) under network disturbances and input variations. To address the issue of uncertain dynamics, this paper develops a new transformation formula for WT energy conversion systems. An unscented Kalman filter is employed to estimate the unmeasured internal state of the WT energy conversion system through terminal measurements.
In terms of energy trading strategies, the Nash Bargaining model has been widely applied to establish fair trading mechanisms among MGs. Reference [28] applies Nash game theory to analyze the pricing process of peer-to-peer (P2P) energy transactions among multiple MGs, thus improving the system’s Pareto efficiency. Reference [29] extends the Nash model to a multi-party collaborative setting, analyzing equilibrium strategies for negotiation and resource allocation among multiple participants. To mitigate non-cooperative behavior and potential fraud risks, penalty mechanisms and incentive-based game strategies have been introduced into Nash bargaining models. For example, Reference [30] proposes a multi-microgrid (MMG) energy sharing model that considers multiple uncertainties and deceptive behaviors, and applies robust optimization to handle uncertainties related to grid prices and renewable energy output. Reference [31] establishes a cooperative operation model for multi-energy microgrids (MEMGs) that takes into account distributed power capacity planning, the uncertainty of renewable energy generation, carbon emission restrictions, and peer-to-peer (P2P) power transactions between MEMGs. An asymmetric Nash bargaining method is used to ensure the fair distribution of benefits and maintain the willingness of each MEMG to participate in the cooperation.
Although previous work has provided theoretical foundations and algorithmic tools for collaborative optimization of multi-microgrid shared energy storage systems, three critical issues remain insufficiently addressed: (1) the systematic impact of triple uncertainties—source output, load demand, and electricity prices—on scheduling robustness remains underexplored; (2) existing trading mechanisms largely assume perfect rationality and fail to model potential fraudulent or speculative behaviors among MGs; and (3) dispatch optimization and game strategies are frequently modeled in isolation, hindering the integrated resolution of multi-level decision problems.
Therefore, this paper aims to construct a multi-microgrid shared energy storage collaborative optimization model for fraudulent behavior and uncertain disturbances, balancing system robustness, economic efficiency, and transaction fairness. The main contributions include:
We construct a two-stage robust optimization model incorporating three uncertainties, source capacity, load demand, and electricity price fluctuations, using boxed uncertainty sets to enhance the robustness of system scheduling.
Existing research on energy trading games either assumes that participants are completely honest or simplifies deception into static biases, failing to capture the dynamic strategic interactions between self-interested microgrids. What equilibrium structures emerge when microgrids dynamically adjust their deception strategies based on others’ behavior? How iterative deception converges to a stable state has not been modeled. To address this gap, this study proposes a novel deception equilibrium structure by extending the traditional Nash equilibrium through mutual constraints on deception factors. In this equilibrium, no microgrid can unilaterally increase deception factors to gain additional benefits without harming others, thereby ensuring the Pareto optimality of the alliance while tolerating limited deception behavior. Second, we propose a dynamic, mutually dependent deception iteration modeling method, where each microgrid’s deception factor is updated based on aggregated information from all participants. This model captures the symbiotic evolution of strategic behavior, differing from the static deception assumptions in existing literature, and ensures convergence to the deception equilibrium state through a data-centric negotiation mechanism.
Finally, a two-layer distributed algorithm is proposed, integrating the ADMM and C&CG, to unify robust scheduling and Nash bargaining, thereby enhancing computational efficiency and parallelization capability.
2. Multiple MG-CES Operating Modes and Operating Models for Each Entity
The MG-CES system operation framework and cooperation model are shown in Figure 1 and Figure 2. The system comprises a CES plant and MGs. Each MG is connected to the external distribution grid and the natural gas network, enabling it to purchase electricity and gas when necessary. Crucially, each MG is also linked to the shared CES plant via dedicated power lines, forming the core of the energy sharing mechanism. When a particular MG has excess renewable generation that surpasses its own load demand, it can sell the surplus electricity to the CES plant. Conversely, when another MG suffers from a generation shortage, it can purchase the required electricity from the CES plant. This interaction allows for the efficient utilization of renewable energy across the alliance.
Figure 1.
System model framework diagram.
Figure 2.
System shared energy storage cooperation model.
As shown in Figure 1, each MG is a comprehensive integrated energy system that includes renewable generation units, energy conversion equipment, local energy storage devices, and multi-energy loads. The CES acts as a central energy hub, facilitating energy arbitrage and providing flexibility services to the entire MG coalition. This architecture supports both physical energy exchange and the information communication required for the subsequent collaborative optimization and game-theoretic strategies.
As shown in Figure 2, assuming all MG and energy storage operators are willing to participate in this sharing mechanism, it can be considered that each MG and operator form a cooperative game alliance. During the dispatch phase, disregarding payments within the alliance (i.e., between MGs and energy storage), all alliance participants aim to minimize their own total energy consumption costs and execute dispatch strategies using a distributed approach. Following dispatch, Nash bargaining is applied to allocate the alliance’s total revenue. This paper accounts for fraudulent behavior arising from information asymmetry during negotiations. MGs simultaneously and independently report their payment willingness (maximum payment offered/minimum charge received) to the operator. This willingness is calculated based on either actual or underreported shared benefits. The operator then determines and announces its own charging willingness based on the reported data, prompting MGs to adjust their strategies. This cycle continues until both MGs and the operator cease to alter their strategies.
4. Multi-MG Energy Interaction Optimization Model Considering Electricity Price Uncertainty and Deceptive Behavior
4.1. Multi-MG Energy Interaction Game Strategy Considering Electricity Price Uncertainty and Deceptive Behavior
This paper assumes that each MG belongs to different holders and shares the rights of energy trading and pricing with other MGs. Each MG, as an independent rational entity, aims to maximize its benefits through cooperation. This paper adopts the Nash bargaining model to ensure that all participating MGs in the multi-MG system achieve Pareto optimal gains. By applying the Nash bargaining game theory, the model is formulated as follows:
where represents the number of MGs participating in Nash bargaining; is the negotiation breakdown point, referring to the cost of each MG before cooperation; is the cost of each MG after participating in energy sharing; is the electricity trading price from microgrid to microgrid ; is the electricity payment item; is The electrical power exchanged between microgrid and microgrid ; is Internet access prices.
The Nash bargaining cooperative game model is essentially a non-convex nonlinear optimization problem, which is difficult to solve directly. Therefore, it is converted into two easily solvable sub-problems: the multi-MG coalition benefit maximization sub-problem and the electricity trading revenue maximization sub-problem.
Sub-problem 1: Multi-MG Coalition Benefit Maximization Problem
Sub-problem 2: Electricity Trading Revenue Maximization Sub-problem
where is the optimal solution obtained from Sub-problem 1.
In this section, we consider the deceptive behavior of dishonest MGs pursuing their own interest maximization during energy sharing among multiple MG systems within the Nash bargaining framework. By solving the Nash bargaining cooperative game model, we obtain the optimal solution for electricity trading payment .
Under conditions where the true information of other MGs is unknown and it is uncertain whether other MGs are deceptive. Each MG has a motivation to deceive, aiming to quote a smaller in the electricity trading phase to obtain more revenue .
After considering deceptive behavior, the quotation for each MG is expressed as:
where is deception factor. In an honest MG, the deception factor is set to 0. Considering that participation in energy sharing by MGs leads to optimal benefits for the multi-MG coalition and ensures that all participants achieve Pareto-optimal gains. Each MG will avoid cooperation failure. Therefore, after considering deceptive behavior, the following inequality constraint should be satisfied:
To satisfy inequality (25), an upper limit exists for the deception factor:
The upper limit of the deception factors for each MG dynamically changes with the deceptive behavior of other MGs. The optimal revenue obtained from electricity trading payments in the negotiation phase is influenced by both its own and other MGs’ deceptive behaviors. Therefore, each MG should carefully consider its own deceptive behavior. The solution to dynamic deceptive behavior can be viewed as a deceptive equilibrium , where is a very small positive number close to 0, at which point there exists an optimal deception factor . In such a deceptive equilibrium, no MG can unilaterally find a larger deception factor without affecting the interests of other MGs to increase its own revenue. That is, in the deceptive equilibrium, all MGs believe that their chosen deceptive behavior is the best option and will not change.
All MGs participate in deceptive negotiations through a data-centric mode, effectively avoiding the privacy disclosure of all participating entities. The data-centric mode requires a trusted third party by all MGs to aggregate the deceptive quotations and feedback the results to each MG. The flowchart is shown in Figure 4.
Figure 4.
Algorithm flowchart containing fraud factors.
The solution process for the data-centric mode is as follows:
- (1)
- Initialize the deceptive quotation for each MG, set the iteration count to k = 1, the deception factor to , and the convergence precision .
- (2)
- Each MG performs a deceptive quotation according to the formulaand uploads the deceptive quotation to the data center.
- (3)
- The data center calculatesand feeds back the sum of deceptive quotations to each MG.
- (4)
- Each MG updates the deception factor according to the formulawhereand is the relaxation coefficient with a value range of .
- (5)
- Check for convergence; if , output the deceptive quotation ; otherwise, set k = k + 1 and repeat steps (2) to (5).
The dynamic fraud factor adjustment mechanism proposed above essentially extends the classical Nash bargaining equilibrium. Unlike existing static penalty methods, which assume that fraudulent behavior is fixed, our model establishes a dynamic deception equilibrium characterized by an upper bound on the fraud factor that depends on the real-time quotes of other MG players, thereby forming a closed-loop feedback between players’ deception strategies. This captures the strategic interdependence that has been overlooked in previous studies. Second, data-centric update rules form a distributed iterative learning process. This process converges to a dynamic deception equilibrium where any unilateral deviation does not increase profits, thereby achieving Nash stability under deception.
4.2. Solution for the Multi-MG Energy Sharing Nash Bargaining Model
Considering separable convex functions and constraint conditions that the multi-MG coalition benefit maximization sub-problem and the electricity trading revenue maximization sub-problem have, the ADMM is utilized for distributed optimization.
Solution for the Multi-MG Coalition Benefit Maximization Sub-problem Based on ADMM
Introduce Lagrange multipliers and penalty factors to construct the augmented Lagrangian function:
Based on the principle of the ADMM algorithm, decompose Equation (27) to obtain the distributed optimization operation model for each MG. For illustration purposes, take MG1 as an example:
The distributed optimization operation models for other MGs are the same as that of MG1.
Using three MGs as an example, establish a distributed algorithm for the multi-MG coalition benefit maximization sub-problem.
Solution for Electricity Trading Revenue Maximization Sub-problem Based on ADMM
By solving the multi-MG coalition benefit maximization sub-problem and the game deception problem, the optimal expected trading volume between MGs and the deceptive quotation of each MG are obtained. Substituting them into the electricity trading revenue maximization sub-problem yields:
Introduce Lagrange multipliers and penalty factors to construct the augmented Lagrangian function.
Based on the principle of the ADMM algorithm, decompose Equation (30) to obtain the distributed optimization operation model for each MG. An explanation is provided using MG1 as an example:
4.3. Solution Algorithm
- Distributed Algorithm for the Multi-MG Coalition Benefit Maximization Sub-problem
- (1)
- Set the maximum iteration count , convergence precision ζ = 0.1, penalty factor ρ = 0.01, initial iteration count k = 1, and initial inter-MG power exchange .
- (2)
- Solve the distributed optimization operation model for MG1. From MG2, receive the expected power transmission from MG2 to MG1; from MG3, receive the expected power transmission from MG3 to MG1. Obtain the expected power transmission from MG1 to MG2 and from MG1 to MG3.
- (3)
- Solve the distributed optimization operation model for MG2. From MG1, receive the expected power transmission from MG1 to MG2; from MG3, receive the expected power transmission from MG3 to MG2. Obtain the expected power transmission from MG2 to MG1 and from MG2 to MG3.
- (4)
- Solve the distributed optimization operation model for MG3. From MG1, receive the expected power transmission from MG1 to MG3; from MG2, receive the expected power transmission from MG2 to MG3. Obtain the expected power transmission from MG3 to MG1 and from MG3 to MG2.
- (5)
- Update the Lagrange multipliers:
- (6)
- Check the convergence of the algorithm. If equation (B2) is satisfied, terminate the iteration:
- (7)
- Otherwise, set k = k + 1 and repeat steps (2) to (6).
- Distributed Algorithm for the Electricity Trading Revenue Maximization Sub-problem
- (1)
- Set the maximum iteration count , convergence precision ζ = 0.1, penalty factor γ = 10, initial iteration count k = 1, and initial inter-MG trading price .
- (2)
- Solve the distributed optimization operation model for MG1. From MG2, receive the expected trading price from MG2 to MG1; from MG3, receive the expected trading price from MG3 to MG1. Obtain the expected trading prices from MG1 to MG2 and from MG1 to MG3.
- (3)
- Solve the distributed optimization operation model for MG2. From MG1, receive the expected trading price from MG1 to MG2; from MG3, receive the expected trading price from MG3 to MG2. Obtain the expected trading prices from MG2 to MG1 and from MG2 to MG3.
- (4)
- Solve the distributed optimization operation model for MG3. From MG1, receive the expected trading price from MG1 to MG3; from MG2, receive the expected trading price from MG2 to MG3. Obtain the expected trading prices from MG3 to MG1 and from MG3 to MG2.
- (5)
- Update the Lagrange multipliers:
- (6)
- Check the convergence of the algorithm:If the following condition is satisfied, terminate the iteration:
- (7)
- Otherwise, set k = k + 1, and repeat steps (2) to (5).
5. Case Study
In this paper, under the Matlab compilation environment, a multi-MG and CES fraud game model is established using the Yalmip toolbox. Because the microgrid model is MILP, the Gurobi solver is used to solve the cost minimization optimization problem of the alliance. The electricity trading problem between shared energy storage and microgrids involves non-linear terms as shown in “ln”, so the Mosek solver is used for solving, and the solution accuracy is set to the default accuracy.
5.1. Basic Data and System Structure Description
This paper considers power sharing between three MGs and one CES. All three MG models are CHP models, while the CES model is a pure electricity model. The purchase and sale prices of electricity from the external grid and the purchase price of gas from the gas network for the MG are shown in Table 1. All three MGs are equipped with renewable energy units. The renewable energy data and load data for the three MGs are shown in Figure 5. The total installed capacity of renewable energy across five scenarios is 32,730.14 kW, 31,635.38 kW, 30,345.92 kW, 30,897.53 kW, and 30,873.4 kW. The historical electricity sales prices of the CES are shown in Figure 6. The initial scenario probabilities of the three MGs are shown in Table 2. Due to the inaccuracy of the predicted data, we need to use more sample data to make the solution results more accurate. However, introducing a large number of samples will greatly increase the difficulty of solving it and even lead to the explosion of solution dimensions, making it impossible to solve. Based on this, this paper uses the super Latin sampling method to generate 1000 sets of historical data scenarios and K-means clustering to cluster the obtained 1000 sets of data into 5 categories, which can ensure the reliability of the data and the stability of the calculation.
Table 1.
Electricity and gas price parameters.

Figure 5.
Renewable energy data and load data for each MG: (a) electrical load of MG1; (b) thermal load of MG1; (c) MG1 photovoltaic; (d) electrical load of MG2; (e) thermal load of MG2; (f) MG2 wind power; (g) electrical load of MG3; (h) thermal load of MG3; (i) MG3 wind power.
Figure 6.
Historical data on CES electricity sales prices.
Table 2.
Initial scene probabilities.
5.2. Scheduling Plan
In this section, the goal of the dispatch plan is to optimize the energy exchange between MGs and CES to cope with various uncertainties such as fluctuations in renewable energy, changes in load demand, and fluctuations in electricity prices. The design of the dispatch plan should not only minimize the operating cost of each microgrid, but also ensure the reliability and economic benefits of the entire system.
5.2.1. Convergence Analysis
This paper employs the ADMM algorithm to distribute the solution of sub-problems 1 and 2. The iterative convergence results are shown in Figure 7 and Figure 8. Figure 4 presents the distributed iterative convergence results for sub-problem P1. As shown in Figure 7, under the assumption that the algorithm precision is set to 0.1, the proposed method converges after 6 iterations, with a computation time of 4278.3 s. The final convergence values for each MG are CNY 21,733.16, CNY 22,591.83, and CNY 14,423.83, and the final convergence value for CES is CNY 161.30. Figure 8 shows the distributed iterative convergence results for sub-problem P2. As shown in Figure 8, under the assumption that the algorithm precision is set to 0.1, the proposed method converged after 15 iterations, with a computation time of 27.1 s. The final bargaining results for each MG were CNY 2648.40, CNY 1300.48, and CNY 1344.27, while the final bargaining result for CES was CNY –5291.86. The residuals in Figure 4 and Figure 5 represent the sum of the differences in electricity interaction and electricity price interaction between microgrids, respectively. The formula are
and

Figure 7.
Iterative convergence results for sub-problem 1: (a) MG1 cost iteration status; (b) MG2 cost iteration status; (c) MG3 cost iteration status; (d) CES cost iteration situation; (e) electric energy interaction iterative residual situation.

Figure 8.
Iterative convergence results for sub-problem 2: (a) MG1 negotiation iteration status; (b) MG2 negotiation iteration status; (c) MG3 price negotiation iteration status; (d) CES bargaining iteration status; (e) electricity price interaction iteration residual situation.
The scalability results of the algorithm used in this paper under different objectives are shown in Table 3. We can see that as the microgrid scale increases, the number of iterations and the solution time also increase accordingly.
Table 3.
Solution of the algorithm used in this paper under different objectives.
This paper employs the C&CG algorithm to solve the multi-scenario three-stage robust optimization model for each MG. The convergence status of the internal iterations within each MG at the 6th iteration under the distributed global problem-solving framework is shown in Figure 9. It can be observed that, under the condition of setting the algorithm accuracy to 0.01, the C&CG algorithm converges at the second iteration, reflecting its excellent convergence performance.
Figure 9.
Convergence of C&CG iterations for each MG: (a) C&CG iterative convergence of MG1; (b) C&CG iterative convergence of MG2; (c) C&CG iterative convergence of MG3.
This paper employs the PH algorithm to solve the main problem MP in the multi-scenario three-stage robust optimization model for each MG. The convergence of the PH algorithm iterations for each MG during the second iteration under the C&CG algorithm framework is shown in Figure 10. It can be observed that, under the condition of setting the algorithm accuracy to 0.1, the PH algorithm converges within six iterations, reflecting its excellent convergence performance.
Figure 10.
PH iteration convergence for each MG: (a) PH iteration convergence of MG1; (b) PH iteration convergence of MG2; (c) PH iteration convergence of MG3.
Since the optimization model for each MG in this paper is multi-scenario, three-stage, and robust and since the C&CG algorithm is used for solving it, let the current iteration number of the C&CG algorithm be k. Then, the number of decision variables for each MG is 1200k + 24, and there are a total of 75k + 1 constraints.
The results of solving each MG using the traditional C&CG algorithm and the C&CG -PH algorithm are shown in Table 4. It can be seen that the C&CG algorithm embedded with PH is superior to the ordinary C&CG algorithm in terms of the number of iterations and solution speed when solving problems.
Table 4.
Solution under different algorithms.
The iterative process of the fraud factor for CES and each MG is shown in Figure 11. As shown in Figure 11, the fraud factor gradually increases and reaches the upper bound of the fraud factor. At this point, fraud equilibrium is achieved among all entities, preventing the breakdown of multi-entity cooperation. Each entity believes that the fraudulent choices they make maximize the benefits obtained compared to honest behavior, achieving Pareto optimality for each entity and social optimality, while also enhancing the ability to cope with uncertain risks.
Figure 11.
Iteration of fraud factors for each entity: (a) fraud factor iteration of CES; (b) fraud factor iteration of MG1; (c) fraud factor iteration of MG2; (d) fraud factor iteration of MG3.
In terms of fraud tolerance, a high fraud equilibrium index indicates that the algorithm has a high tolerance for fraud by that participant, while a low index indicates low tolerance. It can be seen that the fraud tolerance for MG1 and MG2 is relatively low, with their speculation indices being 0.6 and 0.45, respectively. In contrast, the tolerance for shared energy storage and MG3 is relatively high, with their speculation indices being 0.98 and 4.85, respectively. From a mathematical perspective, this is because the absolute values of the shared benefits for MG1 and MG2 are larger, while those for shared energy storage and MG3 are smaller. From a physical perspective, MG1 and MG2 participate more fully in cooperation, and cooperation has a greater impact on their energy costs, while shared energy storage and MG3 are the opposite. Therefore, the algorithm imposes stricter requirements on participants who deeply engage in cooperation regarding honest negotiation.
5.2.2. Analysis of Traded Electricity Volume and Traded Electricity Price
The results of the electricity transactions and electricity price transactions between each MG and CES are shown in Figure 12 and Figure 13, respectively. Analysis of Figure 12 reveals that MG1 is in a power-selling state during the time periods from 1:00 to 15:00 and from 23:00 to 24:00. Due to the strong power supply capacity of its distributed power sources, it can meet its own load requirements and generate surplus electricity. Therefore, it chooses to feed the excess electricity back into the shared energy storage power station to convert the surplus electricity into value. During other time periods, when MG1’s local power supply is insufficient, it switches to obtaining the required electricity from the energy storage power station to ensure power supply needs and system efficiency. During the 1:00–7:00 and 21:00–24:00 time slots, when internal system resources are abundant and can adequately meet its own electricity load, MG2 sells the excess electricity to the energy storage power station to maximize its own revenue and enhance the overall resource utilization of the system. During other scheduling periods, MG2’s distributed resources cannot meet its own electricity load, so it purchases electricity from the shared energy storage power plant to maintain system stability. For MG3, during the 1:00–9:00 and 22:00–24:00 time periods, there is a significant surplus of electricity, which is then supplied to the energy storage power station. During other periods, MG3 primarily relies on purchasing electricity from the energy storage power station to maintain load balance.
Figure 12.
Electricity traded between each microgrid and the shared energy storage power station.
Figure 13.
Transaction electricity prices between various microgrids and shared energy storage power stations.
Analysis of Figure 13 shows that by introducing a fraud game model between the microgrid and the shared energy storage power station, all parties involved achieve dynamic negotiation and optimization of transaction prices while safeguarding their respective interests. This negotiation mechanism creates a favorable cooperative environment for all systems, ensuring that electricity transaction prices remain between the grid’s time-of-use rates and feed-in tariffs during different time periods. This pricing structure balances the economic interests of both the energy storage power plant and the microgrid, while incentivizing resource optimization and mutually beneficial transactions, thereby providing strong support for the high-proportion integration of renewable energy within the region.
5.2.3. Worst-Case Scenario Analysis
Taking the worst-case scenario of the source-load price under Scenario 1 of MG1 as an example for analysis. As shown in Figure 14, the predicted scenario is used as the baseline for the source-load price distribution. In the worst-case scenario for PV power generation, the worst-case PV power output is distributed at the extreme points of the lower fluctuation range during the 9:00–11:00 and 13:00–14:00 time periods. The actual output is lower than the predicted output, requiring the system to purchase additional electricity from external sources or increase the output of power generation units to compensate for the difference between the actual and predicted outputs.
Figure 14.
Worst-case scenario for MG1 source load price. (a) Worst-case scenario for electricity purchase prices; (b) Worst-case scenario for electricity sales prices; (c) Worst-case scenario for electrical load; (d) Worst-case scenario for heat load; (e) Worst-case scenario for photovoltaics.
In the worst-case electricity load scenario, the worst-case electricity load power is distributed at the upper interval extreme points during the 1:00, 4:00–6:00, 14:00, 18:00, and 23:00 time periods. In the worst-case thermal load scenario, the worst-case thermal load power is distributed at the upper interval extreme points during the 1:00, 5:00, 7:00, 12:00, 14:00–19:00, and 21:00–22:00, with actual power exceeding predicted power. To mitigate the impact of fluctuations during peak periods, the system must not only mobilize additional local controllable resources to ensure supply stability but also maintain flexible energy storage states to balance peak and off-peak loads.
In the worst-case scenario for electricity prices, the worst-case purchase price is distributed across the upper extremes of the fluctuation range during the 2:00–3:00, 5:00–7:00, 15:00–19:00, and 23:00–24:00 time slots. The worst-case selling price is distributed at the lower extreme of the fluctuation range during the 13:00 and 21:00 time slots. When facing market risks caused by electricity price uncertainty, MG1 can fully utilize the energy trading mechanism with shared energy storage power plants to mitigate the adverse effects of rising electricity purchase costs and declining electricity sales revenue by establishing flexible electricity purchase and sale strategies.
5.2.4. Scheduling Plan Analysis
The scheduling operation plan under Scenario 1 of MG1 was taken as an example for analysis. As shown in Figure 15, based on the results of the power optimization analysis, the scheduling operation plan under Scenario 1 of MG1 was taken as an example for analysis. Based on the results of the power optimization analysis, it is evident that the renewable energy source configured for MG1 is PV, which exhibits significant temporal variability in its output characteristics. PV output begins to rise gradually from 7:00 AM, reaches a peak between 11:00 AM and 2:00 PM, and then decreases gradually after 5:00 PM, reflecting a trend highly correlated with changes in sunlight intensity. From the perspective of electricity procurement behavior, MG1 prioritizes purchasing electricity from the grid during low-cost periods such as 1:00–8:00 and 15:00–19:00 to reduce operational costs. During peak-price periods such as 19:00–22:00, it timely purchases electricity from the shared energy storage power station to fill the load gap, thereby avoiding the economic impact of peak-price electricity rates. Additionally, the energy storage within MG1 actively charges during low-cost periods, such as 1:00 AM, 4:00 AM, 7:00 AM, 15:00–18:00, and 24:00, and releases energy during high-load, high-tariff periods, such as 13:00–14:00 and 19:00–21:00, effectively leveraging the cost-optimization benefits of “charging during off-peak hours and discharging during peak hours.” The CHP unit serves as the primary power generation unit supporting the microgrid’s electricity demand, primarily operating during the 5:00–24:00 time slot. It possesses strong regulatory capabilities, maintaining a relatively stable output during daytime and nighttime peak load periods. It supplements energy supply needs during periods of insufficient PV output or high system electricity prices, while coordinating with the energy storage system and grid power purchase mechanisms to achieve system power balance.

Figure 15.
Scheduling operation plan under scenario 1 of MG1: (a) electricity optimization results; (b) thermal energy optimization results.
Based on the thermal energy optimization results, the heating system of MG1 is primarily composed of CHP units and GB units. The two units achieve thermal power balance regulation through complementary operation strategies: during periods of low thermal load and insufficient CHP output, such as 1:00 and 4:00, the GB units take the lead in heat production; during other periods, the CHP units dominate the heating tasks. This hybrid heating mode not only meets thermal demand but also optimizes thermal energy costs, thereby enhancing the overall coordination efficiency of the energy system.
The CES scheduling operation plan is shown in Figure 16 and Figure 17. Driven by electricity prices, the CES exhibits typical peak-valley arbitrage characteristics. During periods of lower electricity prices, such as 3:00–4:00, 15:00, and 24:00, CES actively chooses to charge to absorb the system’s low-cost surplus electricity; during peak electricity demand periods and high-price periods, such as 14:00 and 18:00–21:00, CES releases stored electricity to meet regional power demand. This “charge at low prices, discharge at high prices” strategy effectively mitigates the impact of electricity price fluctuations on system operational economics, significantly reducing overall operating costs. By identifying the energy surpluses/deficits and cost requirements of each microgrid (MG) during different time periods, CES conducts targeted transactions and adjustments. This not only maximizes its own economic returns but also enhances the stability and economic efficiency of microgrid operations. This operational approach reflects the collaborative win-win characteristics among multiple stakeholders in distributed energy systems, effectively leveraging the differences in their interests to achieve overall optimized operation.
Figure 16.
CES energy optimization results.
Figure 17.
CES charging and discharging.
5.3. Cost-Benefit Analysis
The cost and benefit analysis for each MG and the CES is presented in Table 5. Table 5 provides a detailed cost and benefit analysis for each MG and CES, with the total alliance cost decreasing from CNY 66,319.37 at the initial negotiation failure to CNY 57,924.89 after the final negotiation, indicating a total system cost reduction of CNY 8394.48. This result demonstrates the overall optimization capability of the Nash bargaining mechanism in multi-energy collaborative systems. At the individual level, the costs of the three microgrids were reduced by CNY 742.60, CNY 1069.92, and CNY 1451.40. Meanwhile, the CES obtained a benefit of CNY 5130.56 through participation in energy transactions involving peak shaving and valley filling, highlighting its economic value as a regulatory hub within the system. Each microgrid realized increased profits in the sub-problem of maximizing electricity trading revenue by uploading relatively low fraudulent costs, thereby confirming the effectiveness of such behavior in enhancing the overall benefits. It can be concluded that the cooperative operation between multiple MGs and the CES, based on the Nash bargaining theory, contributes to reducing the costs for all MGs, the CES, and the alliance as a whole, while also ensuring a fair distribution of benefits.
Table 5.
Costs and benefits of each MG and CES.
5.4. Uncertainty Analysis
Taking the impact of PV uncertainty budgeting on costs under Scenario 1 of MG1 as an example, we conduct an analysis. As shown in Figure 18, the costs of MG1 vary under different uncertainty budgeting scenarios. As uncertainty budgeting increases, costs also increase. This is because the larger the uncertainty budgeting, the more often PV output is assigned to the most adverse scenarios, resulting in a decrease in total PV output over a scheduling cycle. During the worst-case period for renewable energy, if there is still excess output that can be sold to the upper-level distribution grid to reduce operating costs, the output sold to the distribution grid during the worst-case period will be less than during the baseline period, resulting in lower cost savings and an increase in total operating costs; Conversely, during periods when demand exceeds supply, the output from the supply side during the worst-case scenario is lower than that of the baseline period, leading MG1 to purchase more energy from the upper-level energy grid to meet demand, thereby increasing MG1’s total costs. Therefore, uncertainty budgeting affects MG1’s operating costs. Thus, uncertainty budgeting can serve as an indicator of MG1’s risk preference. MG1s with larger uncertainty budgets operate more conservatively and have stronger risk-bearing capacity, but their operating costs are higher.
Figure 18.
Impact of uncertainty budget values on MG1 costs.
6. Conclusions
This paper addresses the risk of fraudulent behavior in multi-microgrid and shared energy storage systems by developing a collaborative optimization framework that integrates robustness and game theory. By introducing a multi-source uncertainty-based electricity price model, the randomness and uncertainty inherent in microgrid operations are effectively characterized. At the scheduling level, a three-stage robust optimization method has been employed to enhance the risk resilience of operational plans. Additionally, to address potential fraudulent behavior in energy transactions, a Nash bargaining game mechanism is introduced and a dynamic adjustment model for fraud factors is established, ensuring that all parties attain overall Pareto optimality while pursuing their individual maximum benefits. Finally, a parallelizable AOP-Looped C&CG algorithm and a distributed solution framework based on ADMM have been designed to significantly improve the efficiency of solving the model.
Compared with existing methods, the proposed approach has several advantages. Most of the current studies on multi-microgrid energy management focus on economic optimization under ideal or deterministic conditions, without explicitly considering fraudulent users. In contrast, our method incorporates a robust optimization framework that accounts for possible fraudulent behaviors, thereby improving the reliability and practicality of the scheduling model. Furthermore, by introducing a shared energy storage system and a collaborative optimization strategy, the proposed method enhances the energy interaction among microgrids and achieves a better balance between local autonomy and global efficiency. Case studies demonstrate that the proposed approach can effectively reduce system operation costs and improve resilience compared with traditional optimization models.
Future research could explore more complex fraud strategies and integrate reputation-based incentive mechanisms to curb long-term opportunistic behavior, thereby enhancing the stability of multi-agent cooperation. The current study uses box-type uncertainty sets to represent source-load-price uncertainty. Future research could introduce data-driven methods (such as machine learning-based prediction intervals or distributed robust optimization) to construct more realistic uncertainty sets, balancing conservatism and economic efficiency in scheduling. This study primarily focuses on the interaction between electricity and energy. Extending the framework to multi-energy systems (integrating cooling, heating, and hydrogen energy) and incorporating ancillary services would enhance the model’s practical application value in complex integrated energy systems.
Author Contributions
H.B.: Writing—review and editing, Project administration, Methodology, Conceptualization. K.J.: Writing—review and editing, Project administration, Methodology, Conceptualization. All authors have read and agreed to the published version of the manuscript.
Funding
The authors declare that this research, authorship, and/or publication of this article have not received any financial support.
Data Availability Statement
The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Abbreviations
| MG | microgrid |
| CES | community energy storage |
| BdC | bidirectional converters |
| DcUS | data-correlated uncertainty set |
| C&CG | Column-and-Constraint Generation |
| ADMM | Alternating Direction Method of Multipliers |
| MMG | multi-microgrid |
| DFIG | dynamics in doubly fed induction generators |
| P2P | peer-to-peer |
| MEMG | multi-energy microgrids |
| CHP | cogeneration of heat and power |
| GB | gas boiler |
References
- Ferrada, F.; Babonneau, F.; Homem-de-Mello, T.; Jalil-Vega, F. The role of hydrogen for deep decarbonization of energy systems: A Chilean case study. Energy Policy 2023, 177, 113536. [Google Scholar] [CrossRef]
- Khorramfar, R.; Mallapragada, D.; Amin, S. Electric-gas infrastructure planning for deep decarbonization of energy systems. Appl. Energy 2024, 354, 122176. [Google Scholar] [CrossRef]
- Abbasi, M.; Abbasi, E.; Li, L.; Aguilera, R.P.; Lu, D.; Wang, F. Review on the microgrid concept, structures, components, communication systems, and control methods. Energies 2023, 16, 484. [Google Scholar] [CrossRef]
- Tariq, A.H.; Kazmi, S.A.A.; Hassan, M.; Ali, S.M.; Anwar, M. Analysis of fuel cell integration with hybrid microgrid systems for clean energy: A comparative review. Int. J. Hydrogen Energy 2024, 52, 1005–1034. [Google Scholar] [CrossRef]
- Thirunavukkarasu, G.S.; Seyedmahmoudian, M.; Jamei, E.; Horan, B.; Mekhilef, S.; Stojcevski, A. Role of optimization techniques in microgrid energy management systems—A review. Energy Strategy Rev. 2022, 43, 100899. [Google Scholar] [CrossRef]
- Wang, Z.; Hou, H.; Wei, R.; Li, Z. A Distributed Market-Aided Restoration Approach of Multi-Energy Distribution Systems Considering Comprehensive Uncertainties from Typhoon Disaster. IEEE Trans. Smart Grid 2025, 16, 3743–3757. [Google Scholar] [CrossRef]
- Wu, X.; Li, S.; He, P.; Zhao, C.; Liu, M. Economic dispatch of multi-microgrids considering flexible load based on distributed consensus algorithm. Electr. Eng. 2025, 107, 4699–4710. [Google Scholar] [CrossRef]
- Tehrani, K.; Simde, D.; Fozing, J.; Jamshidi, M. (Eds.) A 3D design of small hybrid farm for microgrids. In Proceedings of the 2022 World Automation Congress (WAC), San Antonio, TX, USA, 11–15 October 2022. [Google Scholar]
- Lilliu, F.; Recupero, D.R. A cooperative game-theory approach for incentive systems in local energy communities. Sustain. Energy Grids Netw. 2024, 38, 101391. [Google Scholar] [CrossRef]
- Liu, X.; Ji, Z.; Sun, W.; He, Q. Robust game-theoretic optimization for energy management in community-based energy system. Electr. Power Syst. Res. 2023, 214, 108939. [Google Scholar] [CrossRef]
- Naji El Idrissi, R.; Ouassaid, M.; Maaroufi, M. Game theory approach for energy consumption scheduling of a community of smart grids. J. Electr. Eng. Technol. 2023, 18, 2695–2708. [Google Scholar] [CrossRef]
- Gao, X.; Zhang, X. Robust collaborative scheduling strategy for multi-microgrids of renewable energy based on a non-cooperative game and profit allocation mechanism. Energies 2024, 17, 519. [Google Scholar] [CrossRef]
- Dorahaki, S.; Muyeen, S.; Amjady, N. A Stackelberg Game Theory Model for Integrated Community Energy Storage Systems. IEEE Access 2024, 12, 152908–152920. [Google Scholar] [CrossRef]
- Wang, C.; Xu, H.; Guo, C.; Zhang, X.; Qiao, Y. Multi-stakeholder behavior analysis of shared energy storage market based on evolutionary game. CSEE J. Power Energy Syst. 2024, 1–2, early access. [Google Scholar]
- Liang, Z.; Chung, C.; Wang, Q.; Chen, H.; Yang, H.; Wu, C. Fortifying Renewable-Dominant Hybrid Microgrids: A Bi-Directional Converter Based Interconnection Planning Approach. Engineering 2025, 51, 130–143. [Google Scholar] [CrossRef]
- Hou, H.; Wang, Z.; Zhao, B.; Zhang, L.; Shi, Y.; Xie, C. Peer-to-peer energy trading among multiple microgrids considering risks over uncertainty and distribution network reconfiguration: A fully distributed optimization method. Int. J. Electr. Power Energy Syst. 2023, 153, 109316. [Google Scholar] [CrossRef]
- Zhang, R.; Zhang, Y.; Zou, Y.; Jiang, T.; Li, X. Privacy-Preserving Cooperative Optimal Operation for Reconfigurable Multimicrogrid Distribution Systems: A Noniterative Distributed Optimization Approach. IEEE Trans. Ind. Inform. 2025, 21, 5766–5776. [Google Scholar] [CrossRef]
- Zhong, J.; Li, Y.; Cao, Y.; Tan, Y.; Peng, Y.; Zhou, Y.; Nakanishi, Y.; Li, Z. Robust coordinated optimization with adaptive uncertainty set for a multi-energy microgrid. IEEE Trans. Sustain. Energy 2022, 14, 111–124. [Google Scholar] [CrossRef]
- Khaligh, V.; Ghezelbash, A.; Mazidi, M.; Liu, J.; Ryu, J.-H. P-robust energy management of a multi-energy microgrid enabled with energy conversions under various uncertainties. Energy 2023, 271, 127084. [Google Scholar] [CrossRef]
- Tan, B.; Lin, Z.; Zheng, X.; Xiao, F.; Wu, Q.; Yan, J. Distributionally robust energy management for multi-microgrids with grid-interactive EVs considering the multi-period coupling effect of user behaviors. Appl. Energy 2023, 350, 121770. [Google Scholar] [CrossRef]
- Yu, M.; Liao, M.; Du, M.; Chen, A. Cooperative Optimal Operation of Multi-Microgrids Based on Two-Staged Robustness. In Proceedings of the 2024 China Automation Congress (CAC), Qingdao, China, 1–3 November 2024. [Google Scholar]
- Zhang, S.; Hu, W.; Cao, X.; Du, J.; Zhao, Y.; Bai, C.; Liu, W.; Tang, M.; Zhan, W.; Chen, Z. A two-stage robust low-carbon operation strategy for interconnected distributed energy systems considering source-load uncertainty. Appl. Energy 2024, 368, 123457. [Google Scholar] [CrossRef]
- 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]
- Aminlou, A.; Hayati, M.; Zare, K. ADMM-based fully decentralized Peer to Peer energy trading considering a shared CAES in a local community. J. Energy Manag. Technol. 2024, 8, 141–147. [Google Scholar]
- Wang, J.; Li, Y.; Liu, J. Distributed coordinated planning for cross-border energy system: An ADMM-based decentralized approach. Electr. Power Syst. Res. 2023, 221, 109441. [Google Scholar] [CrossRef]
- Zhai, J.; Jiang, Y.; Shi, Y.; Jones, C.N.; Zhang, X.-P. Distributionally robust joint chance-constrained dispatch for integrated transmission-distribution systems via distributed optimization. IEEE Trans. Smart Grid 2022, 13, 2132–2147. [Google Scholar] [CrossRef]
- Lü, Y.; Zhao, X.; Shah, P. Robust optimal framework for doubly fed induction generator with uncertain dynamics. Prot. Control Mod. Power Syst. 2024, 9, 129–141. [Google Scholar] [CrossRef]
- Wang, Y.; Li, R.; Erofeev, A.; He, J. Benefit–cost model of microgrid integration based on Nash negotiation optimization algorithm. Electr. Eng. 2025, 1–12. [Google Scholar] [CrossRef]
- Fu, Y.; Sun, Q.; Wennersten, R.; Pang, X.; Liu, W. Interactive scheduling optimization of regional multi-agent integrated energy systems considering uncertainties based on game theory. J. Clean. Prod. 2024, 449, 141697. [Google Scholar] [CrossRef]
- Du, J.; Han, X.; Wang, J. Distributed cooperation optimization of multi-microgrids under grid tariff uncertainty: A nash bargaining game approach with cheating behaviors. Int. J. Electr. Power Energy Syst. 2024, 155, 109644. [Google Scholar] [CrossRef]
- Wang, Z.; Hou, H.; Zhao, B.; Zhang, L.; Shi, Y.; Xie, C. Risk-averse stochastic capacity planning and P2P trading collaborative optimization for multi-energy microgrids considering carbon emission limitations: An asymmetric Nash bargaining approach. Appl. Energy 2024, 357, 122505. [Google Scholar] [CrossRef]
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).