Professional Documents
Culture Documents
2023-06-23 Apresentacao-AndreDiniz OptFest2023 VersaoFinal
2023-06-23 Apresentacao-AndreDiniz OptFest2023 VersaoFinal
Water Values, Optimal Costs and Thermal generation for long term
power generation planning under more restrictive constraints and a
more detailed representation of the hydro plants
André Luiz Diniz, Cristiane B. Cruz, Lílian C. Brandão
Mathematical Optimization meets Energy Industry – June 23th, 2023 – IMPA
1 General Context
THERMAL (13.9%)
+4,000km
WIND/SOLAR (15.4%)
source: www.ons.org.br Mathematical Optimization meets Energy Industry – June 23th, 2023
Power generation planning Models
Long term: optimal policy (FCFs) Mid term: Policy refinement day ahead dispatch/pricing
Stochastic Stochastic
Optimization Hydrothermal unit
CVaR Risk Averse Optimization (DDP)
(SDDP) commitment,
Mechanism
(MILP)
Rolling Horizon m1 m2
...
Scheme w1 w2 w3 w4 w5 w6 w7 w8 w9
Cost Information
TRANSMISSION
➢ Interconnection limits
among areas
➢ MT/LT: Monthly/weekly
➢ electrical losses in LOAD profiles in several load
major interconnections blocks, per system area
➢ line flow limits constraints ➢ ST: hourly load profiles
(DC power flow)
in each bus
.. 1
.. 1
. K
.. 1 OUTPUT: Nonlinear /
Optimal Operation Policy
. K
. K ..
. K 1 Nonconvex terms
t=1 t=2 t=3 ... t=T
long-run FCF
https://www.cepel.br/produtos/documentacao-tecnica/
Mathematical Optimization meets Energy Industry – June 23th, 2023
More restrictive constraints
Physical Environmental Socioeconomic /
Constraints Constraints Political Constraints
Min. Target
Hydro Cascades 0
M J J A S O N
𝑮𝑯(𝑽, 𝑸, 𝑺)
hup Minimum/maximum Minimum Storage
𝑽
𝑺 outflow constraints (security of supply)
hdw
𝑄
𝑮𝑯
Hydro Production
Maximum Storage
(Flood Control) Multiple uses of water
Evaporation in Dams
Running DECOMP model with the SAME NEWAVE Future Cost function
but with or without hydro constraints
long-run FCF
System Storage Energy for the same constraints and
modeling for the DECOMP model but using
different NEWAVE Future Cost Functions
Source: CPAMP Technical Report
Mathematical Optimization meets Energy Industry – June 23th, 2023
Motivating Results for this (ongoing) research
Hydro
Generation
Ongoing Work
Cost Information for Decision Making
THERMAL PLANTS Cost
$ (R$)
➢ Explicit representation of thermal generation 𝑀𝑊ℎ
costs, as well as startup/shutdown costs generation (MWh)
HYDRO PLANTS
➢ Combination of water values and plant efficiency yields hydro generation costs
Storage V Q
Decision
maker´s
dilemma
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($)
Storages in the
Reservoirs (𝑉)
Vmax
Future
cost ($) high Water values are the
derivatives of the FCF
average low
Storages in the
Reservoirs (𝑉)
Vmax
➢ No Hydro Constraints
𝑡=1 𝑡=2
Supertoy Problem
Future Cost
Function
1st stage
Storage at the
end of the 1st stage
➢ No Hydro Constraints
Supertoy Problem
Future Cost
Function
1st stage
Storage at the
end of the 1st stage
➢ No Hydro Constraints
➢ with MINIMUM outflow constraints – 2nd stage (𝒈𝒉 ≥ 𝟐𝟎𝟎) 𝑡=1 𝑡=2
Supertoy Problem
1st stage
Storage at the
end of the 1st stage
➢ No Hydro Constraints
➢ with MINIMUM outflow constraints – 2nd stage (𝒈𝒉 ≥ 𝟐𝟎𝟎) 𝑡=1 𝑡=2
Supertoy Problem
Water value
Future Cost
Function
1st stage
Storage at the
end of the 1st stage
➢ No Hydro Constraints
𝑡=1 𝑡=2
Supertoy Problem
Future Cost
Function
1st stage
Storage at the
end of the 1st stage
➢ No Hydro Constraints
➢ with MAXIMUM Outflow Constraints – 2nd Stage (𝒈𝒉 ≤ 𝟑𝟓𝟎) 𝑡=1 𝑡=2
Supertoy Problem
Future Cost
Function
1st stage
Storage at the
end of the 1st stage
➢ No Hydro Constraints
➢ with MAXIMUM Outflow Constraints – 2nd Stage (𝒈𝒉 ≤ 𝟑𝟓𝟎) 𝑡=1 𝑡=2
Supertoy Problem
Future Cost
Function
1st stage
cost (thermal Generation)
Storage at the
end of the 1st stage
➢ No Hydro Constraints
➢ with MAXIMUM Outflow Constraints – 2nd Stage (𝒈𝒉 ≤ 𝟑𝟓𝟎) 𝑡=1 𝑡=2
Supertoy Problem
Future Cost
Function
Storage at the
end of the 1st stage
➢ No Hydro Constraints
Future Cost
Function
1st stage
Storage at the
end of the 1st stage
➢ No Hydro Constraints
Water value
Future Cost
Function
water values
1st stage
Storage at the
end of the 1st stage
➢ No Hydro Constraints
1st stage
Storage at the
end of the 1st stage
Increase in Minimum
⇒ Less room for
thermal generation ⇒ Lower thermal
generation
Hydro generation
Who Wins???
𝒈𝒉𝒎𝒂𝒙 = 𝟐𝟎𝟎
𝒈𝒉𝒎𝒊𝒏 = 𝟏𝟎𝟎
𝒈𝒉𝒎𝒂𝒙 = 𝟐𝟎𝟎
𝒈𝒉𝒎𝒊𝒏 = 𝟏𝟎𝟎
𝒈𝒉𝒎𝒂𝒙 = 𝟑𝟎𝟎
𝒈𝒉𝒎𝒊𝒏 = 𝟐𝟓𝟎
𝒈𝒉𝒎𝒂𝒙 = 𝟑𝟎𝟎
𝒈𝒉𝒎𝒊𝒏 = 𝟐𝟓𝟎
𝒈𝒉𝒎𝒂𝒙 = 𝟑𝟎𝟎
𝒈𝒉𝒎𝒊𝒏 = 𝟐𝟓𝟎
𝑄𝑚𝑖𝑛
𝑉 𝑡−1 ≥ 𝑄𝑚𝑖𝑛 − 𝐼 𝑡
𝑄𝑚𝑖𝑛
𝑉 𝑡−1 ≥ 𝑄𝑚𝑖𝑛 − 𝐼 𝑡
𝑄𝑚𝑖𝑛
𝑉 𝑡−1 ≥ 𝑄𝑚𝑖𝑛 − 𝐼 𝑡
𝑄𝑚𝑖𝑛
𝑉 𝑡−1 ≥ 𝑄𝑚𝑖𝑛 − 𝐼 𝑡
𝑄𝑚𝑖𝑛
𝑉 𝑡−1 ≥ 𝑄𝑚𝑖𝑛 − 𝐼 𝑡
𝑉 𝑡−1 ≥ (𝑄𝑚𝑖𝑛 − 𝐼 𝑡 ) +
(𝑄𝑡 +𝑄𝑡+1 ) − (𝐼 𝑡+1 + 𝐼 𝑡+2 )
𝑄𝑚𝑖𝑛
𝑉 𝑡−1 ≥ (𝑄𝑚𝑖𝑛 − 𝐼 𝑡 ) +
(𝑄𝑡 +𝑄𝑡+1 ) − (𝐼 𝑡+1 + 𝐼 𝑡+2 )
𝑄𝑚𝑖𝑛
IF all constraints can be met, they enforce HIGHER STORAGES in the reservoirs in previous time steps (as compared to
the case without minimum constraints), leading to higher thermal generation (as would be expected). However…
𝑉 𝑡−1 ≥ (𝑄𝑚𝑖𝑛 − 𝐼 𝑡 ) +
(𝑄𝑡 +𝑄𝑡+1 ) − (𝐼 𝑡+1 + 𝐼 𝑡+2 )
𝑄𝑚𝑖𝑛
IF all constraints can be met, they enforce HIGHER STORAGES in the reservoirs in previous time steps (as compared to
the case without minimum constraints), leading to higher thermal generation (as would be expected). However…
HOW CAN THIS BE POSSIBLE IF PREVIOUS TIME STEPS ALSO HAVE THEIR OWN MINIMUM OUTFLOW CONSTRAINTS??
Mathematical Optimization meets Energy Industry – June 23th, 2023
Some Thoughts...
➢ Variation of efficiency of the hydro plants with the water head also
impacts operation
http://www.cepel.br/produtos/otimizacao-
energetica/documentacao-tecnica/
https://see.cepel.br/manual/libs/