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", base_network = "networks/base.nc",
tech_costs=COSTS, tech_costs=COSTS,
regions="resources/regions_onshore.geojson", 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', powerplants='resources/powerplants.csv',
hydro_capacities='data/bundle/hydro_capacities.csv', hydro_capacities='data/bundle/hydro_capacities.csv',
geth_hydro_capacities='data/geth2015_hydro_capacities.csv', geth_hydro_capacities='data/geth2015_hydro_capacities.csv',