[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-08-02 12:07:16 +00:00
parent 8bfca9ce69
commit c7a186863e

View File

@ -200,7 +200,7 @@ def define_spatial(nodes, options):
spatial.geothermal_heat = SimpleNamespace() spatial.geothermal_heat = SimpleNamespace()
spatial.geothermal_heat.nodes = ["EU enhanced geothermal systems"] spatial.geothermal_heat.nodes = ["EU enhanced geothermal systems"]
spatial.geothermal_heat.locations = ["EU"] spatial.geothermal_heat.locations = ["EU"]
return spatial return spatial
@ -2517,8 +2517,11 @@ def add_biomass(n, costs):
if options["electrobiofuels"]: if options["electrobiofuels"]:
efuel_scale_factor = costs.at["BtL", "C stored"] efuel_scale_factor = costs.at["BtL", "C stored"]
name = (pd.Index(spatial.biomass.nodes) + " " name = (
+ pd.Index(spatial.h2.nodes.str.replace(" H2", ""))) pd.Index(spatial.biomass.nodes)
+ " "
+ pd.Index(spatial.h2.nodes.str.replace(" H2", ""))
)
n.madd( n.madd(
"Link", "Link",
name, name,