fix Snakefile

This commit is contained in:
Philipp Glaum 2021-12-21 08:33:06 +01:00
parent 8febb73bf1
commit bbb609d1ac

View File

@ -233,7 +233,7 @@ rule add_electricity:
base_network = "networks/base.nc",
tech_costs=COSTS,
regions="resources/regions_onshore.geojson",
line_rating="resources/line_rating.nc" if config['lines'].get('line_rating', False) else None,
line_rating="resources/line_rating.nc" if config['lines'].get('line_rating', False) else "None",
powerplants='resources/powerplants.csv',
hydro_capacities='data/bundle/hydro_capacities.csv',
geth_hydro_capacities='data/geth2015_hydro_capacities.csv',
@ -410,4 +410,4 @@ rule plot_p_nom_max:
input: input_plot_p_nom_max
output: "results/plots/elec_s{simpl}_cum_p_nom_max_{clusts}_{techs}_{country}.{ext}"
log: "logs/plot_p_nom_max/elec_s{simpl}_{clusts}_{techs}_{country}_{ext}.log"
script: "scripts/plot_p_nom_max.py"
script: "scripts/plot_p_nom_max.py"