Next Article in Journal
Research Progress in the Analysis of Chemical Forms of Mercury in Traditional Chinese Medicine
Previous Article in Journal
Low-Pressure Hydrothermal Processing of Disposable Face Masks into Oils
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Optimal Scheduling of Multi-Energy Microgrid Based on Stackelberg Game

1
College of Information and Electrical Engineering, Shenyang Agricultural University, Shenyang 110065, China
2
State Grid Liaoning Electric Power Co., Ltd. Shenyang Power Supply Company, Shenyang 110065, China
*
Author to whom correspondence should be addressed.
Processes 2023, 11(10), 2820; https://doi.org/10.3390/pr11102820
Submission received: 22 August 2023 / Revised: 7 September 2023 / Accepted: 21 September 2023 / Published: 24 September 2023
(This article belongs to the Topic Advances in Power Science and Technology)

Abstract

:
In recent years, rapid industrialization has driven higher energy demand, depleting fossil-fuel reserves and causing excessive emissions. China’s “dual carbon” strategy aims to balance development and sustainability. This study optimizes microgrid efficiency with a tiered carbon-priced economy. A Stackelberg game establishes microgrid-user equilibrium, solved iteratively with a multi-population algorithm (MPGA). Comparative analysis can be obtained without considering demand response scenarios, and the optimization cost of microgrid operation considering price-based demand response scenarios was reduced by 5%; that is 668.95 yuan. In addition, the cost of electricity purchase was decreased by 23.8%, or 778.6 yuan. The model promotes user-driven energy use, elevating economic and system benefits, and therefore, the scheduling expectation of “peak shaving and valley filling” is effectively realized.

1. Introduction

With the rapid development of modern industry, the contradiction between energy consumption and the environment has become increasingly prominent, and the large emission of greenhouse gases has led to a more severe ecological environment and more serious global warming: according to the BP World Energy Statistical Yearbook 2022 [1], global primary energy consumption in 2021 showed a rebound trend, an increase of nearly 6%. This significantly reversed the sharp decline in energy consumption due to lockdowns in many countries around the world in 2020. Therefore, all countries are seeking energy transformation, and any successful and long-lasting energy transformation cannot be separated from the three elements: safety, burden, and low-carbon. Therefore, countries have formulated corresponding emission reduction targets, focusing on policy incentives and government economic investment as the main body to achieve excessive excess of traditional energy to low-carbon energy. In the daily production and consumption process led by electricity as a high-quality energy source, according to the theoretical guidance of “high energy, high energy, low energy and low-use, temperature-oriented, step use”, the three-energy coupling of electricity–heat–gas are explored and improved energy conversion. The new way of rate, especially the utilization of thermal energy, has achieved results in the energy terminal. As a large country of energy use, China strives to achieve carbon peaks by 2030 and achieve carbon neutralization by 2060 [2]. In order to achieve the ambitions and commitments of decarburization and achieve promise, China must establish a relatively sound energy system, with the development of clean energy as the guide, and take the first step in the transformation of China’s energy industry structure [3].
In recent years, many scholars have conducted a lot of research on the optimization of the comprehensive energy system. Zhou Nan and others introduced the time-sharing pricing strategy into the optimization scheduling of energy storage to maximize the annual profit and utilization rate of photovoltaic systems [4]. Li Xiulei et al. established a general model for energy storage and demand response optimization planning, and analyzed the impact of energy storage and demand response on goals in operational strategies. The end of the energy cycle in demand response is usually thermal energy, so the main coupling method is the electrical thermal component, and the load type mainly exists in the form of temperature-controlled loads. However, due to its inherent limitations, thermal energy is often strongly influenced by external weather factors and has a delay effect. Therefore, through research on modeling, optimization, and control of electrical thermal coupling components, its impact on power system stability can be reduced [5]. Wang Dan et al. provided an energy-saving design for temperature-controlled loads in buildings, while considering the limitations of user comfort to determine the operating method of the power plant, and established the optimal allocation model for energy-saving power plants [6]. Wang Chengshan et al. used a simplified equivalent thermodynamic model with first-order parameters and a state control model to smooth out renewable energy in microgrids by replacing energy storage technology with demand side and load response technology [7]. Tang Xiaoting et al. constructed a mathematical model that includes input and output energy balance constraints of energy hubs, system capacity constraints, and energy storage efficiency constraints of renewable energy generation technology [8]. Heiskanin et al. Proposed the Energy System Analysis Environmental Assessment Framework (EAFESA) [9]. This framework can minimize the shortcomings of the two models and maximize the combination of the two models to analyze the no climatic environmental impacts of energy scenarios based on the life cycle. Wu Yong et al. established a multi-objective optimization model for comprehensive planning of various energy storage capacities with the goal of minimizing economic costs and network carbon emissions, but did not consider the impact of different energy storage components on the system [10]. Zhang Xizheng searched algorithm (GSA) and particle swarm optimization (PSO) algorithm by combining gravitational, a hybrid modified GSA-PSO (MGSA-PSO) scheme is proposed to optimize the load dispatch of the microgrid containing electric vehicles. The load dispatch optimization are implemented and analyzed, including the unordered charging strategy, the ordered charging–discharging strategy, and the ordered charging–discharging strategy with distributed generations [11]. Zhang Feng et al. applied a robust ALO optimizer (ALO) algorithm for MPP tracking of solar photovoltaic system, designed the charge controller of the energy storage system, and designed the DC–AC converter to match the frequency of RES with the frequency of DG [12].
In summary, due to the continuous improvement of energy coupling in microgrids and the continuous reform of the electricity market, the mathematical models of equipment in microgrids have increased, and operation scheduling strategies have become more complex. Traditional control methods for loads need to be reformed. In addition, in the context of huge carbon emissions, carbon reduction and environmental benefits cannot be achieved in parallel. Therefore, this article conducts reasonable scheduling of devices in microgrids, seeks more reasonable and economical device matching methods, introduces a demand response mechanism, constructs a low-carbon economic optimization model for microgrids with tiered carbon prices, and establishes a Stackelberg game model to control user load, achieving the goal of “peak shaving and valley filling”, which is of great significance for the overall energy utilization of microgrids.
Considering the multi-energy micro-network planning process under the carbon trading mechanism, there are many stakeholders during energy transactions: the distribution network–microcyllar network and user side. In order to meet the demands of various interests at the same time, the main game framework was introduced. At the same time, because there is an energy interaction between the distribution network and the microcontrollers, the relationship between the energy demand response and the user’s side has the relationship between the micro grid and the user. That is to say, on the upper layer of the main game, the microblogs are maximized to the system’s efforts to maximize the effort of the system according to the price signal given by the distribution network. To participate in the scheduling for the goal, and to obtain a balanced solution, micro-network response strategies through price demand can guide users to participate in micro-network scheduling can achieve energy transition. As the main body of energy use, the spontaneous use of the electricity price incentive signal transfer period or cut load based on the spontaneous operator’s electricity price incentive signal can be used to achieve the goal of peak-cutting the valley of the load of the microblog.
Therefore, this article proposes a multi-energy microfinance low-carbon tone considering the main game, and the establishment of the overall micro-power grid.
This article does the following:
  • A low-carbon economic optimization model of microgrid with tiered carbon price was constructed. The carbon emissions involved in the operation of each equipment are finally traded through the carbon trading market, and the sensitivity analysis of the system is carried out by adjusting the ladder carbon trading parameters.
  • A Stackelberg game model with microgrid as the main body of the game and user response as the follower of the game was established, which further improved the level of load participation in the energy system and proved the existence of equilibrium solutions in the game. The model is iteratively solved by a variety of group algorithms, and immigration operators and artificial selection operators are added to the traditional genetic algorithm to prevent all individuals in the population from tending to the same state and stop evolution, and at the same time increase the memory population and improve the model calculation efficiency.

2. Optimization Model of Micro-Grid Low-Carbon Economy with Ladder Carbon Price

2.1. Stepped Carbon Trading Model

Carbon emission quota trading can limit the amount of carbon emissions according to specific emission industries. At the same time, the real-time price of the carbon market is determined by the carbon trading market, and the carbon emission quota is managed in a reasonable and efficient way [13].

2.1.1. Calculation Model of Carbon Emissions

The main carbon sources in microgrid are power consumption process, heat generation and power generation process of cogeneration unit, gas-fired boiler, and coal-fired unit. Because the coal-fired units are equipped with carbon capture power plants, it can help the microgrid consume part of C O 2 . Therefore, when calculating the actual carbon emissions, the C O 2 absorbed by the carbon capture equipment needs to be removed. The total carbon emission model of microgrid is shown in Formula (1), and the total amount of gas purchased is shown in Formula (2).
E a l l = λ e t = 1 T P e , b u y + λ g t = 1 T P g , b u y + Q C O 2 P G U t = 1 T Q C O 2 C C S
P g , b u y = P g , C H P + P g , G B
P e , b u y , P g , b u y are purchase electricity and gas, λ e , λ g are carbon emission coefficients of electricity-consuming equipment and gas-consuming equipment, Q C O 2 P G U is emissions for coal-fired power plants C O 2 quantity, and Q C O 2 C C S is the amount of carbon capture equipment C O 2 .

2.1.2. Carbon Decentralization Quota Model

The initial allocation of carbon emission rights in this paper mainly includes electricity purchase quota, cogeneration unit quota, gas boiler quota, and coal-fired power plant quota. The carbon emission quota model for power purchase in microgrid is shown in Formula (3), and the model synthesis of cogeneration unit, gas boiler, and coal-fired power plant is shown in Formula (4).
E e = ε e t = 1 T P e , b u y
E x = ε x P x
ε e , ε x are carbon emission quotas for unit electric power and unit power consumed by different equipment.

2.1.3. Stepped Carbon Trading Model

Based on the above carbon emission model and carbon emission rights allocation model, a ladder carbon trading model is established, and a plurality of carbon emission rights purchase intervals are set in the ladder carbon trading mechanism. The initial carbon emission quota allocated by the system is removed from the total carbon emission, and the mathematical Formula is shown in Formula (5). At the same time, pricing with different gradients is carried out according to the net carbon emission of the system in different charging intervals, when the net carbon emission is less than a given interval length. In the internal time, only the transaction amount at the base price of carbon trading is paid. When the price is higher than a given interval length, the price in each step interval is fixed. Every step increase, the carbon trading price increases exponentially, the carbon emission right purchase ratio increases, and the corresponding price will also increase. According to this trading model, the mathematical model Formula of ladder carbon trading as shown in Formula (6) is obtained.
E = E a l l E e i N E x
C C O 2 = c E , E l c 1 + λ E l + c l , l E 2 l c 1 + 2 λ E 2 l + c 2 + λ l , 2 l E 3 l c 1 + 3 λ E 3 l + c 3 + 3 λ l , 3 l E 4 l c 1 + 4 λ E 4 l + c 4 + 6 λ l , E 4 l
C C O 2 is carbon transaction costs, E is carbon emission of the system, i is equipment selection, including cogeneration units, gas-fired boilers and coal-fired power plants, N is the total number of device, λ is the price growth rate, l is the interval length, c is the base price of carbon trading.

2.2. Microgrid Low-Carbon Economic Optimization Model with Step Carbon Price

Based on the established carbon trading mechanism, a low-carbon optimization model of microgrid with ladder carbon trading mechanism is proposed. The model considers the lowest comprehensive operating cost of the whole microgrid from the economic level, implements the initial carbon emission quota form from the environmental level, and comprehensively considers the operating cost, system power consumption cost, gas consumption cost, and carbon trading cost of the whole system exceeding the carbon emission quota. The electric balance, thermal balance, gas balance and hydrogen balance in the overall operation of the system are taken as equality constraints, and the climbing constraints and output upper limit constraints of each device are taken as inequality constraints, so as to improve the economy and low carbon of the microgrid [14].

2.2.1. Objective Function

The overall objective function of microgrid not only minimizes the fuel cost and the cost of purchasing electricity and gas, but also supplements the environmental problems according to the carbon trading mechanism. Among them, the carbon transaction cost is the ladder carbon price cost considering exceeding the carbon emission quota. On the premise of ensuring the safety and reliability of the whole microgrid system, the environmental factors are quantified, and the output degree of each micro-source is optimized according to the load change, so as to obtain the minimum comprehensive cost of the system.
min F = min t = 1 T C P G U + C e ,   b u y + C g ,   b u y + C C O 2
F is the minimum operate cost of the system, C P G U is fuel costs, C e ,   b u y is the cost of electricity purchase, C g ,   b u y is gas purchase cost, and C C O 2 is carbon transaction costs.
  • Fuel cost
C p g u = a p P G U 2 + b p P G U + c
b.
Energy purchase cost
C e ,   b u y + C g ,   b u y = c e t = 1 T P e ,   b u y + c g t = 1 T P g ,   b u y
P e ,   b u y is the total power consumption of the system, P g ,   b u y is the total gas consumption of the system, c e is real-time electricity prices, c g is real-time gas price, and T takes 24 h.

2.2.2. System Operation Constraints

According to the law of conservation of energy, when the microgrid is running as a whole, the output energy of each form should always be equal to the input energy of each form to maintain the system operation. At the same time, the output energy of each equipment is kept within the rated power and cannot exceed the specified maximum output, so the related mathematical Formulas of balance constraint and imbalance constraint in the system are integrated, respectively.
The equality constraints are as follows:
  • Electric power balance
On the premise of ignoring the network loss, the discharge of wind power, cogeneration units, and power storage equipment, the purchase of electricity from the superior power grid and the overall output of hydrogen fuel cells are equal to the sum of the electric power consumed by the electric load and the charging of power storage equipment, as shown in Formula (10).
P W T t + P C H P t + P S B ,   d i s t + P e ,   b u y t + P H F C ,   e t = P l o a d t + P S B ,   c h r t
P W T t is output power for wind energy, P C H P t is output power for electric energy of cogeneration unit, P S B ,   d i s t is the discharge power for electric storage device, P H F C ,   e t is electricity production of hydrogen fuel cell, P l o a d t is the electrical load, and P S B ,   c h r t is charging the power storage equipment.
b.
Thermal power balance
The input heat of the system is equal to the output heat; that is, the sum of the exothermic power of cogeneration unit, gas boiler, and heat storage equipment is equal to the thermal power consumed by heat storage equipment and heat load.
P H F C ,   h t + H C H P t + H G B t + H T S ,   d i s t = H T S ,   c h r t + H L o a d t
H C H P t the thermal energy output power of the cogeneration unit, H G B t is the heat generation of gas boilers, H T S ,   d i s t is released for the heat storage device, H T S ,   c h r t is the heat release of heat storage equipment, and H L o a d t is the heat load.
c.
Natural gas power balance
Similarly, the output of natural gas is equal to the input, that is, the sum of gas purchase, gas storage tank, gas release, and gas conversion technology output is equal to the gas load, gas storage tank, gas storage, cogeneration unit, and gas boiler gas consumption.
G b u y t + G E S ,   d i s t + G M R t = G l o a d + G E S ,   c h r t + G C H P t + G G B t
G b u y t is the amount of gas purchased, G E S ,   d i s t is the amount of gas vented by the gas receiver, G M R t is the amount of C H 4   dioxide produced by methanation of electricity-to-gas technology, G l o a d is gas load, G E S ,   c h r t is the gas storage capacity of the gas storage equipment, G C H P t is the air consumption of the cogeneration unit, and G G B t is the amount of natural gas consumed by the gas boiler unit.
d.
Hydrogen power balance
Because the two steps of electro-gas conversion technology in microgrid are modeled separately and equipped with hydrogen storage tank and hydrogen fuel cell, hydrogen energy balance is added.
P E L ,   H 2 t + P H S ,   d i s t = P H 2 ,   M R t + P H 2 ,   H F C t + P H S ,   c h r t
P E L ,   H 2 t   is the hydrogen production capacity of the electrolytic cell in the first step of converting electricity to gas, P H S ,   d i s t is the hydrogen storage capacity of the hydrogen storage device, P H 2 ,   M R is the hydrogen consumption of methanation reaction, P H 2 ,   H F C is the hydrogen consumption of the hydrogen fuel cell, P H S ,   c h r t is amount of hydrogen released for hydrogen storage equipment.
Inequality constraints are as follows:
  • Coal-fired units
During the operation of coal-fired units, it is necessary to ensure that the output is within the allowable range, that is, to ensure the output constraint.
P P G U m i n P P G U P P G U m a x
P P G U m a x and P P G U m i n are the upper and lower limits of the output of coal-fired units.
The output adjustment of coal-fired units should be within the allowable range, that is, climbing constraint.
Δ P P G U m i n Δ P P G U Δ P P G U m a x
Δ P P G U m i n Δ P P G U Δ P P G U m a x
Δ P P G U m a x is the maximum upward climb power of the coal-fired unit, Δ P P G U m i n is the maximum downward climb power of the coal-fired unit, Δ P P G U is the amount of power change, P P G U t is the power of the coal-fired unit at the time of t, P P G U t 1 is the power of the coal-fired unit at the time of t − 1.
b.
Cogeneration unit
Because the cogeneration unit meets both the electric load and the heat load, it needs to meet both the electric output constraint and the heat output constraint.
P C H P ,   e m i n P C H P ,   e P C H P ,   e m a x
H C H P ,   h m i n H C H P ,   h H C H P ,   h m a x
P C H P ,   e m a x and P C H P ,   e m i n are the upper and low limits of the electric output of the cogeneration unit, H C H P ,   h m i n and H C H P ,   h m a x are the upper and lower limits of thermal output of cogeneration unit.
Climbing constraints are shown in Formulas (19) and (20).
Δ P c o n v e r t ,   e m i n Δ P c o n v e r t ,   e Δ P c o n v e r t ,   e m a x
Δ P c o n v e r t ,   e = P c o n v e r t ,   e t P c o n v e r t ,   e t 1
Δ P c o n v e r t ,   e m a x is the maximum upward climb power of that cogeneration unit, Δ P c o n v e r t ,   e m i n is the maximum downward climb power of the cogeneration unit, Δ P c o n v e r t ,   e is the amount of power change under the pure condensation condition, P c o n v e r t ,   e t is the electrical power of the cogeneration unit after the t time conversion, P c o n v e r t ,   e t 1 is the electrical power of the cogeneration unit after the t − 1 time conversion.
c.
Electro-gas conversion technology
The electrolyzer and methanation reaction should meet the hydrogen production output constraint and the C H 4 output constraint, respectively.
P E L ,   H 2 m i n P E L ,   H 2 P E L ,   H 2 m a x
G M R m i n G M R G M R m a x
P E L ,   H 2 m a x and P E L ,   H 2 m i n are the upper and lower limits of hydrogen production by the electrolyzer, G M R m a x and G M R m i n are the upper and lower limits of the C H 4 quantity obtained by the reaction.
Climbing constraints are shown in Formulas (23)–(26).
Δ P E L ,   H 2 m i n Δ P E L ,   H 2 Δ P E L ,   H 2 m a x
Δ P E L ,   H 2 = P E L ,   H 2 t P E L ,   H 2 t 1
Δ G M R m i n Δ G M R Δ G M R m a x
Δ G M R = G M R t G M R t 1
Δ P E L ,   H 2 m a x and Δ G M R m a x is the maximum upward climb power of that electrolytic cell and methanation reaction, Δ P E L ,   H 2 m i n and Δ G M R m i n are the electrolyzer and methanation reaction large downward climb power, Δ P E L ,   H 2 and Δ G M R are the amount of power change, P E L ,   H 2 t and G M R t are the power of the electrolyzer and methanation reaction at the time of t, P E L ,   H 2 t 1 and G M R t 1 are the power of the electrolyzer and methanation reaction at the time of t − 1.
d.
Gas-fired boiler unit
The output constraint and climbing constraint of gas-fired boilers are similar to those of coal-fired units, as shown in Formulas (27)–(29).
H G B m i n H G B H G B m a x
Δ H G B m i n Δ H G B Δ H G B m a x
Δ H G B = H G B t H G B t 1
H G B m a x and H G B m i n are the upper and lower limits of gas boiler output, Δ H G B m i n is the maximum upward climbing power of the gas boiler, Δ H G B m i n is the maximum downward climbing power of the gas boiler, Δ H G B is the amount of power change, H G B t is the gas boiler power at the time of t, H G B t 1 is the gas boiler power at the time of t.
e.
Hydrogen fuel cell
Similarly, the output constraints and climbing constraints of hydrogen fuel cells are shown in Formulas (30)–(32).
P H F C ,   e m i n P H F C ,   e P H F C ,   e m a x
Δ P H F C ,   e m i n Δ P H F C ,   e Δ P H F C ,   e m a x
Δ P H F C ,   e = P H F C ,   e t P H F C ,   e t 1
P H F C ,   e m a x and P H F C ,   e m i n are the upper and lower limits of hydrogen fuel cell output, Δ P H F C ,   e m a x is the maximum upward climb power of the hydrogen fuel cell, Δ P H F C ,   e m i n is the minimum upward climb power of the hydrogen fuel cell, Δ P H F C ,   e is the amount of power change, P H F C ,   e t is the hydrogen fuel cell power at the time of t, P H F C ,   e t 1 is the hydrogen fuel cell power at the time of t − 1.

3. Game Theory Basis

Gaming theory refers to the influence of the individual income of each participant in the case of the interdependence and interdependence of the participants. Therefore, because the income of all parties in the game receives the influence of multiple parties, each participant is considered to make rational judgments. Through the information obtained by themselves, they will give their strategies in real time to the overall feedback. The complete game consists of three basic elements:

3.1. Participants

Participants refer to the subjects that can Formulate strategies and make rational judgments in the overall game. Among them, the collection mathematics represents the participants (33).
N = 1 ,   2 ,   3 ,   ,   n

3.2. Strategy Set

Strategy is an important factor in the overall game. Participants have changed different strategies by collecting information, that is, the methods and means of maximizing their own interests to achieve their own interests. The number of strategies can be selected by themselves. Because the game is the mutual impact of the main body Formulation strategy, the sequence of the strategy Formulation has a huge impact on the results of the game. Among them, all participants Formulated the strategy collection mathematics indication (34).
S = S 1 ,   S 2 ,   S 3 ,   S n

3.3. Effectiveness

The effect refers to the benefits that the participating entities of each game are after the game. Among them, benefits can be positive income or negative benefits, that is, the maximum benefits to obtain. The goal of the participants is to maximize the benefit by adjusting the strategy, and the benefit collection mathematical representation of the participants is shown in the math indication (35).
u = u 1 ,   u 2 ,   u 3 ,   u n
After determining the basic three elements of the game, the establishment of a complete game is completed.

3.4. Stackelberg Game

Because the microgrid and the user side consider the price-based demand response, that is, there is no relevant agreement between the participants, users spontaneously change their energy consumption habits. Participants constantly adjust their own strategies to maximize their own interests during the scheduling process. There is still an obvious decision-making sequence between the microgrid and the client, with the microgrid acting first as the leader and the client following up as the follower. Among them, the leader first makes the appropriate decision, occupying the position of priority decision, and the follower makes the decision after receiving the signal from the leader. That is, microgrid is the leader to adjust the real-time price of distribution network, and the client is the follower to respond to the real-time price proposed by microgrid. This game type is called Stackelberg game. Stackelberg game is divided into dynamic non-cooperative game, also known as Stackelberg game. The model problems solved by the Stackelberg game mainly have the following characteristics [15]:
(1)
There is no agreement among the participants, and they make their own decisions.
(2)
The decision of each participant has an impact on the benefits of other participants.
(3)
Because of the different market positions, there is a decision-making order among the participants. The leader first makes appropriate decisions according to the target benefit, and the followers make decisions on their own goals after receiving the leader’s decision-making signal. There is a restrictive relationship between them.
(4)
The final decision-making scheme of each participant needs the unanimous consent of all participants.
The mathematical definition model of Stackelberg game is as follows:
Let the leader’s strategy set is X , the follower’s strategy set is Y , the leader’s utility function is f : X × Y R , the utility function of the follower is g : X × Y R .
As a dynamic game, leaders send out decision signals x n X , followers make decisions according to the leader’s strategy, and the set of followers’ balance points is   A x . Therefore, the mechanism mapping is generated: X A Y . When the next leader makes a decision, in order to maximize their own interests at all times, they will consider the follower scheme, and the overall game optimization goal is m a x f x ,   y . Let x * ,   y * be the equilibrium point of the game, then the equilibrium condition is shown in Formula (4) [16].
m a x x X f x * ,   y * x * g x * ,   y * g x * ,   y

4. Multi-Energy Microgrid Model Based on Stackelberg Game

4.1. The Demand Response Type

For the classification of electric energy demand response, the response method is mainly used as a differentiation method, both of which require a contract with the energy supply company, one is the price-based demand response, including time-of-use electricity price, real-time electricity price and peak electricity price. Compared with the incentive type, the price type has a lower degree of change in the user’s energy habits, and only needs to make voluntary adjustments to the price signal. The incentive-type response is to adjust the energy-using behavior strictly according to the load reduction calculation method and response time signed in the contract, and carry out the corresponding compensation mechanism for the adjusted energy-using behavior or impose corresponding fines for the part that does not meet the response requirements. Compared with the two corresponding methods, the current user acceptance of price-based demand response is higher, and the project implementation scope is wider, and this paper mainly studies price-based electricity price in the subsequent microgrid-user game stage.
The relationship model between electricity and electricity price is mainly divided into: electricity price elasticity matrix, user psychology model, exponential function fitting model, and statistical principle model [17]. Among them, the elasticity matrix of electricity and electricity prices is described as the change in electricity demand caused by the change in electricity price, and the elastic coefficient of electricity price is defined, and the calculation Formula is shown in Formula (37).
ε = Δ P e P e C e Δ C e
In the Formula, Δ P e is the amount of electricity increase, and Δ C e is the increase in electricity price.
The electricity price response mechanism is divided into single period and multi-period, that is, fixed ladder electricity price and real-time electricity price, due to the peak and valley hours and price of the ladder electricity price is fixed, users will only change energy demand in a certain period, and real-time electricity price will prompt users to change energy consumption behavior according to different time periods. Therefore, a multi-period response mechanism is introduced, in which the multi-period elasticity coefficient is divided into the self-elasticity coefficient of the user response in the current period and the cross-elasticity coefficient of the user response behavior in other periods, and the mathematical model of the self-elasticity coefficient and cross-elasticity coefficient obtained according to the above definition is shown in Formulas (38) and (39).
ε i i = Δ P i P i C i Δ C i
ε i j = Δ P i P i C j Δ C j
In the Formula, ε i i is the self-elastic coefficient and ε i j is the cross-elastic coefficient. i is the i th dispatch period and j is the j th dispatch period.
According to the definition of the above elasticity coefficient and the mathematical model, the user price response model of the overall period is obtained as shown in Formula (40) and the electricity price elasticity matrix as shown in Formula (41)
Δ C 1 C 1 Δ C 2 C 2 Δ C n C n = E Δ P 1 P 1 Δ P 2 P 2 Δ P n P n
E = ε 11 ε 12 ε 1 n ε 21 ε 22 ε 2 n ε n 1 ε n 2 ε n n
Δ C n is the change in electricity price at n moments after the demand response, Δ P n is the load change at n times after the demand response, P n is the load before the n time response.

4.2. Microgrid-User Stackelberg Game Structure

As the leader in the Stackelberg game, microgrids generate revenue by developing pricing strategies different from those of distribution networks, selling electricity to users at different energy purchase prices [18,19]. Users, as followers in the Stackelberg game relationship, formulate a decision plan to reduce the cost of electricity purchase, that is, increase the amount of load transfer to reduce the cost of electricity purchase, and achieve the maximization of the follower’s benefits, that is, the maximum value of the follower’s objective function, as shown in Formula (51). Then, the scheme obtained by changing the load transfer amount is transmitted to the microgrid, which makes the next optimal decision based on the user’s response results. At this point, the output plan of the microgrid may not match the user’s demand, thereby reducing the maximum profit of the microgrid. Therefore, at this point, the microgrid will redesign its output plan and energy prices to achieve the highest return on the microgrid, which is the maximum value of the leader’s objective function, as shown in Formula (42). The Stackelberg game structure of microgrids is shown in Figure 1.

4.3. Microgrid Revenue Model

As the leader in the game, microgrid should achieve the optimal scheduling strategy of microgrid operation as a whole [20,21], set the price of electricity sales within 24 h in combination with the load change given by the user, realize the highest income, and construct the optimal operation income scheduling model of components of microgrid as a whole.

4.3.1. Objective Function

S is the minimum operating cost of the system in the game model, C e s ,   b u y is the cost of purchasing electricity from the superior power grid in the game model, C e u ,   s e l l is the electricity price income sold by microgrid to users, C g s ,   b u y is the cost of buying gas, C C O 2 ,   s is that transaction cost of carbon in the game model, e e s ,   b u y is the unit price of selling electricity for the distribution network, e e u ,   s e l l is the amount of electricity purchased for the microgrid, P e s ,   b u y is the electricity purchased by the user sold by the microgrid, P u s e r is the amount of power after the user responds.
m i n S = m i n t = 1 T C e s ,   b u y C e u ,   s e l l + C g s ,   b u y + C C O 2 ,   s
C e s ,   b u y = e e s ,   b u y P e s ,   b u y
C e u ,   s e l l = e e u ,   s e l l P u s e r

4.3.2. Constraints

Due to the introduction of the demand response mechanism, the upper and lower limits of the microgrid’s power purchase from the distribution network and the upper and lower limits of the microgrid’s selling price to users are increased, in which the power balance is shown in Formula (47). Thermal power balance, natural gas power balance, and hydrogen power balance are shown in the Formulas (12)–(14). The operating models, contribution models, and climbing models of thermoelectric units are as follows (17)–(20). The two-stage operation model, the power model, and the climbing model of the electrical rotation technology are as follows (21)–(26). The power boiler crew and the climbing models are shown in the Formulas (27)–(29), respectively. Hydrogen fuel cell operation models, contribution models, and climbing models are shown in the Formulas (30)–(32).
P e s ,   b u y m i n P e s ,   b u y P e s ,   b u y m a x
e e u ,   s e l l m i n e e u ,   s e l l e e u ,   s e l l m a x
P e s ,   b u y m i n and P e s ,   b u y m a x are the upper and lower limits of the amount of electricity that the microgrid purchases from the distribution network, e e u ,   s e l l m a x and e e u ,   s e l l m i n are the upper and lower limits of electricity price sold by microgrid to users.
P W T t + P C H P t + P S B ,   d i s t + P e ,   b u y t + P H F C ,   e = P u s e r t + P S B ,   c h r t
P W T t is output power for wind energy, P C H P t is output power for electric energy of cogeneration unit, P S B ,   d i s t is discharge power for that electric storage device, P H F C ,   e t is electricity production of hydrogen fuel cell, P S B ,   c h r t is charging the power storage equipment.
Due to the introduction of price-based demand response, the relevant constraints of demand response should be increased. First, it is required that the total amount of load in the whole dispatching period remains unchanged, as shown in Formulas (48) and (49). At the same time, in order to achieve the ultimate goal of demand response, it is necessary to control the load of each step in the scheduling between the upper and lower limits of the load value before response, as shown in Formula (50).
t = 1 T Δ P u s e r ,   t = 0
Δ P u s e r ,   t = P u s e r ,   t 0 P u s e r ,   t
P u s e r , t m a x P u s e r , t 0 , m a x P u s e r , t m i n P u s e r , t 0 , m i n
Δ P u s e r ,   t is the change in user electricity consumption before and after demand response, P u s e r ,   t 0 is the electricity consumption of users before demand response, P u s e r ,   t 0 ,   m a x and P u s e r ,   t 0 ,   m i n are the upper and lower limits of the demand response preload value, P u s e r ,   t m a x and P u s e r ,   t m i n are the upper and lower limits of the demand response afterload value.

4.4. User Benefit Model

User benefit refers to the reasonable adjustment of required energy according to its own demand for electricity and energy price in the process of demand response [22]. In this paper, the user satisfaction model is introduced to constrain the load variation. While considering the microgrid to guide users to adjust their own energy consumption period, the satisfaction of power consumption mode and expenditure satisfaction are used as constraints to participate in dispatching.

4.4.1. Objective Function

As a follower of the game, the user responds after the price signal is given by the microgrid. Considering the user’s power consumption income and cost, the goal is to maximize the user’s benefit, and the objective function is shown in Formula (51).
m a x U = C U E C e u ,   s e l l
C U E = α log 1 + P u s e r ,   t
U is that maximum benefit of user in the game model, C U E is the benefit of users, α is energy preference coefficient for users.

4.4.2. Constraints

  • Satisfaction with electricity consumption mode
Before the introduction of electricity price demand response, users’ electricity consumption periods were mainly selected according to their own preferences, and at this time, users’ satisfaction with electricity consumption methods was the highest [23]. However, after the introduction of electricity price demand response, the user changes his own electricity preference to reduce electricity expenditure by responding to the price signal given by the microgrid. The mathematical model is shown in Formula (53) and the satisfaction constraint is shown in Formula (54).
M = 1 t = 1 T Δ P u s e r , t t = 1 T P u s e r , t 0
M M m i n
M m i n is the lower limit of user’s satisfaction with electricity consumption.
b.
Expenditure satisfaction
After the price-based demand response is implemented in the microgrid, users will adjust according to the real-time electricity price to ensure that the electricity expenditure will not have a great impact [24]. Therefore, expenditure satisfaction is usually used to measure the change in user expenditure. The mathematical model is shown in Formula (55), and the satisfaction constraint is shown in Formula (56).
N = 1 + t = 1 T ( e e u , s e l l 0 P u s e r , t 0 e e u , s e l l P u s e r , t ) e e u , s e l l P u s e r , t
N N m i n
In the Formula, e e u ,   s e l l 0 is the unit price of electricity sales for microgrid before demand response, P u s e r 0 is power consumption of users before demand response. N m i n is the lower limit of user spend satisfaction.

4.5. Establishment and Proof of Microgrid-Client Stackelberg Game

As shown in Figure 2, the microgrid and the user constitute a dynamic non-cooperative game, and the game relationship constitutes a Stackelberg game Formula as shown in Formula (57).
G = M G O U S E R ;   Φ M G O ;   Ψ U S E R ;   S M G O ;   U U S E R
Formula (52) contains three elements of the game: participants, strategy sets, and utility.
  • Game participants: participants in the game of microgrid and users as the main slave, expressed in the form of set as follows M G O U S E R .
  • Strategy set: The microgrid is the leader in the Stackelberg game and the optimization strategy is Formulated first, and the electricity price strategy proposed by the microgrid to the user is represented by the set Φ M G O . The set of load adjustment strategies made by the user is represented by set Ψ U S E R .
  • Utility: The cost set of the microgrid is represented by set S M G O , and the benefit set of users is represented by U U S E R . the cost collection of microgrid.
When the follower in the game responds to the leader’s strategy, and the leader accepts the response, it shows that the upper and lower game as a whole has reached the equilibrium condition [24]. That is, when the user responds to the electricity price strategy proposed by the microgrid according to the optimized operation scheme, and the microgrid accepts the response strategy, the microgrid-user reaches the equilibrium condition. Make Φ M G O * a vector set representing all optimal strategies of a microgrid, and Ψ U S E R * a vector set representing all the response strategies of the client. To reach the Stackelberg equilibrium condition, Formula (58) must be satisfied.
S M G O Φ M G O * ,   Ψ U S E R * S M G S Φ x ,   Φ n x * ,   Ψ U S E R * U U S E R Φ M G O * ,   Ψ U S E R * U U S E R Φ M G O * ,   Ψ y ,   Ψ n y * Φ x Φ M G O Ψ y Ψ U S E R
Φ x is the optimal operation scheme of the microgrid, Ψ y is the optimal response scheme of the user terminal, Φ n x * is yeah, except Φ x other strategies than, Ψ n y * yeah, and except Ψ y other strategies outside.
In the equilibrium state of Stackelberg game, neither party can obtain greater benefits by unilaterally proposing new strategies, and it is necessary to verify the existence and uniqueness of the equilibrium solution before solving it. The theorems for verifying the existence of the equilibrium solution are as follows:
  • The decision schemes of leaders and followers are all non-empty bounded convex sets;
  • After the top leaders make decisions, the followers have corresponding unique solutions;
  • After the lower followers respond, the leader has a unique solution.
Compared with the above definitions, the existence and uniqueness of Stackelberg equilibrium solution of microgrid-user Stackelberg game model established in this chapter are proved:
  • As shown in Formulas (46) and (50), the policy set Φ M G O and Ψ U S E R are non-null bounded convex set;
  • As shown in Formulas (52)–(54), each term in S M G O is a linear or constant function with respect to P e s ,   b u y or P u s e r , then S M G O is a concave function with respect to P e s ,   b u y and P u s e r .
  • As shown in Formulas (51) and (52), U U S E R is a continuous function with respect to P e s ,   b u y and P u s e r .

5. The Solution Method of Game Model Based on Multi-Population Genetic Algorithm

The previous chapter analyzed the energy flow relationship between devices in the microgrid and the optimization functions of various game entities, and established a Stackelberg game model for the microgrid user. As the function to be solved is a large-scale linear programming problem, compared to other algorithms, using multiple population genetic algorithms can effectively reduce the complexity of the solution and improve the efficiency of the solution.
Genetic Algorithm (GA) is an adaptive global optimization probability search algorithm proposed by Professor Holland in the United States in 1975 that simulates the genetic evolution of biological organisms in nature. Organisms evolve through heredity, variation, and natural selection, and genetic algorithms are inspired by Darwin’s theory of natural selection. The solution of the example corresponds to the chromosomes in the genetic process, and the set of all chromosomes is a population, and the individuals are eliminated between the populations according to the principle of “natural selection, survival of the fittest”, and the selection between individuals in the corresponding population is in programming. Starting from the initialization of the population, the interval judgment of the fitness function is carried out for each generation of the population, and according to the designed fitness ratio, the appropriate strategy is selected to select the excellent individuals of the current population, and the selected excellent individuals are crossed and mutated to form a new population. Analogous to the evolution process of species, generation-by-generation, continuously enhancing the fitness of the population until the optimal solution is output after the desired conditions are completed. Since the genetic algorithm does not rely on gradient calculation, it has strong robustness and global optimization ability [24,25].
Multi-population genetic algorithm divides a single population into multi-threaded populations and adds immigration operators. In the evolution process of different populations, the migration operator introduces the optimal individuals to other populations every certain number of iterations, which realizes the information exchange between different populations and the balance of global and local search performance. Secondly, the elite population is established, and each generation of evolution selects the best individuals of other populations to join the elite population and save them through artificial selection operators, and no genetic operation is carried out to ensure that the best individuals are not destroyed, so all the optimal solutions produced by each evolution can be completely preserved [26,27,28,29]. The simplified process of improvement is shown in Figure 3.
The solution process for the whole game system is as follows:
(1)
Initializing the operation parameters of the microgrid and the load data of the user terminal, and sending the electricity price strategy drawn up by the microgrid to the lower layer;
(2)
Converting the maximum energy consumption benefit of the user terminal into a negative cost, feeding back according to the pricing signal of the microgrid, and feeding back the load signal to the upper-level dispatching;
(3)
The microgrid solves the objective function through the feedback signal;
(4)
Judging whether the game equilibrium solution is reached, and if so, outputting the result; otherwise, return to (2) to continue scheduling.

6. Example Analysis

6.1. Basic Data

The reaction parameters of each equipment are shown in Table 1. The electricity price and natural gas price are shown in Figure 3, but considering the price-based user demand response, the initial tiered price is adopted as shown in Figure 4, and the new demand response parameter data are shown in Table 2 [30]. The typical electricity load, heat load, and gas load curves of the multi energy microgrid, as well as the predicted output power of wind power generation, are shown in Figure 5. Peak and valley time of use electricity prices are used for billing, with low peak periods ranging from 23.00 to 7.00, flat peak periods ranging from 8.00 to 11.00 and 15.00 to 18.00. Daytime peak periods are reached from 12.00 to 14.00, and nighttime peak periods are reached from 19.00 to 22.00.

6.2. Game Equilibrium Results

The lowest comprehensive cost of the microgrid is 11,667.044709 yuan, which takes 692.513986 s. Comparing Figure 6a with Figure 6b, the game process between the microgrid and the user terminal can be analyzed. When the number of iterations is 1–8 times, the results of the game between microgrid and user do not change, and the microgrid has the lowest return and the highest user benefit. When the number of iterations is between 8 and 14, the revenue of microgrid gradually increases, and the corresponding user income gradually decreases. At a time of 15–20 iterations, both microgrid and user benefits remain the same. When the number of iterations is between 21 and 24, the revenue of microgrid increases significantly, and the corresponding user revenue decreases sharply. When the number of iterations is between 25 and 30, the microgrid revenue and user revenue once again enter a stable state.
The electricity sales plan of microgrid to users obtained by game solution is shown in Figure 7, and the load after the price-based demand response of the user is shown in Figure 8. According to Figure 7, it can be seen that the purchase price of microgrid is lower than the transaction price between microgrid and users at any time, which is the result of microgrid’s game in order to encourage users to respond and achieve the optimal overall economic dispatching level. The price signal sent by the microgrid between 12:30–18:00 and 0:00–1:00 and 2:00–5:00 at the peak time of electricity prices continues to be low, encouraging users to adjust the load during this period. According to Figure 8, it can be seen that after the introduction of price-based demand response, the user’s load curve has changed greatly, and the load has been transferred according to the real-time price adjustment given by the microgrid.
In order to verify the optimization effect of the proposed multi-group optimization method on the model, the multi-group optimization algorithm (MPGA) is compared with particle swarm optimization (PSO) and standard genetic algorithm (GA), and the results are shown in Figure 9.
As shown in Table 3, the total cost of microgrid obtained by MPGA algorithm is 11, 667.04 yuan, which reaches convergence in 31 times. The total cost of PSO algorithm is 12, 306.7 yuan, which reaches convergence in 74 times. The total cost of GA algorithm is 13, 368.8 yuan, which reaches convergence in 87 times. It is proved that the convergence speed and one-day expenditure cost of MPGA algorithm are the best, and the optimal solution is due to other algorithms.

6.3. Optimization of Operation Results

In order to further analyze the impact of price-based demand response on the system, two comparison scenarios are set up. The carbon transaction cost, carbon emission, electricity purchase cost, gas purchase cost, and total cost of microgrid in different scenarios are shown in Table 4.
As shown in Table 3, compared with not considering demand response, in the scenario of considering demand response, the gas purchase cost has slightly increased, while the initial carbon emissions of natural gas related equipment are low, so the carbon emissions and carbon transaction costs have increased. However, based on a low-carbon model with a tiered carbon trading mechanism, the cost of electricity and total costs significantly decrease, but the increase in environmental costs is relatively small and within a reasonable range. Moreover, considering demand response can enable users to participate in the response, which is conducive to the consumption of renewable energy. The price is based on demand response and leads the user to transfer the load, so the power purchase cost is reduced. Through comprehensive calculation, the total cost of the scenario considering demand response is reduced, and the goal of economic optimal scheduling of the microgrid system is achieved.
The equipment scheduling level of the microgrid after considering the demand response is shown in Figure 10 and Figure 11, and the equipment scheduling level of the microgrid without considering the demand response is shown in Figure 12 and Figure 13.
By comparing Figure 10a and Figure 11a, it can be seen that the energy purchase period, without considering demand response, is mainly in the peak time of energy consumption, and the power purchase period in the micro grid scenario after considering demand response is mainly distributed in the peak and valley time of electricity price. By comparing the gas consumption of methanation reactions in Figure 10b, Figure 11, Figure 12b, and Figure 13, it can be seen that, considering demand response scenarios, it is 26.4% and 16.7% of the gas consumption without considering demand response scenarios, respectively. Without considering demand response, methanation reactions account for a larger proportion of the gas consumption. This is because in this scenario, the microgrid does not consider user load transfer, and purchases during the low electricity price period for the first step of hydrogen production from electricity to gas. Therefore, the hydrogen production is more than considering demand response scenarios, and as a raw material for methanation reactions and hydrogen fuel cells, it relatively reduces the purchase of natural gas during this scheduling period.

7. Conclusions

This article further rationalizes the configuration of microgrids and analyzes the respective needs of the two stakeholders, microgrids, and users. Therefore, a low-carbon economic optimization model for microgrids with a tiered carbon trading mechanism is constructed to ensure system economy while reducing carbon emissions. In addition, on this basis, a Stackelberg game model with price-based demand response, led by microgrids and followed by users, was introduced. The microgrid benefits are determined as the optimal scheduling of device operation, while the user side benefits are determined as having the highest energy efficiency, with the lowest cost. Firstly, the three elements and types of game are proposed, and the applicable game type in this chapter is Stackelberg game. Secondly, a microgrid user Stackelberg game structure was established, and the goal of the micro grid game was to achieve optimal operational economy, as well as constraints due to the consideration of increased demand response. The game goal of the user end was proposed to maximize revenue, and a satisfaction model including user electricity consumption and electricity expenditure was analyzed as a constraint to participate in the game. Once again, a Stackelberg game model was established between the microgrid and users, and it was proven that there exists an equilibrium solution to the game. Finally, an example analysis was conducted to verify the feasibility of the model. The specific conclusions are as follows:
(1)
Comparative analysis without considering demand response scenarios shows that the optimization cost of microgrid operation considering price-based demand response scenarios has decreased by 5%, which is 668.95 yuan. Among them, the power purchase cost has decreased by 23.8%, which is 778.6 yuan, the carbon emissions have increased by 17%, which is 83.96 kg, and the carbon trading cost has increased by 1.8%, which is 41.98 yuan. This proves that the introduction of demand response can improve the overall economic benefits of microgrids while slightly increasing environmental costs.
(2)
After considering demand response, the selling price of microgrids is always lower than the purchase price from the distribution network, and the price reduction rate is relatively high during the initial load valley, encouraging users to adjust their load during the time period. After the demand response, the user’s load curve underwent significant adjustments and transformations, and the corresponding load transfer was carried out according to the price signal of the microgrid, achieving the expected “peak shaving and valley filling” effect of microgrid scheduling.
(3)
In the microgrid scheduling scenario considering price-based demand response, the electricity purchase period is mainly distributed during the low and flat peak periods of tiered electricity prices. Due to the transfer of user load, the energy pressure caused by user load is reduced.

Author Contributions

Conceptualization, B.L. and L.-D.W.; methodology, B.L, Y.L. and D.G.; software, B.L., M.-T.L. and Y.L.; validation, B.L., D.G. and X.Z.; formal analysis, M.-T.L., X.Z. and P.-R.Z.; investigation, Y.L., P.-R.Z. and X.Z.; resources, L.-D.W.; data curation, B.L., M.-T.L. and B.Z.; writing—original draft preparation, B.L.; writing—review and editing, B.Z., D.G. and L.-D.W.; supervision, L.-D.W.; project administration, L.-D.W.; funding acquisition, L.-D.W. All authors have read and agreed to the published version of the manuscript.

Funding

This article is supported by the Liaoning Provincial Scientific Research Funding Project, the comprehensive load modeling and electric heating control mechanism of the village-level traffic DC micro-network comprehensive load modeling (LJKMZ20221032).

Data Availability Statement

Data are availability on request from the authors.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Glossary

SymbolMeaning
P g , b u y Gas purchases
P e , . b u y Purchase electricity
λ e Power-hungry devices
λ g Air consumption equipment
Q C O 2 P G U The amount of C O 2 emitted by coal-fired power plants
Q C O 2 C C S The amount of C O 2 captured by the carbon capture equipment
ε e Unit electrical power
ε x Carbon allowances per unit of power consumed by different devices
C C O 2 Carbon trading costs
E Net carbon emissions of the system
i Equipment options, including cogeneration units, gas-fired boilers, and coal-fired power plants
N Total number of devices
λ Price growth rate
l The length of the interval
c Carbon trading base price
F Minimum operating costs of the system
C P G U Fuel costs
C e ,   b u y Electricity purchase costs
C g ,   b u y The cost of purchasing gas
P g ,   b u y Overall system air consumption
c e Real-time electricity prices
c g Real-time gas prices
T Take 24 h
P W T t Wind energy output power
P C H P t The power output of the cogeneration unit
P S B ,   d i s t Discharge power of power storage equipment
P H F C ,   e t Hydrogen fuel cells produce electricity
P l o a d t Electrical load
P S B ,   c h r t The amount of charge of the storage device
H C H P t Combined heat and power unit thermal energy output power
H G B t Gas boiler heat generation
H T S ,   d i s t Heat release from heat storage equipment
H T S ,   c h r t Heat storage equipment stores heat
H L o a d t Heat load
G b u y t Gas purchases
G E S ,   d i s t Air receiver outgassing
G M R t The amount of C H 4 produced by methanation in power-to-gas technology
G l o a d Gas load
G E S ,   c h r t Gas storage capacity for gas storage equipment
G C H P t Air consumption of a cogeneration unit
G G B t Gas boiler units consume natural gas
P E L ,   H 2 t The amount of hydrogen produced by the electrolyzer in the first step of electro-to-gas
P H S ,   d i s t Hydrogen storage equipment storage capacity
P H 2 ,   M R Hydrogen consumption in methanation reactions
P H 2 ,   H F C Hydrogen fuel cell hydrogen consumption
P H S ,   c h r t The amount of hydrogen released by hydrogen storage equipment
P P G U m a x Upper limit of coal-fired unit output
P P G U m i n Lower limit of coal-fired unit output
Δ P P G U m a x The maximum uphill climbing power of coal-fired units
Δ P P G U m i n Maximum downhill climb power of coal-fired units
Δ P P G U The amount of power change
P P G U t t time coal-fired unit power
P P G U t 1 t 1 time coal-fired unit power
P C H P ,   e m a x Upper limit of electrical output of cogeneration units
P C H P ,   e m i n Lower limit of electrical output of cogeneration units
H C H P ,   h m i n Lower limit of thermal output of cogeneration units
H C H P ,   h m a x Upper limit of thermal output of cogeneration units
Δ P c o n v e r t ,   e m a x The maximum upward climb power of the cogeneration unit
Δ P c o n v e r t ,   e m i n Maximum downhill climb power of cogeneration units
Δ P c o n v e r t ,   e Maximum downhill climb power of cogeneration units
P c o n v e r t ,   e t The electrical power of the cogeneration unit after conversion at time t
P c o n v e r t ,   e t 1 The electrical power of the cogeneration unit after conversion at time t 1
P E L ,   H 2 m a x The upper limit of hydrogen production capacity of the electrolyzer
P E L ,   H 2 m i n The lower limit of hydrogen production by the electrolyzer
G M R m a x The upper limit of the amount of C H 4 resulting from the reaction
G M R m i n Lower limit of the amount of C H 4 resulting from the reaction
Δ P E L ,   H 2 m a x The maximum uphill climb power of the electrolyzer
Δ G M R m a x The maximum uphill climb power of the methanation reaction
Δ P E L ,   H 2 m i n Maximum downhill climb power of the electrolyzer
Δ G M R m i n Methanation reaction maximum downhill climb power
P E L ,   H 2 t The amount of power change in the electrolyzer
G M R t The amount of change in methanation reaction power
P E L ,   H 2 t 1 Electrolyzer power at t 1 time
G M R t 1 Methanation reaction power at time t 1
H G B m a x Upper limit of gas boiler output
H G B m i n Lower limit of gas boiler output
Δ H G B m a x The maximum upward climbing power of the gas boiler
Δ H G B m i n Maximum downhill climb power of gas boilers
Δ H G B The amount of change in power
H G B t Gas boiler power at time t
H G B t 1 t 1 time gas boiler power
P H F C ,   e m a x Upper limit of hydrogen fuel cell output
Δ P H F C ,   e m i n Hydrogen fuel cell minimum uphill climb power
Δ P H F C ,   e The amount of change in power
P H F C ,   e t The power of the gas boiler at the time t
P H F C ,   e t 1 The power of the gas boiler at the time t 1
C e s ,   b u y The cost of purchasing electricity to the upper grid in the game model
C e u ,   s e l l The electricity price revenue sold by the microgrid to the user
C g s ,   b u y The cost of purchasing gas
C C O 2 ,   s Carbon trading costs in game models
e e s ,   b u y The unit price of electricity sold in the distribution network
e e u ,   s e l l Electricity purchased by the microgrid
P e s ,   b u y The electricity purchased by the user is sold by the microgrid
P u s e r The amount of power after the user responds
P e s ,   b u y m i n The lower limit of the amount of electricity that the microgrid purchases from the distribution grid
P e s ,   b u y m a x The upper limit of the amount of electricity that microgrids can purchase from the distribution grid
e e u ,   s e l l m a x The upper limit of the electricity price that microgrid can sell to users
e e u ,   s e l l m i n The lower limit of the electricity price sold by the microgrid to the user
P C H P t The output power of the electrical energy of the cogeneration unit
P S B ,   d i s t The discharge power of the power storage device
P H F C ,   e t The power generation of hydrogen fuel cells
P S B ,   c h r t The power to charge the storage device
Δ P u s e r ,   t Changes in user electricity consumption before and after demand response
P u s e r ,   t 0 The user’s electricity consumption before the demand responds
P u s e r ,   t 0 ,   m a x The upper limit of the demand response preload value
P u s e r ,   t 0 ,   m i n The lower bound of the demand response preload value
P u s e r ,   t m a x The upper limit of the demand response afterload value
P u s e r ,   t m i n The lower bound of the demand response afterload value
C U E User’s interests
α User energy preference coefficient
M m i n The lower limit of user satisfaction with electricity consumption
P u s e r 0 Electricity consumption by users before demand response
N m i n Minimum consumer spend satisfaction
Φ x Optimal operation scheme of microgrid
Ψ y Optimal response on the user side
Φ n x * Other strategies except Φ x
Ψ n y * Other strategies except Ψ y

References

  1. BP World Energy Statistical Yearbook (2022 Edition). [EB/OL]. Available online: https://www.bp.com/en/global/corporate/energy-economics/statistical-review-of-world-energy/downloads.html (accessed on 17 June 2022).
  2. Speech at the General Debate of the 75th United Nations General Assembly; State Council of the People’s Republic of China: Beijing, China, 2020.
  3. Zhang, Y.; Zhang, N.; Dai, H. Analysis model construction and transformation path comparison of low-carbon development of China’s power system. China Power 2021, 54, 1–11. [Google Scholar]
  4. Zhou, N.; Fan, W.; Liu, N. Multi objective capacity optimization configuration of photovoltaic micro grid energy storage system based on demand response. Power Grid Technol. 2016, 40, 1709–1716. [Google Scholar]
  5. Li, X.; Geng, G.; Ji, Y. Joint optimization planning of energy storage and demand side response in active distribution network. Power Grid Technol. 2016, 40, 199–206. [Google Scholar]
  6. Wang, D.; Fan, M.; Jia, H. Demand Response of Home Temperature Control Load and Modeling of Energy Efficiency Power Plant Considering User Comfort Constraints. Proc. CSEE 2014, 34, 2071–2077. [Google Scholar]
  7. Wang, C.; Liu, M.; Lu, N. Power fluctuation smoothing method of microgrid tie line using residential temperature control load control. Proc. CSEE 2012, 32, 36–43. [Google Scholar]
  8. Tang, X.; Su, J.; Li, L. Optimization of economic dispatch of energy hub based on multi-energy storage microgrid. Power Capacit. React. Power Compens. 2021, 42, 182–187. [Google Scholar]
  9. Heiskanen, E. The Institutional Logic of Life Cycle Thinking. J. Clean. Prod. 2022, 10, 427–437. [Google Scholar] [CrossRef]
  10. Wu, Y.; Lv, L.; Xu, L. Comprehensive optimal configuration of multiple energy storage capacities of multi-energy microgrid considering electric/heat/gas coupling demand response. Power Syst. Prot. Control 2020, 48, 1–10. [Google Scholar]
  11. Zhang, X.; Wang, Z.; Lu, Z. Multi-objective load dispatch for microgrid with electric vehicles using modified gravitational search and particle swarm optimization algorithm. Appl. Energy 2022, 306, 118018. [Google Scholar] [CrossRef]
  12. Zheng, S.; Shahzad, M.; Asif, H.M.; Gao, J.; Muqeet, H.A. Advanced optimizer for maximum power point tracking of photovoltaic systems in smart grid: A roadmap towards clean energy technologies. Renew. Energy 2023, 206, 1326–1335. [Google Scholar] [CrossRef]
  13. Victoria, M.; Zhu, K.; Brown, T.; Andresen, G.B.; Greiner, M. Early decarbonisation of the European Energy System pays off. Nat. Commun. 2020, 11, 6223. [Google Scholar] [CrossRef] [PubMed]
  14. Chen, J.; Hu, Z.; Chen, Y. Thermoelectric optimization of integrated energy system considering stepped carbon trading mechanism and electricity to hydrogen. Electr. Power Autom. Equip. 2021, 41, 48–55. [Google Scholar]
  15. Saboori, H.; Hemmati, R. Considering carbon capture and storage in electricity generation expansion planning. IEEE Trans. Sustain. Energy 2016, 7, 1371–1378. [Google Scholar] [CrossRef]
  16. Chen, C.; Duan, S.; Cai, T.; Liu, B.; Hu, G. Optimal allocation and economic analysis of energy storage system in microgrids. IEEE Trans. Power Electron. 2011, 26, 2762–2773. [Google Scholar] [CrossRef]
  17. Regufe, M.J. Current Developments of Carbon Capture Storage and/or Utilization–Looking for Net-Zero Emissions Defined in the Paris Agreement. Energies 2021, 14, 2406. [Google Scholar] [CrossRef]
  18. Liu, Y. Research on Collaborative Optimal Scheduling of Carbon Capture and Waste Incineration Virtual Power Plants; East China Jiaotong University: Nanchang, China, 2021. [Google Scholar]
  19. Kirschen, D.S.; Strbac, G.; Cumperayot, P.; de Paiva Mendes, D. Factoring the Elasticity of Demand in Electricity Prices. IEEE Trans Power Syst. 2000, 15, 612–617. [Google Scholar] [CrossRef]
  20. Li, L.; Xue, Y.; Tian, L.; Yuan, X. Research on optimal configuration strategy of energy storage capacity in grid-connected microgrid. Prot. Control Mod. Power Syst. 2017, 2, 35. [Google Scholar] [CrossRef]
  21. Ma, J.; Li, L.; Wang, H.; Du, Y.; Ma, J.; Zhang, X.; Wang, Z. Carbon Capture and Storage: History and the Road Ahead. Engineering 2022, 14, 33–43. [Google Scholar] [CrossRef]
  22. Wei, F. Research on Integrated Energy System Planning and Operation Optimization Based on Multi-Objective Optimization and Dynamic Game Method. Bachelor’s Thesis, South China University of Technology, Guangzhou, China, 2017. [Google Scholar]
  23. Cheng, S.; Chen, Z.; Wang, R. Multi microgrid two-level coordinated optimal scheduling based on hybrid game. Electr. Power Autom. Equip. 2021, 41, 41–46. [Google Scholar]
  24. Chalkiadakis, G. Cooperative game theory: Basic concepts and computational challenges. IEEE Intell. Syst. 2012, 27, 86–90. [Google Scholar] [CrossRef]
  25. Makarov, Y.V.; Du, P.; Kintner-Meyer, M.; Jin, C.; Illian, H. Sizing energy storage to accommodate high penetration of variable energy resources. IEEE Trans. Sustain. 2012, 3, 34–40. [Google Scholar] [CrossRef]
  26. Guan, X.; Xie, S.; Chen, G. Parameter optimization method for dynamic adjustment interval of multipopulation genetic algorithm. Comput. Appl. Softw. 2022, 39, 273–282+312. [Google Scholar]
  27. Guan, X.; Xie, S.; Chen, G.; Qu, M. Modal parameter identification by adaptive parameter domain with multiple genetic algorithms. J. Mech. Sci. Technol. 2020, 34, 4965–4980. [Google Scholar]
  28. Song, W.; Dong, W.; Kang, L. Group anomaly detection based on Bayesian framework with genetic algorithm. Inf. Sci. 2020, 533, 138–149. [Google Scholar] [CrossRef]
  29. Sabyasachi, M.; Antonios, T. Autonomous Addition of Agents to an Existing Group Using Genetic Algorithm. Sensors 2020, 20, 6953. [Google Scholar]
  30. Ma, Y.; Wang, H.; Hong, F.; Yang, J.; Chen, Z.; Cui, H.; Feng, J. Modeling and optimization of combined heat and power with power-to-gas and carbon capture system in integrated energy system. Energy 2021, 236, 121392. [Google Scholar] [CrossRef]
Figure 1. Microgrid Stackelberg game structure.
Figure 1. Microgrid Stackelberg game structure.
Processes 11 02820 g001
Figure 2. Simplified flowchart of multi-population genetic algorithm.
Figure 2. Simplified flowchart of multi-population genetic algorithm.
Processes 11 02820 g002
Figure 3. Electricity and gas prices.
Figure 3. Electricity and gas prices.
Processes 11 02820 g003
Figure 4. Initial electricity price.
Figure 4. Initial electricity price.
Processes 11 02820 g004
Figure 5. Typical daily electricity, heat, gas load forecasting, and wind power output forecasting.
Figure 5. Typical daily electricity, heat, gas load forecasting, and wind power output forecasting.
Processes 11 02820 g005
Figure 6. Game equilibrium comparison. (a) Microgrid revenue iteration. (b) User revenue iteration.
Figure 6. Game equilibrium comparison. (a) Microgrid revenue iteration. (b) User revenue iteration.
Processes 11 02820 g006
Figure 7. Electricity sales plan for microgrid users.
Figure 7. Electricity sales plan for microgrid users.
Processes 11 02820 g007
Figure 8. Electricity load of users after electricity price demand response.
Figure 8. Electricity load of users after electricity price demand response.
Processes 11 02820 g008
Figure 9. Algorithm convergence curve comparison chart.
Figure 9. Algorithm convergence curve comparison chart.
Processes 11 02820 g009
Figure 10. Device operation after demand response. (a) Power balance. (b) Natural gas energy balance.
Figure 10. Device operation after demand response. (a) Power balance. (b) Natural gas energy balance.
Processes 11 02820 g010
Figure 11. Device operation after demand response. (a) Thermal balance. (b) Hydrogen balance.
Figure 11. Device operation after demand response. (a) Thermal balance. (b) Hydrogen balance.
Processes 11 02820 g011
Figure 12. Device operation without demand response. (a) Power balance. (b) Natural gas energy balance.
Figure 12. Device operation without demand response. (a) Power balance. (b) Natural gas energy balance.
Processes 11 02820 g012
Figure 13. Device operation without demand response. (a) Thermal balance. (b) Hydrogen balance.
Figure 13. Device operation without demand response. (a) Thermal balance. (b) Hydrogen balance.
Processes 11 02820 g013
Table 1. Operating parameters of each device.
Table 1. Operating parameters of each device.
EquipmentValueEfficiency/Carbon Emissions QuotaValue
Carbon capture power plant contribution range/kw · h[0, 200] η C H P 0.92
The range of thermal power union crew/kw · h[0, 300] η E L 0.88
Thermoelectrician Unit is a thermal power ratio1.8 η M R 0.6
The range of electrolytic tank equipment/kw · h[0, 500] η H F C 0.85
Methane reaction force range/kw · h[0, 250] ε e 0.798
Hydrogen fuel cell contribution range/kw · h[0, 250] ε h 0.985
Table 2. Demand Response Related Parameters.
Table 2. Demand Response Related Parameters.
Parameter NameValueParameter NameValue
M m i n 0.9 ε i i −0.2
N m i n 0.9 ε i j 0.033
Table 3. Comparison of optimization results of different algorithms.
Table 3. Comparison of optimization results of different algorithms.
AlgorithmMicro-Net Total
Cost/RMB
Number of
Iterations
MPGA11,667.0431
PSO12,306.7374
GA13,368.8587
Table 4. Optimization results for different scenarios.
Table 4. Optimization results for different scenarios.
ParameterConsider Demand ResponseIgnore Demand Response
Carbon emission/kg4857.904733.93
Carbon trading cost/RMB2303.952261.96
Power purchase cost/RMB3268.394046.99
Gas purchase cost/RMB6094.706027.04
Total cost/RMB11,667.0412,335.99
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

Li, B.; Li, Y.; Li, M.-T.; Guo, D.; Zhang, X.; Zhu, B.; Zhang, P.-R.; Wang, L.-D. Research on Optimal Scheduling of Multi-Energy Microgrid Based on Stackelberg Game. Processes 2023, 11, 2820. https://doi.org/10.3390/pr11102820

AMA Style

Li B, Li Y, Li M-T, Guo D, Zhang X, Zhu B, Zhang P-R, Wang L-D. Research on Optimal Scheduling of Multi-Energy Microgrid Based on Stackelberg Game. Processes. 2023; 11(10):2820. https://doi.org/10.3390/pr11102820

Chicago/Turabian Style

Li, Bo, Yang Li, Ming-Tong Li, Dan Guo, Xin Zhang, Bo Zhu, Pei-Ru Zhang, and Li-Di Wang. 2023. "Research on Optimal Scheduling of Multi-Energy Microgrid Based on Stackelberg Game" Processes 11, no. 10: 2820. https://doi.org/10.3390/pr11102820

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