PSSe Workshop Day 2
PSSe Workshop Day 2
157
5. Loadflow
Loadflow Theory
Loadflow Assumptions
Solution Methods
Solving New Networks
Solving Networks during Studies
Powerflow Flow Reports
7. PSS/e Graphics
With large
g systems
y Ybus is a sparse
p matrix (that
is, most entries are zero)
Ykc
Si
Since I ij (Vi V j )Yk Vi
2
Ykc
Yii Yk
Yiifrom other lines
2
1 1 Rk jjX k Rk jX
j k
t Yk
Note
N 2
Z k Rk jX k Rk jX k Rk X k2
Two Bus System Example
165
Bus i Bus j
0.03+j0.04
1 2
j0.1 jj0.1 2
1
(V1 V2 ) Yc 1
I1 V1 12 j16
Z 2 0.03 j 0.04
I1 12 j15.9 12 j16 V1
I 12 j16 12 j15.9 V
2 2
Using the Ybus
166
x x ((0)) ,
To iterate we first make an initial guess of x,
and then iteratively solve x (v +1) h( x ( v ) ) until we
ˆ such that xˆ h(x).
find a "fixed point", x, ˆ
Gauss Iteration Example
171
Example: Solve x - x 1 0
x ( v 1) 1 x (v)
Let k = 0 and arbitrarily guess x (0) 1 and solve
k x (v ) k x (v)
0 1 5 2.61185
1 2 6 2.61612
2 2.41421 7 2.61744
3 2.55538 8 2.61785
4 2.59805 9 2.61798
Stopping Criteria
172
A key problem to address is when to stop the
i
iteration.
i With
Wi h the
h Guass
G iteration
i i we stop when
h
x ( v ) with x ( v ) x ( v 1) x ( v )
If x is a scalar this is clear, but if x is a vector we
need to generalize tthe
he absolute value by using a norm
x ( v )
j
Two common norms are the Euclidean & infinity
n
x 2 i
x 2
x max i x i
i 1
Gauss Power Flow
173
We first need to put the equation in the correct form
*
n n
Si Vi I i* Vi YikVk Vi Yik*Vk*
k 1 k 1
n n
*
Si *
Vi I i Vi *
YikVk Vi *
YikVk
k 1 k 1
S*i n n
Vi*
YikVk YiiVi YikVk
k 1 k 1,k i
1 S*i n
Vi * YikVk
Yii V k 1,k i
i
Gauss Two Bus Power Flow Example
174
A 100 MW,, 50
5 Mvar load is connected to a
generator
through a line with z = 0.02 + j0.06 p.u. and line
charging of 5 Mvar on each end (100 MVA base).
Also, there is a 25 Mvar capacitor at bus 2. If the
generator voltage is 1.0
1 0 p.u.,
p u what is V2?
Gauss Two Bus Example, cont’d
175
1 S*i n
Vi(v 1) ( v )* YikVk( v )
Yii V
i k 1, k i
hi (V1( v ) ,V2( v ) ,...,Vn(v ) )
But after we've determined Vi( v 1) we have a better
estimate of its voltage , so it makes sense to use this
new value. This approach is known as the
Gauss-Seidel iteration.
Gauss-Seidel Iteration
180
Immediately use the new voltage estimates:
V2( v 1) h2 (V1 ,V2( v ) ,V3( v ) ,,Vn( v ) )
V3( v 1) h2 (V1 ,V2( v 1) ,V3( v ) ,,Vn( v ) )
V4( v 1) h2 (V1 ,V2( v 1) ,V3( v 1) ,V4( v ) ,Vn( v ) )
Vn( v 1) h2 (V1 ,V2( v 1) ,V3( v 1) ,V4( v 1) ,Vn( v ) )
The Gauss-Seidel works better than the Gauss, and
y easier to implement.
is actually p It is used instead
of Gauss.
Three Types of Power Flow Buses
181
Generall form
G f off problem:
bl Find
Fi d an x suchh that
th t
f ( xˆ ) 0
Newton-Raphson Method (scalar)
185
(v)
1. For each guess of xˆ , x , define
x ( v ) xˆ - x ( v )
2 Represent f ( xˆ ) by a Taylor series about f ( x )
2.
(v)
df ( x ) (v)
f ( xˆ ) f ( x )
(v)
x
d
dx
2 (v)
1 d f (x
2 dxd 2
)
x
(v) 2
higher
g order terms
Newton-Raphson Method, cont’d
186
3. Approximate f ( xˆ ) by neglecting all terms
except the
h first
fi two
(v)
df ( x ) (v)
f ( xˆ ) 0 f ( x )
(v)
x
dx
4. Use this linear approximation to solve for x (v )
1
df ( x ) (v )
x
(v ) (v)
f (x )
dx
5. Solve for a new estimate of x̂
( v 1)
x x (v )
x (v)
Newton-Raphson Example
187
x ( v 1)
x (v) 1 (v) 2
( v ) (( x ) - 2)
2x
Newton-Raphson Example, cont’d
188
x ( v 1)
x (v ) 1 (v) 2
( v ) (( x ) - 2)
2x
Guess x (0) 1. Iterativelyy solvingg we get
g
v x(v ) f ( x(v) ) x ( v )
0 1 1 05
0.5
1 1.5 0.25 0.08333
2 1.41667 6.953 103 2.454 103
3 1.41422 6.024 106
Sequential Linear Approximations
189
At each
it ti th
iteration the
N-R method
uses a linear
approximation
to determine
Function is f(x) = x2 - 2 = 0. the next value
Solutions are points where for x
f(x) intersects f(x) = 0 axis
Newton-Raphson Comments
190
f 2 (x) f 2 (x)
x1 x2
Multi-variable Example, cont’d
195
4 x1 2 x2
J (x) =
2 x1 x2 x1 2 x2
Then
1
x1 4 x1 2 x2 f1 (x)
x 2 x x x1 2 x2 f 2 (x)
2 1 2
1
Arbitrarily guess x (0)
1
1
1 4 2 5 2.1
x (1)
1 3 1 3 1.3
Multi-variable Example, cont’d
196
1
22.11 8.40 2 60 2.51
8 40 2.60 2 51 1.8284
1 8284
x (2)
1.3 5.50 0.50 1.45 1.2122
Each h iteration
i i we checkh k f (x) to see if it
i is
i below
b l our
specified tolerance
0.1556
f (x )
(2)
0.0900
If = 0.2 then we would be done. Otherwise we'd
continue iterating.
NR Application to Power Flow
197
fi ( x) n
i
Vi Vk (Gik sin ik Bik cos ik )
k 1
k i
fi ( x)
Vi V j (Gik sin ik Bik cos ik ) ( j i )
j
Two Bus Newton-Raphson Example
204
For the two bus power system shown below, use the
Newton-Raphson power flow to determine the
voltage magnitude and angle at bus two. Assume
that bus one is the slack and SBase = 100 MVA.
Line Z = 0.1j
0 MW 200 MW
0 MVR 100 MVR
200.0 MW -200.0 MW
168.3 MVR Line Z = 0.1j -100.0 MVR
200.0 MW 200 MW
168.3 MVR 100 MVR
Two Bus Case Low Voltage Solution
210
This case actually has two solutions! The second
"l voltage"
"low lt " isi found
f d byb using
i a low
l initial
i iti l guess.
0
Set v 0, guess x (0)
0.25
Calculate
V2 (10sin 2 ) 2.0 2
f(x )
(0)
0.875
V2 (10 cos 2 ) V2 (10)
2
( ) 1.0
10 V2 cos 2 10sin 2 2.5 0
J (x )
(0)
0 5
10 V2 sin 2 10 cos 2 20 V2
Low Voltage Solution, cont'd
211
1
0 2.5 0 2 0.8
Solve x
(1)
0.25 0 5 0.875 0.075
1.462 (2) 1.42 0.921
f (x )
(2)
x x
(3)
0.534 0.2336 0.220
Low voltage solution
200.0 MW -200.0 MW
831.7 MVR Line Z = 0.1j -100.0 MVR
200.0 MW 200 MW
83
831.7 MVR 100
00 MVR
PV Buses
212
|Vi | – Vi setpoint = 0
Three Bus PV Case Example
213
0 .9 4 1 p u
O ne 1 .0 0 0 p u Tw o -7 .4 6 9 D e g
1 7 0 .0
0 MW 200 MW
6 8 .2 M V R 100 MVR
L in e Z = 0 .1 j L in e Z = 0 .1 j
Three 1 .0 0 0 p u
30 MW
63 MVR
The Loadflow Problem Statement
214
Input
p Data for Loadflow
Transmission line impedances and charging admittances, (PI Model)
R, X, B, and thermal ratings of branches (PI Model)
Transformer impedances and tap ratios (PI Model)
Admittances
Ad itt off shunt
h t connected
t d devices
d i such
h as capacitors
it and
d reactors
t
Load power consumption at each bus of the system, modeled by:
Constant power (Load Types)
Constant impedance
p
Constant current
Real power output of each generator or generating plant
Voltage magnitude at each generator bus
Maximum
M i and
d minimum
i i reactive
ti power capability
bilit off each
h generating
ti plant
l t
Quantities to be Determined
The voltage magnitude and angle at every bus
The real and reactive power flow in every branch (Current flow)
General Loadflow Assumptions
216
GENERAL APPROACH
Start with a Gauss-Seidel type routine until biggest per unit voltage change,
(real and imaginary part) has been reduced to about 0.01 or 0.005.
Change over to a Newton-Raphson type routine until convergence has been
reached, or until generator reactive power output shows signs of failure - in
this case switch back to a Gauss-Seidel type routine.
Always use flat start after divergence.
SUGGESTIONS FOR NON-CONVERGENCE
NON CONVERGENCE
Use a GAUSS-SEIDEL type routine and inspect results
Scale loads down
Ignore VARVAR-limits
limits
If still no solution can be obtained then insert fictitious generators around
the network to aid convergence and then analyse results. This will highlight
weak areas in the network and/or data errors
Solving
g Options
p
222
It is p
possible for two users to solve identical networks yyet g
get differing
g
answers. The question is who is correct.
Firstly, PSS/E has an iterative process and use initial ‘guess-estimates.’
This process is susceptible to numeric problems. For instance, in a raw data
g to 0.0pu
file set the actual voltage p and attempt p to solve the network. A 332-
bit run time error will be given.
Secondly, tapping, switching of shunt devices, flat starts and generator
settings all play a significant role in solving networks.
The Flat start sets all voltages to 1.0
1 0 pu and an angle of 00.0.
0 This is the best
starting point for any solution method.
The solution tolerance of Iterative Solution Method may be changed by the
user, however results may not be valid there after.
A diverging network will always BLOW UP. UP This indicated a major data
error and should be rectified before continuing.
The number of iterations may be set in the options activity. A network
requiring only one iteration to converge is not “better” solved than one
requiring 7 iterations.
iterations
If a network has not solved within 50 iterations, there is a good chance it
will never solve until some fine tuning has taken place.
Solving a New Network
223
1. Set all transformer tap ratios to 1.0pu. If a large number of transformers exist,
then an IPLAN program will speed up the operation.
2. Solve the network using SOLV and MSOLV.
Lock all transformer taps.
Use FLAT start
Enable shunt switching
Ignore
g g
generator VAR limits
This should switch in/out all required shunts placing the network voltages within acceptable limits. No
transformers will tap.
3.If converged re-Solve the network using SOLV and MSOLV.
Ensure NON - FLAT start
Enable all transformer taps start
E bl shunt
Enable h switching
i hi
Enforce generator limits
The solution will enforce the generator limits. Further switching of shunts may occur. If the network diverges,
then there could be a problem with the voltage controlling of the generators vers the controlling of the shunts.
4. If converged re-Solve the network using FNSL or FDNS.
Ensure NON - FLAT start
Enable all transformers tapping using stepping
Enable shunt switching start
Enforce generator VAR limits
The solution will tune the network using the transformer taps. If any shunts are switched then the voltage band
widths do not correspond. This must be corrected and re-solve. If all goes well the network should be correctly
sol ed
solved.
5.The user should be able to solve the network will all options enabled and no
tapping or switching should take place.
Solving a Network during Studies
224
Lets assume that the base case has been correctly solved. The user would now like to
do studies.
d di The h majority
j i off the
h time
i the
h network
k will
ill converge with
i h the
h ffollowing
ll i
simple steps. However, if a large network change has taken place the steps for
solving an initial network must be followed.
1.Solve the network using FDNS or FNSL.
Lock all transformer taps.
taps
Use FLAT start
Enable shunt switching
Enforce generator VAR limits
This should switch in/out all required shunts placing the network voltages within acceptable
limits. No transformers will tap.
2.If converged re-Solve the network using FNSL or FDNS.
Ensure NON - FLAT start
Enable all transformers tapping using stepping
Enable shunt switching start
Enforce generator VAR limits
The solution will tune the network using the transformer taps. If any shunts are switched
then the voltage band widths do not correspond. This must be corrected and re-solve. If all
goes well the network should be correctly solved.
Additional Hints for Solving
225
The
Th user MUST always
l check
h k th
the solution
l ti reportt on th
the main
i screen
for a running report of all switching actions.
When solving in graphics
graphics, use the ‘alt
alt tab
tab’ combinations to view the
solution report.
Through the [Bus Based Reports] dialog , several power flow solution
reports may be obtained.
The [Bus Based Reports] dialog enables the user to designate for
processing either the entire working case or a specified bus subsystem.
A bus subsystem may be specified either via a [Bus Subsystem Selector]
dialog or by entering buses directly in the [Bus Based Reports] dialog.
Limit Checking Reports
235
The [Limit Checking Reports] dialog provides tabs to produce all PSSE limit
checking
h ki reports: t
Note that each report can be restricted by Area, Owner, Zone, Base kV and Bus
according to :
Machine Reactive Capability
Generator Bus Limits
Machine Terminal Limits
Transmission Line Overloads
Transformer Overloads • Branch Overloads
Transmission Line Overloads
Transformer Overloads
O erloads
Branch Current Ratings
Voltage Controlled Buses
C t lli T
Controlling Transformers
f
Out-of-limit Bus Voltage
Power Flow Working Case Reporting
236
Through the [List Data] dialog, the following tabulations of working case data
can be produced:
•Categories of power flow data in tabular form (activity LIST).
•Power flow data ggrouped
p together
g on a bus-by-bus
y basis ((activityy EXAM).
)
•Categories of sequence data (i.e., fault analysis data) in tabular form (activity
SQLI).
•Sequence data grouped together on a bus-by-bus basis (activity SQEX).
•Categories of optimal power flow data in tabular form (activity LSTO).
•Outaged network elements (activity OUTS).
•Fixed and/or switched bus shunts (activity SHNT).
•Extended bus names in alphabetic order (activity ALPH).
PowerFlow Modification
237