There was an error while loading. Please reload this page.
1 parent 6ee7f7c commit fe631bfCopy full SHA for fe631bf
1 file changed
etrago/cluster/spatial.py
@@ -933,6 +933,8 @@ def focus_weighting(
933
# Dijkstra's algorithm will be used for path lengths of lines
934
# considering buses at border of focus region to consider its size
935
if "AC" in network.buses.carrier.unique():
936
+ os.makedirs(etrago.args["csv_export"]+'/clustering', exist_ok=True)
937
+ inside.to_csv(etrago.args["csv_export"]+'/clustering/buses_within_focus.csv')
938
lines_cross = network.lines[
939
(network.lines.bus0.isin(inside.index))
940
^ (network.lines.bus1.isin(inside.index))
0 commit comments