-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Create switches that explicitly enable/disable features #996
Comments
What should be the options the user needs to define in their model/scenario?
Thinking of these things, it's hard for me to understand where their "data" ends and where the scenario begins. Say they have data for 2030, 2040, 2050 - and they want to run just 2040. Does that mean they should select for 2040 in their data, or they can send all three years and set 2040 in the scenario and it'll check for that data? |
This. Data is static. The point of a workflow is pick the relevant data, make the required transforms, then run the model. So a scenario is essentially parameters to a bunch of data transforms. |
These configuration switches will tell Tulipa what constraints to turn on/off and determine required data (for validation feedback).
THIS SHOULD NOT BE A FILE.
Defining this as a file makes it a required input in the data that Tulipa will check for. Which means if the user wants to change settings on the fly, they now have to open the file (or alter the file with code) to change the configuration.
These should be arguments that Tulipa expects and uses for conditional switches, but not a required file. If the user wants to have their configuration saved in a file and then load that file in their workflow, they have that choice. But it's not required - they could just set UC = true in their workflow code.
I hope this makes sense!
@suvayu Did I get it?
The text was updated successfully, but these errors were encountered: