Class BranchTripping
- java.lang.Object
-
- com.powsybl.iidm.modification.AbstractNetworkModification
-
- 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
-
-
Field Summary
Fields Modifier and Type Field Description protected String
voltageLevelId
-
Fields inherited from class com.powsybl.iidm.modification.tripping.AbstractTripping
id
-
-
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 Deprecated Methods Modifier and Type Method Description protected PowsyblException
createNotConnectedException()
protected PowsyblException
createNotFoundException()
protected String
getBranchId()
Deprecated.UseAbstractTripping.getId()
instead.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, getId, traverseDoubleSidedEquipment
-
Methods inherited from class com.powsybl.iidm.modification.AbstractNetworkModification
apply, apply, apply, apply, apply, logOrThrow
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
voltageLevelId
protected final String voltageLevelId
-
-
Method Detail
-
getBranchId
@Deprecated protected String getBranchId()
Deprecated.UseAbstractTripping.getId()
instead.
-
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()
-
-