Package com.powsybl.iidm.network
Interface Line
-
- All Superinterfaces:
Branch<Line>
,Connectable<Line>
,Extendable<Line>
,Identifiable<Line>
,LineCharacteristics<Line>
- All Known Subinterfaces:
TieLine
- All Known Implementing Classes:
LineAdapter
,TieLineAdapter
public interface Line extends Branch<Line>, LineCharacteristics<Line>
- Author:
- Geoffroy Jamgotchian
- See Also:
LineAdder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.iidm.network.Branch
Branch.Overload, Branch.Side
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
isTieLine()
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.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.default Line
move1(int node, VoltageLevel voltageLevel)
Move the line's end on side ONE to the given node of the given voltage level.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.default Line
move2(int node, VoltageLevel voltageLevel)
Move the line's end on side TWO to the given node of the given voltage level.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.-
Methods inherited from interface com.powsybl.iidm.network.Branch
checkPermanentLimit, checkPermanentLimit, checkPermanentLimit, checkPermanentLimit, checkPermanentLimit1, checkPermanentLimit1, checkPermanentLimit1, checkPermanentLimit1, checkPermanentLimit2, checkPermanentLimit2, checkPermanentLimit2, checkPermanentLimit2, checkTemporaryLimits, checkTemporaryLimits, checkTemporaryLimits, checkTemporaryLimits, checkTemporaryLimits1, checkTemporaryLimits1, checkTemporaryLimits1, checkTemporaryLimits1, checkTemporaryLimits2, checkTemporaryLimits2, checkTemporaryLimits2, checkTemporaryLimits2, getActivePowerLimits, getActivePowerLimits1, getActivePowerLimits2, getApparentPowerLimits, getApparentPowerLimits1, getApparentPowerLimits2, getCurrentLimits, getCurrentLimits1, getCurrentLimits2, getLimits, getOperationalLimits1, getOperationalLimits2, getOverloadDuration, getSide, getTerminal, getTerminal, getTerminal1, getTerminal2, isOverloaded, isOverloaded, newActivePowerLimits1, newActivePowerLimits2, newApparentPowerLimits1, newApparentPowerLimits2, newCurrentLimits1, newCurrentLimits2
-
Methods inherited from interface com.powsybl.iidm.network.Connectable
getTerminals, getType, remove
-
Methods inherited from interface com.powsybl.commons.extensions.Extendable
addExtension, getExtension, getExtensionByName, getExtensions, getImplementationName, newExtension, removeExtension
-
Methods inherited from interface com.powsybl.iidm.network.Identifiable
addAlias, addAlias, addAlias, addAlias, getAliases, getAliasFromType, getAliasType, getId, getName, getNameOrId, getNetwork, getOptionalName, getProperties, getProperty, getProperty, getPropertyNames, hasAliases, hasProperty, hasProperty, isFictitious, removeAlias, setFictitious, setProperty
-
-
-
-
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 newLine
object (copying the line with different end points). The implemented method should return the sameLine
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 newLine
object (copying the line with different end points). The implemented method should return the sameLine
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 newLine
object (copying the line with different end points). The implemented method should return the sameLine
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 newLine
object (copying the line with different end points). The implemented method should return the sameLine
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 newLine
object (copying the line with different end points). The implemented method should return the sameLine
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 newLine
object (copying the line with different end points). The implemented method should return the sameLine
object with different terminals.
-
-