Commit 575cc61e authored by Erkka Rinne's avatar Erkka Rinne
Browse files

Suppress SCENRED2 output

parent fee76e7a
......@@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file.
## [Unreleased]
### Changed
- Suppress ouput from SCENRED2
## [1.0.3] - 2019-02-05
### Fixed
......
......@@ -17,11 +17,17 @@ ScenRedParms('visual_init') = 1;
ScenRedParms('visual_red') = 1;
$endif
* Data exchange and execute SCENRED2
* Export data
execute_unload 'srin.gdx', ScenRedParms,
s, ss, p_sProbability,
ts_influx_, ts_cf_;
execute 'scenred2 inc/scenred.cmd';
* Choose right null device
$ifthen %system.filesys% == 'MSNT' $set nuldev NUL
$else $set nuldev /dev/null
$endif
* Execute SCENRED2 and load data
$log Executing SCENRED2
execute 'scenred2 inc/scenred.cmd > %nuldev%';
if(errorLevel, abort "Scenario reduction (SCENRED2) failed");
execute_load 'srout.gdx', ScenRedReport,
p_sProbability=red_prob;
......
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