An economic optimization scheduling method for micro-grid based on improved finite time consensus

By improving the finite-time consensus algorithm and utilizing the information interaction and leader node selection of the leader-follower multi-agent system, the problem of slow convergence speed in the economic dispatch of microgrids is solved, and fast and reliable power balance and economic optimization are achieved.

CN117595338BActive Publication Date: 2026-11-24ANHUI POLYTECHNIC UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311475695.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2026-11-24
Estimated Expiration
2043-11-07

AI Technical Summary

Technical Problem

In existing technologies, centralized power system dispatching performs poorly in large-scale dispatching across multiple regions, struggles to protect user privacy, and is prone to crashes. The multi-agent consensus algorithm for distributed generation units has a slow convergence speed and cannot meet the real-time and security requirements of economic dispatching of microgrids.

Method used

An improved finite-time consensus algorithm based on leader-follower multi-agents is adopted. By selecting leader and follower nodes, updating consensus variables through information interaction, controlling the changes in global consensus variables, introducing gain coefficients and power deviation elimination terms, and combining Lyapunov's stability theorem and graph theory theorems, the system converges in finite time.

Benefits of technology

It accelerates the convergence speed of microgrid systems, adapts to changes in topology and the plug-and-play requirements of smart agents, improves system reliability and computational efficiency, and reduces economic costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117595338B_ABST
    Figure CN117595338B_ABST
Patent Text Reader

Abstract

This invention discloses an economic optimization scheduling method for microgrids based on improved finite-time consistency, belonging to the field of microgrid economic optimization scheduling technology. To adapt to changes in microgrid topology and the "plug-and-play" requirements of agents, and to accelerate system convergence, this invention proposes an improved finite-time consistency algorithm based on a leader-follower multi-agent system. This algorithm is based on the traditional finite-time consistency algorithm with a gradient algorithm term for the overall cost function, but introduces a gain coefficient and a power deviation elimination term. The stability of the improved algorithm is proven using Lyapunov's stability theorem and graph theory theorems. Furthermore, this application includes an economic scheduling strategy for microgrids based on improved finite-time consistency. This strategy utilizes the information interaction between each agent and its neighboring agents to update its own consistency variables, and controls the changes in global consistency variables by selecting a leader agent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of microgrid economic optimization scheduling technology, specifically a microgrid economic optimization scheduling method based on improved finite-time consistency. Background Technology

[0002] Microgrids integrate numerous distributed generation units, each with diverse generation characteristics, control features, and generation costs. The goal of microgrid economic dispatch is to reduce the overall economic cost of the microgrid while ensuring real-time power balance and meeting safety constraints.

[0003] Power system dispatching methods are divided into centralized and distributed approaches. Traditional power system dispatching mostly adopts centralized dispatching, utilizing intelligent algorithms such as particle swarm optimization and whale optimization to optimize the system. However, with the integration of a large number of distributed generation units into the power system, centralized dispatching is ineffective in large-scale, multi-regional dispatching, struggles to solve multi-regional interconnection models, fails to adequately protect user privacy, and places high demands on the control center; a failure of the control center can paralyze the entire system. To address the problems of centralized dispatching, many scholars have proposed a distributed dispatching approach. This approach does not rely on a control center, requiring only communication between adjacent intelligent agents, and offers advantages such as low computational cost, high reliability, and "plug-and-play" functionality.

[0004] In fact, according to the incremental rate criterion of equal consumption, the distributed economic dispatch problem of microgrids can be transformed into an incremental cost consistency problem in the power allocation process. Distributed algorithms are mainly used to solve this type of problem, among which multi-agent consensus algorithms are common. Compared with traditional intelligent algorithms, they have advantages such as shorter information acquisition time, simpler convergence conditions, and faster convergence speed. Although traditional multi-agent consensus algorithms can handle distributed economic dispatch problems, their convergence speed is relatively slow. Therefore, finite-time consensus algorithms have attracted attention, but currently, they are rarely applied to microgrid optimal dispatch. Therefore, researching a microgrid economic optimal dispatch strategy based on improved finite-time consensus is of great significance. Summary of the Invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes an economic optimization scheduling method for microgrids based on improved finite-time consistency.

[0006] An economic optimization scheduling method for microgrids based on improved finite-time consistency is proposed, which specifically includes the following steps: SS1: An improved finite-time consensus algorithm based on leader-follower multi-agent systems is used to determine the consensus variables of the agents. The agents include distributed generation units, energy storage, and controllable loads, with the corresponding one-time variables being as follows: ; SS2: In a multi-agent system, each agent updates its own consistency variables by interacting with neighboring nodes and controls the changes in global consistency variables by selecting a leader node. SS3: For distributed generation units and energy storage, when the total output of distributed generation units and energy storage exceeds the total load demand, the system's... Its corresponding consistency variables A decrease in output leads to a decrease in the output of distributed generation units and energy storage, and vice versa. When the total load demand exceeds the total output of distributed generation units and energy storage, the system... Controllable load Increasing the load leads to a larger reduction in controllable load and a smaller total system load; conversely, decreasing the load leads to a smaller reduction and a larger total system load. SS4: During step SS3, the system will gradually achieve power balance and reach convergence.

[0007] Compared with the prior art, the beneficial effects of the present invention are: To adapt to changes in microgrid topology and the "plug-and-play" requirements of agents, and to accelerate system convergence, this invention proposes an improved finite-time consensus algorithm based on leader-follower multi-agent systems. This algorithm is based on the traditional finite-time consensus algorithm with a gradient term in the overall cost function, but introduces a gain coefficient and a power deviation elimination term. The stability of the improved algorithm is proven using Lyapunov's stability theorem and graph theory theorems. Furthermore, this application includes a microgrid economic dispatch strategy based on the improved finite-time consensus. This strategy utilizes the information interaction between each agent and its neighboring agents to update its own consensus variables, and controls the changes in global consensus variables by selecting a leader agent. Attached Figure Description

[0008] Figure 1 The flowchart of the improved finite-time consensus algorithm of this invention is shown below; Figure 2 This is a flowchart of the distributed economic optimization scheduling process of the present invention; Figure 3 This is a diagram of the system topology of the present invention; Figure 4 This is a schematic diagram illustrating the convergence of consistency variables in the incremental cost consistency convergence case of this invention; Figure 5 This is a schematic diagram illustrating the total load and total output in the incremental cost consistency convergence case of the present invention; Figure 6 This is a schematic diagram illustrating the convergence of consistency variables in the incremental cost consistency convergence process during multiple scheduling instructions in this invention. Figure 7 This is a schematic diagram illustrating the total load and total output in the incremental cost consistency convergence case during multiple scheduling instructions in this invention; Figure 8 This is a schematic diagram of the convergence process of the consistency variable in the incremental cost consistency convergence case of the "plug and play" invention; Figure 9 This is a schematic diagram illustrating the total load and total output in the incremental cost consistency convergence case during the "plug and play" operation of this invention. Figure 10 This invention demonstrates the consistent convergence of incremental costs for different gain coefficients. A schematic diagram illustrating the convergence of time-consistent variables; Figure 11 This invention provides a consistent convergence scenario for incremental cost under different gain coefficients. A schematic diagram illustrating the convergence of time-consistent variables; Figure 12 This invention provides a consistent convergence scenario for incremental cost under different gain coefficients. Enlarged view of local consistency variables; Figure 13 This is a schematic diagram comparing the consistency variables of the present invention with those of the classic master-slave consistency algorithm; Figure 14 This is a schematic diagram comparing the consistency variables of the present invention with those of the traditional finite-time consensus algorithm; Figure 15 This is a schematic diagram comparing the consistency variables of the present invention with those of the finite-time consensus algorithm; Figure 16 This is a comparison of the supply and demand power deviation between the present invention and the traditional finite-time consensus algorithm in terms of consistency variables. Detailed Implementation

[0009] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0010] Please see Figure 1-16 This application provides a microgrid economic optimization scheduling method based on improved finite-time consistency, including: S1: Select the node with the largest algebraic connectivity in the system topology graph as the leader node; S2: Based on the agent's position and state in the dynamic model Instead of input The relationship between them and the equal incremental rate criterion are then applied to the optimal scheduling of microgrids. S3: Position Status It can be equivalent to a consistency variable in economic scheduling. Its input It can be equivalent to the change in a consistent variable. ; S4: In this invention, the formula for the improved algorithm is: ; In the formula, Let r1 and r2 represent the consistency variables of the leader and follower nodes in the system, respectively; r1 is the gain coefficient, r1>0; and σ is the convergence coefficient. This will affect the speed of algorithm iteration convergence and system stability; ΔP is the power supply and demand deviation between the total load demand power in the system and the total output power of distributed generation units and energy storage. S5: Using Lyapunov function stability theory and graph theory, we prove that the multi-agent system can achieve convergence in finite time under the proposed improved algorithm. S6: In a multi-agent system, the agent with the highest algebraic connectivity is selected as the leader agent, and the rest are follower agents. Assuming that each agent can only obtain information from its neighboring agents, the dynamic model of the leader-follower first-order multi-agent system is established as follows: ; In the formula, These represent the position state and input of the following agent i at time t, respectively; These represent the position, state, and input of the leading agent h at time t; The set of vertices of the leading intelligent agent; S7: Let the tracking error between follower node i and leader node at time t be... for: c i (t)=λ i (t)-λ0(t); S8: From steps 4, 6, and 7 above, we get: ; In the formula, Let be the tracking error of the neighboring nodes of node i at time t; Let be the change in the tracking error between follower node i and leader node at time t; Let be the tracking error of the leader node at time t; S9: Let the Lyapunov function be... ; From step 8, we can obtain: ; discuss Positive and negative; ; ; In the formula, It is a constant; λ represents the change in the consistency variables of the leader node and the follower node at time t, respectively; j (t) represents the consistency variable of the neighboring nodes following node i at time t; Represents the set of neighboring nodes of the leader node; S10: Assuming the agents have the same initial state, the discussion is as follows; when hour, ,so ; but ; In the formula, a 0j Let be the connection weight between node j and the leader node; , And because Therefore ; when ,so ;but but , ; S11: From the above discussion, we can conclude that: ; make ,but: ; In the formula, Let B be the Laplace matrix. Let be the second eigenvalue of the Laplace matrix of B; S12: Combining step 11, we can obtain: ; From the above proof, it can be concluded that in In this case, the system can achieve convergence and consistency within a finite amount of time thanks to the improved algorithm; S13: Improved finite-time consensus algorithm process; S14: Treat each node in the system as an intelligent agent; S15: Determine whether the agent is a leader agent; S16: Determine whether the power of the agent exceeds the limit; S17: Calculate the power deviation in the system; S18: Determine whether the termination condition is met; S19: In step 6 above, the formula for calculating the agent consistency variable includes; S20: If the agent is the leader agent, the formula for calculating the consistency variable is: ; In the formula, N z Represents the set of Z-neighbor nodes of the leader node; a zm σm is the connection weight between node m and leader node Z in A0; σ1 is the convergence coefficient of the leader node, σ1 > 0; S FZ S CZ S XZ These are the sets of leader nodes in distributed generation units, energy storage, and controllable loads, respectively; λ z (t) represents the consistency variable of the leader node z in a distributed generation unit, energy storage, or controllable load; λ z (t) represents the change in the consistency variable of the leader node; λ m (t) represents the following node Or the consistency variable of the leader node z and its neighbor node m; S21: If the agent is a follower agent, the formula for calculating the consistency variable is: ; In the formula, Indicates following node The set of neighboring nodes; It is node m in A and its following node The connection weights between them; To follow the convergence coefficient of the node, ; Follower nodes in distributed generation units, energy storage, or controllable loads Consistent variables, S represents the change in the consistency variable that follows the node; F S is a collection of distributed generation units; C For energy storage collection; S X For a set of controllable loads; S22: In step 7 above, the formula for calculating the power output of the intelligent agent is: ; In the formula, β i γ i w j θ j q g s g These represent the constant, linear, and quadratic coefficients of the cost models for distributed generation units, energy storage, and controllable loads, respectively; P Fi P represents the power output of distributed generation unit i; Cj P is the discharge power of energy storage j; Xg The power reduction for a controllable load g; P Fi,min and P Fi,max P represents the minimum and maximum output power of distributed generation unit i, respectively; Cj,min and P Cj,max P represents the minimum and maximum discharge power of energy storage j, respectively; Xg,min and P Xg,max These represent the minimum and maximum power reduction of the controllable load g, respectively. S23: Distributed economic scheduling; S24: The objective function of economic optimization scheduling of microgrids is an optimization problem that minimizes the operating cost of the entire system when the agent satisfies certain constraints. S25: The cost models for distributed generation units, energy storage, and controllable loads all adopt quadratic function models; specifically: The generation cost model for distributed generation units is as follows: ; The discharge cost model for energy storage is as follows: ; The controllable load reduction cost model is as follows: ; The objective function is: ; The constraints are: P Fi,min ≤P Fi ≤P Fi,max i∈S F P Cj,min ≤P Cj ≤P Cj,max j∈S C P Xg,min ≤P Xg ≤P Xg,max g∈SX ; In the formula, P Fi,min and P Fi,max P represents the minimum and maximum output power of distributed generation unit i, respectively; Cj,min and P Cj,max P represents the minimum and maximum discharge power of energy storage j, respectively; Xg,min and P Xg,max P represents the minimum and maximum power reduction of the controllable load g, respectively; L For a fixed load; P LL This is the initial load amount of the controllable load; S26: For the objective function, the classical Lagrange multiplier method is used to solve it. Without considering inequality constraints, the proposed constrained optimization problem can be transformed into: ; In the formula, ξ is the Lagrange multiplier corresponding to the equality constraint; S27: Since it is necessary to satisfy the power supply and demand balance in the power system, let ΔP be: ; S28: Within the power constraint, it is assumed that all distributed generation units, energy storage, and controllable loads are operating normally. In the improved finite-time consensus algorithm presented in this paper, Defined as: ; In the formula, λ i , λ j , λ g These are the consistency variables for distributed generation units, energy storage, and controllable loads, respectively. S29: Scheduling strategy; S30: The economic optimization objective of microgrids is to minimize the economic cost of microgrid operation. This invention employs an improved finite-time consensus algorithm based on a leader-follower multi-agent approach. These serve as consistency variables for intelligent agents such as distributed generation units, energy storage, and controllable loads, respectively. S31: In a multi-agent system, each agent updates its own consistency variables by interacting with neighboring nodes and controls the changes in global consistency variables by selecting a leader node. S32: For distributed generation units and energy storage, when the total output of distributed generation units and energy storage exceeds the total load demand, the system's... Its corresponding consistency variables A decrease in output leads to a decrease in the output of distributed generation units and energy storage, and vice versa. S33: When the total load demand exceeds the total output of distributed generation units and energy storage, the system... Controllable load Increasing the load leads to a larger reduction in controllable load and a smaller total system load; conversely, decreasing the load leads to a smaller reduction and a larger total system load. S34: During the above process, the system will gradually achieve power balance and reach convergence.

[0011] The above embodiments are only used to illustrate the technical methods of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical methods of the present invention without departing from the spirit and scope of the technical methods of the present invention.

Claims

1. A microgrid economic optimization scheduling method based on improved finite-time consistency, characterized in that, include: SS1: An improved finite-time consensus algorithm based on leader-follower multi-agent systems is used to determine the consensus variables of the agents. The agents include distributed generation units, energy storage, and controllable loads, with the corresponding one-time variables being as follows: ; SS2: In a multi-agent system, each agent updates its own consistency variables by interacting with neighboring nodes and controls the changes in global consistency variables by selecting a leader node. The leader node is selected by choosing the node with the highest algebraic connectivity in the system topology graph. SS3: For distributed generation units and energy storage, when the total output of distributed generation units and energy storage exceeds the total load demand, ΔP < 0 in the system, and the corresponding consistency variable... A decrease in output leads to a decrease in the output of distributed generation units and energy storage, and vice versa. When the total load demand exceeds the total output of distributed generation units and energy storage, the system... Controllable load Increasing the load leads to a larger reduction in controllable load and a smaller total system load; conversely, decreasing the load leads to a smaller reduction and a larger total system load. SS4: During step SS3, the system will gradually achieve power balance and reach convergence. In step SS2, each agent updates its own consistency variables by interacting with neighboring nodes, and controls the changes in global consistency variables by selecting a leader node. S1: Treat each node in the system as an agent; determine whether the agent is a leader agent, and calculate the consistency variable based on whether it is a leader agent, specifically: If the agent is a leader agent, the formula for calculating the consistency variable is: ; In the formula, N z Represents the set of Z-neighbor nodes of the leader node; a zm S is the connection weight between node m and leader node Z in A0; σ1 is the convergence coefficient of the leader node, σ1 > 0; FZ S CZ S XZ These are the sets of leader nodes in distributed generation units, energy storage, and controllable loads, respectively; λ z (t) represents the consistency variable of the leader node z in a distributed generation unit, energy storage, or controllable load; λ z (t) represents the change in the consistency variable of the leader node; λ m (t) represents the following node Or the consistency variable of the leader node z and its neighbor node m; If the agent is a follower agent, the formula for calculating the consistency variable is: ; In the formula, Indicates following node The set of neighboring nodes; It is node m in A and its following node The connection weights between them; σ2 is the convergence coefficient of the following node, 0 < σ2 < σ1; Follower nodes in distributed generation units, energy storage, or controllable loads Consistency variables, S represents the change in the consistency variable that follows the node; F S is a collection of distributed generation units; C For energy storage collection; S X For a set of controllable loads; S2: Determine if the agent's power exceeds the limit. The formula for calculating the agent's power output is: ; In the formula, β i γ i w j θ j q g s g These represent the constant, linear, and quadratic coefficients of the cost models for distributed generation units, energy storage, and controllable loads, respectively; P Fi P represents the power output of distributed generation unit i; Cj P is the discharge power of energy storage j; Xg The power reduction for a controllable load g; P Fi,min and P Fi,max P represents the minimum and maximum output power of distributed generation unit i, respectively; Cj,min and P Cj,max P represents the minimum and maximum discharge power of energy storage j, respectively; Xg,min and P Xg,max These represent the minimum and maximum power reduction of the controllable load g, respectively.

2. The microgrid economic optimization scheduling method based on improved finite-time consistency according to claim 1, characterized in that, The improved finite-time consensus algorithm is as follows: ; In the formula, λ0(t) and λ i (t) represent the consistency variables of the leader node and the follower node in the system, respectively; r1 is the gain coefficient, r i >0; σ is the convergence coefficient, σ>0, which affects the convergence speed of the algorithm and the stability of the system; ΔP is the power supply and demand deviation between the total load demand power and the total output power of distributed generation units and energy storage in the system; Based on the agent's position state x in the dynamic model i (t) and its input u i The relationship between (t) and the equal incremental rate criterion are established, and they are applied to the optimal scheduling of microgrids. Position state x i (t) can be equivalent to the consistency variable λ in economic scheduling. i (t), whose input u i (t) can be equivalent to the change λ of a uniform variable. i (t).

3. The microgrid economic optimization scheduling method based on improved finite-time consistency according to claim 1, characterized in that, In step SS3, the cost models for distributed generation units, energy storage, and controllable loads all adopt quadratic function models; specifically: The generation cost model for distributed generation units is as follows: ; The discharge cost model for energy storage is as follows: ; The controllable load reduction cost model is as follows: ; The objective function is: ; The constraints are: P Fi,min ≤P Fi ≤P Fi,max i∈S F P Cj,min ≤P Cj ≤P Cj,max j∈S C P Xg,min ≤P Xg ≤P Xg,max g∈S X In the formula, P Fi,min and P Fi,max P represents the minimum and maximum output power of distributed generation unit i, respectively; Cj,min and P Cj,max P represents the minimum and maximum discharge power of energy storage j, respectively; Xg,min and P Xg,max P represents the minimum and maximum power reduction of the controllable load g, respectively; L For a fixed load; P LL This is the initial load amount of the controllable load.

4. The microgrid economic optimization scheduling method based on improved finite-time consistency according to claim 3, characterized in that, For the objective function, using the classic Lagrange multiplier method, and without considering inequality constraints, the proposed constrained optimization problem can be transformed into: ; In the formula, ξ is the Lagrange multiplier corresponding to the equality constraint.

5. The microgrid economic optimization scheduling method based on improved finite-time consistency according to claim 4, characterized in that, In step SS3: Since it is necessary to satisfy the power supply and demand balance in the power system, let ΔP be: 。 6. The microgrid economic optimization scheduling method based on improved finite-time consistency according to claim 5, characterized in that, Within the power constraint, it is assumed that all distributed generation units, energy storage, and controllable loads are operating normally; in the improved finite-time consensus algorithm, Defined as: ; In the formula, λ i , λ j , λ g These are the consistency variables for distributed generation units, energy storage, and controllable loads, respectively.

Citation Information

Patent Citations

  • Electric vehicle participation demand response control method and system

    CN115882484A

  • Micro-grid optimization scheduling method based on consistency and gradient descent method

    CN116937536A