Skip to content

ClicSANDs Output File Defenition  #8

@trevorb1

Description

@trevorb1

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

image

And the definition looks correct in the ToDataFile tab:

image

However, when you look at the output data file it's defined as:

image

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
;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions