Class ReplaceTeePointByVoltageLevelOnLine
- java.lang.Object
-
- com.powsybl.iidm.modification.AbstractNetworkModification
-
- com.powsybl.iidm.modification.topology.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 VL1 ---------- tee point ---------- VL2 VL1 ---------- attached voltage level ---------- VL2 (line1Z) | (lineZ2) (line1C) (lineC2) | | (lineZP) =========> | | attached voltage level (voltageLevelId) (contains bbsOrBusId)- Author:
- Franck Lecuyer
-
-
Method Summary
-
-
-
Method Detail
-
getLine1ZId
public String getLine1ZId()
-
setLine1ZId
public ReplaceTeePointByVoltageLevelOnLine setLine1ZId(String line1ZId)
-
getLineZ2Id
public String getLineZ2Id()
-
setLineZ2Id
public ReplaceTeePointByVoltageLevelOnLine setLineZ2Id(String lineZ2Id)
-
getLineZPId
public String getLineZPId()
-
setLineZPId
public ReplaceTeePointByVoltageLevelOnLine setLineZPId(String lineZPId)
-
getVoltageLevelId
public String getVoltageLevelId()
-
setVoltageLevelId
public ReplaceTeePointByVoltageLevelOnLine setVoltageLevelId(String voltageLevelId)
-
getBbsOrBusId
public String getBbsOrBusId()
-
setBbsOrBusId
public ReplaceTeePointByVoltageLevelOnLine setBbsOrBusId(String bbsOrBusId)
-
getLine1CId
public String getLine1CId()
-
setLine1CId
public ReplaceTeePointByVoltageLevelOnLine setLine1CId(String line1CId)
-
getLine1CName
public String getLine1CName()
-
setLine1CName
public ReplaceTeePointByVoltageLevelOnLine setLine1CName(String line1CName)
-
getLineC2Id
public String getLineC2Id()
-
setLineC2Id
public ReplaceTeePointByVoltageLevelOnLine setLineC2Id(String lineC2Id)
-
getLineC2Name
public String getLineC2Name()
-
setLineC2Name
public ReplaceTeePointByVoltageLevelOnLine setLineC2Name(String lineC2Name)
-
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.
-
-