Skip to content

Commit

Permalink
Distinguish between line and 2 windings transformer in TerminalFinder…
Browse files Browse the repository at this point in the history
… default rules (#3117)

Signed-off-by: Franck LECUYER <franck.lecuyer@rte-france.com>
  • Loading branch information
FranckLecuyer authored Sep 9, 2024
1 parent 37c8014 commit 89894c4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ private static List<Predicate<Terminal>> getDefaultRules() {
List<Predicate<Terminal>> rules = new ArrayList<>();
rules.add(t -> t.getConnectable() instanceof BusbarSection);
rules.add(t -> t.getConnectable() instanceof Injection);
rules.add(t -> t.getConnectable() instanceof Branch);
rules.add(t -> t.getConnectable() instanceof Line);
rules.add(t -> t.getConnectable() instanceof TwoWindingsTransformer);
rules.add(t -> t.getConnectable() instanceof ThreeWindingsTransformer);
rules.add(t -> t.getConnectable() instanceof HvdcConverterStation);
rules.add(Objects::nonNull);
Expand Down

0 comments on commit 89894c4

Please sign in to comment.