Commit b082c683 authored by Erkka Rinne's avatar Erkka Rinne
Browse files

Clear additional sets after scenario reduction

parent e14fee65
......@@ -19,6 +19,7 @@ All notable changes to this project will be documented in this file.
- Scenario reduction is done based on total available energy
- Maintain original scenario labels after reduction
- Reserve requirements are now based on groups (previously node based)
- Clear time series data from droppped samples after scenario reduction
### Fixed
- Removed hard-coded `elec grids` from *setVariableLimits* and *rampSched files*
......@@ -91,13 +91,17 @@ else
// Update sets
ms(mSolve, s)$ms(mSolve, s) = yes$p_msProbability(mSolve, s);
ms_central(mSolve, s)$ms_central(mSolve, s) = ms(mSolve, s);
msf(mSolve, s, f)$msf(mSolve, s, f) = ms(mSolve, s);
msft(mSolve, s, f, t)$msft(mSolve, s, f, t) = msf(mSolve, s, f);
sft(s, f, t)$sft(s, f, t) = yes$p_msProbability(mSolve, s);
mst_start(mSolve, s, t)$mst_start(mSolve, s, t) = ms(mSolve, s);
mst_end(mSolve, s, t)$mst_end(mSolve, s, t) = ms(mSolve, s);
// Clear data from removed samples
ts_influx_(gn, s_active(s), ft)$(not p_sProbability(s)) = 0;
ts_cf_(flowNode, s_active(s), ft)$(not p_sProbability(s)) = 0;
ts_node_(gn, param_gnBoundaryTypes, s_active(s), ft)$(not p_sProbability(s)) = 0;
s_active(s)$s_active(s) = yes$p_sProbability(s);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment