Professional Documents
Culture Documents
2
Sensitivity Problem Formulation
g P (x,p)
g(x,p) Q g includes the real and reactive
g (x,p) power balance equations
N
g ( s, p) V
P
k
k
V m Gk m cos k m B k m sin k m p k
m1
q
N
g kQ ( s , p) V m V m Gk m sin k m B k m cos k m k
m1
h ( s ) g V V i V j cos( i j ) b V i V j sin( i j ), i , j
2
i
4
Sensitivity Problem Formulation
• For a small change, p, that moves the injection
from p(0) to p(0) + p , we have a corresponding
change in the state x with
g (x ( 0 ) x, p ( 0 ) p) 0
g
p h.o.t .
p x ( 0 )p ( 0 )
5
Sensitivity Problem Formulation
• We consider this to be a “small signal” change, so we
can neglect the higher order terms (h.o.t.) in the
expansion
• Hence we should still be satisfying the power balance
equations with this perturbation; so
g g
x p 0
x x ( 0 )p ( 0 ) p x ( 0 )p ( 0 )
6
Sensitivity Problem Formulation
• Also, from the power flow equations, we obtain
g P
p
g I
p g
Q
0
p
and then just the power flow Jacobian
g P g
P
g θ V
Q J(x,p)
x g g
Q
θ V
7
Sensitivity Problem Formulation
• With the standard assumption that the power flow
Jacobian is nonsingular, then
1 I
x J (x ,p ) p
(0 ) (0 )
0
• We can then compute the change in the line real
power flow vector
T T
h h 1 I
f s J (x ,p ) p
(0 ) (0 )
x x 0
8
Sensitivity Comments
• Sensitivities can easily be calculated even for large
systems
– If p is sparse (just a few injections) then we can use a fast
forward; if sensitivities on a subset of lines are desired we
could also use a fast backward
• Sensitivities are dependent upon the operating point
– They also include the impact of marginal losses
• Sensitivities could easily be expanded to include
additional variables in x (such as phase shifter angle),
or additional equations, such as reactive power flow
9
Sensitivity Comments, cont.
• Sensitivities are used in the optimal power flow; in that
context a common application is to determine the
sensitivities of an overloaded line to injections at all
the buses
• In the below equation, how could we quickly get these
values?
T T
h h 1 I
f f J (x ,p ) p
(0 ) (0 )
x x 0
– A useful reference is O. Alsac, J. Bright, M. Prais, B. Stott,
“Further Developments in LP-Based Optimal Power Flow,”
IEEE. Trans. on Power Systems, August 1990, pp. 697-711;
especially see equation 3.
10
Sensitivity Example in PowerWorld
• Open case B5_DistFact and then Select Tools,
Sensitivities, Flow and Voltage Sensitivities
– Select Single Meter, Multiple Transfers, Buses page
– Select the Device Type (Line/XFMR), Flow Type (MW),
then select the line (from Bus 2 to Bus 3)
– Click Calculate Sensitivities; this shows impact of a single
injection going to the slack bus (Bus 1)
– For our example of a transfer from 2 to 3 the value is the
result we get for bus 2 (0.5440) minus the result for bus 3
(-0.1808) = 0.7248
– With a flow of 118 MW, we would hit the 150 MW limit
with (150-118)/0.7248 =44.1MW, close to the limit we
found of 45MW
11
Sensitivity Example in PowerWorld
h ( s ) g V V i V j cos( i j ) b V i V j sin( i j ), i , j
2
i
By using the FDPF appxomations
( i
j
)
h ( s ) b ( i j ) , i, j
X
13
Linearized Sensitivity Analysis
• Also, for each line
h h
b a 0
θ V
and so,
h
h θ b 1 a 1 b L a L A TB
x h 0
V 0 0
14
Sensitivity Analysis: Recall the
Matrix Notation
• The series admittance of line is g +jb and we
define
B @ diag b1 , b 2 , , b L
16
Injection Shift Factors (ISFs)
• The element n in row and column n of is
called the injection shift factor (ISF) of line with
respect to the injection at node n
– Absorbed at the slack bus, so it is slack bus dependent
• Terms generation shift factor (GSF) and load shift
factor (LSF) are also used (such as by NERC)
– Same concept, just a variation in the sign whether it is a
generator or a load
– Sometimes the associated element is not a single line, but
rather a combination of lines (an interface)
• Terms used in North America are defined in the NERC
glossary (http://www.nerc.com/files/glossary_of_terms.pdf)
17
ISF Interpretation
p n+ 1
slack
node
n f n
i j
line
p slackbus 1
n
is the fraction of the additional 1 MW injection at
node n that goes though line
18
ISF Properties
• By definition, n depends on the location of the
slack bus
• By definition,
slackbus
0 for L since the
injection and withdrawal buses are identical in this
case and, consequently, no flow arises on any line
n
• The magnitudeof1 is atn most
1 1 since
MVA
1.040 pu
200 MW
Line 2 A
1.050 pu MVA
260 MW
Line 3 Line 4
slack
67 MW A
MVA
258 MW A
33 MW
A
100 MW
MVA
MVA
118 MW
Line 5
Four 1.042 pu
1.042 pu
100 MW Line 6
Three
Five 1.044 pu 118 MW
100 MW
20
Five Bus ISF, Line 4, Bus 2 (to Slack)
One 52 MW Two
Line 1
A
MVA
1.040 pu
200 MW
Line 2 A
1.050 pu MVA
280 MW
Line 3 Line 4
slack
A
63 MW
86%
MVA
238 MW A
37 MW
A
100 MW
MVA
MVA
128 MW
Line 5
21
Five Bus Example
= diag 6.25, 12.5, 12.5, 12.5, 12.5, 10
B
The row of A correspond to
-1 0 0 0 the lines and transformers,
the columns correspond to
0 -1 0 0 the non-slack buses (buses 2
to 5); for each line there
0 0 -1 0
is a 1 at one end, a -1 at the
A =
1 other end (hence an
-1 0 0
assumed sign convention!).
0 1 -1 0
Here we put a 1 for the
0 0 1 -1 lower numbered bus, so
positive flow is assumed
from the lower numbered 22
Five Bus Example
18.75 12.5 0 0
12.5 37.5 12.5 0
A=
B = A T B
0 12.5 35 10
0 0 10 10
25
Definition: Basic Transaction
• A basic transaction involves the transfer of a
specified amount of power t from an injection node
m to a withdrawal node n
t t
m n
26
Definition: Basic Transaction
• We use the notation
w @ m , n, t
injection
node withdrawal
node quantity
27
Definition: PTDF
• NERC defines a PTDF as
– “In the pre-contingency configuration of a system under
study, a measure of the responsiveness or change in
electrical loadings on transmission system Facilities due
to a change in electric power transfer from one area to
another, expressed in percent (up to 100%) of the change
in power transfer”
– Transaction dependent
• We’ll use the notation (w ) to indicate the PTDF
on line with respect to basic transaction w
• In the lossless formulation presented here (and
commonly used) it is slack bus independent
28
PTDFs
t+ t t+ t
m n
f f
i j
line
29
PTDF Evaluation in Two Parts
1 1
m (w) n
i
line
j =
1 1
m n
m
n
i j + i
0
j
0
1 1 30
PTDF Evaluation
t +1 t +1
m n
f m n
i j
line
0
1 1
(w)
m
n
31
Calculating PTDFs in PowerWorld
• PowerWorld provides a number of options for
calculating and visualizing PTDFs
– Select Tools, Sensitivities, Power Transfer Distribution
Factors (PTDFs)
Results are
shown for the
five bus case
for the Bus 2
to Bus 3
transaction
32
Five Bus PTDF Visualization
One 52 MW Two
Line 1
27%
PTDF
1.040 pu
200 MW
Line 2
18%
1.050 pu PTDF
280 MW
Line 3 Line 4
slack
63 MW 73%
PTDF
238 MW 37 MW
9% 100 MW
PTDF
9%
PTDF
128 MW
Line 5
Four 1.042 pu
1.042 pu
100 MW Line 6
Three
Five 1.044 pu 118 MW
100 MW
to Bus I. Note
PTDF
13% 20%
PTDF
PTDF
35%
PTDF
2% that 100% of
the transaction
PTDF
G F E
150.0 MW
250.0 MW 250.0 MW
leaves Bus A
34%
PTDF
34%
PTDF
32%
PTDF and 100%
34%
PTDF
arrives at
I
H
slack
Bus I
50.0 MW
200.0 MW
f f f
i j i j
line line
fk
i j i j
line k line k
outaged
base case outage case
k f
d d ,k
fk
Best reference is Chapter 7 of the course book
37
LODF Evaluation
f tk
( wk )
f
( wk ) k
1 k
• Therefore, by definition the LODF is
f ( wk )
d
k
fk 1 ( wk )
k
40
Five Bus Example
• Assume we wish to calculate the values for the outage
of line 4 (between buses 2 and 3); this is line k
One 52 MW Two
Line 1 A
Say we wish
200 MW
MVA
1.040 pu
to know the
Line 2
1.050 pu
A
MVA
change in flow
Line 3 Line 4
280 MW
on the line
slack
63 MW
A
86%
3 (Buses 3 to
4). PTDFs for
MVA
238 MW A
37 MW
A
100 MW
MVA
128 MW
a transaction
MVA
Line 5
on line 3
41
Five Bus Example
• Hence we get
fk 128
tk 469.4
1 ( wk )
k 1 0.7273
f3 ( w3 4 ) 0.0909
d 43 0.333
f4 1 4 ( w4 )
1 0.7273
f 3 0.333 f 4 0.333 128 42.66MW
42
Five Bus Example Compensated
One
Line 1
184 MW
A
Two Here is the
200 MW
124%
MVA
1.040 pu system with the
Line 2 A compensation
1.050 pu MVA
Line 5
465 MW are canceling
the impact of
Four 1.027 pu
1.016 pu
the line 4 flow
100 MW Line 6
Five 1.029 pu
Three for the reset
587 MW
100 MW of the network.
43
Five Bus Example
• Below we see the network with the line actually
outaged
One 180 MW Two
Line 1 A
The line 3
121%
200 MW
Line 2
MVA
1.040 pu
flow changed
from 63 MW
A
1.050 pu MVA
to 106 MW,
280 MW
Line 3 Line 4
slack
106 MW
an increase
238 MW 6 MW
A
MVA
A
MVA
0 MW
100 MW of 43 MW,
Line 5
matching the
Four 1.042 pu LODF
1.044 pu
100 MW Line 6
Three
value
Five 1.044 pu 118 MW
100 MW
44