-
Notifications
You must be signed in to change notification settings - Fork 247
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
update sanitize carriers function #1400
Conversation
_helpers: move rename_techs to helpers plot_summary: import rename_techs form helpers plot_power_network: import rename_techs from helpers
Validator ReportI am the Validator. Download all artifacts here. General Files comparison
NRMSE: Normalized (combined-min-max) Root Mean Square Error Model Metrics Comparing |
…tech_color was not defined
for more information, see https://pre-commit.ci
@p-glaum Looks good! Just suggested to add type hints and a docstring to the function you've touched. |
@amos-schledorn Thanks for reviewing! The results should not change. The only think what changed are the color entries in |
@p-glaum Gotcha. Checked the |
add_electrictiy: update sanitize_carriers
_helpers: move rename_techs to helpers
plot_summary: import rename_techs form helpers
plot_power_network: import rename_techs from helpers
Closes #1396
Changes proposed in this Pull Request
In the current master, I have many techs that do not have a color defined. This is because we have techs like
rural solar thermal
,rural water tanks
, andurban decentral heat
that do not have a color defined in the default.config.yaml. With this PR, we take the rename_techs function and use it to find the colors of those technologies without having to define them specifically in the config.Checklist
envs/environment.yaml
.config/config.default.yaml
.doc/configtables/*.csv
.doc/data_sources.rst
.doc/release_notes.rst
is added.