Skip to content

Commit

Permalink
Black and delete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosEpia committed Oct 26, 2023
1 parent 8ad8894 commit bf2ca6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion etrago/cluster/electrical.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]:
Expand Down
5 changes: 0 additions & 5 deletions etrago/cluster/gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit bf2ca6c

Please sign in to comment.