A fair comparison of two stochastic
- ptimization algorithms
Benchmarking MPC vs SDDP
April 10, 2017
1/33
A fair comparison of two stochastic optimization algorithms - - PowerPoint PPT Presentation
A fair comparison of two stochastic optimization algorithms Benchmarking MPC vs SDDP April 10, 2017 1/33 Why using stochastic optimization? We aim to tackle uncertainties in Energy Management System. Problem: we do not know in advance the
1/33
2/33
3/33
3/33
3/33
4/33
5/33
Fn Fb Dth Del
ELECTRICAL DEMAND NETWORK BATTERY THERMAL DEMAND TANK
SOLAR PANEL
DOMESTIC HOT WATER
Fh Fpv Ft
6/33
7/33
Fn Fb Dth Del
ELECTRICAL DEMAND NETWORK BATTERY THERMAL DEMAND TANK SOLAR PANEL DOMESTIC HOT WATERFh Fpv Ft Ci Cw Ri Rs Rm Re Rv Rf
Te Ti Tw
t, θw t
t, inner temperature (◦C)
t , wall’s temperature (◦C)
B,t, F− B,t, FA,t, FH,t
B,t, energy stored in the battery
B,t, energy taken from the battery
t , DDHW t
t
t , electrical demand (kW)
t
t, external radiations (kW)
8/33
B,t − 1
B,t
t
t+1 =θw t + ∆T
t − θw t
t − θw t
t
t
t+1 =θi t + ∆T
t − θi t
t − θi t
t − θi t
t
9/33
10/33
0.08 0.09 0.10 0.11 0.12 0.13 0.14 0.15 0.16 Electricity price (euros) 4 8 12 16 20 24 Hours 15 16 17 18 19 20 21 Temperature setpoint [°C]
t = 1.5 euros/kWh
t = 16◦C or 20◦C 11/33
t max{0, −FNE,t+1}
t max{0, FNE,t+1}
Network
t+1
B,t − F− B,t
t − ¯
t deviation from setpoint
10 5 5 10 2 4 6 8 10
12/33
t max{0, −FNE,t+1}
t max{0, FNE,t+1}
t − ¯
t)
13/33
X,U
T−1
final cost
Dynamic
Non-anticipativity 14/33
X,U
T−1
final cost
Dynamic
Non-anticipativity
14/33
15/33
4 8 12 16 20 24 Time (h) 1 2 3 4 5 6 Load [kW]
16/33
At the beginning of time period [τ, τ + 1], do MPC
min X,U τ+H
Lt (Xt , Ut , W t+1) + K(Xτ+H ) s.t. X· = (Xτ , . . . , Xτ+H ) U· = (Uτ , . . . , Uτ+H−1) Xt+1 = f (Xt , Ut , W t+1) X♭ ≤ Xt ≤ X♯ U♭ ≤ Ut ≤ U♯
τ , . . . , U# τ+H)
τ to
SDDP
min uτ EWτ+1
+ Vτ+1
τ
τ to assessor
17/33
Ut
5 5 10 x 20 40 60 80 100 y
18/33
Ut
10 5 5 10 x 20 40 60 80 100 y
1≤k≤K
t x + βk t
18/33
19/33
20/33
20/33
20/33
21/33
20 40 60 80 200 400 600 800 1000 1200 1400
22/33
4 2 2 4 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 Distribution
Quantization of a gaussian
n
23/33
24/33
25/33
uτ
τ+1 , xτ+1
τ+1
25/33
26/33
uτ n
τ+1) + θi
τ+1 = fτ(xτ, uτ, w i τ+1)
τ+1 , xi τ+1
τ+1
26/33
20 40 60 80 200 400 600 800 1000 1200 1400
20 40 60 80 200 400 600 800 1000 1200 1400
20 40 60 80 200 400 600 800 1000 1200 1400
27/33
20 40 60 80 100 200 400 600 800 1000 1200 1400
20 40 60 80 100 200 400 600 800 1000 1200 1400
20 40 60 80 100 200 400 600 800 1000 1200 1400
28/33
29/33
0.05 0.1 0.2 0.3 0.4
T
1.00 1.05 1.10 1.15 1.20 1.25 1.30
Cost
MPC DH SDDP DH MPC HD SDDP HD HD DH σT SDDP MPC SDDP MPC 5 % 0.976 0.987 0.984 1.006 10 % 0.979 0.999 0.984 1.038 20 % 0.981 0.994 1.034 1.104 30 % 0.984 1.027 1.077 1.187 40 % 0.983 1.070 1.202 1.296
30/33
31/33
t =
t
t
t can be modelled with an AR process. 32/33
t =
t
t
t can be modelled with an AR process.
32/33
33/33