Fix typo in snakemake input

This commit is contained in:
Koen van Greevenbroek 2024-02-20 18:38:21 +01:00
parent 1c9845afff
commit db9f234fad

View File

@ -455,7 +455,7 @@ def update_wind_solar_costs(n, costs):
tech = "offwind-" + connection
if tech not in n.generators.carrier.values:
continue
profile = snakemake.input["profile_offwind_" + connection]
profile = snakemake.input["profile_offwind-" + connection]
with xr.open_dataset(profile) as ds:
# if-statement for compatibility with old profiles