Commit 5bc0345d authored by Erkka Rinne's avatar Erkka Rinne
Browse files

Clear additional sets after scenario reduction

parent 4d60dd33
...@@ -83,13 +83,17 @@ else ...@@ -83,13 +83,17 @@ else
// Update sets // Update sets
ms(mSolve, s)$ms(mSolve, s) = yes$p_msProbability(mSolve, s); 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); 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); 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); 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 // Clear data from removed samples
ts_influx_(gn, s_active(s), ft)$(not p_sProbability(s)) = 0; 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_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); 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