add_electricity: set locations and units of electricity buses
This commit is contained in:
parent
6a8ae68aec
commit
472a099881
@ -903,5 +903,9 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
sanitize_carriers(n, snakemake.config)
|
sanitize_carriers(n, snakemake.config)
|
||||||
|
|
||||||
|
# set locations and units of electricity buses
|
||||||
|
n.buses["location"] = n.buses.index
|
||||||
|
n.buses["unit"] = "MWh_el"
|
||||||
|
|
||||||
n.meta = snakemake.config
|
n.meta = snakemake.config
|
||||||
n.export_to_netcdf(snakemake.output[0])
|
n.export_to_netcdf(snakemake.output[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user