pypsa-eur
pypsa-eur copied to clipboard
feat: Make carrier mapping from ppm to existing powerplants configurable
Changes proposed in this Pull Request
Translates hard-coded fueltype/technology to carrier maps like:
powerplant_fueltype_to_technology_carrier:
Hard Coal: coal/coal
Lignite: lignite/lignite
Nuclear: nuclear/uranium
"Natural Gas/CCGT": CCGT/gas
"Natural Gas/OCGT": OCGT/gas
Bioenergy: urban central solid biomass CHP/biomass
In the keys the first item refers to the Fueltype, the second to the Technology column in the values the first one is the technology (carrier of the link) and the second one the primary energy bus carrier.
I must say, i like in general how the right hand-side of the mapping is defined as a technology_carrier or maybe tech_carrier including both the tech and consumed fuel. Maybe that could be standardized and re-used.
Checklist
- [x] I tested my contribution locally and it works as intended.
- [x] Code and workflow changes are sufficiently documented.
- [x] Changed dependencies are added to
envs/environment.yaml. - [x] Changes in configuration options are added in
config/config.default.yaml. - [x] Changes in configuration options are documented in
doc/configtables/*.csv. - [x] Sources of newly added data are documented in
doc/data_sources.rst. - [ ] A release note
doc/release_notes.rstis added. TODO