Merge branch 'master' into extendable-pnommin

This commit is contained in:
Fabian Neumann 2021-07-01 19:39:01 +02:00 committed by GitHub
commit d78f8b3e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -366,6 +366,9 @@ if __name__ == "__main__":
update_p_nom_max(n) update_p_nom_max(n)
else:
n.buses = n.buses.drop(['symbol', 'tags', 'under_construction', 'substation_lv', 'substation_off'], axis=1)
n.export_to_netcdf(snakemake.output.network) n.export_to_netcdf(snakemake.output.network)
busmap_s = reduce(lambda x, y: x.map(y), busmaps[1:], busmaps[0]) busmap_s = reduce(lambda x, y: x.map(y), busmaps[1:], busmaps[0])