Professional Documents
Culture Documents
Fei HE1,2 Yihong WANG1,2 Ka Wing CHAN1 Yutong ZHANG1 Shengwei MEI2
1
Department of Electrical Engineering, The Hong Kong Polytechnic University
2
State Key Lab of Power Systems, Department of Electrical Engineering, Tsinghua University
vi ,t +1 = w ⋅ vi ,t + ϕ1 ⋅ r1 ⋅ ( pbesti ,t − xi ,t ) (4)
where wg and wh are penalty factors which are
+ ϕ2 ⋅ r2 ⋅ ( gbest t − xi ,t ) (1)
chosen large number. Because the penalty factors
xi ,t +1 = xi ,t + vi ,t +1 are so large, the control variable must vary to the
point where no constraints are unsatisfied.
where w is inertia weight; ϕ 1 and ϕ 2 are
acceleration constants; r1 and r2 are uniform random
number in the range of [0, 1]. 3. LOAD SHEDDING STRATEGY BASED ON
PSO ALGORITHM
After generating the new generation as above, the
3.1 OPTIMAL POWER FLOW (OPF)
pbestit +1 and gbest t +1 could be calculated:
OPF is a typical optimization problem for which the
t +1
⎧⎪ pbestit if f (xit +1 )>pbestit PSO method is very suitable. Normally, the control
pbest i = ⎨ t +1 (2)
⎪⎩ xi if f (xit +1 )<pbestit variable x in an OPF formulation contains active
power and reactive power (or voltage) of generator.
gbest t +1 = best ( pbest1t +1 , pbest2t +1…pbest Nt +1 ) Suppose that the dispatcher wants the system to
operate with less power loss, the aim function of
Fig.1 shows the flowchart of the basic PSO method. OPF could be the power loss.
Generally, penalty function is used if there are some where Pi is the active power injected in bus i; Qi is
constraints in the optimization problem. Suppose the reactive power injected in bus i; Vi is the
there are N eq equality constraints and N ueq magnitude of voltage of bus i; Gij , Bij are
conductance and susceptance of transmission line selected, one variable of it is chosen randomly to
from bus i to bus j; θ ij = θ i − θ j is phase-angle modify its value. For example, the variable j of the
difference between bus i and bus j. particle i is selected to be mutated. The value of
xij is modified as follows:
2. Generator output constraint;
r = rand()− 0.5
Pgimin ≤ Pgi ≤ Pgimax (8)
⎪⎧ xi + r × ( xmax − xi ) if(r ≥ 0) (13)
j j j
Q min
≤ Qgi ≤ Q max
(9) xij = ⎨ j
⎪⎩ xi + r × ( xi − xmin ) if(r < 0)
gi gi j j
where Pgi and Qgi are active power and reactive where rand() returns a uniform random number in
power of the generator i respectively; Pgimax and the range of [0,1].
Qgimax are upper limits; Pgimin and Qgimin are lower
limits. As a result, the proposed OPF based on PSO method
is solved as shown in the flowchart in Fig.2.
3. Voltage constraint
7. ACKNOWLEDGMENTS
8. REFERENCES