Skip to content

Commit

Permalink
Merge branch 'dev' into fixes/#645-missing-generators-timeseries-in-e…
Browse files Browse the repository at this point in the history
…trago-tables
  • Loading branch information
CarlosEpia committed Feb 11, 2022
2 parents ba6b63b + 98a6f6a commit 0d53943
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ Changed
* H2 demand is met from the H2_grid buses. In Addtion, it can be met from the
H2_saltcavern buses if a proximity criterion is fulfilled
`#620 <https://github.com/openego/eGon-data/issues/620>`_
* H2 feed in links are changed to non extendable
`#653 <https://github.com/openego/eGon-data/issues/653>`_
* Remove the '_fixed' suffix
`#628 <https://github.com/openego/eGon-data/issues/628>`_

Expand Down
6 changes: 5 additions & 1 deletion src/egon/data/datasets/hydrogen_etrago/h2_to_ch4.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ def insert_h2_to_ch4_to_h2(scn_name='eGon2035'):
table["carrier"] = carrier
table["capital_cost"] = scn_params["capital_cost"][carrier]
table["efficiency"] = scn_params["efficiency"][carrier]
table["p_nom_extendable"] = True
if carrier == "H2_feedin":
table["p_nom_extendable"] = False
table["p_nom"] = 1e9
else:
table["p_nom_extendable"] = True

new_id = db.next_etrago_id("link")
table["link_id"] = range(new_id, new_id + len(table))
Expand Down

0 comments on commit 0d53943

Please sign in to comment.