A smart grid economic dispatch method based on event triggering and fixed time
By adopting a distributed economic dispatch method based on event triggering and fixed time in the smart grid, the problem of difficulty in rapid convergence and resource consumption of the economic dispatch algorithm in the smart grid within a limited time is solved, and economic dispatch within a fixed time and Resource saving improves system stability and flexibility.
Patent Information
- Application Number
- CN202210523109.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-13
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-05-13
AI Technical Summary
The existing smart grid economic dispatch algorithm is difficult to converge quickly within a limited time, and the single point of failure and resource consumption of the centralized algorithm lead to system instability, and high communication frequency leads to resource waste.
Adopt a distributed economic dispatch method based on event triggering and fixed time, establish a mathematical model through the Lagrange multiplier method, and design a fixed-time consistent economic dispatch algorithm and event trigger conditions to reduce information exchange and increment between generators Cost update, introducing auxiliary variables to handle power constraints.
Realize economic dispatch within a fixed time, reduce the number of incremental cost updates of generators and system resource consumption, avoid waste of communication resources, improve system stability and flexibility, and reduce the impact of the initial state on the convergence time.
Smart Images

Figure CN114881489B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of economic dispatch of power systems, and in particular relates to an economic dispatch method of a smart grid based on event triggering and fixed time. Background Art
[0002] As one of the classic problems in the field of smart grid, economic dispatch (ED) has attracted extensive attention from scholars in recent years. The purpose of dealing with the economic dispatch problem (EDP) is to allocate the generated power among all generators under the condition of supply and demand balance and generator power constraints to minimize the total generation cost in the power grid. Therefore, people have proposed corresponding optimization methods, such as genetic algorithms, particle swarm optimization, Lagrangian relaxation method, Hopfield neural network, etc. However, these methods are centralized ED methods. All generators share a central controller to collect and process the information of the entire system to achieve economic dispatch. Single point failures may even cause failures of the entire system. In addition, the scalability of centralized algorithms is poor, and changes in the system topology will lead to the redesign of centralized algorithms. Therefore, in order to overcome the shortcomings of centralized ED strategies and improve the scalability and robustness of the system, distributed algorithms have been used for EDP in recent years.
[0003] Distributed ED algorithms are inspired by swarm intelligence and multi-agent systems. They can not only avoid system paralysis caused by single point failures, but also have the advantages of plug-and-play, which can ensure stable operation when the power grid system structure needs to be expanded. At present, the ED algorithms used in most existing works are consensus algorithms based on multi-agent systems. Since the Lagrange multiplier method can express EDP as a constraint problem characterized by Lagrange multipliers, Lagrange multipliers are usually called incremental costs. If the incremental costs of all generators can reach a consensus, the total power generation cost will be minimized, and economic dispatch will be achieved. In the current work, the proposed algorithm can make the incremental costs of all generators reach a consensus and minimize the total cost under appropriate initial conditions. However, most economic dispatch algorithms can only achieve asymptotic convergence or exponential convergence, that is, obtain the optimal solution of ED in an infinite time range. Obviously, this is not enough for EDPs that require fast convergence. Therefore, it is very meaningful when EDP is solved in a finite time. However, the estimation of convergence time in finite-time economic dispatch algorithms depends on the initial value of the incremental cost of the generator, so when the initial value is not easy to obtain, it will affect ED.
[0004] In addition, due to the huge scale of modern smart grids, a large amount of data exchange will cause excessive consumption of system resources and even lead to complete blockage of communication channels, resulting in economic dispatch failure. In order to save resources and reduce the update frequency of controllers, event triggering mechanisms have been widely studied in multi-agent systems, where the controller is updated only when the error exceeds a threshold. A recently proposed centralized ED algorithm shares a trigger function for all generators, and the generators will update the incremental cost at the same time. Although the number of updates of generators in the power grid is reduced, the trigger function requires global state information, which increases the network occupancy and processor load. Summary of the invention
[0005] The present invention aims to solve the above problems in the prior art and proposes a smart grid economic dispatch method based on event triggering and fixed time. It is used to solve the distributed economic dispatch problem in the smart grid. It aims to quickly realize the economic dispatch of the distributed smart grid and significantly reduce the communication frequency between generators. This method can not only realize economic dispatch within a fixed time under the constraints of supply and demand balance and generator power limit, but also significantly reduce the number of updates of the incremental cost of the generator and the information exchange in the system, greatly reducing the cost of economic dispatch.
[0006] The technical solution adopted by the present invention is: a smart grid economic dispatching method based on event triggering and fixed time, comprising the following steps:
[0007] S1. Establish a mathematical model of economic dispatch in the smart grid, which includes the total power generation cost of all generators in the smart grid, the supply and demand balance between the power generation end and the power consumption end, and the power generation power constraint of the generator; obtain the consistency variable λ and the optimal power generation according to the Lagrange multiplier method.
[0008] S2. Design an economic dispatch algorithm based on fixed-time consistency to update the incremental cost λ of each generator.
[0009] S3. According to the fixed-time consistency economic dispatch algorithm, the event triggering conditions are designed. When the triggering conditions are met, the generator updates its incremental cost λ.
[0010] S4. The generator calculates the corresponding optimal power generation according to its optimal incremental cost λ and its own parameters. S5. Determine whether the optimal output power of each generator is within the power limit range. If so, the optimal power is obtained and economic dispatch is completed. If not, auxiliary variables ρ and ξ are introduced according to Recalculate new incremental costs And jump to step S2.
[0011] Compared with the prior art, the present invention has the following beneficial effects:
[0012] 1. Compared with the current finite-time ED algorithm, the fixed-time ED algorithm proposed in the present invention can ensure that the upper limit of the convergence time is not affected by the initial state of the generator. Since the expression of the stabilization time is determined by the control parameters in the control protocol, the number of generators, the second smallest eigenvalue of the Laplace matrix, etc., the upper limit of the stabilization time can be set artificially, and it can converge within a fixed time, and the convergence time is independent of the initial state of the generator, which will provide more flexibility for the system. The stabilization time in the finite-time ED algorithm is strictly related to the initial state of the generator, so the fixed-time ED algorithm proposed in the present invention is more flexible and practical.
[0013] 2. The present invention designs a fully distributed event-triggered strategy to handle large amounts of data exchange between generators, which can reduce the interactive information between generators. It not only significantly reduces the update frequency of the incremental cost of the generator, but also greatly reduces the traffic in the network, avoids the waste of communication resources, and is also conducive to secure communication between generators in the smart grid.
[0014] 3. Most of the current work only considers the equality constraint, that is, the total power generation is equal to the total demand. However, in fact, the power generation of each generator is limited, generally within a certain range. Therefore, the ED algorithm proposed in this invention takes into account the inequality constraint. When the power generation of each generator exceeds the limited range, the power system will be re-economically dispatched. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the process of the present invention;
[0016] Figure 2 is a topological diagram of a communication network between generators of the present invention;
[0017] Figure 3 is the parameter α i ,β i ,γ i The value of
[0018] Figure 4 is the power generation limit of each generator;
[0019] Figure 5 is a graph of incremental cost and power generation variation of each generator of the present invention;
[0020] Figure 6 It is the triggering time diagram of each generator of the present invention and the triggering time diagram of the traditional sampling;
[0021] Figure 7It is a supply and demand balance change diagram of the power generation end and the power consumption end of the present invention;
[0022] Figure 8 Graph showing changes in the total cost of power generation according to the present invention. DETAILED DESCRIPTION
[0023] The following will describe the technical solutions in the embodiments of the present invention in detail in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only part of the embodiments of the present invention.
[0024] The present invention proposes a smart grid economic dispatching method based on event triggering and fixed time, and the specific implementation process is as follows:
[0025] First, if Figure 2 As shown in the figure, the communication topology of each generator in the smart grid can be represented by an undirected graph To indicate that and A=(a ij )∈R N×N Represent the node set, edge set and adjacency matrix of an undirected graph respectively. ij =(i,j) means i and j are adjacent nodes and they can exchange information with each other. If (i,j)∈ε, then a ij =1, otherwise a ij = 0. In addition, the Laplace matrix is defined as L = [l ij ]∈R N×N , when i=j, represents the neighbors of node i. When i≠j, l ij =-a ij .
[0026] The process of the economic dispatch method of the present invention is as follows: Figure 1 As shown, the specific steps of the present invention to solve EDP are as follows:
[0027] Step 1: Establish a mathematical model of economic dispatch in the smart grid, which includes the total power generation cost of all generators in the smart grid, i.e., the objective function, the supply and demand balance between the power generation end and the power consumption end, and the power generation limit of the generator. The cost function of the i-th generator is usually a quadratic function:
[0028] C i (P i )=α i P i 2 +β i P i +γ i ,
[0029] Where P irepresents the power of the i-th generator, α i ,β i ,γ i is the cost parameter of the generator, such as Figure 3 shown.
[0030] Secondly, the EDP is transformed into a convex optimization problem under two types of constraints, and an economic dispatch model is established:
[0031]
[0032] Where P i , P i min , P i max They represent the output power, minimum power generation and maximum power generation of the i-th generator, respectively. D represents the total power required, and N represents the number of generators in the smart grid.
[0033] Step 2: Based on the economic dispatch model established in step 1, apply the Lagrange multiplier method to obtain
[0034]
[0035] Let the Lagrangian function be i And λ to find the partial derivative, by Lagrange multiplier method we can get:
[0036]
[0037] Therefore, the optimal incremental cost is
[0038]
[0039] Therefore, the optimal output power of each generator can be calculated as
[0040]
[0041] Step 3: Based on steps 1 and 2, design an economic dispatch protocol based on fixed-time consistency to update the incremental cost of each generator:
[0042]
[0043] Among them, λ i is the incremental cost, a ij represents the value of the adjacency matrix, sig(x) indicates that the function is a sign function, k, r and s are gain coefficients and are all positive numbers, constants u and v satisfy u∈(0,1), v∈(1,∞), represents the triggering time of the i-th generator.
[0044] Step 4: According to the fixed-time consistency economic dispatch algorithm in step 3, design the event triggering conditions. The generator updates its incremental cost λ only when the triggering conditions are met.
[0045] h(δ i (t),ψ i (t)) = δ i (t)-2α i σ(k|ψ i (t)|+r|ψ i (t)| u +s|ψ i (t)| v ),
[0046] Where σ is a constant and 0<σ<1, and the auxiliary variable Measurement error
[0047]
[0048] When the trigger function h i When (t)>0, the generator updates its own incremental cost λ.
[0049] Using the above economic dispatch algorithm based on event triggering and fixed time consistency, we prove that the Lyapunov function The derivative of satisfies It can be obtained that the incremental cost converges within a fixed time and reaches the optimal incremental cost.
[0050] Select the following Lyapunov function:
[0051]
[0052] where L is the Laplacian matrix.
[0053] Available
[0054]
[0055]
[0056] according to Available
[0057]
[0058] where α min =min{α1,α2,...,α n},
[0059] The above method can achieve economic dispatch within a fixed time, where the convergence time satisfies:
[0060]
[0061] Step 5: Based on the optimal incremental cost obtained in step 4, the optimal power generation of each generator can be obtained:
[0062]
[0063] Determine whether the optimal output power of each generator is within the power limit. If so, the optimal power is obtained and economic scheduling is completed. Otherwise, proceed to the next step.
[0064] Step 6: The economic dispatch problem with generator power constraints can be described as follows:
[0065]
[0066] New incremental costs Calculated by the following formula
[0067]
[0068] Where H represents the set of generators whose output power is within the power limit, represents the set of generators whose output power exceeds the power limit. The auxiliary variables ρ and ξ can be expressed as:
[0069]
[0070] Therefore, the new incremental cost It can be expressed as
[0071]
[0072] Then jump to step 3 and apply the fixed time consistency economic scheduling algorithm again is updated, so the corresponding optimal power It can be expressed as
[0073]
[0074] The power generation limit of each generator is as follows: Figure 4 shown.
[0075] Recalculate to get the new optimal incremental cost and the optimal power of each generator
[0076] Finally, simulation experiments are carried out to verify the effectiveness of the present invention.
[0077] Figure 5 It can be seen that when the power of the generators does not exceed their respective power limits, the optimal incremental cost λ = 17.11$ / MW, and the optimal power generation is When the generator power exceeds the limit, the optimal incremental cost The optimal power generation is Figure 5 shown.
[0078] Figure 6 The trigger time distribution diagram of the eight generators is shown. The horizontal axis represents time and the vertical axis represents the generator. It can be seen that after the introduction of the event trigger mechanism, the trigger time of each generator is significantly reduced, and the total trigger time in the system is reduced by 48% compared with the trigger time under traditional sampling.
[0079] Figure 7 The balance between the generation and demand sides of the power system is shown, and it can be found that the supply and demand balance is restored after the incremental cost is recalculated.
[0080] Figure 8 It shows how the total cost changes throughout the economic dispatch process and eventually reaches the optimal value.
Claims
1. A smart grid economic dispatch method based on event triggering and fixed time, characterized in that: The following steps are involved: S1. Establish a mathematical model of economic dispatch in the smart grid, which includes the total power generation cost of all generators in the smart grid, the supply and demand balance between the power generation end and the power consumption end, and the power generation power constraint of the generator; obtain the consistency variable λ and the optimal power generation according to the Lagrange multiplier method. They are: The optimal incremental cost is, N represents the number of generators; The optimum output power of each generator is, The economic dispatch mathematical model is as follows Where P i , P i min , P i max They represent the output power, minimum power generation and maximum power generation of the i-th generator, N represents the number of generators, P D Indicates the total power required, C i (P i ) represents the cost function of the i-th generator: C i (P i )=a i P i 2 +b i P i +g i , where α i ,β i ,γ i is the cost parameter of the generator; S2. Design an economic dispatch algorithm based on fixed-time consistency to update the incremental cost λ of each generator as follows: Among them, λ i is the incremental cost, k, r and s are gain coefficients and are all positive, constants u and v satisfy u∈(0,1), v∈(1,∞), represents the triggering time of the i-th generator; S3. According to the fixed-time consistency economic dispatch algorithm, an event trigger condition is designed. When the trigger condition is met, the generator updates its own incremental cost λ. The event trigger condition is: h(δ i (t),ψ i (t))=δ i (t)-2α i σ(k|ψ i (t)|+r|ψ i (t)| u +s|ψ i (t)| v ) Where σ is a constant and 0<σ<1, and the auxiliary variable Measurement error When the trigger function h i When (t)>0, the generator updates its own incremental cost λ; S4. The generator calculates the corresponding optimal power generation and optimal output power according to its optimal incremental cost λ and its own parameters. Calculated by the following formula S5. Determine whether the optimal output power of each generator is within the power limit range. If so, the optimal power is obtained and economic dispatch is completed. If not, auxiliary variables ρ and ξ are introduced according to Recalculate new incremental costs And jump to step S2; specifically including: The economic dispatch problem with generator power constraints is described as follows: New incremental costs Calculated by the following formula Where H represents the set of generators whose output power is within the power limit, represents the set of generators whose output power exceeds the power limit, and the auxiliary variables ρ and ξ are expressed as: Therefore, the new incremental cost Expressed as Then jump to step S2 and use the fixed time consistency economic dispatch algorithm again to is updated, so the corresponding optimal power Expressed as
