Skip to content
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

Open
Tracked by #974
clizbe opened this issue Jan 13, 2025 · 2 comments
Open
Tracked by #974

Create switches that explicitly enable/disable features #996

clizbe opened this issue Jan 13, 2025 · 2 comments

Comments

@clizbe
Copy link
Member

clizbe commented Jan 13, 2025

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?

@clizbe clizbe self-assigned this Jan 13, 2025
@clizbe clizbe changed the title Create a file that explicitly shows what features the user wants to enable Create a file that explicitly shows which features the user wants to enable Jan 13, 2025
@clizbe clizbe changed the title Create a file that explicitly shows which features the user wants to enable Create switches that explicitly enable/disable features Mar 3, 2025
@clizbe clizbe removed their assignment Mar 3, 2025
@clizbe
Copy link
Member Author

clizbe commented Mar 6, 2025

What should be the options the user needs to define in their model/scenario?
Maybe:

  • FlexTemp? - Should they be able to turn it off and default to Hourly? Or they define the temp res in their data all the time?
  • Year(s) horizon - Probably multiple types of Year they can define
  • UnitCommitment
  • RollingHorizon
  • Clustering yes/no? Or is that just a part of their worklfow that we don't need to account for?
  • Group Constraints?

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?

@suvayu
Copy link
Member

suvayu commented Mar 7, 2025

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants