Package com.powsybl.iidm.modification
Class AbstractNetworkModification
- java.lang.Object
-
- com.powsybl.iidm.modification.AbstractNetworkModification
-
- All Implemented Interfaces:
NetworkModification
- Direct Known Subclasses:
AbstractTripping
,CloseSwitch
,ConnectGenerator
,ConnectVoltageLevelOnLine
,CreateBranchFeederBays
,CreateCouplingDevice
,CreateFeederBay
,CreateLineOnLine
,CreateVoltageLevelTopology
,GeneratorModification
,NetworkModificationList
,OpenSwitch
,PhaseShifterOptimizeTap
,PhaseShifterSetAsFixedTap
,PhaseShifterShiftTap
,RemoveFeederBay
,ReplaceTeePointByVoltageLevelOnLine
,RevertConnectVoltageLevelOnLine
,RevertCreateLineOnLine
,ScriptNetworkModification
public abstract class AbstractNetworkModification extends Object implements NetworkModification
- Author:
- Miora Vedelago
-
-
Constructor Summary
Constructors Constructor Description AbstractNetworkModification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Network network)
void
apply(Network network, boolean throwException, Reporter reporter)
Applies the modification to the given network.void
apply(Network network, Reporter reporter)
void
apply(Network network, ComputationManager computationManager)
void
apply(Network network, ComputationManager computationManager, Reporter reporter)
-
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
-
-
-
-
Method Detail
-
apply
public void apply(Network network)
- Specified by:
apply
in interfaceNetworkModification
-
apply
public void apply(Network network, ComputationManager computationManager)
- Specified by:
apply
in interfaceNetworkModification
-
apply
public void apply(Network network, ComputationManager computationManager, Reporter reporter)
- Specified by:
apply
in interfaceNetworkModification
-
apply
public void apply(Network network, Reporter reporter)
- Specified by:
apply
in interfaceNetworkModification
-
apply
public void apply(Network network, boolean throwException, 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
-
-