Update scripts/prepare_sector_network.py
This commit is contained in:
parent
6996748d9b
commit
984ab9350c
@ -2920,7 +2920,7 @@ if __name__ == "__main__":
|
||||
first_year_myopic = ((snakemake.config["foresight"] == 'myopic') and
|
||||
(snakemake.config["scenario"]["planning_horizons"][0]==investment_year))
|
||||
|
||||
if options["cluster_heat_buses"] and not first_year_myopic:
|
||||
if options.get("cluster_heat_buses", False) and not first_year_myopic:
|
||||
cluster_heat_buses(n)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user