diff --git a/etrago/cluster/electrical.py b/etrago/cluster/electrical.py index ca638e4e..acd11fee 100755 --- a/etrago/cluster/electrical.py +++ b/etrago/cluster/electrical.py @@ -485,7 +485,8 @@ def select_elec_network(etrago): # Exclude buses in the area that should not be clustered busmap_area = find_buses_area(etrago, "AC") elec_network.buses = elec_network.buses[ - ~elec_network.buses.index.isin(busmap_area.index)] + ~elec_network.buses.index.isin(busmap_area.index) + ] # Exclude foreign buses when it is set to don't include them in the clustering if settings["cluster_foreign_AC"]: diff --git a/etrago/cluster/gas.py b/etrago/cluster/gas.py index 467a0423..b370f4c7 100644 --- a/etrago/cluster/gas.py +++ b/etrago/cluster/gas.py @@ -358,11 +358,6 @@ def gas_postprocessing( + "_result.csv" ) - # breakpoint() - ########################################################################### - # include busmap_area to busmap - ########################################################################### - if "H2" in etrago.network.buses.carrier.unique(): busmap = get_h2_clusters(etrago, busmap)