Interface Line

    • Method Detail

      • isTieLine

        boolean isTieLine()
      • move1

        default Line move1​(int node,
                           VoltageLevel voltageLevel)
        Move the line's end on side ONE to the given node of the given voltage level. If the given voltage level's topology is not NODE-BREAKER, a runtime exception is thrown. If the topology of the voltage levels previously at the ends of the line is not NODE-BREAKER, a runtime exception is also thrown. Please note that the default implementation returns a new Line object (copying the line with different end points). The implemented method should return the same Line object with different terminals.
      • move2

        default Line move2​(int node,
                           VoltageLevel voltageLevel)
        Move the line's end on side TWO to the given node of the given voltage level. If the given voltage level's topology is not NODE-BREAKER, a runtime exception is thrown. If the topology of the voltage levels previously at the ends of the line is not NODE-BREAKER, a runtime exception is also thrown. Please note that the default implementation returns a new Line object (copying the line with different end points). The implemented method should return the same Line object with different terminals.
      • move

        default Line move​(int node,
                          VoltageLevel voltageLevel,
                          Branch.Side side)
        Move the line's end on the given side to the given node of the given voltage level. If the given voltage level's topology is not NODE-BREAKER, a runtime exception is thrown. If the topology of the voltage levels previously at the ends of the line is not NODE-BREAKER, a runtime exception is also thrown. Please note that the default implementation returns a new Line object (copying the line with different end points). The implemented method should return the same Line object with different terminals.
      • move1

        default Line move1​(Bus bus,
                           boolean connected)
        Move the line's end on side ONE to the given connectable bus with the given connection status. If the given bus' voltage level's topology is not BUS-BREAKER, a runtime exception is thrown. If the topology of the voltage levels previously at the ends of the line is not BUS-BREAKER, a runtime exception is also thrown. Please note that the default implementation returns a new Line object (copying the line with different end points). The implemented method should return the same Line object with different terminals.
      • move2

        default Line move2​(Bus bus,
                           boolean connected)
        Move the line's end on side TWO to the given connectable bus with the given connection status. If the given bus' voltage level's topology is not BUS-BREAKER, a runtime exception is thrown. If the topology of the voltage levels previously at the ends of the line is not BUS-BREAKER, a runtime exception is also thrown. Please note that the default implementation returns a new Line object (copying the line with different end points). The implemented method should return the same Line object with different terminals.
      • move

        default Line move​(Bus bus,
                          boolean connected,
                          Branch.Side side)
        Move the line's end on the given side to the given connectable bus with the given connection status. If the given bus' voltage level's topology is not BUS-BREAKER, a runtime exception is thrown. If the topology of the voltage levels previously at the ends of the line is not BUS-BREAKER, a runtime exception is also thrown. Please note that the default implementation returns a new Line object (copying the line with different end points). The implemented method should return the same Line object with different terminals.