Summary of the invention
The advantage of the comprehensive two kinds of methods of the present invention has provided two kinds of idle work optimization methods that computational methods combine, and has better solved discrete variable and speed issue, and has obtained satisfied result.
1 idle work optimization method principle based on former antithesis interior point method and TABU search computational methods
At first, determine with system's active loss minimum to be that the idle work optimization Mathematical Modeling of target is:
minf(x
1,x
2,x
3) (1)
s.t.h(x
1,x
2,x
3) (2)
x
1min≤x
1≤x
1max
x
2min≤x
2≤x
2max (3)
Formula (1) is system's active loss, and formula (2) is an equality constraint, is the power balance equation of each node.X in the formula
1And x
2Be constrained optimization variable, x
1Be discrete variable, comprise that on-load tap-changing transformer decomposes head and capacitor/reactor group drops into capacity, quantity is p; x
2Be continuous variable, but comprise reactive apparatus number and node voltage that the generator continuous reactive is regulated, quantity is q.Formula (3) is inequality constraints, is respectively x
1And x
2Constraint.x
3Be unconfined optimization variable, exert oneself and other node voltage phase angle except that balance node constitutes by balancing machine meritorious.
Introduce slack variable (su, sl, sh, sw>0), inequality constraints is transformed into equality constraint, introduce the nonnegativity restriction of logarithm barrier function cancellation slack variable, and introduce Lagrange multiplier vector y, yu, yl, yh, yw obtains Lagrangian and is:
Yu in the formula, yh<0, yl, yw>0; μ is the barrier parameter, and μ 〉=0.
Can get according to the Karush-Kuhn-Tucker optimality condition
L
y=-h(x
1,x
2,x
3)=0 (8)
L
yu=x
1+s
u-x
1max=0 (9)
L
y1=x
1-s
1-x
1max=0 (10)
L
yh=x
2+s
h-x
2max=0 (11)
L
yw=x
2-s
w-x
2max=0 (12)
Ls
u=S
uY
ue
1+μe
1=0 (13)
Ls
1=S
1Y
1e
1-μe
1=0 (14)
Ls
h=S
hY
he
2+μe
2=0 (15)
Ls
w=S
wY
we
2-μe
2=0 (16)
E in the formula
1, e
2Representing dimension respectively is the unit column vector of p and q; Y
u, Y
l, Y
h, Y
w, S
u, S
1, S
h, S
wBe respectively with y
u, y
l, y
h, y
w, s
u, s
l, s
h, s
wComponent be the diagonal matrix of diagonal element.
Find the solution formula (5)~(16) with Newton method, obtain update equation and be:
In the following formula:
Other situations are
Find the solution formula (17)~(25) in succession, can obtain the correction direction Δ x of former variable and dual variable
1, Δ x
2, Δ x
3, Δ y, Δ s
u, Δ s
l, Δ s
h, Δ s
w, Δ y
u, Δ y
l, Δ y
h, Δ y
w
Next step carries out the processing of discrete variable, and processing method has two kinds, and a kind of is the consolidation processing, and a kind of is to utilize the TABU search computational methods to handle.Characteristics according to them can be in the following way:
After optimize finishing again with x
1Consolidation is carried out computation optimization one time again to nearest discrete point.Because optimize the result near optimization solution, the optimal speed after the consolidation is quite fast.But this method can only obtain an approximate suboptimal solution, even may at this time can change the TABU search computational methods over to because consolidation makes original suboptimal solution become discrete infeasible solution.
1) target function and constraint
Originally on the basis of target function, add with voltage and cross the border and generator reactive exerts oneself that to cross the border be penalty function,
F (x in the formula
1, x
2, x
3) be network loss, Nd, Nq are respectively load bus number and generator node number; λ
1Be the load bus voltage penalty coefficient that crosses the border; λ
2Be the generator reactive penalty coefficient that crosses the border of exerting oneself; V
iVoltage magnitude for load bus i; Q
jFor the idle of generator j exerted oneself; Subscript m ax, min represent the bound to dependent variable respectively.
Different with former antithesis interior point method, divide control variables constraint and state variable constraint with variable bound.
Being constrained to of control variables:
Being constrained to of state variable:
V in the formula
Gi, T
i, V
DiBe respectively generator node voltage, on-load tap-changing transformer no-load voltage ratio, load bus voltage; Subscript m ax, min are respectively to the upper and lower limit of dependent variable.
2) Bian Ma processing
The present invention adopts the decimal integer coding, and utilizes mapping method, in advance the actual parameter corresponding with each code value is put into a special array; Discrete variable can be listed all according to its actual array may value, and continuous variable is then carried out discretization by certain required precision and handled, and has simplified decode procedure like this, has saved a lot of computing times.
3) interlace operation
Adopt heuristic arithmetic to intersect at hybrid coding.Suppose that vector X represents a certain individuality in the population, each component of X is the encoded radio of control variables.If parent two individualities are X
1, X
2, and target function value f (X
1)<f (X
2), filial generation X then
1=(X
1+ X
2)/2, X
2=X
1-a (X
2-X
1)), a is the random number of interval [0,1].X '
2In a certain component get the boundary value (can determine) of this component when crossing the border by the constraints of corresponding control variables.Because the X ' that obtains
1, X '
2In component differ to establish a capital and be integer because when adopting the decimal integer coding, thus just the numberization between [x-0.5, x+0.5] (x is an integer) to put in order be x.
4) mutation operation
Consider after trend after the consolidation is calculated, the situation of crossing the border might occur retraining, the present invention adopts even variation so that the search point can freely move in whole search volume, thereby enters area of feasible solution as early as possible.Evenly the specific operation process of variation is as follows.Suppose to have an individual X=(x of being
1, x
2..., x
k..., x
l), if x
kBe change point, its span is [U
K, min, U
K, max] after this point carries out even mutation operation to individual X, can obtain a new individual X=(x
1, x
2..., x '
k..., x
l), wherein the new genic value of change point is x '
k=U
K, min+ r (U
K, max-U
K, min), r is a random number in [0,1] scope.
5) TS moves design
The present invention adopts the single combined strategy that moves that moves and exchange to the decimal integer coding, and wherein, it is exactly two single mobile combinations that exchange is moved.The mobile design of the coded system that the present invention is adopted: 1. single moving: a certain position of picked at random sign indicating number string, and increase 1 or subtract 1 operation.2. exchange is moved: two of certain of picked at random sign indicating number string, and increase (or subtracting) 1 and subtract (or increasing) 1 operation.
6) taboo table
The taboo table is the key point of taboo computational methods, the maximum mobile number of permission access is called the scale of taboo table in the taboo table, because the taboo table all needs to upgrade in each iteration, and the general way to manage that adopts " first in first out ", so adopt the data structure of round-robin queue as the taboo table.Coded system to the present invention's employing: 1. move single, the position of record code string in the taboo table, and write down the opposite direction that it moves.2. mobile to exchanging, then write down the position of two sign indicating number strings and mobile opposite direction thereof.
7) discharge criterion
" release criterion " that the present invention adopts is: if a migration after current separating, can obtain one will good separating than any separate all that searched in the past, then claim to move and satisfy the release criterion.
8) computational methods stop criterion
The termination criterion of computational methods comprises the comparison of two aspect maximum search number of times target function values, reach maximum search number of times or target function value or current search to optimal value when not improving, just stop search.
Because must carrying out electric power system tide in finding the solution the idle work optimization process, the TABU search computational methods calculate, utilize calculation of tidal current to carry out former antithesis interior point method simultaneously and calculate the span that also can improve initial value, thereby improve the adaptability of these computational methods, can also make former antithesis interior point method calculate the iteration convergence number of times reduces, calculate so the idle work optimization computational methods are at first carried out trend, change former antithesis interior point method again over to and calculate.The present invention adopts the state version BPA power system analysis program means PSD-BPA of Chinese DianKeYuan exploitation that system introduces to carry out trend and calculates.
System is carried out idle work optimization with former antithesis interior point method to be calculated, if calculating, interior point method do not restrain, separating with trend is that initial value carries out the calculating of TABU search computational methods, and the iterations of this moment is made as 100 times, can guarantee to try to achieve an original trend of ratio like this and separate more excellent preferably separating; If interior point method calculates convergence, then provide one group of suboptimal solution, carry out the consolidation processing with this suboptimal solution again, carry out computation optimization again one time, if convergence then finishes, if do not restrain then and change the calculating of TABU search computational methods over to as initial value, owing to be in a kind of suboptimum state this moment, so calculating convergence rate, the trend of TABU search computational methods obviously accelerates, electrical network with the IEEE30 node is an example, seeking the optimum calculating that group time needs iteration more than 100 time of planting, after adopting COMPREHENSIVE CALCULATING method (TABU search computational methods behind the former antithesis interior point method earlier), only need less than can restrain for 10 times as direct employing TABU search computational methods, saved a large amount of computing times.
After carrying out former antithesis interior point method calculating, load tap changer and capacitor group all have a definite optimal value, just this optimal value is that continuous variable causes rather than caused by discrete variable, so with this optimal value is that a small range is determined at the center, dwindled the random search scope of TABU search computational methods, made the easier optimum point that searches of TABU search computational methods.
In sum, the advantage that the computational speed that the idle work optimization method that former antithesis interior point method combines with the TABU search computational methods had both had an interior point method soon and does not reduce with the increase of network size also has the strong advantage of processing discrete variable of TABU search computational methods; Under the situation that former antithesis interior point method is not restrained, can try to achieve than original trend calculating by the TABU search computational methods and separate more excellent separating preferably simultaneously.Therefore, be a kind of more satisfactory, practical calculation method for handling online idle work optimization calculating.
2 idle work optimization method technical steps based on former antithesis interior point method and TABU search computational methods
1) input electrical network parameter carries out the PSD-BPA trend and calculates;
2) set up the idle work optimization model;
3) adopt former antithesis interior point method to carry out idle work optimization;
4) if former antithesis interior point method computational methods do not restrain, establish TABU search computational methods iterations K=100, change step 7; If former antithesis interior point method computational methods convergence is then carried out the consolidation discretization and is handled;
5) carrying out idle work optimization with former antithesis interior point method once more calculates;
6) if former antithesis interior point method computational methods do not restrain, establish TABU search computational methods iterations K=10; If former antithesis interior point method computational methods convergence, then integrated approach finishes;
7) adopt the TABU search computational methods to carry out idle work optimization and calculate, integrated approach finishes.
Therefore, the present invention proposes a kind of idle work optimization method that is suitable for online application, it is characterized in that may further comprise the steps:
1) input comprises relevant load, the associated electrical network parameters of generator, circuit, transformer, and utilization trend computational tool carries out trend and calculates;
2) set up two kinds of idle work optimization Mathematical Modelings:
The one, former antithesis interior point method idle work optimization Mathematical Modeling, promptly
minf(x
1,x
2,x
3) (1)
s.t.h(x
1,x
2,x
3) (2)
x
1min≤x
1≤x
1max
x
2min≤x
2≤x
2max (3)
Formula (1) is system's active loss, and formula (2) is an equality constraint, is the power balance equation of each node, the x in the formula
1And x
2Be constrained optimization variable, x
1Be discrete variable, comprise that on-load tap-changing transformer decomposes head and capacitor or reactor group and drops into capacity, quantity is p; x
2Be continuous variable, but comprise reactive apparatus number and node voltage that the generator continuous reactive is regulated, quantity is q, and formula (3) is inequality constraints, is respectively x
1And x
2Constraint, x
3Be unconfined optimization variable, exert oneself and other node voltage phase angle except that balance node constitutes by balancing machine meritorious;
The 2nd, TABU search computational methods idle work optimization Mathematical Modeling on the basis of original target function, adds with voltage and crosses the border and generator reactive exerts oneself that to cross the border be penalty function,
F (x in the formula
1, x
2, x
3) being active loss, Nd, Nq are respectively load bus number and generator node number; λ
1Be the load bus voltage penalty coefficient that crosses the border; λ
2Be the generator reactive penalty coefficient that crosses the border of exerting oneself; V
iVoltage magnitude for load bus i; Q
jFor the idle of generator j exerted oneself; Subscript m ax, min represent the bound to dependent variable respectively,
Variable bound is divided into control variables constraint and state variable constraint:
Being constrained to of control variables:
Being constrained to of state variable:
V in the formula
Gi, T
i, V
DiBe respectively generator node voltage, on-load tap-changing transformer no-load voltage ratio, load bus voltage; Subscript m ax, min are respectively to the upper and lower limit of dependent variable.
3) described former antithesis interior point method being carried out idle work optimization calculates;
4) if described former antithesis interior point method computational methods do not restrain, the TABU search computational methods iterations of establishing in the idle work optimization method is 100, changes step 7; If the former antithesis interior point method computational methods convergence in the described idle work optimization method is then carried out the consolidation discretization and is handled
5) carrying out idle work optimization with the former antithesis interior point method in the described idle work optimization method of claim 1 once more calculates;
6) if the former antithesis interior point method computational methods in the described idle work optimization method do not restrain, the TABU search computational methods iterations of establishing in the described idle work optimization method is 10; If described former antithesis interior point method computational methods convergence, then integrated approach finishes;
7) adopt described TABU search computational methods to carry out idle work optimization and calculate, comprehensive optimization method finishes.