Академический Документы
Профессиональный Документы
Культура Документы
2
In the News: South Australia
Blackout
On 9/28/16 at 418pm (local time) South Australia
experienced a state-wide blackout
Load at the time of the blackout was 1900 MW (850,000
customers, 1.7 million people)
South Australia was importing
600 MWs from Victoria
Initial investigations
indicate loss of 275 kV
lines due to storms
Some speculation about
wind power fluctuations
being a potential cause
Sources www.aemo.com.au/Media-Centre/Media-Statement-3---South-Australia-Update,
jo.nova.s3.amazonaws.com/graph/energy/electricity/electricity_grid_australia_2009_s.gif
3
Value of Electricity and
the Cost of Blackouts
The derived value from electricity (in say $/kWh)
varies widely (e.g., during exams engineering students
value the small kWhs for their calculators very highly)
Costs of blackouts can be quite nonlinear with respect
to extent and duration
Momentary blackouts can have high costs, though this can be
reduced by using an uninterruptible power supply (UPS)
Estimated economic impact of the 8/14/03 blackout
was about $6 billion (50 million people, hours to days)
Annual cost of US blackouts estimated to be $25 to
$200 billion
A source: energy.gov/sites/prod/files/2013/08/f2/Grid%20Resiliency%20Report_FINAL.pdf
4
Newton-Raphson Comments
When close to the solution the error decreases quite
quickly -- method has quadratic convergence
f(x(v)) is known as the mismatch, which we would
like to drive to zero
Stopping criteria is when f(x(v)) <
Results are dependent upon the initial guess. What
if we had guessed x(0) = 0, or x (0) = -1?
A solutions region of attraction (ROA) is the set of
initial guesses that converge to the particular
solution. The ROA is often hard to determine
5
Multi-Variable Newton-Raphson
Next we generalize to the case where x is an n-
dimension vector, and f (x) is an n-dimension function
x1 f1 ( x)
x f 2 ( x)
x 2 f (x)
M M
x f n ( x)
n
Again define the solution x so f ( x ) 0 and
x x x
6
Multi-Variable Case, contd
The Taylor series expansion is written for each fi (x)
f1 (x) f1 ( x)
f1 (x ) f1 ( x) x1 x2 K
x1 x2
f1 (x)
xn higher order terms
xn
M
f n (x) f n (x)
f n (x ) f n (x) x1 x2 K
x1 x2
f n ( x)
xn higher order terms
xn
7
Multi-Variable Case, contd
This can be written more compactly in matrix form
f1 (x) f1 (x)
L
f1 (x)
x x2 xn
1
f1 (x) x1
f (x) f 2 (x) f 2 (x)
L
f 2 (x) x
f (x ) 2 x1 x2 xn 2
M M
f ( x ) M O O M x
n f (x) f n (x) f n (x) n
n L
x1 x2 xn
higher order terms
8
Jacobian Matrix
The n by n matrix of partial derivatives is known
as the Jacobian matrix, J (x)
f1 (x) f1 (x)
L
f1 (x)
x x2 xn
1
f 2 (x) f 2 (x)
L
f 2 (x)
J (x) x1 x2 xn
M O O M
f (x) f n (x) f n ( x)
n L
x1 x2 xn
9
Multi-Variable Example
x1
Solve for x = such that f ( x) 0 where
x 2
f1 (x) 2 x12 x22 8 0
f 2 (x) x12 x22 x1 x2 4 0
First symbolically determine the Jacobian
f1 (x) f1 ( x)
x x2
1
J (x) =
f 2 (x) f 2 (x)
x1 x2
10
Multi-variable Example, contd
4 x1 2 x2
J (x) =
2 x1 x2 x1 2 x2
Then
1
x1 4 x1 2 x2 f 1 (x)
x 2 x x x1 2 x2 f 2 (x)
2 1 2
(0) 1
Arbitrarily guess x
1
1
(1) 1 4 2 5 2.1
x 1 3
1
3 1.3
11
Multi-variable Example, contd
1
(2) 2.1
8.40 2.60
2.51 1.8284
x
5.50 0.50 1.45 1.2122
1.3
Each iteration we check f (x) to see if it is below our
specified tolerance
(2) 0.1556
f (x )
0.0900
If = 0.2 then we would be done. Otherwise we'd
continue iterating.
12
NR Application to Power Flow
We first need to rewrite complex power equations
as equations with real coefficients
*
n n
Si *
Vi I i Vi YikVk Vi * *
YikVk
k 1 k 1
These can be derived by defining
Yik @ Gik jBik
ji
Vi @ Vi e Vi i
ik @ i k
Recall e j cos j sin
13
Real Power Balance Equations
n n
Si Pi jQi Vi Yik*Vk* Vi Vk e jik (Gik jBik )
k 1 k 1
n
Vi Vk (cos ik j sin ik )(Gik jBik )
k 1
Resolving into the real and imaginary parts
n
Pi Vi Vk (Gik cosik Bik sinik ) PGi PDi
k 1
n
Qi Vi Vk (Gik sin ik Bik cosik ) QGi QDi
k 1
14
Newton-Raphson Power Flow
In the Newton-Raphson power flow we use Newton's
method to determine the voltage magnitude and angle
at each bus in the power system.
We need to solve the power balance equations
n
Pi Vi Vk (Gik cos ik Bik sin ik ) PGi PDi
k 1
n
Qi Vi Vk (Gik sin ik Bik cos ik ) QGi QDi
k 1
15
Power Flow Variables
Assume the slack bus is the first bus (with a fixed
voltage angle/magnitude). We then need to determine
the voltage angle/magnitude at the other buses.
2 P2 (x) PG 2 PD 2
M M
n Pn (x) PGn PDn
x f ( x)
V 2 Q (x) QG 2 QD 2
2
M M
V
n Qn (x) QGn QDn
16
N-R Power Flow Solution
The power flow is solved using the same procedure
discussed last time:
Set v 0; make an initial guess of x, x( v )
While f (x( v ) ) Do
x( v 1) x( v ) J (x( v ) ) 1 f (x( v ) )
v v 1
End While
17
Power Flow Jacobian Matrix
The most difficult part of the algorithm is determining
and inverting the n by n Jacobian matrix, J (x)
f1 (x) f1 (x)
L
f1 (x)
x x2 xn
1
f 2 (x) f 2 (x)
L
f 2 (x)
J (x) x1 x2 xn
M O O M
f (x) f n (x) f n (x)
n L
x1 x2 xn
18
Power Flow Jacobian Matrix, contd
Jacobian elements are calculated by differentiating
each function, fi ( x), with respect to each variable.
For example, if fi (x) is the bus i real power equation
n
fi ( x) Vi Vk (Gik cos ik Bik sin ik ) PGi PDi
k 1
n
fi ( x)
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
19
Two Bus Newton-Raphson Example
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 =100MVA.
Line Z = 0.1j
0 MW 200 MW
0 MVR 100 MVR
2 j10 j10
x Ybus
V2 j10 j10
20
Two Bus Example, contd
General power balance equations
n
Pi Vi Vk (Gik cos ik Bik sin ik ) PGi PDi
k 1
n
Qi Vi Vk (Gik sin ik Bik cosik ) QGi QDi
k 1
Bus two power balance equations
V2 V1 (10sin 2 ) 2.0 0
2
V2 V1 ( 10cos 2 ) V2 (10) 1.0 0
21
Two Bus Example, contd
P2 (x) V2 (10sin 2 ) 2.0 0
2
Q2 (x) V2 (10 cos 2 ) V2 (10) 1.0 0
Now calculate the power flow Jacobian
P2 (x) P2 (x)
V 2
2
J ( x)
Q 2 (x) Q 2 ( x)
V 2
2
10 V2 cos 2 10sin 2
10 V2 sin 2 10 cos 2 20 V2
22
Two Bus Example, First Iteration
(0) 0
Set v 0, guess x
1
Calculate
(0)
V2 (10sin 2 ) 2.0 2.0
f(x ) 2
V2 (10 cos 2 ) V2 (10) 1.0 1.0
(0) 10 V2 cos 2 10sin 2 10 0
J (x )
10 V2 sin 2 10cos 2 20 V2 0 10
1
(1) 0 10 0 2.0 0.2
Solve x 1.0
0.9
1
0 10
23
Two Bus Example, Next Iterations
200.0 MW 200 MW
168.3 MVR 100 MVR
25
Two Bus Case Low Voltage Solution
This case actually has two solutions! The second
"low voltage" is found by using a low initial guess.
(0) 0
Set v 0, guess x
0.25
Calculate
(0)
V2 (10sin 2 ) 2.0 2
f(x ) 2
V2 (10 cos 2 ) V2 (10) 1.0 0.875
(0) 10 V2 cos 2 10sin 2 2.5 0
J (x )
10 V2 sin 2 10 cos 2 20 V 2 0 5
26
Low Voltage Solution, cont'd
1
(1) 0 2.5 0
2 0.8
Solve x 0.075
0.25 0 5 0.875
(2) 1.462 (2) 1.42
(3) 0.921
f (x ) x x
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
831.7 MVR 100 MVR
27
Two Bus Region of Convergence