A method and system for power generation dispatching in a power system

By dividing the particle swarm into three sub-populations and using the particle swarm algorithm with different update strategies, it solves the problems of low accuracy and slow speed of intelligent optimization algorithms in power system power generation dispatching, achieving more efficient optimization operations and more accurate power generation. Scheduling plan.

CN115085276BActive Publication Date: 2024-10-15GUANGZHOU UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210891141.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2024-10-15
Estimated Expiration
2042-07-27

AI Technical Summary

Technical Problem

Intelligent optimization algorithms have problems of low accuracy and slow speed when dealing with power generation dispatching in power systems, especially when dealing with complex multi-constraint nonlinear optimization operation problems that are difficult to effectively solve.

Method used

Divide the particle swarm of the generator into three sub-populations, and adopt three update strategies: equilibrium, biased local mining and biased global exploration. Different update strategies are applied to each sub-population, and each group learns from other populations through the particle exchange mechanism. The advantage is to implement adaptive updates to improve optimization speed and accuracy.

Benefits of technology

Through multiple group information sharing strategies, the optimization speed and accuracy are improved, the problem of falling into local optimal solutions is avoided, and it is suitable for complex multi-constraint optimization operation problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115085276B_ABST
    Figure CN115085276B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for power generation dispatching in an electric power system, the method comprising: obtaining model parameters; establishing a power generation dispatching model according to the model parameters; solving the power generation dispatching model to obtain a power generation dispatching plan; wherein the method for solving the power generation dispatching model comprises: dividing the particle group composed of the power generation power of each generator into three sub-populations; updating each sub-population using different update strategies; exchanging particles in different sub-populations during the iteration process. The present invention uses a multi-population information sharing strategy, adopts three update strategies of equilibrium, biased local mining and biased global exploration to update various populations, and enables various populations to learn the advantages of other populations and coordinate updates through a communication exchange mechanism. This method is applied to relatively complex and multi-constrained optimization operation problems such as power generation dispatching, achieving the purpose of improving the optimization speed, improving the optimization accuracy and avoiding falling into the local optimal solution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electric power technology, and in particular to a power generation dispatching method and system in an electric power system. Background Art

[0002] Power generation dispatching is one of the most basic energy management issues in the power system. Its purpose is to achieve the supply and demand balance of the total output power of the unit and the load demand at the lowest cost, while ensuring the safe and stable operation of the power grid, taking into account the constraints of the physical properties of each generator set, the load end and even the power transmission link itself.

[0003] Since the concept of optimal allocation of unit power generation was proposed in 1919, power workers have done a lot of work and made many major breakthroughs. For example, the equal consumption incremental rate formula proposed in 1934, the classical coordination equation considering network loss proposed in 1952, and the Newton method proposed in the 1960s are milestone achievements and are called classical economic dispatch methods. Classical economic dispatch has strict requirements on initial values, and inappropriate assignments will cause the algorithm to diverge. In addition, the classical method has a long calculation time, poor convergence, and is difficult to handle system safety constraints, and is only applicable to small-scale power systems. Based on the shortcomings of the classical economic dispatch method, various traditional optimization methods have been proposed, such as linear programming, direct search algorithm, lambda iteration algorithm, etc., which can effectively solve the economic dispatch problem of convex function of the objective function. However, traditional optimization algorithms generally assume that the cost function is a monotonous continuous piecewise linear function, which is difficult to handle nonlinear and discontinuous situations. In addition, in large-scale systems with mixed power generation units, traditional algorithms have oscillation problems, resulting in long convergence time. In order to avoid these problems, some random search algorithms with heuristic features have been proposed, such as evolutionary programming, differential evolution algorithm, genetic algorithm and particle swarm algorithm, etc. They have strong global optimization capabilities and are suitable for solving optimization problems in complex environments that conventional optimization algorithms cannot solve.

[0004] However, intelligent optimization algorithms, such as particle swarm optimization, evolutionary algorithm, harmonious search algorithm, ant colony algorithm, etc., still have the disadvantages of low optimization accuracy and slow algorithm speed when dealing with the nonlinear optimization operation problem of economic dispatch with many complex constraints such as power balance constraints, power generation capacity constraints, embargo zone constraints, and climbing rate limits. Summary of the invention

[0005] The embodiment of the present invention provides a method and system for dispatching power generation in a power system, so as to solve the problems of low precision and slow speed existing in the intelligent optimization method in the prior art.

[0006] On the one hand, an embodiment of the present invention provides a method for power generation scheduling in a power system, comprising:

[0007] Get model parameters;

[0008] Establish a power generation dispatch model according to model parameters;

[0009] Solve the power generation dispatch model and obtain the power generation dispatch plan;

[0010] Among them, the method for solving the power generation scheduling model includes:

[0011] The particle group composed of the power generated by each generator is divided into three sub-populations;

[0012] Use different update strategies to update each sub-population;

[0013] During the iteration, particles in different subpopulations are exchanged until the iteration ends.

[0014] On the other hand, an embodiment of the present invention provides a power generation dispatching system in a power system, comprising:

[0015] Parameter acquisition module, used to obtain model parameters;

[0016] A model building module, used to build a power generation scheduling model according to model parameters;

[0017] Model solving module, used to solve the power generation scheduling model and obtain the power generation scheduling plan;

[0018] The model solving module includes:

[0019] The population division submodule is used to divide the particle group composed of the power generation of each generator into three sub-populations;

[0020] The population update submodule is used to update each subpopulation using different update strategies;

[0021] The particle exchange submodule is used to exchange particles in different subpopulations during the iteration process until the iteration ends.

[0022] A method and system for dispatching power generation in a power system in the present invention has the following advantages:

[0023] Through a multi-population information sharing strategy, the population is divided into three parts on average. Each population is updated using three update strategies: equilibrium, local mining, and global exploration. The status indicators of each population are used to evaluate and adaptively select the population for particle exchange. Through this communication exchange mechanism, each population can learn the advantages of other populations and coordinate updates. This strategy is combined with the particle swarm algorithm and applied to complex multi-constrained optimization operation problems such as economic scheduling, so as to achieve the purpose of improving the optimization speed, improving the optimization accuracy and avoiding falling into the local optimal solution. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 A flow chart of a method for power generation scheduling in a power system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] Figure 1 A flowchart of a method for power generation scheduling in a power system provided by an embodiment of the present invention. An embodiment of the present invention provides a method for power generation scheduling in a power system, including:

[0028] S100, obtaining model parameters.

[0029] For example, the model parameters include the total system load P, the parameters α of each generator set j , β j , γ j 、e j 、f j , as well as the upper and lower limits of power generation Among them, j=1,2...,D, D represents the number of generating sets.

[0030] In the embodiment of the present invention, the total system load is set to 850MW, and other model parameters are shown in Table 1.

[0031] Table 1 Model parameters of 3 generator sets

[0032]

[0033] Furthermore, in addition to obtaining model parameters, it is also necessary to obtain user-defined data, including the ratio value rate, the transfer cycle T, and the maximum number of iterations T. max , the maximum number of consecutive iterations T', the number of particles in each population N, the inertia weight w max 、w min .

[0034] In the embodiment of the present invention, rate = 5%, transmission period T = 200, maximum number of iterations T max = 5000, maximum number of consecutive iterations T' = 200, number of particles in each sub-population N = 10, maximum and minimum values ​​of inertia weight w max =0.7, w min =0.2, Levy flight coefficient β = 1.5, initial coefficient z (0) Take an arbitrary value in the range of 0 to 1 (but not 0.5).

[0035] S110, establishing a power generation scheduling model according to model parameters.

[0036] S120, solving the power generation scheduling model to obtain a power generation scheduling plan.

[0037] Exemplarily, S120 specifically includes: S121, dividing the particle group composed of the power generation of each generator into three sub-populations; S122, updating each sub-population using a different update strategy; S123, exchanging particles in different sub-populations during the iteration process until the iteration ends.

[0038] Before solving the power generation dispatch model, the current iteration number t needs to be set to 0. Then, 3N particles are randomly generated within the constraint range, and the population is randomly divided into three sub-populations, namely x Ai 、x Bi 、x Ci , also called the first, second and third subpopulations, or A subpopulation, B subpopulation and C subpopulation, where Ai=1,2,....,N, Bi=1,2,....,N, Ci=1,2,....,N.

[0039] After starting the solution, first calculate the fitness of each particle, obtain and record the current global optimal solution x gbest , that is, the current best power generation scheduling scheme, the best and worst particles x of each subpopulation Abest 、x Bbest 、x Cbest and x Aworst 、x Bworst 、x Cworst , the historical optimal value p of the i-th particle in the A subpopulation in the j-th dimension A,ij . Then start updating the particles in each sub-population.

[0040] In an embodiment of the present invention, when updating particles in each subpopulation, firstly different speed update strategies are used to update the speed of particles in each subpopulation; then the position of particles in each subpopulation is updated according to the updated particle speed.

[0041] Specifically, the particle velocity can be updated by using a balanced strategy, a local mining strategy, and a global exploration strategy for sub-populations A, B, and C, respectively.

[0042] For subpopulation A, the particle velocity can be updated as follows:

[0043] v A,ij (t+1) =w(t)v A,ij (t) +c 1 (t)r 1 (t) [p A,ij (t) -x A,ij (t) ]+c 2 (t)r 2 (t) [x Abest,j (t) -x A,ij (t) ]

[0044]

[0045]

[0046]

[0047] Among them, w is the dynamic inertia weight of a concave function model, c 1 、c 2 is the learning factor, r 1 、r 2 is a random number with a size of 0 to 1. By dynamically adjusting the learning factor, the A sub-population can have a stronger global search capability in the early stage of iteration, and its search accuracy will be improved in the later stage of iteration, aiming at balanced update. Therefore, updating the particles of the A sub-population through the above formula is called a balanced strategy.

[0048] For the B subpopulation, the particle velocity is updated according to the following formula:

[0049] z (t+1) =4z (t) (1-z (t) )

[0050] v' B,ij (t+1) =V B,ij (t) +r 3 (2z (t+1) -1)(2 Bbest,ij (t)-x B,ij (t) -x Bworst,ij (t) )

[0051]

[0052] Among them, r 3 、r 4 is a random number between 0 and 1. (0) When the value of z is within the interval [0, 1] and is not equal to 0.5, it will never be repeated. The uniform random sequence generated is crucial to improving the performance of the mutation operation. The B subpopulation first undergoes a small mutation through the chaos algorithm, and then moves toward the optimal solution of the population as a whole, aiming to improve the ability to mine local optimal solutions. Therefore, updating the particles of the B subpopulation through the above formula is called a biased local mining strategy.

[0053] For the C sub-population, the velocity of each particle in the C sub-population is updated according to the following formula:

[0054]

[0055]

[0056]

[0057]

[0058] RL=0.05×S

[0059] RB=r 5

[0060]

[0061] Among them, β is the distribution coefficient of Levy flight between 0 and 2, r 5 is a random number between 0 and 1. The C subpopulation aims to utilize the excellent exploration efficiency and performance of the Levy flight algorithm to improve its global exploration capability. Therefore, updating the particles of the C subpopulation through the above formula is called a biased global exploration strategy.

[0062] After completing the update of the velocity of particles in each sub-population, the particle positions of each population can be updated according to the following formula:

[0063]

[0064] In the embodiment of the present invention, after completing the speed and position update of the particles in each sub-population, it is also necessary to perform boundary processing on the particles in each sub-population. Specifically, the boundary processing of the particles can be performed according to the following formula:

[0065]

[0066] After completing the position update of particles in each sub-population, it is also necessary to: determine the fitness of each particle; for particles in sub-population A, use the greedy algorithm to update the particles with the highest fitness; for particles in sub-population B, use the greedy algorithm to update all particles; for particles in sub-population C, retain the best particle in sub-population C after the update.

[0067] Specifically, for subpopulation A, only half of the particles with the highest fitness are updated using the greedy algorithm, that is, if the fitness of the new particle is inferior to that of the original particle, the particle will not be updated. At the same time, the optimal particle x of the current subpopulation is recorded. Abest For the B subpopulation, all particles are updated using the greedy algorithm, and the optimal particle x of the current subpopulation is recorded. Bbest For the C sub-population, only the best particle in the updated C sub-population is retained, and the best particle x of the current sub-population is recorded. Cbest .

[0068] After completing the above processing, the particles in different sub-populations can be exchanged. The specific method of exchange includes: after multiple iterations, the best particle x in the B and C sub-populations is exchanged. Bbest and x Cbest The purpose of replacing any two particles in subpopulation A is to simultaneously obtain the information of the optimal solution obtained by subpopulation B in local mining and subpopulation C in global exploration, so as to help subpopulation A to update better in equilibrium; when the optimal particle in subpopulation B has not changed for many consecutive times (that is, when the update of this subpopulation is stagnant), any particle in subpopulation A and C is replaced by any two particles in subpopulation B to increase the diversity of subpopulation B and help it jump out of the local optimal point. When there is a particle in subpopulation A and C that is better than the optimal particle in subpopulation B, this particle is immediately replaced by any particle in subpopulation B, so as to make subpopulation B dig closely around the current global optimal point; when the ratio of the difference in fitness between the worst particle and the best particle in subpopulation C to the best particle is less than the set ratio value rate, the worst particle in subpopulation A is replaced by a particle in subpopulation C to increase the diversity of subpopulation C and prevent it from over-convergence.

[0069] Specifically, after every T iterations, particle replacement is required. When the best particle in the second subpopulation has not changed for T' consecutive times, particle replacement is required. After each iteration, if it is found that there are particles in the first and third subpopulations that are better than the best particle in the second subpopulation, particle replacement is also required. When the ratio of the fitness difference between the worst particle and the best particle in the C subpopulation to the best particle is less than the set ratio value rate, particle replacement is required. Moreover, when performing particle replacement, random replacement is used.

[0070] After each round of iteration, the current number of iterations needs to be added with 1, and the above particle velocity update to particle replacement operation is repeated until the current number of iterations reaches the set maximum number of iterations. At this time, the global optimal solution x can be output. gbest , the optimal solution is the global optimal power generation scheduling plan.

[0071] An embodiment of the present invention further provides a power generation dispatching system in a power system, the system comprising:

[0072] Parameter acquisition module, used to obtain model parameters;

[0073] A model building module, used to build a power generation scheduling model according to model parameters;

[0074] Model solving module, used to solve the power generation scheduling model and obtain the power generation scheduling plan;

[0075] The model solving module includes:

[0076] The population division submodule is used to divide the particle group composed of the power generation of each generator into three sub-populations;

[0077] The population update submodule is used to update each subpopulation using different update strategies;

[0078] The particle exchange submodule is used to exchange particles in different subpopulations during the iteration process until the iteration ends.

[0079] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0080] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for dispatching power generation in a power system, It is characterized in that include: Get model parameters; Establishing a power generation scheduling model according to the model parameters; Solving the power generation scheduling model to obtain a power generation scheduling plan; The method for solving the power generation scheduling model includes: The particle group composed of the power generated by each generator is divided into three sub-populations; Adopting different updating strategies to update each sub-population; During the iteration, particles in different subpopulations are exchanged until the iteration ends; The three sub-populations are A, B and C sub-populations, and the particle speed is updated by using a balanced strategy, a local mining strategy and a global exploration strategy respectively for the A, B and C sub-populations; For subpopulation A, the particle velocity is updated as follows: v A,ij (t+1) =w(t)v A,ij (t) +c 1 (t)r 1 (t) [p A,ij (t) -x A,ij (t) ]+c 2 (t)r 2 (t) [x Abest,j (t) -x A,ij (t) ] Among them, w is the dynamic inertia weight of a concave function model, c 1 、c 2 is the learning factor, r 1 、r 2 is a random number ranging from 0 to 1, t is the current number of iterations, and p A,ij is the historical optimal value of the i-th particle in the A subpopulation in the j-th dimension, T max is the maximum number of iterations, w max and w min are the maximum and minimum values ​​of the inertia weight respectively; For the B subpopulation, the particle velocity is updated according to the following formula: With (t+1) =4z (t) (1-z (t) ) v' B,ij (t+1) =v B,ij (t) +r 3 (2z (t+1) -1)(2x Bbest,ij (t) -x B,ij (t) -x Bworst,ij (t) ) Among them, r 3 、r 4 is a random number between 0 and 1. (0) When the value of z is in the interval [0,1] and is not equal to 0.5, the value of z will never be repeated; For the C sub-population, the velocity of each particle in the C sub-population is updated according to the following formula: RL=0.05×S RB=r 5 Among them, β is the distribution coefficient of Levy flight between 0 and 2, r 5 is a random number between 0 and 1; After completing the update of the velocity of particles in each sub-population, update the particle positions of each population according to the following formula: After completing the update of the speed and position of the particles in each sub-population, the particles in each sub-population are also processed by the following formula: in, are the upper and lower limits of the power generation respectively.

2. A method for dispatching power generation in a power system according to claim 1, It is characterized in that After updating the position of each particle in the sub-population according to the updated particle velocity, the method further includes: Determine the fitness of each particle; For particles in the first sub-population, a greedy algorithm is used to update some particles with the highest fitness; For particles in the second subpopulation, all particles are updated using a greedy algorithm; For the particles in the third sub-population, the best particle in the sub-population after updating is retained.

3. A method for dispatching power generation in a power system according to claim 2, It is characterized in that Exchanging particles in different sub-populations, including: After multiple iterations, the best particles in the second and third sub-populations replace any two particles in the first sub-population; When the best particle in the second subpopulation does not change for multiple consecutive times, any two particles in the second subpopulation are replaced by any particles in the first and third subpopulations, and when there is a particle in the first and third subpopulations that is better than the best particle in the second subpopulation, the particle is replaced by any one particle in the second subpopulation; When the ratio of the difference between the worst particle and the best particle in the third sub-population to the fitness of the best particle is less than a set ratio, the worst particle in the first sub-population replaces a particle in the third sub-population.

4. A method for dispatching power generation in a power system according to claim 1, It is characterized in that After updating the position of each particle in the sub-population according to the updated particle velocity, the method further includes: Boundary processing is performed on particles in each of the sub-populations.

5. A power generation dispatching system in a power system, It is characterized in that include: Parameter acquisition module, used to obtain model parameters; A model building module, used to build a power generation scheduling model according to the model parameters; A model solving module, used to solve the power generation scheduling model and obtain a power generation scheduling plan; Wherein, the model solving module includes: The population division submodule is used to divide the particle group composed of the power generation of each generator into three sub-populations; A population updating submodule, used for updating each subpopulation using different updating strategies; The particle exchange submodule is used to exchange particles in different subpopulations during the iteration process until the iteration ends; The three sub-populations are A, B and C sub-populations, and the particle speed is updated by using a balanced strategy, a local mining strategy and a global exploration strategy respectively for the A, B and C sub-populations; For subpopulation A, the particle velocity is updated as follows: v A,ij (t+1) =w(t)v A,ij (t) +c 1 (t)r 1 (t) [p A,ij (t) -x A,ij (t) ]+c 2 (t)r 2 (t) [x Abest,j (t) -x A,ij (t) ] Among them, w is the dynamic inertia weight of a concave function model, c 1 、c 2 is the learning factor, r 1 、r 2 is a random number ranging from 0 to 1, t is the current number of iterations, and p A,ij is the historical optimal value of the i-th particle in the A subpopulation in the j-th dimension, T max is the maximum number of iterations, w max and w min are the maximum and minimum values ​​of the inertia weight respectively; For the B subpopulation, the particle velocity is updated according to the following formula: With (t+1) =4z (t) (1-z (t) ) v' B,ij (t+1) =v B,ij (t) +r 3 (2z (t+1) -1)(2x Bbest,ij (t) -x B,ij (t) -x Bworst,ij (t) ) Among them, r 3 、r 4 is a random number between 0 and 1. (0) When the value of z is in the interval [0,1] and is not equal to 0.5, the value of z will never be repeated; For the C sub-population, the velocity of each particle in the C sub-population is updated according to the following formula: RL=0.05×S RB=r 5 Among them, β is the distribution coefficient of Levy flight between 0 and 2, r 5 is a random number between 0 and 1; After completing the update of the velocity of particles in each sub-population, update the particle positions of each population according to the following formula: After completing the update of the speed and position of the particles in each sub-population, the particles in each sub-population are also processed by the following formula: in, are the upper and lower limits of the power generation respectively.