Summary of the invention
The object of the present invention is to provide a kind of controllable serial capacitor optimal configuration method capable that improves available transmission capacity; With overcome the sensitivity method error of calculation big, be difficult to carry out the configuration of a plurality of controllable serial capacitors, and branch road method of testing amount of calculation is big and be difficult to be applied to the shortcoming of real system one by one.
The objective of the invention is to realize like this: a kind of controllable serial capacitor optimal configuration method capable that is used to improve available transmission capacity, it may further comprise the steps:
(1-1) choose control variables, and encode as antibody gene;
(1-2) input primary data;
(1-3) generate the initial antibodies population at random, be divided into three groups, be expressed as population 1, population 2, population 3;
(1-4) calculate the affinity of each antibody and antigen in population 1, population 2, the population 3 respectively;
(1-5) to population 1, population 2, population 3, adopt immune algorithm to be optimized respectively, carry out Immune Clone Selection, clonal expansion, intersection, variation immune operation independently, generate population of new generation, be expressed as population 4, population 5, population 6;
(1-6) from population 4, population 5, population 6, select partial antibody at random respectively, adopt then to exchange operator exchange each other between population 4, population 5, population 6;
(1-7) affinity of each antibody and antigen in calculating population 4, population 5, the population 6;
(1-8) judge whether to satisfy condition of transmitting,, then carry out and once transmit operation if condition of transmitting satisfies; Otherwise, carry out next step;
(1-9) judge whether to satisfy the algorithm end condition,, then go to step (1-11) optimizing process and finish if satisfy end condition, the output result, otherwise, carry out next step;
(1-10) carry out immunity and replenish,, generate the relatively poor antibody of part new antibodies replacement equal number affinity respectively at random, go to step (1-4) population 4, population 5, population 6;
(1-11) optimizing process finishes, the output result.
Said step (1-1) is chosen the installation site variable and the compensativity variable of the controllable serial capacitor that control variables comprises that each is to be installed,
Wherein, variable d in installation site is the branch road number that controllable serial capacitor is installed; Compensativity variable c defines as follows:
In the formula, X
Ij,
For the forward and backward line reactance of controllable serial capacitor is installed;
Control variables is encoded as antibody gene, and wherein the installation site variable adopts integer coding, and the compensativity variable adopts real coding, and the numerical value of control variables before and after coding is constant.
After control variables encoded, i antibody x
iCan be formulated as:
x
i={d
1?c
1…d
k?c
k…d
n?c
n}(i=1,…,N
p)
Wherein, d
kBe the encoded radio of installation site variable, c
kBe the encoded radio of compensativity variable, n is a controllable serial capacitor number to be installed, and every group of population is by N
pIndividual such antibody is formed.
Said step (1-2) input primary data comprises:
(3-1) system busbar data, a circuit-switched data, generator data, load data, survey region, controllable serial capacitor number to be installed;
(3-2) various constraintss comprise each control variables, state variable bound;
(3-3) population scale N, clone's quantity N
bReach multiple b, crossover probability p
c, the variation Probability p
m, exchange quantity N
c, immune supplemental amount N
r
Said step (1-3) generates the initial antibodies population at random, is divided into three groups:
Open population: adopt bigger crossing-over rate and aberration rate during evolution, carry out searching on a large scale;
Conservative population: adopt less crossing-over rate and aberration rate during evolution, in local space, search for optimization solution;
Balance population: adopt crossing-over rate and aberration rate between above-mentioned two kinds of populations during evolution, search within the specific limits.
Said step (1-4) and (1-7) in; With the affinity fitness of the available transmission capacity between system realm as antibody and antigen; Before
calculates affinity; Sending electricity district generator end and receiving electricity district load side to introduce a variable power factor lambda, promptly
Wherein, Δ P
DiBe the load active power increment of node i, sink is the set that receives all nodes of electricity district, P
GiBe the active power of sending the electric generator of distinguishing the node i connection to export,
Be P
GiInitial value, P
Di, Q
DiBe respectively the load active power and the reactive power that receive electricity district node i,
Be respectively P
Di, Q
DiInitial value, K
Gi, K
DiBe respectively the scale factor of specifying generator active power, load power to change with λ,
Calculate affinity as follows:
(5-1) carry out trend calculating under the initial condition;
(5-2) increase λ, λ with step delta λ
K+1=λ
k+ Δ λ, thus increase the generating of sending the electricity district simultaneously and receive the load in electricity district;
(5-3) carry out trend and calculate, judging has unconfined condition out-of-limit.If it is out-of-limit that all conditions does not all have, change (5-2); Otherwise, change next step.
(5-4) reduce the variable power factor, λ with little step delta γ
K+1=λ
k-Δ γ carries out trend and calculates;
(5-5) inspection has unconfined condition out-of-limit, when constraints is out-of-limit, changes (5-4); When unconfined condition is out-of-limit, calculate the i.e. affinity of antibody and antigen for this reason of available transmission capacity this moment, end.
In the said step (1-8), condition of transmitting is meant whether current iterations t satisfies t%n
d=0, symbol % representes complementation.Every at a distance from n
dInferior iteration is carried out and is once transmitted operation, through transfer operator current optimal antibody is distributed to respectively and organizes in the population.
In the said step (1-9), the algorithm end condition can be taken as evolutionary process and whether reach predefined maximum algebraically, or the difference of the average affinity of constant generations antibody is less than a predefined minimum threshold values.
In the said step (1-11), output is the result comprise:
(8-1) corresponding to available transmission capacity maximum controllable serial capacitor installation site and compensativity;
(8-2) by Optimization result installing controllable serial capacitor, the value of available transmission capacity between system realm.
A kind of beneficial effect that is used to improve the controllable serial capacitor optimal configuration method capable of available transmission capacity of the present invention is: since with the position of each controllable serial capacitor and compensativity as antibody gene; Through the affinity of the interregional available transmission capacity of initialization system, and in traditional immune algorithm, introduce evolutionary mechanism on multiple populations, be divided into three groups to population as antibody and antigen; Every group of population adopts different immune parameters to evolve; Exchange through exchanging operator between the population, can prevent that each population is absorbed in local poised state, can find out exactly improving the best controllable serial capacitor of available transmission capacity infield; And can confirm its compensativity simultaneously; Computational speed is fast, can solve the allocation optimum problem of a plurality of controllable serial capacitors, and computational accuracy can satisfy actual engine request.
Embodiment
Utilize accompanying drawing and embodiment that the present invention is further described below.
Like figure 0, regard controllable serial capacitor as a variable reactance that is connected in the transmission line, its amount of capacity is relevant with the place line reactance.Suppose on the branch road i-j controllable serial capacitor to be installed, then admittance B hour can be with compensating reactance X over the ground
TCSCWith branch impedance Z
IjSuperpose, be:
In the formula, X
Ij,
For compensating forward and backward branch road reactance, c is a compensativity.
Referring to Fig. 2, a kind of controllable serial capacitor optimal configuration method capable that improves available transmission capacity of the present invention comprises that step is following:
(1) chooses control variables, comprise the installation site variable and the compensativity variable of the controllable serial capacitor that each is to be installed, and encode as antibody gene.Wherein, the installation site variable adopts integer coding, and the compensativity variable adopts real coding, and the numerical value of control variables before and after coding is constant.
After control variables encoded, i antibody x
iCan be formulated as:
x
i={d
1?c
1…d
k?c
k…d
n?c
n}(i=1,…,N
p)
Wherein, d
kBe the encoded radio of installation site variable, c
kBe the encoded radio of compensativity variable, n is a controllable serial capacitor number to be installed, and every group of population is by N
pIndividual such antibody is formed.
(2) input primary data;
The input data comprise:
A) system busbar data, a circuit-switched data, generator data, load data, survey region, controllable serial capacitor number to be installed;
B) various constraintss comprise each control variables, state variable bound;
C) population scale N, clone's quantity N
bReach multiple b, crossover probability p
c, the variation Probability p
m, exchange quantity N
c, immune supplemental amount N
r
(3) generate the initial antibodies population at random, the population that generates be divided into following three groups:
Open population: adopt bigger crossing-over rate and aberration rate during evolution, carry out searching on a large scale;
Conservative population: adopt less crossing-over rate and aberration rate during evolution, in local space, search for optimization solution;
Balance population: adopt crossing-over rate and aberration rate between above-mentioned two kinds of populations during evolution, search within the specific limits.
(4) available transmission capacity between system realm is calculated as the affinity
of antibody and antigen and to the affinity of each antibody and antigen in each group population; Referring to Fig. 3; At first introduce a variable power factor lambda, promptly at generator end and load side
Wherein, Δ P
DiBe the load active power increment of node i, sink is the set that receives all nodes of electricity district, P
GiBe the active power of sending the electric generator of distinguishing the node i connection to export,
Be P
GiInitial value, P
Di, Q
DiBe respectively the load active power and the reactive power that receive electricity district node i,
Be respectively P
Di, Q
DiInitial value, K
Gi, K
DiBe respectively the scale factor of specifying generator active power, load power to change with λ.
Calculate affinity then as follows:
I) carry out trend calculating under the initial condition;
II) increase λ, λ with step delta λ
K+1=λ
k+ Δ λ, thus increase the generating of sending the electricity district simultaneously and receive the load in electricity district;
III) carry out trend and calculate, judging has unconfined condition out-of-limit.If it is out-of-limit that all conditions does not all have, change Step II), otherwise, next step changeed;
IV) reduce the variable power factor, λ with little step delta γ
K+1=λ
k-Δ γ carries out trend and calculates;
V) inspection has unconfined condition out-of-limit, when constraints is out-of-limit, changes IV); When unconfined condition is out-of-limit, calculate the i.e. affinity of antibody and antigen for this reason of available transmission capacity this moment, end.
(5) each group population is carried out Immune Clone Selection, clonal expansion, intersection, variation immune operation respectively independently, generate population of new generation;
The embodiment of immune operation is following:
Immune Clone Selection: select that affinity comes preceding N in the population
bIndividual antibody.
Clonal expansion: the preceding N that will from population, select
bIndividual antibody doubly carries out clonal expansion by b.
Intersect: the antibody in the population is carried out random pair,, between [0,1], produce a random number rand, if p to any antagonist
c>rand, then selected crosspoint exchanges the gene behind the crosspoint.
Variation: with Probability p
mAntagonist is judged by turn, with the gene of confirming to make a variation.If needing the gene of variation is integer variable, then be the random integers between the bound of variation position; If needing the gene of variation is real variable, then be the real number at random between the bound of variation position.
(6) from each group population, select partial antibody at random respectively, then through exchanging operator exchange each other between population;
(7) calculate the affinity respectively organize each antibody and antigen in the population, same step (4);
(8) judge whether to satisfy condition of transmitting,, then carry out and once transmit operation if condition of transmitting satisfies; Otherwise, carry out next step.
In the optimizing process, every at a distance from n
dInferior iteration is carried out and is once transmitted operation, through transfer operator current optimal antibody is distributed in each population.
(9) judge whether to satisfy the algorithm end condition,, then go to step (11) if satisfy end condition; Otherwise, carry out next step.
The algorithm end condition can be taken as evolutionary process and whether reach predefined maximum algebraically, or the difference of the average affinity of constant generations antibody is less than a predefined minimum threshold values.
(10) carry out immunity and replenish,, generate N at random every group of population
rThe relatively poor antibody of individual new antibodies replacement equal number affinity goes to step (4);
(11) optimizing process finishes, the output result.
Output is the result comprise:
A) corresponding to available transmission capacity maximum controllable serial capacitor installation site and compensativity;
B) by Optimization result installing controllable serial capacitor, the value of available transmission capacity between system realm.
With reference to Fig. 4, embodiment is a kind of concrete application that improves the controllable serial capacitor optimal configuration method capable of available transmission capacity at the IEEE30 node system of the present invention, and this system comprises 6 generators; Article 41, branch road; 21 loads are divided into 3 zones, according to the difference of system operation mode; Divide 4 kinds of situation to analyze, and all consider to install additional controllable serial capacitor the influence of zone 1 to the available transmission capacity in zone 3.
Situation 1: normal operating mode
When not installing controllable serial capacitor, zone 1 is 40MW to the available transmission capacity in zone 3; If install a controllable serial capacitor additional, adopt method of the present invention after computation optimization, getting the best infield of controllable serial capacitor is the 9-11 branch road, compensativity is 0.7949, can make available transmission capacity improve 15.25%, reaches 46.1MW.
Situation 2:11 node generator is out of service
A generator is stopped transport in the system, and when not installing controllable serial capacitor, zone 1 is 32.85MW to the available transmission capacity in zone 3; If install a controllable serial capacitor additional, adopt method of the present invention after computation optimization, getting the best infield of controllable serial capacitor is the 27-30 branch road, compensativity is 0.5957, can make available transmission capacity improve 12.48%, reaches 36.95MW.
Situation 3: branch road 2-6 and 9-10 branch road are out of service
Interconnection branch road 2-6 between areas of disconnection 1 and the zone 3 and the heavy load branch road 9-10 under the ground state, when not installing controllable serial capacitor, zone 1 is 29.75MW to the available transmission capacity in zone 3; If install a controllable serial capacitor additional, adopt method of the present invention after computation optimization, getting the best infield of controllable serial capacitor is the 12-13 branch road, compensativity is 0.6026, can make available transmission capacity improve 12.27%, reaches 33.4MW.
Situation 4: install two controllable serial capacitors additional
Operational mode if install two controllable serial capacitors additional, adopts method of the present invention with situation 1 after computation optimization, gets the best infields of two controlled series capacitors and is respectively 9-11 branch road and 27-30 branch road, and compensativity is respectively 0.7919 and 0.3702.Install two controllable serial capacitors and can make available transmission capacity improve 25%, reach 50MW.
To situation 1, situation 2, situation 3, adopt the sensitivity method to confirm the installation site of controllable serial capacitor, and combine optimization method to calculate compensativity and available transmission capacity, the result of gained result and the inventive method is compared, as shown in table 1.
Table 1 sensitivity method and the inventive method result are relatively
Can know referring to table 1; For these 3 kinds of situation; The controllable serial capacitor installation site that two kinds of methods are confirmed is all different; And all greater than the available transmission capacity value of sensitivity method, the controllable serial capacitor allocation optimum scheme specific sensitivity method that this explanation is confirmed by the inventive method more helps the raising of available transmission capacity to the available transmission capacity value that the inventive method obtains.
Adopt one by one the method for branch road installation testing that above-mentioned 4 kinds of situation are calculated respectively, and compare with result calculated of the present invention, as shown in table 2.
Table 2 is branch road method of testing and the inventive method result comparison one by one
According to data in the table 2, the best infield of the controllable serial capacitor that adopts method of the present invention to confirm is accurately, and the error of compensativity is very little, is far smaller than branch road installation testing method one by one computing time.This shows that the method computational accuracy that the present invention proposes is high, and has improved computational efficiency greatly.