[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
fe5487e277
commit
1de4db5f9c
@ -3352,7 +3352,10 @@ def add_waste_heat(n):
|
||||
0.95 - n.links.loc[urban_central + " Fischer-Tropsch", "efficiency"]
|
||||
) * options["use_waste_heat"].get("fischer_tropsch", 1)
|
||||
|
||||
if options["use_waste_heat"].get("methanation", 1) and "Sabatier" in link_carriers:
|
||||
if (
|
||||
options["use_waste_heat"].get("methanation", 1)
|
||||
and "Sabatier" in link_carriers
|
||||
):
|
||||
n.links.loc[urban_central + " Sabatier", "bus3"] = (
|
||||
urban_central + " urban central heat"
|
||||
)
|
||||
@ -3361,7 +3364,10 @@ def add_waste_heat(n):
|
||||
) * options["use_waste_heat"].get("methanation", 1)
|
||||
|
||||
# DEA quotes 15% of total input (11% of which are high-value heat)
|
||||
if options["use_waste_heat"].get("haber_bosch", 1) and "Haber-Bosch" in link_carriers:
|
||||
if (
|
||||
options["use_waste_heat"].get("haber_bosch", 1)
|
||||
and "Haber-Bosch" in link_carriers
|
||||
):
|
||||
n.links.loc[urban_central + " Haber-Bosch", "bus3"] = (
|
||||
urban_central + " urban central heat"
|
||||
)
|
||||
@ -3401,7 +3407,10 @@ def add_waste_heat(n):
|
||||
0.84 - n.links.loc[urban_central + " H2 Electrolysis", "efficiency"]
|
||||
) * options["use_waste_heat"].get("electrolysis", 1)
|
||||
|
||||
if options["use_waste_heat"].get("fuel_cell", 1) and "H2 Fuel Cell" in link_carriers:
|
||||
if (
|
||||
options["use_waste_heat"].get("fuel_cell", 1)
|
||||
and "H2 Fuel Cell" in link_carriers
|
||||
):
|
||||
n.links.loc[urban_central + " H2 Fuel Cell", "bus2"] = (
|
||||
urban_central + " urban central heat"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user