A distributed scheduling method for multi-energy microgrids based on potential game
Through distributed algorithms based on potential games and IAPSO, the problems of information asymmetry and different decision-making goals in multi-energy microgrids are solved, independent decision-making and information security of each energy subgrid are realized, and system economy and dispatch flexibility are improved. .
Patent Information
- Application Number
- CN202010943858.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-10
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-09-10
AI Technical Summary
There are problems of information asymmetry and different decision-making goals in multi-energy microgrids, which makes it difficult for centralized dispatch to protect information security and achieve independent decision-making for each energy subgrid. Moreover, traditional algorithms have insufficient optimization capabilities in high-dimensional multi-modal functions. .
A multi-energy microgrid distributed dispatching method based on potential game is adopted, combined with the improved IAPSO algorithm, by constructing a G2P and P2G interaction model between electric energy and natural gas subgrids, and using potential game theory and distributed computing to achieve the Nash equilibrium solution Solve the problem and improve its optimization capabilities through the agent particle swarm optimization algorithm.
It realizes the independent decision-making of each energy sub-network, protects information security, improves computing efficiency and system economy, reduces the overall system cost, enhances G2P and P2G conversion capabilities, and improves the flexibility of system scheduling.
Smart Images

Figure CN112202206B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a distributed scheduling method for a multi-energy microgrid, and specifically to using a distributed algorithm based on potential game and IAPSO (Improved Agent-based Particle Swarm Optimization) to solve the information asymmetry problem existing in the scheduling of a multi-energy microgrid, and to realize the autonomy of decision-making of operators of each energy subgrid, and to protect the information security of each decision-making subject. The present invention belongs to the multidisciplinary cross-field of integrated energy system, game theory, intelligent algorithm, etc. Background Art
[0002] With the rapid development of technologies such as wind power generation and photovoltaic power generation, the use of distributed renewable energy has received increasing attention. As a bridge between distributed power sources and large power grids, microgrids are small power supply systems that effectively integrate distributed power sources (micro power sources), energy storage devices, power loads, control and protection systems, power electronics technology, and communication technologies. They can be isolated from the main grid and can also be connected to the grid through a public connection point. Changes in energy conversion and storage technologies make it possible for complementary coupling operations between various energy systems. With the increase in energy demand and the continuous increase in the proportion of new energy installed capacity, the coordinated operation of various energy networks is increasingly needed. In the context of the development of the energy Internet, the joint dispatch of multiple energy networks will become an important basic support for the energy Internet. As power-to-gas (P2G) and gas-to-power (G2P) technologies become increasingly mature, a new bridge has been built between the power system and the natural gas system, making large-scale electricity and gas energy interconnection systems play a vital role in multi-energy microgrids. Therefore, studying the scheduling model of microgrid systems with multiple energy sources such as electricity and natural gas can provide a reasonable and effective decision-making basis for reducing system costs and ensuring safe operation, and is conducive to the construction and improvement of integrated energy systems.
[0003] The introduction of game theory has improved the autonomy and intelligence of energy operators in microgrids to a certain extent. Game theory refers to the theory and method of studying the interaction between multiple individuals or teams under certain conditions. Decision makers should choose their best strategy based on the decisions of the other party to achieve the best profit. Games are divided into cooperative games and non-cooperative games based on whether a binding agreement can be reached. Non-cooperative games mainly study how to make decisions to maximize their own benefits in a situation where interests influence each other. Potential games are a special form of non-cooperative games, which are consistent with distributed thinking.
[0004] At present, the research on the joint dispatch of power and natural gas systems in energy interconnected microgrids is mainly based on centralized dispatching. However, centralized dispatching has high requirements for data transmission, communication and processing capabilities, and cannot protect the information privacy security of various entities. In addition, due to the industry barriers of various traditional energy sources, although integrated energy service companies may appear in the future, there will still be a large number of companies operating energy and equipment at different levels, types and links, and multiple operating entities will have information asymmetry and different decision-making goals. With the expansion of the scale of energy interconnection, distributed algorithms can play a positive role in solving the above problems. Realizing distributed dispatching of integrated energy systems is also conducive to improving the operating efficiency and scalability of the system, and has high research value. Therefore, how to deal with the information complexity and asymmetry problems in multi-energy microgrid dispatching has become a key issue that needs to be broken through. Summary of the invention
[0005] In order to solve the above-mentioned problems, the present invention relates to a multi-energy microgrid distributed scheduling method based on potential game, which aims to deal with the information complexity and asymmetry problems existing in the multi-energy microgrid scheduling, and realize the autonomy of decision-making of each energy subgrid operator, so as to provide a solution for managers of multi-energy microgrids to seek the optimal strategy for multi-energy distributed scheduling.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] A multi-energy microgrid distributed scheduling method based on potential game, characterized in that: the multi-energy microgrid system is composed of an electric energy subgrid and a natural gas subgrid, the electric energy subgrid has distributed photovoltaic resources, energy storage equipment and diesel generator sets, and is connected to an external distribution network; the gas energy subgrid has a gas storage device and is connected to an external natural gas pipeline; the two networks realize electricity-gas flow through G2P and P2G technologies respectively, and communicate through a unique information processing center-energy router, wherein it is assumed that the subgrid can only choose one of the two modes of P2G and G2P in the same time period; the multi-energy microgrid distributed scheduling method is as follows:
[0008] (1) First, the energy router determines the range of the interaction volume between the two subnets based on the output constraints of the G2P and P2G devices and sends it to the dispatch centers of the two subnets. Each subnet makes an independent decision based on the known information and obtains the output of each distributed energy source.
[0009] (2) Then the two subnets each submit an electricity-gas interaction plan to the energy router. The electric energy subnet submits the P2G output plan, and the gas energy subnet submits the G2P output plan. The energy router updates the interaction information and sends it to each subnet. The electric energy subnet updates the scheduling plan based on the G2P output, and the gas energy subnet updates the scheduling plan based on the P2G output. This process continues until the interaction plans of both parties reach an agreement, and the final microgrid scheduling plan is obtained.
[0010] Preferably, in the present invention, taking into account that the scheduling models of electric energy subgrids and gas energy subgrids are usually more complex, have more constraints, and have multidimensional and nonlinear characteristics, it is necessary to solve a multi-time period coupled multidimensional nonlinear programming problem. Therefore, according to the problems existing in the current mainstream intelligent optimization algorithms, an improved agent-based particle swarm optimization algorithm (IAPSO, Improved Agent-based Particle Swarm Optimization) is proposed to improve the optimization ability in multi-peak functions.
[0011] Preferably, considering the autonomy of the decision-making of the two subgrids in the multi-energy microgrid and the asymmetry of information in the actual environment, a distributed scheduling model of a multi-energy microgrid based on potential game theory is explored. The characteristics of potential game ensure that whether the model is solved from the level of potential function or from the perspective of the decision-making goal of the subgrid, a Nash equilibrium solution can be obtained, and the two are equivalent. Therefore, the constructed potential game model is consistent with distributed computing and can be solved using a structural distributed algorithm based on IAPSO.
[0012] The improved agent-based particle swarm optimization algorithm (IAPSO) can overcome the shortcomings of the basic particle swarm optimization algorithm, such as the inability to take into account both convergence speed and convergence accuracy, the difficulty in jumping out of the local optimum, and the insufficient ability to find the best solution in high-dimensional multi-peak functions.
[0013] The IAPSO algorithm of the present invention makes the following improvements to the particle swarm optimization algorithm:
[0014] (a) Consider the particles as intelligent agents with certain intelligent behaviors, and the entire particle swarm is equivalent to an intelligent agent system, which has a fixed topological structure in the physical space. Assume that the topological structure of the particle swarm is a quadrilateral structure (Von Neumann structure), and each particle has a fixed coordinate in the physical space. The particle i is preferably a The neighbors of a particle are the eight particles around itself; the algorithm control parameters are set, the microgrid model parameters are imported, the output constraints are considered, the position vector p and velocity vector v of each particle in the particle swarm are initialized, and the individual optimal value and the global optimal value are initialized; at the same time, the group competition mechanism is introduced to strengthen the information exchange between particles, increase the individual self-evolution while retaining the group evolution, and improve the algorithm's search ability, optimization accuracy and robustness;
[0015] (b) In order to reduce the complexity of the group competition operator and improve learning efficiency, it is set that particles can only learn from the best neighbors in the neighborhood. According to the topological structure, each particle performs competitive learning operations with its eight surrounding neighbors. The specific implementation method is:
[0016] First, determine the neighbors of each particle and find the a The fitness value of each neighbor is then selected to find the neighbor j with the best fitness value, and then compare it with the neighbor j of the i-th a The particles are compared; if they do not lose to the optimal neighbor, the position of the particle in the solution space remains unchanged; if they lose to the optimal neighbor, they learn from it and update it according to the following formula:
[0017]
[0018] Where: k represents the current iteration number of the algorithm; rand is a uniform random number from (0,1); μ is the learning coefficient of the particle learning from the optimal neighbor; is the position of the optimal neighbor particle j in the dth dimension; Indicates the i a Each particle learns the position of the previous d-th dimension from its neighbor particles;
[0019] This update formula gives the particle a chance to approach or surpass its neighbors in the solution space, and ensures the flexibility of learning each element of its position, so that it is not completely constrained by the neighbor information, reducing the risk of falling into the local optimum;
[0020] As the number of iterations increases, the fixed structure may cause the fitness of particles in different regions to differentiate, and the average fitness of particles in some regions is higher, while the average fitness of particles in some regions is lower, thus affecting the efficiency of neighborhood competitive learning. In order to overcome this defect of the intelligent agent particle swarm algorithm, IAPSO adjusts the position of some particles in the system after a certain number of iterations to enhance fluidity. It is set to adjust the position of some particles in the system topology after every N0 iterations. Assuming that the adjustment probability is P1, if a particle is selected for position adjustment, there is a 50% probability of swapping positions with particles symmetrical about the main diagonal in the topological structure, and another 50% probability of swapping positions with particles symmetrical about the secondary diagonal. This operation can prevent the fitness of particles in different regions from differentiating, which leads to a decrease in the efficiency of competitive learning.
[0021] (c) In order to enhance the ability to search for the global optimal solution, an adaptive weighting method is used:
[0022] For particles with larger fitness, their inertia weight is reduced to enhance the ability to find the best solution in a small range; for particles with smaller fitness, their inertia weight is increased to speed up their approach to a better position and improve the efficiency of the early search; the overall evolution is completed according to the update formula of the particle swarm algorithm. The update formula of the inertia weight coefficient is as follows:
[0023]
[0024] Where: f avg 、f best Respectively represent the average value and global optimal value of the current particle swarm fitness;
[0025] When the particle fitness f is less than the average value, a larger inertia weight coefficient is assigned to it, w0 is the initial inertia weight; when the particle fitness is higher than the average value, the inertia weight coefficient decreases linearly to the final inertia weight w1; this can avoid the algorithm from being premature due to a too fast decrease of w in the early stage of iteration;
[0026] (d) In addition, the algorithm also adds the hybridization and mutation link in the genetic algorithm; the probability of hybridization is set to P2, and the selected particles are hybridized in pairs to produce the same number of offspring particles to replace the parent particles. After the cross-border processing, p is updated. best and g best ; Assume that particle i in the kth iteration a , particle j is selected to perform the hybridization operation, then the position of the particle offspring becomes:
[0027]
[0028] Where: i a , j is the parent particle for hybridization operation, and the resulting daughter particle i a 'Replace parent particle i a ; Represents particle i a The progeny particles produced after hybridization a 'The position of the d-th dimension; represents the position of particle i in the dth dimension before hybridization; n is a uniform random number from (0,1).
[0029] The algorithm of the present invention adds the hybridization mutation link in the genetic algorithm to make particles have a certain probability to change their own positions by exchanging information with random particles, thereby increasing the probability of jumping out of the local optimum and avoiding premature convergence.
[0030] The above potential game is a non-cooperative game. In the process of non-cooperative games, when all rational decision makers obtain their own optimal strategies and reach stability, the game reaches the Nash equilibrium point. Therefore, if the Nash equilibrium point can be obtained, the optimal strategy of the multi-energy microgrid scheduling model can be determined. However, not all games have solvable equilibrium points, and the existence of Nash equilibrium needs to be proved. Because the potential game guarantees the existence of Nash equilibrium by its properties, if it can be proved that the game model in this paper is a strict potential game, it can reduce the complexity of the proof and the difficulty of establishing the model. Therefore, it is of great significance to study the game behavior based on potential games. Strict potential games must meet the following three properties:
[0031] Property 1: If the potential function of game Φ is P, then if the utility function of any decision maker changes, the potential function will change by the same amount. When the decision maker's strategy space is the same, the game Ω with the utility function P has the same Nash equilibrium solution as the game Φ.
[0032] Property 2: Has limited improvement characteristics.
[0033] Property 3: It can converge to the Nash equilibrium point in a finite number of steps.
[0034] Therefore, it is only necessary to prove that the constructed game model satisfies the above three conditions to deduce the existence of the equilibrium solution. The present invention takes into account the autonomy of decision-making of each subgrid in the multi-energy microgrid, models the economic dispatch problem of the multi-energy microgrid as a game problem between the subgrids, establishes the decision model of each subgrid, and explains the existence of the equilibrium solution of the game problem by constructing a potential function.
[0035] Preferably, in the multi-energy microgrid scheduling process, that is, in the multi-energy microgrid scheduling game, since the scheduling strategy of each subgrid will affect the overall benefits of the system, the change of the scheduling strategy of a single subgrid will affect the scheduling strategy and benefits of another subgrid, and the interaction between G2P and P2G will affect each other. To ensure the optimal benefits of a single subgrid, it is necessary to consider the decisions of other subgrids. Therefore, the decision-making process belongs to a game process; the three elements of the multi-energy microgrid game are as follows:
[0036] (a) Game participants: including the electric energy sub-grid and the gas energy sub-grid;
[0037] (b) Strategy space of decision makers: The electric energy subgrid decides the output of diesel generators, the charge and discharge of energy storage devices, the interaction with the main grid, and the power of P2G in each period; the gas energy subgrid decides the interaction with the natural gas main grid, the charge and discharge of gas storage devices, and the gas transmission volume of G2P in each period;
[0038] (c) Decision maker’s utility function: the operating cost function of each subnet.
[0039] The above-mentioned electric energy subgrid decision model is: Considering the dispatch cycle of T hours, the goal of the electric energy subgrid economic dispatch model is to minimize the daily economic cost of microgrid operation, including: fuel consumption cost, equipment operation and maintenance cost, transaction cost with the large power grid, compensation for user participation in demand response, photovoltaic power generation compensation, environmental cost and interaction cost with the natural gas subgrid. The decision variables are the output of diesel generators in each period, the charge and discharge size of energy storage devices, the amount of interaction with the main power grid and the power of P2G. The objective function is as follows:
[0040]
[0041]
[0042]
[0043] C G2P (t) = F G2P (t)·C g_G2P (7)
[0044] C P2G (t) = P P2G (t)·C e_P2G (8)
[0045] Where: N F is the total amount of diesel generators corresponding to each hour period, C Fi (t) is the fuel loss cost of the i-th diesel generator in period t; C Mi (t) is the operation and maintenance cost of the i-th diesel generator in period t; C bat (t) is the aging cost of the energy storage device during period t; c grid is the electricity price traded between the microgrid and the large grid, P grid (t) is the power of interaction with the large power grid; l out (t) is the load transfer amount of microgrid power users in period t, l out (t)>0;λ LS_sub The compensation price for user load transfer; μ PV is the photovoltaic power generation compensation price; q PV (t) is the photovoltaic power generation directly supplied to microgrid users during period t. Formula (5) is the environmental cost calculation formula for diesel engine i, where μ m , γ m is the greenhouse gas emission factor, is the penalty price, Pi(t) is the power generation of diesel engine i; F G2P (t) represents the gas volume delivered from the natural gas sub-grid to the electric energy sub-grid during period t; P G2P (t) is the electric power of G2P in period t, i.e., the output power of the gas generator set; P P2G(t) is the electric power of P2G in period t, i.e., the input power of the methane reaction unit. Generally, for a certain period, P G2P (t) and P P2G (t) will not be positive at the same time; GHV is the higher heating value of natural gas; α g , β g , γ g is the consumption coefficient of the gas generator; C e_P2G is the unit price of P2G electricity; C g_G2P is the unit price of natural gas in G2P; C P2G (t) represents the revenue of the electric energy subgrid selling electricity to the gas grid through P2G during period t; C G2P (t) represents the cost incurred by the electric energy subgrid for obtaining natural gas transmitted by the gas grid through G2P during period t.
[0046] The power subnetwork scheduling process must meet the following constraints:
[0047]
[0048] P i min ≤P i (t)≤P i max (10)
[0049] |P i (t)-P i (t-1)|≤ΔP i max (11)
[0050] S SOC min ≤S SOC (t)≤S SOC max (12)
[0051]
[0052] |P grid (t)|≤P grid max (14)
[0053] 0≤P P2G (t)≤P P2G max (15)
[0054] Formula (9) represents the power supply and demand balance relationship, L all (t) is the user's power load, P bat (t) is the energy storage output during period t, P PV(t) is the photovoltaic output in period t; Formula (10) represents the output power constraint of the diesel generator; Formula (11) represents the ramp power constraint of the diesel generator; Formula (12) represents the battery state of charge constraint; Formula (13) represents the battery charge and discharge constraint per unit time, V ESS is the energy storage capacity, η is the charging efficiency; Formula (14) represents the power transmission constraint between the microgrid and the large grid; Formula (15) represents the power constraint of P2G.
[0055] The above gas energy subnetwork decision model is:
[0056] The natural gas subgrid introduces gas storage devices based on the electricity-gas interconnection. Natural gas suppliers can sell surplus natural gas to the electric energy subgrid or inject it into the gas storage device for storage, thereby improving their decision-making flexibility. Considering the scheduling period of T hours, the economic scheduling model of the natural gas subgrid takes the minimum sum of transaction costs with the natural gas grid, equipment maintenance costs, environmental costs, and interaction costs with the electric energy subgrid as the optimization goal. The decision variables are the interaction volume with the natural gas main grid in each period, the gas charging and discharging volume of the gas storage device, and the gas transmission volume of G2P. The objective function is expressed as:
[0057]
[0058] in:
[0059] C P2G (t) = P P2G (t)·C e_P2G (17)
[0060] C G2P (t) = F G2P (t)·C g_G2P (18)
[0061]
[0062]
[0063]
[0064] C OM_g (t) = K OM_g ·P G2P (twenty two)
[0065] Where: F in (t) is the gas volume of the natural gas external network during period t; c g C is the unit price of gas purchased from the natural gas subnet to the external network; P2G (t) represents the cost of the gas energy subgrid purchasing electricity from the electric energy subgrid through P2G during period t; C G2P (t) represents the revenue obtained by the gas energy subgrid from delivering natural gas to the electric energy subgrid through G2P during period t; CEN_g (t) is the environmental cost caused by the gas turbine during period t, θ k′ is the emission cost coefficient of the k'th gas, is the emission factor of the k'th gas; C OM_g (t) is the maintenance cost of the gas unit, K OM_g is the maintenance cost coefficient of the gas unit; Formula (19) describes the conversion relationship between natural gas and electric power consumption of the P2G device, F P2G (t) is the natural gas converted from the electricity purchased by the natural gas merchant from the electric energy sub-grid, η P2G is the conversion efficiency of P2G.
[0066] According to the established model, the natural gas subgrid scheduling process must meet the following constraints:
[0067] Including gas balance constraints, gas tank operation constraints, and reactor unit operation constraints.
[0068] F G2P (t)+L g (t) = F in (t)+F s (t)+F P2G (t) (23)
[0069] G s (t) = G s (t-1)+F s (t) (24)
[0070] F s min ≤F s (t)≤F s max (25)
[0071] G s min ≤G s (t)≤G s max (26)
[0072] 0≤P G2P (t)≤P G2P max (27)
[0073] Formula (23) represents the gas flow balance condition of the natural gas sub-grid, L g (t) is the natural gas load; (24)-(26) are the gas volume change constraints per unit time in the gas storage device, G S (t) is the volume of natural gas in the gas storage device during period t, F S (t) is the volume of natural gas injected into the gas storage device during period t; GS (t) and F S (t) both have upper and lower limits; (27) represents the power constraint of G2P.
[0074] Preferably, in the potential game model of the above-mentioned multi-energy microgrid scheduling, the change in the benefit of any individual can be mapped to a global function, which is called a potential function. In a strict potential game, if the benefit of any individual changes, the potential function will change by the same amount. The potential function is designed to make the game between the two subnets a potential game. If any subnet in the game reduces its own cost by changing the scheduling strategy, the global situation function will reduce the same cost; by constructing a potential function, it is proved that the game is a strict potential game. The characteristics of the potential game ensure that whether the model is solved from the level of the potential function or from the perspective of the decision-making goal of the subnet, a Nash equilibrium solution can be obtained, and the two are equivalent; therefore, the potential game model constructed by the present invention is consistent with distributed computing, and can be solved using a structural distributed algorithm based on IAPSO.
[0075] According to the cost functions of the constructed electric energy subgrid and gas energy subgrid, see equations (4) and (16) for details, they are simplified into the following form:
[0076] C gas =C g +C pg -C gp (28)
[0077] C ele =C p +C gp -C pg (29)
[0078]
[0079]
[0080] Where: C pg is the sum of the costs of P2G in each period, C gp is the sum of the costs of G2P in each period; C g and C p They are the other dispatching costs of gas and electric grids except G2P and P2G costs, respectively.
[0081] Since the potential game model must have a Nash equilibrium, as long as it is proved that the game model of multi-energy microgrid scheduling is a potential game, the existence of the equilibrium solution of the game model can be proved. In order to reflect the pursuit of minimization of the cost of the electric energy subgrid and the gas energy subgrid in the game process, while taking into account the optimization of the overall cost of the microgrid, the potential function is considered to be constructed as:
[0082] G(y)=C g+α g C pg -β g C gp +C p +α p C gp -β p C pg (32)
[0083] =C g +C p +(α g -β p )C pg +(α p -β g )C gp (33)
[0084] Where: α g , β g , α p , β p is the coefficient introduced to construct the potential function;
[0085] It can be proved that when α is satisfied g – Beta p =–1,α p – Beta g When =–1, the game Ψ is a strict potential game.
[0086] According to the above description, the potential game model constructed by the present invention is consistent with distributed computing and can be solved by using a structural distributed algorithm based on IAPSO.
[0087] Compared with the existing methods, the present invention has the following obvious outstanding essential features and significant advantages:
[0088] The distributed algorithm based on potential game and IAPSO solves the information asymmetry problem in multi-energy microgrid scheduling, avoids large-scale complex calculations, and realizes the autonomy of decision-making of operators of each energy subgrid, which helps to protect their information security. The distributed scheduling method in the present invention has the following four substantial advantages:
[0089] 1. The structural distributed algorithm based on IAPSO in the present invention can effectively solve the potential game model. Since each subnet in this method only interacts with the energy router with necessary information, it has high autonomy. Compared with centralized scheduling, it avoids information asymmetry and solving complex models, effectively improves the calculation efficiency, and has better application prospects in practical environments.
[0090] 2. The introduction of G2P and P2G in the model adopted by the present invention can effectively improve the overall economic efficiency of the system; the multi-energy microgrid scheduling model based on potential game theory proposed by the present invention can take into account the interests of each subgrid while optimizing the overall cost of the system, and choosing to increase the G2P and P2G equipment put into operation at the appropriate time period can maximize the economic benefits of the system;
[0091] 3. In the distributed dispatching mode of the present invention, enhancing the G2P and P2G conversion capabilities helps reduce the impact of the grid-connected system on the main grid; among them, as the P2G and G2P capacities increase, the electric energy subgrid will reduce the amount of electricity purchased from the large power grid, improving the independent operation capability of the system, and playing a "valley-filling" role for the gas volume fluctuation at the natural gas subgrid PCC, making the gas volume fluctuation tend to be smooth;
[0092] 4. In the distributed dispatching mode of the present invention, the enhancement of G2P and P2G conversion capabilities will not weaken the role of the energy storage device. The combination of the two is conducive to improving the flexibility of system dispatching, thereby better optimizing operating costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] Figure 1 This is a framework diagram of the electricity and natural gas interconnection system of the present invention.
[0094] Figure 2 It is the population quadrilateral structure diagram of the present invention.
[0095] Figure 3 It is the flow chart of IAPSO algorithm of the present invention.
[0096] Figure 4 This is a flow chart of the distributed solution algorithm of the potential game model of the present invention.
[0097] Figure 5 This is a comparison chart of the convergence curves of the IAPSO, PSO and GAPSO algorithms of the present invention for solving a single power subgrid model.
[0098] Figure 6 It is the G2P and P2G convergence curve diagram of the present invention.
[0099] Figure 7 This is a diagram of the electric energy subnetwork scheduling strategy of the present invention.
[0100] Figure 8 The natural gas subnetwork scheduling strategy diagram of the present invention.
[0101] Fig. 9 It is a curve diagram of the battery charge state change of the present invention.
[0102] Fig.10 It is a gas capacity variation curve diagram of the gas storage tank of the present invention. DETAILED DESCRIPTION
[0103] The above scheme is further described below in conjunction with specific implementation examples. The preferred embodiments of the present invention are described in detail as follows:
[0104] Embodiment 1:
[0105] In this embodiment, see Figure 1 A multi-energy microgrid distributed scheduling method based on potential game is constructed. The multi-energy microgrid system consists of an electric energy subgrid and a natural gas subgrid. The electric energy subgrid has distributed photovoltaic resources, energy storage equipment and diesel generator sets, and is connected to the external distribution network; the gas energy subgrid has a gas storage device and is connected to the external natural gas pipeline; the two networks realize the flow of electricity and gas through G2P and P2G technologies respectively, and communicate through the only information processing center-energy router. It is assumed that the subgrid can only choose one of the two modes of P2G and G2P in the same time period; the multi-energy microgrid distributed scheduling method is as follows:
[0106] (1) First, the energy router determines the range of the interaction volume between the two subnets based on the output constraints of the G2P and P2G devices, and sends it to the dispatch centers of the two subnets. Each subnet makes an independent decision based on the known information and obtains the output of each distributed energy source.
[0107] (2) Then the two subnets each submit an electricity-gas interaction plan to the energy router. The electricity subnet submits the P2G output plan, and the gas subnet submits the G2P output plan. The energy router updates the interaction information and sends it to each subnet. The electricity subnet updates the scheduling plan based on the G2P output, and the gas subnet updates the scheduling plan based on the P2G output. This process continues until the interaction plans of both parties are consistent, and the final microgrid scheduling plan is obtained.
[0108] The method of this embodiment deals with the information complexity and asymmetry problems existing in the scheduling of multi-energy microgrids, and realizes the autonomy of decision-making of operators of each energy subgrid, providing a solution for managers of multi-energy microgrids to seek the optimal strategy for multi-energy distributed scheduling.
[0109] Embodiment 2:
[0110] This embodiment is basically the same as the first embodiment, except that:
[0111] In this embodiment, see Figure 1 , an improved agent-based particle swarm optimization algorithm is used to improve the optimization ability in multi-modal functions.
[0112] In this embodiment, during the multi-energy microgrid scheduling process, the interaction between G2P and P2G affects each other. To ensure the best benefits for a single subgrid, it is necessary to consider the decisions of other subgrids. The decision-making process is a game process. The three elements of the game of the multi-energy microgrid are as follows:
[0113] (a) Game participants: including the electric energy sub-grid and the gas energy sub-grid;
[0114] (b) Strategy space of decision makers: The electric energy subgrid decides the output of diesel generators, the charge and discharge of energy storage devices, the interaction with the main grid, and the power of P2G in each period; the gas energy subgrid decides the interaction with the natural gas main grid, the charge and discharge of gas storage devices, and the gas transmission volume of G2P in each period;
[0115] (c) Decision maker’s utility function: the operating cost function of each subnet.
[0116] In this embodiment, in the potential game model of multi-energy microgrid scheduling, the benefit change of any individual can be mapped to a global function, which is called the potential function; in a strict potential game, if the benefit of any individual changes, the potential function will change by the same amount; by designing the potential function, the game between the two subgrids is a potential game.
[0117] The introduction of G2P and P2G in the model adopted in this embodiment can effectively improve the overall economy of the system; the multi-energy microgrid scheduling model based on potential game theory proposed in the present invention can take into account the interests of each subgrid while optimizing the overall cost of the system, and choosing to increase the G2P and P2G equipment put into operation at the appropriate time period can maximize the economic benefits of the system. In the method of this embodiment, each subgrid only interacts with the energy router with necessary information, has high autonomy, avoids information asymmetry and solves complex models compared to centralized scheduling, effectively improves computing efficiency, and has better application prospects in practical environments.
[0118] Embodiment three:
[0119] This embodiment is basically the same as the above embodiment, with the following features:
[0120] In this embodiment, see Figure 1-Figure 10, when implementing the multi-energy microgrid distributed scheduling method based on potential game, the decision model of the power subgrid is: considering the scheduling period of T hours, the goal of the power subgrid economic scheduling model is to minimize the daily economic cost of the microgrid, including: fuel consumption cost, equipment operation and maintenance cost, transaction cost with the large power grid, compensation for users' participation in demand response, photovoltaic power generation compensation, environmental cost and interaction cost with the natural gas subgrid; the decision variables are the output of diesel generators in each period, the charge and discharge size of energy storage devices, the interaction with the main power grid and the power of P2G; the objective function is as follows:
[0121]
[0122]
[0123]
[0124] C G2P (t) = F G2P (t)·C g_G2P (7)
[0125] C P2G (t) = P P2G (t)·C e_P2G (8)
[0126] Where: N F is the total amount of diesel generators corresponding to each hour period, C Fi (t) is the fuel loss cost of the i-th diesel generator in period t; C Mi (t) is the operation and maintenance cost of the i-th diesel generator in period t; C bat (t) is the aging cost of the energy storage device during period t; c grid is the electricity price traded between the microgrid and the large grid, P grid (t) is the power of interaction with the large power grid; l out (t) is the load transfer amount of microgrid power users in period t, l out (t)>0;λ LS_sub The compensation price for user load transfer; μ PV is the photovoltaic power generation compensation price; q PV (t) is the photovoltaic power generation directly supplied to microgrid users during period t; Formula (5) is the environmental cost calculation formula for diesel engine i, where μ m , γ m is the greenhouse gas emission factor, is the penalty price, Pi(t) is the power generation of diesel engine i; F G2P (t) represents the gas volume delivered from the natural gas sub-grid to the electric energy sub-grid during period t; P G2P(t) is the electric power of G2P in period t, i.e., the output power of the gas generator set; P P2G (t) is the electric power of P2G in period t, i.e., the input power of the methane reaction unit. Generally, for a certain period, P G2P (t) and P P2G (t) will not be positive at the same time; GHV is the higher heating value of natural gas; α g , β g , γ g is the consumption coefficient of the gas generator; C e_P2G is the unit price of P2G electricity; C g_G2P is the natural gas unit price of G2P; C P2G (t) represents the revenue of the electric energy subgrid selling electricity to the gas grid through P2G during period t; C G2P (t) represents the cost incurred by the electric energy subgrid for obtaining the natural gas delivered by the gas grid through G2P during period t;
[0127] The power subnetwork scheduling process must meet the following constraints:
[0128]
[0129] P i min ≤P i (t)≤P i max (10)
[0130] |P i (t)-P i (t-1)|≤ΔP i max (11)
[0131] S SOC min ≤S SOC (t)≤S SOC max (12)
[0132]
[0133] |P grid (t)|≤P grid max (14)
[0134] 0≤P P2G (t)≤P P2G max (15)
[0135] Formula (9) represents the power supply and demand balance relationship, L all (t) is the user's power load, P bat (t) is the energy storage output during period t, PPV (t) is the photovoltaic output in time period t; Formula (10) represents the output power constraint of the diesel generator; Formula (11) represents the ramp power constraint of the diesel generator; Formula (12) represents the battery state of charge constraint; Formula (13) represents the battery charge and discharge constraint per unit time; Formula (14) represents the power transmission constraint between the microgrid and the large grid; Formula (15) represents the power constraint of P2G;
[0136] The decision model of the gas energy subgrid is as follows: the natural gas subgrid introduces a gas storage device based on the electricity-gas interconnection. The natural gas supplier can either sell the surplus natural gas to the electric energy subgrid or inject it into the gas storage device for storage to improve its decision-making flexibility; considering the scheduling cycle of T hours, the economic scheduling model of the natural gas subgrid takes the minimum sum of the transaction cost with the natural gas grid, equipment maintenance cost, environmental cost and interaction cost with the electric energy subgrid as the optimization goal. The decision variables are the interaction amount with the natural gas main grid in each period, the gas charging and discharging amount of the gas storage device and the gas transmission amount of G2P; the objective function is expressed as:
[0137]
[0138] in:
[0139] C P2G (t) = P P2G (t)·C e_P2G (17)
[0140] C G2P (t) = F G2P (t)·C g_G2P (18)
[0141]
[0142]
[0143]
[0144] C OM_g (t) = K OM_g ·P G2P (twenty two)
[0145] Where: F in (t) is the gas volume of the natural gas external network during period t; c g C is the unit price of gas purchased from the natural gas subnet to the external network; P2G (t) represents the cost of the gas energy subgrid purchasing electricity from the electric energy subgrid through P2G during period t; C G2P (t) represents the revenue obtained by the gas energy subgrid from delivering natural gas to the electric energy subgrid through G2P during period t; C EN_g (t) is the environmental cost caused by the gas turbine during period t, θk′ is the emission cost coefficient of the k'th gas, is the emission factor of the k'th gas; C OM_g (t) is the maintenance cost of the gas unit, K OM_g is the maintenance cost coefficient of the gas unit; Formula (19) describes the conversion relationship between natural gas and electric power consumption of the P2G device, F P2G (t) is the natural gas converted from the electricity purchased by the natural gas merchant from the electric energy sub-grid, η P2G is the conversion efficiency of P2G;
[0146] According to the established model, the natural gas subgrid scheduling process must meet the following constraints:
[0147] Including gas balance constraints, gas tank operation constraints, and reactor unit operation constraints;
[0148] F G2P (t)+L g (t) = F in (t)+F s (t)+F P2G (t) (23)
[0149] G s (t) = G s (t-1)+F s (t) (24)
[0150] F s min ≤F s (t)≤F s max (25)
[0151] G s min ≤G s (t)≤G s max (26)
[0152] 0≤P G2P (t)≤P G2P max (27)
[0153] Formula (23) represents the gas flow balance condition of the natural gas sub-grid, L g (t) is the natural gas load; Equations (24)-(26) are the constraints on the change of gas volume per unit time in the gas storage device, G S (t) is the volume of natural gas in the gas storage device during period t, F S (t) is the volume of natural gas injected into the gas storage device during period t; G S (t) and F S(t) both have upper and lower limits; Formula (27) represents the power constraint of G2P.
[0154] This embodiment is based on the multi-energy microgrid distributed scheduling method of potential game. With the development of multi-energy microgrids, multi-energy complementary operation is one of the key technologies of the future energy chain, which has positive significance for improving the economy of microgrids and improving the new energy consumption capacity. In this context, in order to take into account the interests of different energy operators and improve their decision-making autonomy, for a multi-energy microgrid system with electric energy, gas energy, G2P (gas-to-power), P2G (power-to-gas), energy storage and other devices, its scheduling problem is modeled as a game problem between subgrids, a multi-energy microgrid scheduling model based on potential game is established, and the existence of game equilibrium is explained by constructing a potential function. Secondly, considering that the scheduling models of electric energy subgrids and gas energy subgrids are usually more complex, have more constraints, and have multi-dimensional and nonlinear characteristics, based on the problems existing in the current mainstream intelligent optimization algorithms, this embodiment adopts an improved agent-based particle swarm optimization algorithm (IAPSO) to improve the optimization ability in multi-peak functions, and taking into account the asymmetry of information in the actual environment, using the characteristics of the potential game model and distributed computing, a structural distributed algorithm solution model based on IAPSO is proposed to achieve electricity-gas coordinated scheduling.
[0155] This embodiment effectively improves the autonomy and economy of each subgrid in the multi-energy microgrid, which is more in line with the actual situation. In addition, the introduction of G2P and P2G in the model can effectively improve the overall economy of the system. In the proposed distributed scheduling mode, enhancing the conversion capacity of G2P and P2G can also help reduce the impact of the grid-connected system on the main grid, which is conducive to improving the flexibility of system scheduling. This embodiment aims to deal with the information complexity and asymmetry problems existing in the scheduling of multi-energy microgrids, and realize the autonomy of decision-making of operators of each energy subgrid, and provide solutions for managers of multi-energy microgrids to seek the optimal strategy for multi-energy distributed scheduling.
[0156] Embodiment 4:
[0157] This embodiment is basically the same as the above embodiment, with the following features:
[0158] In this embodiment, a multi-energy microgrid distributed scheduling method is adopted, which is described as follows in conjunction with the accompanying drawings:
[0159] like Figure 1The figure shows the framework of a microgrid system with multiple energy sources such as electricity and natural gas, in which gas and electric energy storage devices are introduced. The two subgrids realize electricity-gas interaction through gas-to-electricity (G2P) and electricity-to-gas (P2G) methods respectively, and communicate through a unique information processing center. The energy center uses an energy router.
[0160] In order to balance the interests of all decision makers while avoiding the complexity and asymmetry of information in the actual environment, this embodiment takes into account the autonomy of decision-making of each subgrid in the multi-energy microgrid, models the economic dispatch problem of the multi-energy microgrid as a game problem between the subgrids, establishes a multi-energy microgrid dispatch model based on potential game, and explains the existence of game equilibrium by constructing a potential function.
[0161] The solution method of the subnetwork decision model adopts the IAPSO algorithm. Finally, the constructed potential game model is compatible with distributed computing. The IAPSO-based structural distributed algorithm is used to solve the problem and realize the coordinated dispatch of electricity and gas. The algorithm flow chart is as follows: Figure 4 shown.
[0162] The daily operation status of the multi-energy microgrid and each subgrid in this embodiment is shown in Table 1.
[0163] Table 1. Daily operating economic costs of multi-energy microgrids and their subgrids
[0164]
[0165] The introduction of G2P and P2G in the model adopted in this embodiment can effectively improve the overall economy of the system; the multi-energy microgrid scheduling model based on potential game theory proposed in this embodiment can take into account the interests of each subgrid while optimizing the overall cost of the system, and choosing to increase the G2P and P2G equipment put into operation at appropriate time periods can maximize the economic benefits of the system; in the distributed scheduling mode of this embodiment, the enhancement of G2P and P2G conversion capabilities will not weaken the role of energy storage devices. The combination of the two is conducive to improving the flexibility of system scheduling, thereby better optimizing operating costs.
[0166] The above describes the embodiments of the present invention in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Various changes can be made according to the purpose of the invention. Any changes, modifications, substitutions, combinations or simplifications made according to the spirit and principle of the technical solution of the present invention should be equivalent replacement methods. As long as they meet the purpose of the invention and do not deviate from the technical principles and inventive concepts of the present invention, they belong to the protection scope of the present invention.
Claims
1. A multi-energy microgrid distributed scheduling method based on potential game, characterized by: The multi-energy microgrid system is composed of an electric energy subgrid and a natural gas subgrid. The electric energy subgrid has distributed photovoltaic resources, energy storage equipment and diesel generator sets, and is connected to the external distribution network; the gas energy subgrid has a gas storage device and is connected to the external natural gas pipeline; the two networks realize the flow of electricity and gas through G2P and P2G technologies respectively, and communicate through the only information processing center - energy router. It is assumed that the subgrid can only choose one of the two modes of P2G and G2P in the same time period; the distributed scheduling method of the multi-energy microgrid is as follows: (1) First, the energy router determines the range of the interaction volume between the two subnets based on the output constraints of the G2P and P2G devices, and sends it to the dispatch centers of the two subnets. Each subnet makes an independent decision based on the known information and obtains the output of each distributed energy source. (2) Then the two subnets each submit an electricity-gas interaction plan to the energy router. The electric energy subnet submits the P2G output plan, and the gas energy subnet submits the G2P output plan. The energy router updates the interaction information and sends it to each subnet. The electric energy subnet updates the scheduling plan based on the G2P output, and the gas energy subnet updates the scheduling plan based on the P2G output. This process continues until the interaction plans of both parties reach an agreement, and the final microgrid scheduling plan is obtained. The decision model of the electric energy subgrid is as follows: Considering the dispatch cycle of T hours, the goal of the economic dispatch model of the electric energy subgrid is to minimize the daily economic cost of the microgrid, including: fuel consumption cost, equipment operation and maintenance cost, transaction cost with the large power grid, compensation for users' participation in demand response, photovoltaic power generation compensation, environmental cost and interaction cost with the natural gas subgrid; the decision variables are the output of the diesel generator in each period, the charge and discharge size of the energy storage device, the interaction with the main power grid and the power of P2G; the objective function is as follows: C G2P (t)=F G2P (t)·C g_G2P (7) C P2G (t)=P P2G (t)·C e_P2G (8) Where: N F is the total amount of diesel generators corresponding to each hour period, C Fi (t) is the fuel loss cost of the i-th diesel generator in period t; C Mi (t) is the operation and maintenance cost of the i-th diesel generator in period t; C bat (t) is the aging cost of the energy storage device during period t; c grid is the electricity price traded between the microgrid and the large grid, P grid (t) is the power of interaction with the large power grid; l out (t) is the load transfer amount of microgrid power users in period t, l out (t)>0;λ LS_sub The compensation price for user load transfer; μ PV is the photovoltaic power generation compensation price; q PV (t) is the photovoltaic power generation directly supplied to microgrid users during period t; Formula (5) is the environmental cost calculation formula for diesel engine i, where μ m , γ m is the greenhouse gas emission factor, is the penalty price, Pi(t) is the power generation of diesel engine i; F G2P (t) represents the gas volume delivered from the natural gas sub-grid to the electric energy sub-grid during period t; P G2P (t) is the electric power of G2P in period t, i.e., the output power of the gas generator set; P P2G (t) is the electric power of P2G in period t, i.e., the input power of the methane reaction unit. Generally, for a certain period, P G2P (t) and P P2G (t) will not be positive at the same time; GHV is the higher heating value of natural gas; α g , β g , γ g is the consumption coefficient of the gas generator; C e_P2G is the unit price of P2G electricity; C g_G2P is the natural gas unit price of G2P; C P2G (t) represents the revenue of the electric energy subgrid selling electricity to the gas grid through P2G during period t; C G2P (t) represents the cost incurred by the electric energy subgrid for obtaining the natural gas delivered by the gas grid through G2P during period t; The power subnetwork scheduling process must meet the following constraints: P i min ≤P i (t)≤P i max (10) |P i (t)-P i (t-1)|≤ΔP i max (11) S SOC min ≤S SOC (t)≤S SOC max (12) |P grid (t)|≤P grid max (14)0≤P P2G (t)≤P P2G max (15) Formula (9) represents the power supply and demand balance relationship, L all (t) is the user's power load, P bat (t) is the energy storage output during period t, P PV (t) is the photovoltaic output in period t; Formula (10) represents the output power constraint of the diesel generator; Formula (11) represents the ramp power constraint of the diesel generator; Formula (12) represents the battery state of charge constraint; Formula (13) represents the battery charge and discharge constraint per unit time, V ESS is the energy storage capacity, η is the charging efficiency; Formula (14) represents the power transmission constraint between the microgrid and the large grid; Formula (15) represents the power constraint of P2G; The decision model of the gas energy subgrid is as follows: the natural gas subgrid introduces a gas storage device based on the electricity-gas interconnection. The natural gas supplier can either sell the surplus natural gas to the electric energy subgrid or inject it into the gas storage device for storage to improve its decision-making flexibility; considering the scheduling cycle of T hours, the economic scheduling model of the natural gas subgrid takes the minimum sum of the transaction cost with the natural gas grid, equipment maintenance cost, environmental cost and interaction cost with the electric energy subgrid as the optimization goal. The decision variables are the interaction amount with the natural gas main grid in each period, the gas charging and discharging amount of the gas storage device and the gas transmission amount of G2P; the objective function is expressed as: in: C P2G (t)=P P2G (t)·C e_P2G (17) C G2P (t)=F G2P (t)·C g_G2P (18) C OM_g (t)=K OM_g ·P G2P (22) Where: F in (t) is the gas volume of the natural gas external network during period t; c g C is the unit price of gas purchased from the natural gas subnet to the external network; P2G (t) represents the cost of the gas energy subgrid purchasing electricity from the electric energy subgrid through P2G during period t; C G2P (t) represents the revenue obtained by the gas energy subgrid from delivering natural gas to the electric energy subgrid through G2P during period t; C EN_g (t) is the environmental cost caused by the gas turbine during period t, θ k′ is the emission cost coefficient of the k'th gas, is the emission factor of the k'th gas; C OM_g (t) is the maintenance cost of the gas unit, K OM_g is the maintenance cost coefficient of the gas unit; Formula (19) describes the conversion relationship between natural gas and electric power consumption of the P2G device, F P2G (t) is the natural gas converted from the electricity purchased by the natural gas merchant from the electric energy sub-grid, η P2G is the conversion efficiency of P2G; According to the established model, the natural gas subgrid scheduling process must meet the following constraints: Including gas balance constraints, gas tank operation constraints, and reactor unit operation constraints; F G2P (t)+L g (t)=F in (t)+F s (t)+F P2G (t) (23) G s (t)=G s (t-1)+F s (t) (24) F s min ≤F s (t)≤F s max (25) G s min ≤G s (t)≤G s max (26) 0≤P G2P (t)≤P G2P max (27) Formula (23) represents the gas flow balance condition of the natural gas sub-grid, L g (t) is the natural gas load; Equations (24)-(26) are the constraints on the change of gas volume per unit time in the gas storage device, G S (t) is the volume of natural gas in the gas storage device during period t, F S (t) is the volume of natural gas injected into the gas storage device during period t; G S (t) and F S (t) both have upper and lower limits; Formula (27) represents the power constraint of G2P.
2. The multi-energy microgrid distributed scheduling method based on potential game according to claim 1 is characterized by: An improved agent-based particle swarm optimization algorithm is used to improve the optimization ability in multi-modal functions.
3. The multi-energy microgrid distributed scheduling method based on potential game according to claim 1 is characterized by: In the process of multi-energy microgrid scheduling, the interaction between G2P and P2G affects each other. If a single subgrid wants to ensure its own optimal benefits, it must consider the decisions of other subgrids. The decision-making process is a game process. The three elements of the game of the multi-energy microgrid are as follows: (a) Game participants: including the electric energy sub-grid and the gas energy sub-grid; (b) Decision maker’s strategy space: The power subgrid decides the output of diesel generators, the charge and discharge of energy storage devices, the interaction with the main grid, and the power of P2G in each period; The gas energy sub-grid decides the interaction volume with the natural gas main grid at each time period, the gas charging and discharging volume of the gas storage device, and the gas transmission volume of G2P; (c) Decision maker’s utility function: the operating cost function of each subnet.
4. The multi-energy microgrid distributed scheduling method based on potential game according to claim 1 is characterized by: In the potential game model of multi-energy microgrid scheduling, the change in the benefit of any individual can be mapped to a global function, which is called the potential function; in a strict potential game, if the benefit of any individual changes, the potential function will change by the same amount; by designing the potential function, the game between the two subgrids becomes a potential game.
Citation Information
Patent Citations
Microgrid power source planning method based on game and Nash equilibrium
CN103839109A
Optimization algorithm of micro-grid energy management system based on non-cooperation game
CN105591406A
Method for optimal operation of combined cooling, heating and power (CCHP) micro-grid based on game theory
CN107844055A
Electric power-natural gas comprehensive energy system joint planning method based on multi-subject game
CN109919452A
Multi-microgrid energy management method based on collaborative model predictive control
CN111293682A
Cited By
Source network load storage interaction optimization scheduling method and system based on state potential game
CN115912422A
