Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow wildcard variables #294

Open
danielhuppmann opened this issue Dec 12, 2023 · 1 comment
Open

Allow wildcard variables #294

danielhuppmann opened this issue Dec 12, 2023 · 1 comment

Comments

@danielhuppmann
Copy link
Member

Per a discussion with @volker-krey and @phackstock:

Previous projects added a "counter" to capacity- and capital-cost variables to allow reporting of different types of plants, e.g., "Capacity|Electricity|Biomass|1", with a mapping of the number to a particular type given in a comments sheet.

This is a not very elegant approach and not user-friendly when viewing the data via the Scenario Explorer.

It would be preferable to explicitly allow wildcards in a variable name, e.g., Capacity|Electricity|Biomass|* - and the nomenclature-validation would allow all variables starting with Capacity|Electricity|Biomass. This way, each modelling team could define the types individually, using either numbering or more useful description like "CCGT" directly in the variable name.

@phackstock
Copy link
Contributor

I see the application but I'm a little bit worried that this defeats the purpose of having a defined variable list in the first place. If it's all custom to the model should it be part of a comparison study anyway?

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

No branches or pull requests

2 participants