Class ReplaceTeePointByVoltageLevelOnLine

  • All Implemented Interfaces:
    NetworkModification

    public class ReplaceTeePointByVoltageLevelOnLine
    extends AbstractNetworkModification
    This method transform the action done in the CreateLineOnLine class into the action done in the ConnectVoltageLevelOnLine class : it replaces 3 existing lines (with the same voltage level at one of their side (tee point)) with two new lines, and removes the tee point

    Before modification:

     VL1 ----------------- tee point ----------------- VL2
          (teePointLine1)     |       (teePointLine2)
                              |
                              | (teePointLineToRemove)
                              |
                          VL3 tapped
                    (contains bbsOrBusId)
    After modification:
     VL1 ------------ VL3 switching ------------ VL2
          (newLine1)                (newLine2)
    Author:
    Franck Lecuyer
    • Method Detail

      • getTeePointLine1Id

        public String getTeePointLine1Id()
      • getTeePointLine2Id

        public String getTeePointLine2Id()
      • getTeePointLineToRemoveId

        public String getTeePointLineToRemoveId()
      • getBbsOrBusId

        public String getBbsOrBusId()
      • getNewLine1Id

        public String getNewLine1Id()
      • getNewLine1Name

        public String getNewLine1Name()
      • getNewLine2Id

        public String getNewLine2Id()
      • getNewLine2Name

        public String getNewLine2Name()
      • apply

        public void apply​(Network network,
                          boolean throwException,
                          ComputationManager computationManager,
                          Reporter reporter)
        Description copied from interface: NetworkModification
        Applies the modification to the given network. If throwException is set to true, then in case of error, an exception will be thrown. Otherwise, computation will continue but the injection will not be added to the network in case of error.