New Formulations of the Optimal Power Flow Problem

Download Report

Transcript New Formulations of the Optimal Power Flow Problem

New Formulations of the Optimal Power
Flow Problem
Prof. Daniel Kirschen
The University of Manchester
© 2010 D. Kirschen and The University of Manchester
1
© 2010 D. Kirschen and The University of Manchester
2
Outline
• A bit of background
• The power flow problem
• The optimal power flow problem (OPF)
• The security-constrained OPF (SCOPF)
• The worst-case problem
© 2010 D. Kirschen and The University of Manchester
3
What is a power system?
Generators
Power
Transmission Network
Loads
© 2010 D. Kirschen and The University of Manchester
4
What is running a power system about?
Greed
Minimum cost
Maximum profit
© 2010 D. Kirschen and The University of Manchester
Photo credit: FreeDigitalPhotos.net
5
What is running a power system about?
Fear
Avoid outages and blackouts
© 2010 D. Kirschen and The University of Manchester
Photo credit: FreeDigitalPhotos.net
6
What is running a power system about?
Green
Accommodate renewables
© 2010 D. Kirschen and The University of Manchester
Photo credit: FreeDigitalPhotos.net
7
Balancing conflicting aspirations
Environmental impact
Cost
© 2010 D. Kirschen and The University of Manchester
Reliability
8
The Power Flow Problem
© 2010 D. Kirschen and The University of Manchester
9
State variables
• Voltage at every node (a.k.a. “bus”) of the
network
• Because we are dealing with ac, voltages are
represented by phasors, i.e. complex numbers
in polar representation:
 Voltage magnitude at each bus: Vk
 Voltage angle at each bus: k
© 2010 D. Kirschen and The University of Manchester
10
Other variables
• Active and reactive power consumed at each
bus: PkL ,QkL
 a.k.a. the load at each bus
• Active and reactive power produced by
renewable generators: PkW ,QkW
• Assumed known in deterministic problems
• In practice, they are stochastic variables
© 2010 D. Kirschen and The University of Manchester
11
What is reactive power?
Reactive power
Active power
© 2010 D. Kirschen and The University of Manchester
Photo credit: FreeDigitalPhotos.net
12
Injections
Bus k
Pk ,Qk
PkG ,Q kG
PkL ,Q kL
PkW ,QkW
G
W
Pk  PkG  PkW  PkL
Qk  QkG  QkW  QkL
There is usually only one P and Q component at each bus
© 2010 D. Kirschen and The University of Manchester
13
Injections
Vk  k
Bus k
Pk ,Qk
Two of these four variables are specified at each bus:
• Load bus: Pk ,Qk
• Generator bus: Pk ,Vk
• Reference bus: Vk , k
© 2010 D. Kirschen and The University of Manchester
14
Line flows
To bus i
Pkj ,Qkj
Pki ,Q ki
Vk  k
To bus j
Bus k
Pk ,Qk
The line flows depend on the bus voltage magnitude
and angle as well as the network parameters Gki , Bki
(real and imaginary part of the network admittance matrix)
© 2010 D. Kirschen and The University of Manchester
15
Power flow equations
To bus i
Pk j ,Qk j
Pki ,Q ki
Vk  k
To bus j
Bus k
Pk ,Qk
Write active and reactive power balance at each bus:
N
Pk   Vk Vi [Gki cos  ki  Bki sin  ki ]
i1
N
Qk   Vk Vi [Gki sin  ki  Bki cos ki ]
k  1,L N
i1
with: ki  k  i, N : number of nodes in the network
© 2010 D. Kirschen and The University of Manchester
16
The power flow problem
Given the injections and the generator voltages,
Solve the power flow equations to find the voltage
magnitude and angle at each bus and hence the
flow in each branch
N
Pk   Vk Vi [Gki cos  ki  Bki sin  ki ]
i1
N
Qk   Vk Vi [Gki sin  ki  Bki cos ki ]
k  1,L N
i1
Typical values of N:
GB transmission network: N~1,500
Continental European network (UCTE): N~13,000
However, the equations are highly sparse!
© 2010 D. Kirschen and The University of Manchester
17
Applications of the power flow problem
• Check the state of the network
 for an actual or postulated set of injections
 for an actual or postulated network configuration
• Are all the line flows within limits?
• Are all the voltage magnitudes within limits?
© 2010 D. Kirschen and The University of Manchester
18
Linear approximation
N
Pk   Vk Vi [Gki cos  ki  Bki sin  ki ]
i1
N
Qk   Vk Vi [Gki sin  ki  Bki cos ki ]
N
Pk   Bki ki
i1
i1
• Ignores reactive power
• Assumes that all voltage magnitudes are nominal
• Useful when concerned with line flows only
© 2010 D. Kirschen and The University of Manchester
19
The Optimal Power Flow Problem
(OPF)
© 2010 D. Kirschen and The University of Manchester
20
Control variables
• Control variables which have a cost:
 Active power production of thermal generating units:Pi G
• Control variables that do not have a cost:
 Magnitude of voltage at the generating units: Vi G
 Tap ratio of the transformers: t ij
© 2010 D. Kirschen and The University of Manchester
21
Possible objective functions
• Minimise the cost of producing power with
conventional generating units:
g
min  Ci ( Pi G )
i1
• Minimise deviations of the control variables from
a given operating point (e.g. the outcome of a
market):
g

min  ci Pi G  ci Pi G

i1
© 2010 D. Kirschen and The University of Manchester
22
Equality constraints
• Power balance at each node bus, i.e. power flow
equations
N
Pk   Vk Vi [Gki cos  ki  Bki sin  ki ]
i1
N
Qk   Vk Vi [Gki sin  ki  Bki cos ki ]
k  1,L N
i1
© 2010 D. Kirschen and The University of Manchester
23
Inequality constraints
• Upper limit on the power flowing though every
branch of the network
• Upper and lower limit on the voltage at every
node of the network
• Upper and lower limits on the control variables
 Active and reactive power output of the generators
 Voltage settings of the generators
 Position of the transformer taps and other control
devices
© 2010 D. Kirschen and The University of Manchester
24
Formulation of the OPF problem

min f0 x 0 ,u0
u0

 
h x ,u  0
g x 0 ,u0  0
0
0
x 0: vector of dependent (or state) variables
u0 : vector of independent (or control) variables
Nothing extraordinary, except that we are dealing
with a fairly large (but sparse) non-linear problem.
© 2010 D. Kirschen and The University of Manchester
25
The Security Constrained
Optimal Power Flow Problem
(SCOPF)
© 2010 D. Kirschen and The University of Manchester
26
Bad things happen…
© 2010 D. Kirschen and The University of Manchester
Photo credit: FreeDigitalPhotos.net
27
Sudden changes in the system
• A line is disconnected because of an insulation
failure or a lightning strike
• A generator is disconnected because of a
mechanical problem
• A transformer blows up
• The system must keep going despite such events
• “N-1” security criterion
© 2010 D. Kirschen and The University of Manchester
28
Security-constrained OPF
• How should the control variables be set to
minimise the cost of running the system while
ensuring that the operating constraints are
satisfied in both the normal and all the
contingency states?
© 2010 D. Kirschen and The University of Manchester
29
Formulation of the SCOPF problem
min
f0 x 0 ,u0 
s.t.
g k (x k ,u k )  0
k  0,..., N c
h k (x k ,u k )  0
k  0,..., N c
u k  u0  u max
k
k  1,..., N c
uk
k  0: normal conditions
k  1,..., Nc : contingency conditions
u max
:
k
vector of maximum allowed adjustments after
contingency k has occured
© 2010 D. Kirschen and The University of Manchester
30
Preventive or corrective SCOPF
min
f0 x 0 ,u0 
s.t.
g k (x k ,u k )  0
k  0,..., N c
h k (x k ,u k )  0
k  0,..., N c
u k  u0  u max
k
k  1,..., N c
uk
Preventive SCOPF: no corrective actions are considered
u max
 0  u k  u0 k  1,K N c
k
Corrective SCOPF: some corrective actions are allowed
Êk  1,K N c ÊÊu max
0
k
© 2010 D. Kirschen and The University of Manchester
31
Size of the SCOPF problem
• SCOPF is (Nc+1) times larger than the OPF
• Pan-European transmission system model contains
about 13,000 nodes, 20,000 branches and 2,000
generators
• Based on N-1 criterion, we should consider the outage
of each branch and each generator as a contingency
• However:
 Not all contingencies are critical (but which ones?)
 Most contingencies affect only a part of the network (but what
part of the network do we need to consider?)
© 2010 D. Kirschen and The University of Manchester
32
A few additional complications…
• Some of the control variables are discrete:
 Transformer and phase shifter taps
 Capacitor and reactor banks
 Starting up of generating units
• There is only time for a limited number of
corrective actions after a contingency
© 2010 D. Kirschen and The University of Manchester
33
The Worst-Case Problems
© 2010 D. Kirschen and The University of Manchester
34
Good things happen…
© 2010 D. Kirschen and The University of Manchester
Photo credit: FreeDigitalPhotos.net
35
… but there is no free lunch!
• Wind generation and solar generation can only
be predicted with limited accuracy
• When planning the operation of the system a
day ahead, some of the injections are thus
stochastic variables
• Power system operators do not like probabilistic
approaches
© 2010 D. Kirschen and The University of Manchester
36
Formulation of the OPF with uncertainty
market-based generation
min
s.t.
6 4 7 4 8
6 additional
4 4 7generation
4 48
nd  T
c T p0  p0M  b*T
c

p
c
0
0
0




g 0 (x 0 ,u0 ,p0 ,b0 ,p0nd ,s)  0
h0 (x 0 ,u0 ,p0 ,b0 ,p0nd ,s)  0
u0  u0init  u0max
Deviations in cost-free controls
p0  p0M  p0max
Deviations in market generation
nd
nd
p min
b0T  p0nd b0T  p max
b0T
Deviations in extra generation
b0 0,1
Decisions about extra generation
s min  s  s max
Vector of uncertainties
© 2010 D. Kirschen and The University of Manchester
37
Worst-case OPF bi-level formulation



nd  T
max c T p0  p0M  bT
c

p
c
0
0
0
s
s.t.

s min  s  s max
p ,u ,b ,p  

0

0

0
nd 
0
arg



min c T p0  p0M  b0T c0  p0nd c T
s.t.

g 0 (x 0 ,u0 ,p0 ,b0 ,p0nd ,s)  0
h0 (x 0 ,u0 ,p0 ,b0 ,p0nd ,s)  0
u0  u0init  u0max
p0  p0M  p0max
nd
nd
p min
b0T  p0nd b0T  p max
b0T
b0 0,1
© 2010 D. Kirschen and The University of Manchester
38
Worst-case SCOPF bi-level formulation



nd  T
max c T p0  p0M  bT
c

p
c
0
0
0
s
s.t.

s min  s  s max
p ,p ,u ,u ,b ,p  

0

k

0

k

0
nd 
0
arg



min c T p0  p0M  b0T c0  p0nd c T
s.t.

g 0 (x 0 ,u0 ,p0 ,b0 ,p0nd ,s)  0
h0 (x 0 ,u0 ,p0 ,b0 ,p0nd ,s)  0
g k (x k ,u k ,p k ,b0 ,p0nd ,s)  0
h k (x k ,u k ,p k ,b0 ,p0nd ,s)  0
p k  p0  p max
k
u k  u0  u max
k
nd
nd
p min
b0T  p0nd b0T  p max
b0T
b0 0,1
© 2010 D. Kirschen and The University of Manchester
39