-
Notifications
You must be signed in to change notification settings - Fork 94
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
Re-add links
in model definition with v0.7.x format?
#668
Comments
The reason for the change was because links were being turned into The change makes it clearer to the user that they are effectively defining technologies when they define transmission links and that they can then expect to find those technologies on the dimension We tried to work out a way to have them on their own dimension ( |
Thanks for the note. Yeah, that's why we are trying to make @jmorrisnrel, do you have any input regarding this? |
Yeah this request would primarily be to help facilitate results processing both for visualizations/analysis and for automating multi-year modeling buildouts. We can easily shift the old behavior of transmission "techs" from The change we implemented doesn't actually impact any of the problem formulation under the hood, instead just looking for |
It would be good to know how you're processing results at the moment, to be able to settle on a solution that works best. There are several ways in python of filtering the data to keep / remove transmission links, the easiest are probably: in |
I somehow think it would be easier to implement your postprocessing without a |
What can be improved?
Description
In model definition of Calliope
v0.7.x
, thelinks
key got removed and defined as transmission technologies undertechs
in yaml, the doc - https://calliope.readthedocs.io/en/latest/migrating/#links-transmission-links-defined-in-techsWould it possible to re-add
links
but keep current transmission schema definition undertechs
?Proposed Change
Add
links
key and allow users to define transmission technologies, for example,Current Yaml
After the change,
This change can let users get
links
items from model definition easier. And, it looks more natural withlinks
siting alongtechs
.Minimum Solution
To make this change to be compatible with current schema validation,
In
src.calliope.model.py
, could add following in todef _init_from_model_def_dict
beforevalidate_dict
. It would not change any structure of current version after the validation.That is,
Version
v0.7.0.dev3
The text was updated successfully, but these errors were encountered: