-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New model definition structure (#518)
* Technology definitions flattened as per #484. * Links moved into technologies (to take advantage of shared `tech_group` inheritance, mainly). * `parent` strictly one of the abstract base groups. * Other abstract base groups moved to being referred in `inherit`, with `nodes` having the option to also inherit from `node_groups`. * `_plus` techs removed as per #483, with the option to include lists of carriers in/out (technically for any technology, but one has to be very careful over which carriers they define their other parameters if doing so) and to invoke `storage` of flows in for all but `demand` technologies (this could be updated to also include demand techs). * YAML schema to check for the worst offenders. I can't leverage the full power of the schema because of how we build our definitions, with the ability to inherit definitions from `node`/`tech` groups, for instance. * More complex model data checks (that YAML schema can't handle) moved to a yaml file * `flow_cap` indexed over carriers now that `conversion_plus` has gone. This required quite a few base math changes and can make it difficult to know what happens when you define a parameter without subsetting its carriers (e.g., if you set `flow_cap_max: 5` for a conversion tech, that will apply to *all* carriers in AND out. You have to use `dims/index` structure to limit it to e.g., one of the output carrier flows). * Exploding investment cost global expression conditionals into their own global expressions. This reduces build time quite a lot for small models, at the expense of lots of global expressions in the output that might not be useful to the user. * Light documentation updates to handle most broken links.
- Loading branch information
1 parent
3b84476
commit e6b7263
Showing
120 changed files
with
5,471 additions
and
11,849 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.