A Julia/JuMP based Integrated Energy Resource Planning Model - - PowerPoint PPT Presentation
A Julia/JuMP based Integrated Energy Resource Planning Model - - PowerPoint PPT Presentation
A Julia/JuMP based Integrated Energy Resource Planning Model [alessandro@psr-inc.com] March - 2019 Quick Introduction Graduated in Electrical and Control Engineering at PUC-Rio Currently doing Masters in Optimization at PUC-Rio
Quick Introduction
► Graduated in Electrical and Control Engineering at PUC-Rio ► Currently doing Masters in Optimization at PUC-Rio ► Optimization Engineer and Developer at PSR since 2017
Motivation
► Hourly resolution ► Unit commitment constraints ► Ramping constraints ► Exogenous calculation of system requirement reserve due to VRE intermittency and
unpredictability
Renewable generation - Investment Cost
Renewable generation - Capacity Factor (efficiency)
Global investments in renewable energy - Bloomberg
German system - Challenges
Consequences?
► High variability and uncertainty in the offer ► Large generation ramps ► Excess/Lack of generation ► Need for more system reserve ► Need for more thermal flexibility ► Thermal unit commitment influences expansion planning decision!!
Challenges
► An expansion planning model with an hourly time step ► Unit commitment in expansion planning ► Co-optimization of expansion planning and system reserve requirement (due to
renewable penetration) modeled as an exogenous variable
► Solving a MIP with all of that in a reasonable amount of time!
The Model - OptGen
Formulation – Objective Function
𝑛𝑗𝑜
𝑦,,𝑟,𝑤 𝑢 𝜗 𝕌
𝑗 𝜗 𝐽
𝐽𝑗𝑦𝑗,𝑢 +
ℎ 𝜗 𝐼
𝑘 ∈ 𝐻
𝑑
𝑘𝑘,ℎ
Formulation – Constraints
𝑤𝑗,𝒖
𝒕
≤ ҧ 𝑤𝑗
𝜐=1 𝑢
𝑦𝑗,𝜐 𝑟𝑗,ℎ
𝒕
≤ ത 𝑟𝑗
𝜐=1 𝑢
𝑦𝑗,𝜐 𝑤𝑗,𝑢+1
𝒕
= 𝑤𝑗,𝑢
𝒕 + 𝑏𝑗,𝑢 𝒕 − 𝑟𝑗,𝑢 𝒕 − 𝑥𝑗,𝑢 𝒕 +
𝑘 𝜗 𝑁 𝑗
𝑟𝑘,𝑢
𝒕 + 𝑥 𝑘,𝑢 𝒕 Hydro maximum storage Hydro maximum turbining Water balance constraint
Formulation – Constraints
𝑘𝑧𝑘,ℎ
𝑡 ≤ 𝑘,ℎ 𝒕
≤ ҧ 𝑘𝑧𝑘,ℎ
𝑡
𝑧𝑘,ℎ
𝒕
≤
𝑘=1 𝑢
𝑦𝑘,𝜐 𝑚,ℎ
𝒕
≤ 𝐻𝑚
𝑡 𝜐=1 𝑢
𝑦𝑚,𝜐
Thermal min/max generation Wind and Solar max generation Commitment constrained by investment decision
Formulation – Constraints
𝑔
𝑙,ℎ +𝑡 ≤ ത
𝐺
𝑙
𝑔
𝑙,ℎ −𝑡 ≤ ത
𝐺
𝑙
𝑔
𝑙,ℎ +𝑡 − 𝑔 𝑙,ℎ −𝑡 = 1
𝐵𝑙 ΔΘ𝑙,ℎ
Max capacity Second Kirchhoff Law
Formulation – Constraints
𝑘 𝜗 𝐾
𝑘,ℎ +
𝑗 𝜗 𝐼
𝜍𝑗𝑟𝑗,ℎ +
𝑗 𝜗 𝑆
𝑚,ℎ +
𝑐 𝜗 𝐶
𝐸𝑐,ℎ − 𝐷𝑐,ℎ
𝑙 𝜗 𝐶𝑢𝑝
𝑔
𝑙,ℎ +𝑡 − 𝑔 𝑙,ℎ −𝑡
−
𝑙 𝜗 𝐶𝑔𝑠𝑝𝑛
𝑔
𝑙,ℎ +𝑡 − 𝑔 𝑙,ℎ −𝑡 + 𝜗ℎ= 𝑒ℎ
Thermal Generation Hydro Generation Renewable Generation First Kirchhoff Law Deficit and Load Battery Net Generation
Formulation – Constraints
𝑘,ℎ
𝑡
− 𝑘,ℎ−1
𝑡
≤ 𝑆𝑉𝑄 𝑘,ℎ−1
𝑡
− 𝑘,ℎ
𝑡
≤ 𝑆𝐸𝑂 𝑡𝑢𝑘,ℎ
𝑡 ≥ 𝑧𝑘,ℎ 𝑡 − 𝑧𝑘,ℎ−1 𝑡
Ramp Start-up
Formulation – Constraints
𝑢 𝜗 𝕌
𝑦𝑗,𝑢 ≤ 1
𝑢 𝜗 𝕌
𝑦𝑘,𝑢 ≤ 1
𝑢 𝜗 𝕌
𝑦𝑚,𝑢 ≤ 1
Investment Decision Constraint
Formulation – Constraints
𝑘∈𝑏
𝑠
𝑘,ℎ 𝑡 + 𝑗∈𝑏
𝑠
𝑗,ℎ 𝑡 + 𝑐∈𝑏
𝑠
𝑐,ℎ 𝑡
≥ 𝑆𝑏,ℎ
𝑉𝑄
𝑘,ℎ
𝑡
+ 𝑠
𝑘,ℎ 𝑡 ≤ ഥ
𝐻
𝑘𝑧𝑘,ℎ 𝑡
𝑗,ℎ
𝑡 + 𝑠 𝑗,ℎ 𝑡 ≤ 𝐼𝑗𝑦𝑗,𝑢
Reserve Balance Thermal reserve Hydro reserve
𝑐,ℎ
𝑡
+ 𝑠
𝑐,ℎ 𝑡
≤ 𝐶𝑐𝑦𝑐,𝑢
Battery reserve
Formulation – Constraints
Ƹ 𝜉𝑚,ℎ = 𝐹[𝑚,𝑛,ℎ
𝑡
] 𝜀𝑏,ℎ
𝑡
=
𝑚∈𝐵𝑚
𝑏
𝑚,ℎ
𝑡 − Ƹ
𝜉𝑚,ℎ 𝑦𝑚,𝑢 𝛦𝑏,ℎ
𝑡
≥ 𝜀𝑏,ℎ
𝑡
−𝜀𝑏,ℎ−1
𝑡
𝑆𝑏,ℎ
𝑉𝑄 ≥ (1 − 𝜇)𝐹[𝛦𝑏,ℎ 𝑡 ] + 𝜇𝐷𝑊𝑏𝑆𝛽 𝛦𝑏,ℎ 𝑡
Forecast Generation Forecast error Hourly Variation in Forecast error Dynamic Probabilistic Reserve Criteria
Assumptions and Approximations – Rolling Horizon
Assumptions and Approximations – Daily Aggregation
Basic Structure
International Studies – Chilean Energy System
http://generadoras.cl/prensa/mayor-aporte-solar-y-eolico-reducira-al-25-la-generacion-termica-al-2030-en-chile http://generadoras.cl/prensa/generadoras-participo-en-seminario-internacional-de-energia-renovable-variable-erv
International Studies – Brazilian Energy System
https://www.giz.de/en/worldwide/12565.html http://www.epe.gov.br/en/press-room/news/-cem-days-integration-of- renewables-in-the-electric-sector-paths-and-challenges-to-energy-planning