1. Introduction
With the continuous extraction and consumption of a large amount of traditional fossil fuels, resulting in energy shortages and a series of issues such as climate change, wind and solar power, as renewable and clean energy sources, are indispensable components of the new power system. Achieving sustainable, economical, and efficient utilization of renewable energy is a focal point of attention worldwide [
1,
2,
3,
4,
5,
6]. Integrated energy microgrid systems play a crucial role in the local integration of renewable energy and regional grid reliability. Therefore, constructing a multi-energy complementary microgrid system is imperative. However, since the formal definition of microgrids in 2002 [
7], single-microgrid systems have faced challenges such as poor self-regulation capability and high economic costs. Multiple microgrid systems can operate in coordination, leveraging energy complementarity among microgrids to significantly enhance overall system economy and stability [
8].
In the cooperative operation of multiple microgrids, the issue of fair benefit allocation among the microgrid operators (MGs) is a crucial aspect that must be addressed. Game theory offers significant advantages in studying multi-agent decision-making [
9,
10]. In the context of power systems, game theory is primarily categorized into non-cooperative games [
11,
12,
13] and cooperative games [
14,
15,
16,
17,
18,
19,
20,
21]. Researchers both domestically and internationally have extensively explored the application of these game theory categories in the collaborative optimization of multi-microgrid systems. Reference [
11] proposes a robust scheduling model for fair benefit allocation using non-cooperative game theory, ensuring the equitable distribution of benefits among MGs. Reference [
12] explores the energy management problem between multiple microgrids and shared energy storage by establishing a non-cooperative game model, leveraging the flexible control capabilities of shared energy storage systems to optimize the economic performance of each microgrid system. Reference [
13] proposes a leader–follower game model with the multi-microgrid system as the leader and power users as followers, effectively addressing the electricity trading price issue between microgrids and power users. However, because non-cooperative game theory emphasizes individual interests, it may lead to local optima and fails to ensure fairness at the system level.
Compared to non-cooperative games, cooperative games prioritize collective interests, enabling stable solutions and achieving Pareto optimality [
14]. Reference [
15] proposes a cross-regional cooperative game model involving a large power grid and small microgrids, resulting in profit improvement for each participant. References [
16,
17,
18] incorporate pollution emission control in the multi-microgrid cooperation model, ensuring both low-carbon operation and economic viability of multiple microgrids. References [
19,
20] propose a multi-microgrid cooperative game model based on Nash bargaining theory, ensuring equitable benefit allocation and the economic efficiency of the system. Thus, it is clear that the aforementioned studies all prove that the cooperative game model is better suited for the cooperative operation of multi-microgrid systems from an economic perspective. However, it should be noted that the aforementioned studies fail to account for the effects of the uncertainties related to renewable energy output and electricity trading prices on the operation of multi-microgrid systems. Effectively managing these uncertainties will significantly improve the profits of individual microgrids and the overall system [
21]. Existing studies have explored the variability in renewable energy output [
22,
23,
24] and the fluctuations in electricity trading prices [
25], but few have addressed the combined effects of these uncertainties on the cooperative operation of multi-microgrid systems. Most studies so far rely on probability density functions to generate probabilistic scenario sets to characterize these uncertainties. However, this approach struggles to accurately reflect the real-world uncertainties in system operations. Additionally, few studies explore the operation and trading of four or more energy entities within this framework. Therefore, it is crucial to conduct in-depth research on the uncertainties surrounding renewable energy output and electricity trading prices in the cooperative operation of multi-microgrid systems.
In summary, in response to the uncertainties in renewable energy output and electricity prices, as well as the issue of benefit distribution among microgrid participants in cooperative operation, the main contributions of this paper are as follows:
Three microgrid models and one distribution system model are individually established, each of which includes different energy conversion devices and demand responses. Based on Nash bargaining theory, an energy trading model for the multi-microgrid system with multi-energy complementarity and the distribution system is developed.
Chance constraints and robust optimization methods are incorporated into the model to mitigate the risks posed by various uncertainties, thereby enhancing the system’s security and stability.
The alternating direction method of multipliers (ADMM) is employed to solve the Nash bargaining model for MGs and the distribution system operator (DSO), which safeguards the privacy of individuals involved in the transaction while enabling energy sharing among operators, thereby reducing operational costs.
The structure of the rest of this paper is as follows:
Section 2 develops the energy trading model between MGs and the DSO;
Section 3 presents the uncertainty model for MGs and the DSO;
Section 4 develops the cooperative game model between multiple microgrids and the DSO using Nash bargaining theory, and solves it using the ADMM algorithm;
Section 5 provides a case study;
Section 6 presents a summary and outlook on the research findings.
2. MGs and DSO Electricity Trading Model
The multi-microgrid system constructed in this study comprises a DSO, a higher-level distribution network (interacting solely with the DSO for electrical energy exchange), and three MGs (MG1, MG2, MG3), as illustrated in
Figure 1. It is assumed that each microgrid belongs to a different entity and independently engages in energy exchange with the DSO. Through this process, each entity satisfies its own electrical and thermal load demands. The integrated energy microgrid system involves numerous devices, with each microgrid containing different types of equipment including combined heat and power (CHP) units, wind turbines (WTs), photovoltaic (PV) arrays, thermal power (TP) units, gas boilers (GBs), and energy storage systems (ESSs). The collaborative interaction among multiple grids facilitates the efficient utilization of renewable energy and supports sustainable development.
The specific cooperation operation process is as follows: In the cooperative operation of the DSO and the three MGs, the parties are in a relationship of equality and cooperation to optimize the allocation of power resources. Each MG makes the decision to buy or sell electricity or energy storage based on the trading tariff set by the DSO and the availability of its own internal wind and light resources, equipment output status, and power demand, while the DSO adjusts the tariff and power scheduling strategy based on its own operation, the higher-level distribution grid time-of-day tariff, and the demand of each MG, striving to maximize the benefits of cooperation. Information is collected and exchanged in chronological order: The DSO and each MG collect relevant data, such as wind and light resource forecasts, load demand, storage status, and tariff information, at the beginning of each trading cycle (24-h cycle). The DSO and the MGs then jointly make decisions based on this information, with the DSO setting the trading tariff and adjusting the power flow based on feedback from the MGs (updating the trading tariff every hour), and the MGs choosing whether to buy, sell, or store power based on the tariffs, their own internal demand for electricity and heat loads, and their equipment’s operating conditions. In this process, both parties exchange information (including real-time data and historical data) and game decision-making to ensure the optimal operation of the power system and maximize the benefits of each party.
2.1. Formula Symbols in the Model
We now explain each of the formula symbols involved throughout the text. We use subscripts for indices and superscripts for descriptions. Also, the unit of each parameter and variable is given in parentheses after its definition.
Sets
| Set of all time periods (h), |
| Set of one-hour time periods |
| Set of all operational costs, MG-exclusive equipment, and DSO operational transactions |
| Set of all devices and demand responses jointly owned by MG and DSO |
| Set of all TP units |
Operational Parameters
, | Total operating costs for MG i and DSO, respectively (CNY) |
, | Renewable energy penalty costs for MG i and DSO, respectively (CNY) |
, , | Operating costs for CHP, GB, and ESS in MG i, respectively (CNY) |
, | Demand response costs for MG i and DSO, respectively (CNY) |
, | The MG i pays the cost of electricity to the DSO and the DSO pays the cost of electricity to the MG i, respectively (CNY) |
| Costs for the DSO to interact with the higher-level grid electricity (CNY) |
, | Operating costs for TP units and ESS in DSO, respectively (CNY) |
| Penalty costs for price deviations for DSO (CNY) |
, | The operating costs of subject i before and after the cooperation, respectively (CNY) |
, | Costs of DSO, MG i when operating independently, respectively, i.e., negotiation rupture point (CNY) |
, | DSO cooperation costs and MG cooperation costs without electricity trading costs, respectively (CNY) |
, | The operating costs of MGs before cooperation with DSO, respectively, solved by the solver (CNY) |
, | The solved minimum cooperation costs for the distribution network operator and the multi-microgrid operator, respectively (CNY) |
| Solved optimal power interactions between DSO and MG i (MW) |
| Optimal electricity interaction prices between distribution grid operators and multi-microgrid operators (CNY/MWh) |
Renewable energy parameters
| Renewable energy penalty coefficient (CNY/MW) |
, , , | WT and PV abandonment for MG i and DSO, respectively (MW) |
, | The outputs of WT and PV in subject i at time t, respectively (MW) |
, | The predicted output values of WT and PV in subject i at time t, respectively (MW) |
CHP parameters
| Unit loss costs of CHP in MG i (CNY/m3) |
| Gas intake of CHP in MG i at time t (m3) |
, | The generation and heating power of the CHP in MG i at time t, respectively (MW) |
| Calorific value of natural gas combustion (MW/m3) |
, | The upper bounds on the power generation and heat generation of CHP in MG i, respectively (MW) |
GB parameters
| Unit loss costs of GB in MG i (CNY/m3) |
| Gas intake to the GB in MG i at time t (m3) |
| Heat generation power of GB in MG i at time t (MW) |
| Upper limit of heat generation power of GB in MG i (MW) |
ESS parameters
| Unit loss costs of ESS in MG i and DSO
(CNY/MW) |
| Charging and discharging power of ESS in MG i and DSO, respectively (MW) |
| Capacity of storage device i at time t (MWh) |
| Upper and lower limits of the capacity of ESS i, respectively (MWh) |
| The maximum charging and discharging power of ESS i, respectively (MW) |
TP unit parameters
| Unit operating cost of the nth TP unit (CNY/MW) |
| Output of the nth TP unit at time t (MW) |
, | The upper and lower limits of the output electric power of TP unit n, respectively (MW) |
, | The maximum upward climb and downward climb of TP unit n output electric power, respectively (MW) |
Demand response parameters
, | Unit penalty costs for curtailable load, transferable load, respectively (CNY/MW) |
, , , | Curtailable electrical loads, transferable electrical loads, curtailable thermal loads, and transferable thermal loads in MG i, respectively (MW) |
, | Curtailable electric loads, transferable electric loads in DSO, respectively (MW) |
, | The electrical loads of subject i before and after the demand response at moment t, respectively (MW) |
, | The heat loads of MG i before and after the demand response at moment t, respectively (MW) |
Technology parameters
| Price deviation coefficient |
| Electricity price uncertainty adjustment parameters (constant) |
| confidence level (constant) |
, | Charging and discharging efficiency of the storage device, respectively (constant) |
, | The power and heat generation efficiencies of CHP, respectively (constant) |
| Heat generation efficiency of GB (constant) |
, | The proportions of the curtailable and transferable electric loads of subject i to the total electric load at moment t, respectively (constant) |
, | The ratios of curtailable and transferable heat loads of MG i to the total heat load at moment t, respectively (constant) |
, | Maximum number of iterations (constant) |
Algorithmic parameters
, | Lagrange multiplier |
, | Penalty factor |
Function name
| Probability cumulative distribution function |
, | Standard normal distribution inverse function |
, , | The variance of WT and PV, respectively |
Continuous variables
Electricity trading variables
, | The traded power of MG i and DSO at time t, respectively (MW) |
, | The transaction tariffs of MG i and DSO at moment t, respectively (CNY/MWh) |
, | The unit price of electricity purchased from the higher grid by the DSO at time t and the unit price of electricity sold, respectively (CNY/MWh) |
, | The amount of electricity purchased and sold by the DSO to the higher grid at time t, respectively (MW) |
, | The upper and lower bounds on the amount of electricity traded by MG i with the DSO at moment t, respectively (MW) |
, | The upper and lower bounds on the amount of electricity traded between DSO and MG i at moment t, respectively (MW) |
, | The upper limits of the power purchased and sold by the DSO to the higher grid at time t, respectively (MW) |
Auxiliary Variables
| Variables for relaxation the problem |
| Variables used to linearize the robust problem |
, | Variables that decouple the problem (MW) |
Dual variables
, | Uncertainty time variables |
Binary and integer variables
Battery variables
| A state of 1 for ESS i indicates charging at moment t, otherwise 0 |
| A state of 1 for ESS i indicates discharging at moment t, otherwise 0 |
Trading Variables
| A status of 1 indicates that the DSO purchases power from the higher grid, otherwise 0 |
| A status of 1 indicates that the DSO sells power to the higher grid, otherwise 0 |
2.2. MG Model
In addition to coordinating devices within their respective areas, each microgrid must engage in electricity trading with the DSO to meet its own electric and thermal load requirements. The specific model and constraints are detailed below.
The specific model is as follows:
2.3. DSO Model
The specific model is as follows:
2.4. System Equipment Model
The system equipment maintains functions such as energy production and exchange for the microgrids within each campus. Different types of equipment serve distinct roles in this process. The following describes the models of the system equipment included in the microgrid:
2.4.1. Renewable Energy Unit
Renewable energy units are devices that utilize renewable resources for energy production, thereby promoting green and sustainable development.
2.4.2. ESS
ESSs are devices that store electrical energy when it is needed and release it when it is not, playing a crucial role in balancing energy supply and demand within systems.
2.4.3. TP
TP units are devices that convert fossil fuels into electrical energy. They are characterized by their efficiency and stability in electricity generation.
2.4.4. CHP
CHP units refer to devices that utilize the heat energy from fuel to generate both electricity and heat in the form of hot water or steam, significantly enhancing energy efficiency.
2.4.5. GB
GBs are devices that generate heat by burning natural gas as fuel, providing heating services.
2.5. Demand Response Model
Demand response models can achieve supply–demand balance by adjusting users’ energy consumption behaviors during different time periods. Flexible loads can be categorized into flexible electrical loads and flexible thermal loads, as detailed in the following models:
2.5.1. Flexible Electrical Load
Flexible electrical load refers to the capability to adjust power consumption flexibly according to the system’s electricity demand.
2.5.2. Flexible Thermal Load
Flexible thermal load refers to the capability to adjust heat consumption flexibly according to the system’s thermal demand.
6. Conclusions
This paper focuses on a multi-microgrid and distribution network system under a multi-uncertainty environment and proposes a Nash bargaining model for MGs and the DSO considering multiple uncertainties. The model is equivalently transformed into problems of minimizing cooperative costs for the multi-microgrid system and maximizing electricity transaction revenues. To address the uncertainty issues, opportunity constraints and robust optimization methods are employed to significantly reduce the impact of uncertainties. Finally, the ADMM distributed algorithm is applied to solve the above subproblems in a distributed manner, and the following conclusions are drawn from the case simulation:
By applying the ADMM distributed algorithm to sequentially solve the cooperative cost minimization and energy trading revenue maximization problems of the multi-microgrid system, it can be concluded that the algorithm demonstrates good convergence performance and ensures the confidentiality of each entity’s information.
Considering the multiple uncertainties in renewable energy output and electricity prices, this approach allows operators to anticipate the risk levels posed by uncertainties to the microgrid system and make sufficient preparations, thereby enhancing the stability and safety of system operation.
Compared to the independent operation model of the multi-microgrid and distribution network system, the operational costs of each entity are lower under the proposed cooperative operation model, which promotes the economic efficiency of the system. Additionally, as the confidence level of renewable energy output, the electricity price deviation coefficient, and the number of periods with electricity price uncertainty increase, the cooperative operation costs of the multi-microgrid and distribution network system also rise. Properly chosen uncertainty parameters can help protect the interests of each entity from excessive harm.
To enhance the accuracy of renewable energy power forecasting, future work will involve using meteorological data as input to the forecasting model and selecting relevant features through correlation analysis, which will reduce the impact of redundant information on the model.
In real life, the proposed model can help optimize the power distribution and the energy production and consumption strategies of microgrids, ensuring that costs are minimized, efficiency is maximized, and system stability is maintained in an uncertain environment. This is of great significance for improving the economic viability of MGs, enhancing the stability of power supply in DSO, and reducing risks caused by fluctuations in wind and solar resources. Particularly in situations where electricity market volatility is high, the model can provide decision-makers with scientific power dispatch and price forecasting solutions.