Conversation
|
To document here: from mathematical perspective the fix is strictly interpretable. When OPEX=0, CVaR correctly evaluates to 0, meaning there's no operational cost risk to hedge against. The optimization then reduces to just minimizing CAPEX (the deterministic investment costs).
PyPSA/pypsa/optimization/optimize.py Lines 345 to 347 in 693aefd And e.g. a case of load shedding modelled via a "virtual generator" brings CVaR optimization back to standard formulation, i.e. model would evaluate and hedge by trading off upfront CAPEX for load shedding costs. |
Co-authored-by: Lukas Trippe <[email protected]>
|
pypsa-eur CI fails because of unrelated test environment issue |
Grrrg |
Closes #1456 and adds related tests.
Checklist
docs.docs/release-notes.mdof the upcoming release is included.