Skip to content

Commit ca2d8ff

Browse files
Bugfix prepare_sector_network.py (#33)
* Bugfix prepare_sector_network.py wrongfully set comma leads to an error in `prepare_sector_network` when `config[sector][methanol][methanol_to_power][ccgt]` is activated * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent c1e59d1 commit ca2d8ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/prepare_sector_network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -972,8 +972,8 @@ def add_methanol_to_power(n, costs, types=None):
972972
carrier="CCGT methanol",
973973
p_nom_extendable=True,
974974
capital_cost=capital_cost,
975-
overnight_cost=costs.at["CCGT", "investment"],
976-
*costs.at["CCGT", "efficiency"],
975+
overnight_cost=costs.at["CCGT", "investment"]
976+
* costs.at["CCGT", "efficiency"],
977977
marginal_cost=costs.at["CCGT", "VOM"],
978978
efficiency=costs.at["CCGT", "efficiency"],
979979
efficiency2=costs.at["methanolisation", "carbondioxide-input"],

0 commit comments

Comments
 (0)