Skip to content

Commit

Permalink
Fix duplicate line usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gplessm committed Sep 1, 2017
1 parent c343f1f commit 33a3f31
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions edisgo/data/import_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,14 @@ def _attach_aggregated(grid, aggregated, dingo_grid):
id='_'.join(['Load_aggregated', repr(grid)]))

grid.graph.add_node(load, type='load')

# connect aggregated load to MV station
line = {'line': Line(
id='line_aggr_load',
type=aggr_line_type,
length=.5,
grid=grid)
}
grid.graph.add_edge(grid.station, load, line, type='line')


Expand Down

0 comments on commit 33a3f31

Please sign in to comment.