Class ReplaceTeePointByVoltageLevelOnLine
java.lang.Object
com.powsybl.iidm.modification.AbstractNetworkModification
com.powsybl.iidm.modification.topology.ReplaceTeePointByVoltageLevelOnLine
- All Implemented Interfaces:
NetworkModification
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 <franck.lecuyer at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Network network, NamingStrategy namingStrategy, boolean throwException, ComputationManager computationManager, ReportNode reportNode) Applies the modification to the given network.
-
Method Details
-
getTeePointLine1Id
-
getTeePointLine2Id
-
getTeePointLineToRemoveId
-
getBbsOrBusId
-
getNewLine1Id
-
getNewLine1Name
-
getNewLine2Id
-
getNewLine2Name
-
apply
public void apply(Network network, NamingStrategy namingStrategy, boolean throwException, ComputationManager computationManager, ReportNode reportNode) 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.
-