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

Add support for descriptive/passthrough data within the YAML schema #709

Open
jmorrisnrel opened this issue Nov 12, 2024 · 1 comment
Open
Labels
enhancement v0.7 (upcoming) version 0.7

Comments

@jmorrisnrel
Copy link

What can be improved?

Calliope currently takes almost any value in the YAML and adds it to the underlying model along one or more of the indices. It would be nice to have an option to add relevant technology data that doesn't affect the Calliope optimization (a description or parameters needed for post-processing or a downstream model) in the YAML without it being added to the underlying problem. Something like an extras key in a tech/node block that is ignored by the schema and attribute dict code would allow users to put additional context directly into the configuration. The alternative of having the extra data in a readme or other metadata file would work, but having that context directly next to the model configuration would make it easier to review models and diagnose issues.

Version

v0.7.0.dev4

@brynpickering
Copy link
Member

I think this will be solved by the solution to #642. If math-related parameters are explicitly defined, then all other inputs are effectively "extras" and won't make their way into the backend in any form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement v0.7 (upcoming) version 0.7
Projects
None yet
Development

No branches or pull requests

2 participants