-
Notifications
You must be signed in to change notification settings - Fork 5
ClicSANDs Output File Defenition #8
Description
When using ClicSANDs to create a datafile, it seems like there is an issue where time-independent parameters that use only the default value definitions are not being written correctly. This may be even more specific to just where default values are zero, but Im not sure on that.
For example ModelPeriodExogenousEmission is defined in ClicSANDs as
And the definition looks correct in the ToDataFile tab:
However, when you look at the output data file it's defined as:
While this doesn't make a difference for processing the datafile with GLPK (or at least not that I can see), it is throwing an error if trying to convert it with otoole. Specifically, the amply library is having trouble processing it. If we comment out the data (such as shown below) or add in the zero data, otoole will work fine.
param ModelPeriodExogenousEmission default 0 :=
;
Is there a way we can update ClicSANDs to print out the full definition in the text file (ie. the definition shown below)?
param ModelPeriodExogenousEmission default 0 :
EMIC02 EMICH4 EMIFGA EMIN2O EMIREN :=
RE1 0 0 0 0 0
;


