Skip to content

Commit

Permalink
Merge pull request #767 from openego/hotfix/#766-carrier-name-chp
Browse files Browse the repository at this point in the history
Correct wrong carrier name for chp_gas
  • Loading branch information
ClaraBuettner authored May 19, 2022
2 parents 4b926e7 + 0878716 commit c887474
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,8 @@ Bug Fixes
`#708 <https://github.com/openego/eGon-data/issues/708>`_
* Solve problem while creating generators series data egon2035
`#758 <https://github.com/openego/eGon-data/issues/758>`_
* Correct wrong carrier name when assigning marginal costs
`#766 <https://github.com/openego/eGon-data/issues/766>`_

.. _PR #692: https://github.com/openego/eGon-data/pull/692
.. _#343: https://github.com/openego/eGon-data/issues/343
Expand Down
4 changes: 2 additions & 2 deletions src/egon/data/datasets/chp_etrago.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def insert():
# Add marginal cost which is only VOM in case of gas chp
chp_el["marginal_cost"] = get_sector_parameters("gas", "eGon2035")[
"marginal_cost"
]["gas_chp"]
]["chp_gas"]

# Insert into database
chp_el.to_postgis(
Expand Down Expand Up @@ -242,7 +242,7 @@ def insert():
# Add marginal cost which is only VOM in case of gas chp
chp_el_ind["marginal_cost"] = get_sector_parameters("gas", "eGon2035")[
"marginal_cost"
]["gas_chp"]
]["chp_gas"]

chp_el_ind.to_postgis(
targets["link"]["table"],
Expand Down

0 comments on commit c887474

Please sign in to comment.