Commit 3791becf authored by David's avatar David
Browse files

Merge branch 'output-filename' into 'dev'

integrate output filename to backbone.gms

See merge request !9
parents 7d01d9f3 62705e22
......@@ -59,7 +59,10 @@ GAMS command line arguments
Directory to write output to. Defaults to './output'.
Filename of the results file. Defaults to 'results.gdx'
[1] N. Helist et al., Backbone---An Adaptable Energy Systems Modelling Framework,
......@@ -162,7 +165,9 @@ $include 'inc/4c_outputQuickFile.gms'
* Post-process results
$if exist '%input_dir%/4d_postProcess.gms' $include '%input_dir%/4d_postProcess.gms'
execute_unload '%output_dir%/results.gdx',
$if not set output_file $setglobal output_file 'results.gdx'
execute_unload '%output_dir%/%output_file%',
$$include 'defOutput/'
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