[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
71b27b524e
commit
fb5b107805
@ -2977,7 +2977,10 @@ def add_waste_heat(n):
|
||||
link_carriers = n.links.carrier.unique()
|
||||
|
||||
# TODO what is the 0.95 and should it be a config option?
|
||||
if options["use_fischer_tropsch_waste_heat"] and "Fischer-Tropsch" in link_carriers:
|
||||
if (
|
||||
options["use_fischer_tropsch_waste_heat"]
|
||||
and "Fischer-Tropsch" in link_carriers
|
||||
):
|
||||
n.links.loc[urban_central + " Fischer-Tropsch", "bus3"] = (
|
||||
urban_central + " urban central heat"
|
||||
)
|
||||
@ -3010,7 +3013,10 @@ def add_waste_heat(n):
|
||||
0.15 * total_energy_input / electricity_input
|
||||
)
|
||||
|
||||
if options["use_methanolisation_waste_heat"] and "methanolisation" in link_carriers:
|
||||
if (
|
||||
options["use_methanolisation_waste_heat"]
|
||||
and "methanolisation" in link_carriers
|
||||
):
|
||||
n.links.loc[urban_central + " methanolisation", "bus4"] = (
|
||||
urban_central + " urban central heat"
|
||||
)
|
||||
@ -3020,7 +3026,10 @@ def add_waste_heat(n):
|
||||
)
|
||||
|
||||
# TODO integrate usable waste heat efficiency into technology-data from DEA
|
||||
if options.get("use_electrolysis_waste_heat", False) and "H2 Electrolysis" in link_carriers:
|
||||
if (
|
||||
options.get("use_electrolysis_waste_heat", False)
|
||||
and "H2 Electrolysis" in link_carriers
|
||||
):
|
||||
n.links.loc[urban_central + " H2 Electrolysis", "bus2"] = (
|
||||
urban_central + " urban central heat"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user