Class BranchTripping
- java.lang.Object
-
- com.powsybl.iidm.modification.tripping.AbstractTripping
-
- com.powsybl.iidm.modification.tripping.BranchTripping
-
- All Implemented Interfaces:
NetworkModification
,Tripping
- Direct Known Subclasses:
LineTripping
,TwoWindingsTransformerTripping
public class BranchTripping extends AbstractTripping
- Author:
- Geoffroy Jamgotchian
, Mathieu Bague
-
-
Constructor Summary
Constructors Modifier Constructor Description BranchTripping(String branchId)
BranchTripping(String branchId, String voltageLevelId)
protected
BranchTripping(String branchId, String voltageLevelId, BiFunction<Network,String,Branch<?>> supplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PowsyblException
createNotConnectedException()
protected PowsyblException
createNotFoundException()
protected String
getBranchId()
protected String
getVoltageLevelId()
void
traverse(Network network, Set<Switch> switchesToOpen, Set<Terminal> terminalsToDisconnect, Set<Terminal> traversedTerminals)
-
Methods inherited from class com.powsybl.iidm.modification.tripping.AbstractTripping
apply, apply
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.iidm.modification.NetworkModification
apply, apply
-
-
-
-
Method Detail
-
getBranchId
protected String getBranchId()
-
getVoltageLevelId
protected String getVoltageLevelId()
-
traverse
public void traverse(Network network, Set<Switch> switchesToOpen, Set<Terminal> terminalsToDisconnect, Set<Terminal> traversedTerminals)
-
createNotFoundException
protected PowsyblException createNotFoundException()
-
createNotConnectedException
protected PowsyblException createNotConnectedException()
-
-