Commit 8e0e9f5f authored by Juha Kiviluoma's avatar Juha Kiviluoma
Browse files

Making inputData.gdx optional (one can use just changes.inc or unit2.gdx...)

parent 9733d67f
......@@ -19,62 +19,67 @@ $offtext
* --- Load Input Data ---------------------------------------------------------
* =============================================================================
$gdxin '%input_dir%/inputData.gdx'
$loaddcm grid
$loaddc node
$loaddc flow
$loaddc unittype
$loaddc unit
$loaddc unitUnittype
$loaddc unit_fail
$loaddc fuel
$loaddc unitUnitEffLevel
$loaddc uFuel
$loaddc effLevelGroupUnit
$loaddc p_gn
$loaddc p_gnn
$loaddc p_gnu
$loaddc p_gnuBoundaryProperties
$loaddc p_unit
$loaddc ts_unit
$loaddc restype
$loaddc restypeDirection
$loaddc restypeReleasedForRealization
$loaddc p_nReserves
$loaddc p_nuReserves
$loaddc p_nnReserves
$loaddc p_nuRes2Res
$loaddc ts_reserveDemand
$loaddc p_gnBoundaryPropertiesForStates
$loaddc p_gnPolicy
$loaddc p_uFuel
$loaddc flowUnit
$loaddc gngnu_fixedOutputRatio
$loaddc gngnu_constrainedOutputRatio
$loaddc emission
$loaddc p_fuelEmission
$loaddc ts_cf
*$loaddc p_fuelPrice // Disabled for convenience, see line 278-> ("Determine Fuel Price Representation")
$loaddc ts_fuelPriceChange
$loaddc ts_influx
$loaddc ts_node
$loaddc t_invest
$loaddc p_storageValue
$loaddc group
$loaddc uGroup
$loaddc gnuGroup
$loaddc gn2nGroup
$loaddc gnGroup
$loaddc p_groupPolicy
$loaddc p_groupPolicy3D
$loaddc gnss_bound
$loaddc uss_bound
$gdxin
$ifthen exist '%input_dir%/inputData.gdx'
$$gdxin '%input_dir%/inputData.gdx'
$$loaddcm grid
$$loaddc node
$$loaddc flow
$$loaddc unittype
$$loaddc unit
$$loaddc unitUnittype
$$loaddc unit_fail
$$loaddc fuel
$$loaddc unitUnitEffLevel
$$loaddc uFuel
$$loaddc effLevelGroupUnit
$$loaddc p_gn
$$loaddc p_gnn
$$loaddc p_gnu
$$loaddc p_gnuBoundaryProperties
$$loaddc p_unit
$$loaddc ts_unit
$$loaddc restype
$$loaddc restypeDirection
$$loaddc restypeReleasedForRealization
$$loaddc p_nReserves
$$loaddc p_nuReserves
$$loaddc p_nnReserves
$$loaddc p_nuRes2Res
$$loaddc ts_reserveDemand
$$loaddc p_gnBoundaryPropertiesForStates
$$loaddc p_gnPolicy
$$loaddc p_uFuel
$$loaddc flowUnit
$$loaddc gngnu_fixedOutputRatio
$$loaddc gngnu_constrainedOutputRatio
$$loaddc emission
$$loaddc p_fuelEmission
$$loaddc ts_cf
* $$loaddc p_fuelPrice // Disabled for convenience, see line 278-> ("Determine Fuel Price Representation")
$$loaddc ts_fuelPriceChange
$$loaddc ts_influx
$$loaddc ts_node
$$loaddc t_invest
$$loaddc p_storageValue
$$loaddc group
$$loaddc uGroup
$$loaddc gnuGroup
$$loaddc gn2nGroup
$$loaddc gnGroup
$$loaddc p_groupPolicy
$$loaddc p_groupPolicy3D
$$loaddc gnss_bound
$$loaddc uss_bound
$$gdxin
$endif
$ifthen exist '%input_dir%/includeInputData_ext.inc'
$$include '%input_dir%/includeInputData_ext.inc'
$endif
$ifthen exist '%input_dir%/changes.inc'
$$include '%input_dir%/changes.inc'
$endif
* Read changes to inputdata through change.inc and gdx files (e.g. node2.gdx, unit2.gdx, unit3.gdx) - allows scenarios through Sceleton Titan Excel files.
$include 'inc/1e_scenChanges.gms'
......
......@@ -3,20 +3,20 @@
"type": "gams",
"short_name": "backbone",
"description": "Backbone energy systems model",
"files": ["Backbone.gms",
"inc/*.gms",
"inc/rampSched/*.gms",
"defModels/*.gms",
"files": ["Backbone.gms",
"inc/*.gms",
"inc/rampSched/*.gms",
"defModels/*.gms",
"defOutput/*.inc",
"input/ts_cf/*.gdx",
"input/ts_reserveDemand/*.gdx",
"input/ts_influx/*.gdx"],
"cmdline_args": "",
"datafiles": ["input/inputData.gdx"],
"cmdline_args": "",
"datafiles": "",
"datafiles_opt": ["input/*.gms",
"input/*.gdx",
"input/*.gdx",
"input/*.inc"],
"outfiles": ["output/debug.gdx",
"outfiles": ["output/debug.gdx",
"output/results.gdx",
"output/changes.inc",
"output/info.txt"]
......
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