switch-model / switch

A Modern Platform for Planning High-Renewable Power Systems
http://switch-model.org/
Other
130 stars 85 forks source link

Add option to skip saving each decision variable in a separate file (… #127

Open josiahjohnston opened 5 years ago

josiahjohnston commented 5 years ago

…default is to print out all decision variables).

josiahjohnston commented 5 years ago

Partially addresses issue #104

mfripp commented 4 years ago

I like this, but I think the terminology may confuse people. We generally use "--no-something" instead of "--skip-something" in our flags. But also people probably won't know what's meant by "generic outputs".

I would recommend making this parallel with --save-expression[s] (which defaults to none), by creating a --save-variables flag which defaults to all. Then people could turn off all variables with --save variables none and then turn interesting ones back on with --save-variable BuildGen or --save-variables BuildGen BuildStorageEnergy.

A couple of longer-term improvements (don't have to be done now):