openego / eDisGo

Optimization of flexibility options and grid expansion for distribution grids based on PyPSA
GNU Affero General Public License v3.0
37 stars 14 forks source link

[BUG] Spatial complexity reduction fails when lines_df and buses_df have additional columns #388

Closed birgits closed 2 months ago

birgits commented 8 months ago

Describe the bug In my grid data, lines_df and buses_df had additional columns ("length_to_grid_station", "grid_feeder") which led to isolated buses in the MV grid. Dropping those columns worked, however, the code should be more robust.

birgits commented 2 months ago

Couldn't be reproduced and didn't occur since then. I'll therefore close this.