Skip to content

Commit e911275

Browse files
Update power_grid_model_c/power_grid_model/include/power_grid_model/optimizer/tap_position_optimizer.hpp
Co-authored-by: Martijn Govers <martijn.govers@alliander.com> Signed-off-by: Jerry Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
1 parent 5e75ccf commit e911275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

power_grid_model_c/power_grid_model/include/power_grid_model/optimizer/tap_position_optimizer.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ inline auto get_edge_weights(TransformerGraph const& graph) -> TrafoGraphEdgePro
324324
// | C | B | [A<->B], [C->A], [C->B] |
325325
// | C | C | [A<->B], [A->C], [A->B] |
326326
// In two winding trafo, the edge is always pointing to the control side; in three winding trafo edges, the
327-
// one directional edges are always pointing towards the control side or the node connected to the control
328-
// side via the two directional edge if there exists one. For delta configuration ABC, the above
327+
// unidirectional edges are always pointing towards the control side and the node connected to the control
328+
// side via the bidirectional edge (if it exists). For delta configuration ABC, the above
329329
// situations can happen.
330330
// The logic still holds in meshed grids, albeit operating a more complex graph.
331331
if (edge_src_rank != edge_tgt_rank - 1) {

0 commit comments

Comments
 (0)