Load Flow CoursesFile
Load Flow CoursesFile
University
Dr audih 1
Load flow ( power flow ): Is the solution obtained for the power
system under steady state conditions of operation .
In the operation of a power system there are three major
problems encountered which are listed as below:-
1. Load flow problem
2. Optimal Load scheduling problem
3. Systems control problem
Why the load flow studies are important ?
The load flow investigation is important in order to determine :
1. The line flows (active & reactive power flow) .
2. The bus voltages and system voltage profile .
3. The phase angles of load bus voltages , reactive power at
generator bus .
Dr Audih alfaouri 2
4. For new circuits on system loading and load distributions .
5. Economic system operation and minimizing losses .
6. Possible improvements to an existing system by change
of conductor sizes and system voltages .
Dr Audih alfaouri 3
- The loads are generally represented by constant powers.
- In the network at each bus or node, there are four
variables: (voltage magnitude , voltage phase angle , real
power , reactive power ) .
Two of them are specified at each bus and the remaining two
must be calculate using the load flow solution.
Since the real and reactive power losses in lines are not
known till the end of the power flow solution, the generator bus
is selected as, called slack or swing bus.
Dr Audih alfaouri 4
Bus Name Specified Variables Computed Variables
Generator bus(PV-bus or voltage Magnitude of bus voltages and real Voltage phase angle and reactive
controlled bus) powers Pgi and |Vi|. power
At each load bus, both power generated Pgi and Qgi are
zero, and the real power demand Pdi and reactive power
demand Qdi drawn from the system by the load (negative
inputs into the system).
The scheduled values Pi,sch = Pgi - Pdi and Qi,sch = Qgi - Qdi
are known and mismatches ΔPi and Δqi can be defined.
Dr Audih alfaouri 5
Voltage-controlled buses ( generator bus):-
Any bus of the system at which the voltage magnitude is
kept constant is said to be voltage controlled.
Pgi and |Vi| are specify . With Pdi also known, to define
mismatch Δpi (losses).
Generator reactive power Qgi required supporting the
scheduled voltage |Vi| which is can’t be known .
And mismatch ΔQi is not defined after the power flow
problem is solved, Qi can be calculated.
Dr Audih alfaouri 6
1- Bus Admittance
Consider the transmission system shown in figure . The line
impedances at buses 1, 2, and 3 are z12, z23 and z13 .
y20
The corresponding line admittances G1 G2
( y 10 y 12 y 13 )V 1 ( y 12 )V 2 ( y 13 )V 3 1
yik
Same for I 2 V 2 .y 20 (V 2 V1 ).y 21 (V 2 V 3 ).y 23 and I 3 zik
I3 V3.y30 (V3 V1).y31 (V3 V2 ).y32
Dr Audih alfaouri 7
In matrix form I1 Y 11 Y 12 Y 13 V1
I Y
2 21 Y 22 Y 23 V 2
I 3 Y Y 32 Y 33 V
31 3
For our example 3 buses ,we have:
P2 jQ 2 P2 jQ 2
* *
S2
I2 *
*
Y 12 .V 1 Y 22 .V 2 Y 23 V
. 3
V
2 V 2 V 2
1 P2 jQ2
V2 *
Y12 .V1 Y23 .V3
Y22 V2
Dr Audih alfaouri 9
Example of Ybus
Determine the bus admittance matrix for the network shown
below, assuming the current injection at each bus i is
Ii = Igi - Idi :where Igi is the current injection into the bus from
the generator and Idi is the current flowing into the load
Dr Audih alfaouri 10
By KCL at bus 1we have
I1 Ig1 Id1
V1 V2 V1 V3 1
I1 I12 I13 , (with yj )
ZA ZB Zj
I1 (V1 V2)yA (V1 V3)yB V1yA V2 yA V1yB V3 yB
(yA yB)V1 yA V2 yB V3
Similarly
I2 I21 I23 I24
yAV1 (yA yC yD)V2 yC V3 yDV4
Dr Audih alfaouri 11
We can get similar relationships for buses 3 and 4
The results can then be expressed in matrix form
I YbusV
Y11
Y12
Y13
Y14
I1 yA yB yA yB 0 V1
I Y21
2 Y22
Y23
V2
Y24
.
I3 yA yA yC yD yC D V3
y
y yC yB yC
0 V4
I
4 B
0 yD 0 yD
*Note that (Y12 = Y21)
Dr Audih alfaouri 12
2- Modeling Shunts in the Ybus
IL=ΔV/Zk
IC
(V i V j ) Vi Y kc
Since I ij I L IC (V i V j )Y k V i
Zk Z kc / 2 2
1 1 R k jX k R k jX k
Note Y k 2
Z k R k jX k R k jX k R k X k2
Dr Audih alfaouri 13
Two Bus System Example
(V V 2 ) Y
I1 1 V 1 c , y 1 0 y 2 0 j 0 .1
Z 2
1
y 12 1 2 j 1 6 , Y 11 y 10 y 12
0 . 0 3 j 0 .0 4
I1 1 2 j (1 6 0 .1) 12 j 16 V 1
I V
2 12 j 16 1 2 j 1 5 .9 2
Dr Audih alfaouri 14
1- Solving for Bus Currents
For example, in previous case for Ybus , assume V1 10o
and V 2 0.82 15.5o ,then :
1.0 12 j 15.9 12 j 16
V and
0.8 j 0.2 12 j 16 12 j 15.9
12 j 15.9 12 j 16 1.0 5.60 j 0.70
II1
2 12 j 16 12 j 15.9 0.8 j 0.2 5.58 j 0.88
Therefore the power injected at bus 1 is
S1 V 1I 1* 1.0 (5.60 j 0.70) 5.60 j 0.70 pu .
S 2 V 2I 2* (0.8 j 0.2) (5.58 j 0.88) 4.64 j 0.41 pu .
*
N o t e : 1 2 j 1 5 .9 (1 .0 ) ( 1 2 j 1 6 ( 0 .8 j 0 .2 ) ) 5 .6 0 j 0 .7 0
Dr Audih alfaouri 15
2- Solving for Bus Voltages
For example, in previous Ybus case assume
5.0
I , (the conjugate is not important since I complex,then
4.8
1
V1 12 j15.9 12 j16 5.0 0.0738 j0.902
V 12 j16 12 j15.9 4.8 0.0738 j1.098
2
Therefore the power injected is
S1 V1I1* (0.0738 j0.902) 5 0.37 j4.51
S2 V2I2* (0.0738 j1.098) (4.8) 0.35 j5.27
Dr Audih alfaouri 16
The variables and parameters associated with bus i and bus
k are represented in the usual notation as follows :
j o i
Vi Vi Vi ei
o
Vi (cos i o j sin io )
jiko
Yik Yik Yik e Yik (cosiko j sin iko )
o
ik
The Complex power (apparent power)is
*
n n
S i Pi jQi V I Vi Yik Vk Vi Yik*Vk*
*
i i
k 1 k 1
Dr Audih alfaouri 17
Using the indexes (g) for generation and (d) for load
demand, (i) for bus :
Pi = Pgi - Pdi = Re Vi Ii* Qi = Qgi Qdi = Im Vi Ii*
For an n-bus system:
*
Si n Pi jQi n
For current I i
V Y ikV k *
. i y ik .V k
Y ii V
i k 1 Vi k 1
k i
1 Pi jQ i n
For voltage V i [ *
Y ik V
. k ]
Y ii Vi k 1
k i
n n
For power S*i P jQ Vi*Ii Vi*YikVk Vi*Y ikVk
k 1 k 1
Dr Audih alfaouri 18
Further, In the polar form
n n
Pi jQi Vi Yik .Vk Vi .Vk .Yik e j ( i k ik )
k 1 k 1
k i
n
So that
Pi k 1
V i .V k .Yik co s( i k ik )
n
Qi V .V
k 1
i k .Yik sin ( i k ik )
Example: Solve x - x 1 0 x x 1 or
(المعطاةtolerances) نقف عندما يكون الفرق ما بين الخطوة السابقة والجديدة اقل من قيمة
Dr Audih alfaouri 22
Dr Audih alfaouri 23
In this method:
The voltages at all buses except at the slack bus (since its
reference) are assumed ( etc..V2,V3,..)
The voltage at the slack bus is specified and remains fixed at
that value. The (n-1) bus voltage relations
1 Pi jQ i n
Vi [ *
Yik .V k ]
Yii Vi k 1
k i
1 P jQ n n
Vi [ (m)* Yik .Vk YikVk ]
(m1) i i (m1) (m)
Vi i Vi i
(m) (m)
Dr Audih alfaouri 25
Gauss Two Bus Power Flow Example
5 j 14.95 5 j 15
Hence Ybus
5 j 15 5 j 14.70
Dr Audih alfaouri 27
At bus 2 there is no generation then , Pg2 =0 Pi Pgi Pdi Pdi
1 P2 Q2 n
V2 Y ikV k
, where P2 andQ2 are100MW and 50Mvar load
Y 22 V 2*
k 1,k i
Dr Audih alfaouri 30
Example:
Dr Audih alfaouri 31
PLi=Pdi
Dr Audih alfaouri 32
Dr Audih alfaouri 33
Dr Audih alfaouri 34
P=m iteration number
Dr Audih alfaouri 35
Dr Audih alfaouri 36
Dr Audih alfaouri 37
Dr Audih alfaouri 38
For second iteration
Dr Audih alfaouri 39
3
V
3
Pi V i .V k .Y ik cos( i k ik ) Qi i .V k .Y ik sin( i k ik )
k 1 k 1
i 1 i 1
Dr Audih alfaouri 40
Dr Audih alfaouri 41
Dr Audih alfaouri 42
Dr Audih alfaouri 43
Dr Audih alfaouri 44
P12 P21
∆P Line
Dr Audih alfaouri 45
Dr Audih alfaouri 46
Dr Audih alfaouri 47
N-R method is an algorithm which transforms nonlinear
equations into the procedure of iterative linear equations.
Consider the set of nonlinear equations as:
f i ( x1 , x2 ,......, x n ) yi i 1,2,...., n
Let x(0) be the initial value of the above equation. Assume the
real solution x is close to x(0)
xi xi ( 0 ) xi ( 0 )
where ∆xi are the corrections to xi (i=1,2,…..,n) . When Δx is
known, the solution x can be calculated , the corrected set of
equations then are :
Dr Audih alfaouri 48
or expressed in matrix form, J . X Y
where :
∆Y is a column vector determined from formula before as
y i f i ( x 1( 0 ) , x 2( 0 ) ,......, x n( 0 ) )
∆x- is the column vector of correction terms ∆xi .
J- is the Jacobian matrix for the function (fi) given by the first
order partial derivatives evaluated… at xi(0). The corrected
solution is obtained as
xi(1) =xi(0) + ∆xi
The square Jacobin matrix J is defined by:
f i
J ik
x k
Dr Audih alfaouri 49
Since most of the time in N-R iteration is dealing with
the Jacobian, speed up the iterations is calculate (and
factorize) the Jacobian occasionally known as the
“Dis-honest” Newton-Raphson method,
Dr Audih alfaouri 50
Example :
x1
S o lv e fo r x s u c h th a t f ( x ) 0 w h e re
x2
f 1 ( x ) 2 x 12 x 22 8 0
f 2 ( x ) x 12 x 22 x 1 x 2 4 0
F irs t s y m b o lic a lly d e te rm in e th e J a c o b ia n
f1 ( x ) f1 ( x )
x x2
J (x)
1
f2 ( x) f2 ( x)
x x 2
1
Dr Audih alfaouri 51
4 x1 2 x2 f i
J ( x) J ik
2 x1 x2 x1 2 x2 x k
Then
1
x1 x 4 x1(v )
2 x2 f1 ( x)
x x
1
2 2 x1 x2
2
(v)
x1 2 x2 f 2 ( x)
1
Arbitrarily guess x
(0)
X(0) applied in
1 matrix
Stopping criterion
1
1 4 2 5 2.1 when f ( x(v ) )
x (1)
1 3 1 3 1.3
X(0) applied in ( fx)
Dr Audih alfaouri 52
1
2.1 8.20 2.60 2.51 1.8284
x
(2)
1.3
5.50 0.50 1.45 1.2122
Each iteration we check f(x) to see if it is below
our specified tolerance Appling this value in f(x) for x1
and x2 we get;
2 (1.8284) 2
(1.2122) 2
8
f (x )
(2)
(1.8284) (1.2122) (1.8284 1.2122) 4
2 2
0.1556
, If = 0.2 then we would be done.
0.0900
Dr Audih alfaouri 53
The polar coordinate is used for solution of the load flow
using Newton-Raphson . The real and reactive power at bus
(i) are indicated before as:
n
Pi V .V
k 1
i k .Yik cos( i k ik )
n
Qi V .V
k 1
i k .Yik sin( i k ik )
Pi j1 j2 i
Q j V
j4
i 3 i
Dr Audih alfaouri 54
For the two power relations (P&Q) at each bus and the line.
Equations can be written as:
P2 P2 P2 P2
..
n V2 Vn
2
Pi j1 j2
P Pn Pn Pn
n i
2 n V2 Vn
Qi Q 2 Q2 Q2 Q2 Vi
2 n V2 Vn
j3 j4
Qn Qn Qn Qn
2 n V2 V n
Dr Audih alfaouri 55
The off-diagonal and diagonal elements of matrix at bus (i)
and (k) are:
Pi
ViV k Yik sin( i k ik )
k
For j1 Pi n
Vi .Vk .Yik sin( i k ik )
i k 1
Pi
V i Y ik cos( i k ik )
Vk
For j2
Pi n
ViYii cos ii Vk .Yik cos( i k ik )
Vi k 1
k i
Dr Audih alfaouri 56
Q i
V iV k Y ik cos( i k ik )
k
For j3
Qi n
i
V .V
k 1
i k .Yik cos( i k ik )
k i
Q i
V i Y ik sin( i k ik )
Vk
and j4
Qi n
Dr Audih alfaouri 57
Decoupled power flow method is use for large-scale power
transmission systems to improving computational efficiency
and reducing computer storage requirements . The principle
is based on two observations :
(1)Change in voltage angle δ at a bus primarily affects the
flow of real power P in the transmission lines and leaves
the flow of reactive power Q respectively unchanged.
Dr Audih alfaouri 58
All power systems exhibit in the steady state a strong
interdependence between active powers and bus voltage
angles ( P , ) and between reactive powers and voltage
magnitude (Q , V ) .
The coupling between real power and bus voltage
magnitude and between reactive powers and voltage angles
are both relatively weak then (j2 and j3 are zero). This weak
coupling is utilized in the development of the so called
decoupled methods. Recalling equation
P j1 0
Q 0
j4 V / V
or
P j1 . and Q j4 . V
Dr Audih alfaouri 59
Step 0: Formulate and assemble Ybus in per unit
Step 1: For load buses, where Pisch and Qisch are specified,
voltage magnitudes and phase angles are set equal to the
slack bus values or 1.0 and 0.0 i.e. (Assign initial guesses to
unknown voltage magnitudes and angles for a flat start
|V|=1.0, δ=0.0)
Step 2: For load buses, Pi(k) and Qi(k) are calculated. Also,
ΔPi(k) and ΔQi(k) are calculated.
Step 3: For voltage-controlled buses, Pi(k) and ΔPi(k) are
calculated
Step 4: Determine the element of Jacobian Matrix J for
Iteration k
Dr Audih alfaouri 60
Step 5: The linear simultaneous equation is solved directly.
Step 6: The new voltage magnitudes and phase angles are
computed.
Step7: The process is continued until the residuals ΔPi(k)
and ΔQi(k) are less than the specified accuracy, ΔPi(k) ≤ ε and
ΔQi(k)≤ ε
Dr Audih alfaouri 61
n
Pi k 1
V i .V k .Y ik co s( i k ik )
2 n
Qi
k 1
V i .V k .Y i k s i n ( i k ik )
Dr Audih alfaouri 62
Dr Audih alfaouri 63
Dr Audih alfaouri 64
Dr Audih alfaouri 65
Dr Audih alfaouri 66
Dr Audih alfaouri 67
Dr Audih alfaouri 68
Dr Audih alfaouri 69
Dr Audih alfaouri 70
Dr Audih alfaouri 71
Dr Audih alfaouri 72
all….
Dr Audih alfaouri 73