Class AbstractTripping
- java.lang.Object
-
- com.powsybl.iidm.modification.AbstractNetworkModification
-
- com.powsybl.iidm.modification.tripping.AbstractTripping
-
- All Implemented Interfaces:
NetworkModification
,Tripping
- Direct Known Subclasses:
AbstractInjectionTripping
,BranchTripping
,BusbarSectionTripping
,BusTripping
,HvdcLineTripping
,SwitchTripping
,ThreeWindingsTransformerTripping
,TieLineTripping
public abstract class AbstractTripping extends AbstractNetworkModification implements Tripping
- Author:
- Mathieu Bague
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractTripping(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Network network, boolean throwException, ComputationManager computationManager, Reporter reporter)
Applies the modification to the given network.String
getId()
void
traverseDoubleSidedEquipment(String voltageLevelId, Terminal terminal1, Terminal terminal2, Set<Switch> switchesToOpen, Set<Terminal> terminalsToDisconnect, Set<Terminal> traversedTerminals, String equipmentType)
-
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
-
id
protected final String id
-
-
Constructor Detail
-
AbstractTripping
protected AbstractTripping(String id)
-
-
Method Detail
-
getId
public String getId()
-
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.- Specified by:
apply
in interfaceNetworkModification
-
-