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

SCENRED2 data exchange to the root dir

Writes srin.gdx to and reads srout.gdx from the root dir
parent 6c628576
* SCENRED2 command file
log_file sr.log
input_gdx output/srin.gdx
output_gdx output/srout.gdx
input_gdx srin.gdx
output_gdx srout.gdx
sr_option inc/scenred.opt
visual_init orig_tree
visual_red reduced_tree
......@@ -18,12 +18,12 @@ ScenRedParms('visual_red') = 1;
* Data exchange and execute SCENRED2
execute_unload 'output/srin.gdx', ScenRedParms,
execute_unload 'srin.gdx', ScenRedParms,
s, ss, p_sProbability,
ts_influx_, ts_cf_;
execute 'scenred2 inc/scenred.cmd';
if(errorLevel, abort "Scenario reduction (SCENRED2) failed");
execute_load 'output/srout.gdx', ScenRedReport,
execute_load 'srout.gdx', ScenRedReport,
* Update probabilities
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