-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The support within the graphs for three windings arrays has some strange side effect currently for some of the graphs functions.
Below shows the identified problems
grid = Grid.empty()
node_array = NodeArray.empty(3)
node_array.id = [1, 2, 3]
grid.append(node_array)
three_winding_array = ThreeWindingTransformerArray.empty(1)
three_winding_array.node_1 = 1
three_winding_array.node_2 = 2
three_winding_array.node_3 = 3
three_winding_array.status_1 = 1
three_winding_array.status_2 = 1
three_winding_array.status_3 = 1
grid.append(three_winding_array)
cycles = grid.graphs.active_graph.find_fundamental_cycles()
# cycles = [[2, 1, 3, 2]]
paths = grid.graphs.active_graph.get_all_paths(1, 2)
# paths = [[1,3,2], [1,2]]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working