[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-05-20 20:25:40 +00:00
parent 3f01938eee
commit b29b9e6c5d

View File

@ -2708,8 +2708,7 @@ def add_industry(n, costs):
)
p_set_methanol = (
industrial_demand["methanol"]
.rename(lambda x: x + " industry methanol")
industrial_demand["methanol"].rename(lambda x: x + " industry methanol")
/ nhours
)
@ -2732,10 +2731,7 @@ def add_industry(n, costs):
bus2="co2 atmosphere",
carrier="industry methanol",
p_nom_extendable=True,
efficiency2=1
/ options[
"MWh_MeOH_per_tCO2"
],
efficiency2=1 / options["MWh_MeOH_per_tCO2"],
# CO2 intensity methanol based on stoichiometric calculation with 22.7 GJ/t methanol (32 g/mol), CO2 (44 g/mol), 277.78 MWh/TJ = 0.218 t/MWh
)