Package com.powsybl.iidm.modification
Class PhaseShifterSetAsFixedTap
java.lang.Object
com.powsybl.iidm.modification.AbstractNetworkModification
com.powsybl.iidm.modification.PhaseShifterSetAsFixedTap
- All Implemented Interfaces:
NetworkModification
-
Field Summary
Fields inherited from class com.powsybl.iidm.modification.AbstractNetworkModification
DEFAULT_IMPACT, EPSILON, impact
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Network network, NamingStrategy namingStrategy, boolean throwException, ComputationManager computationManager, ReportNode reportNode) Applies the modification to the given network.getName()
Returns the name of the network modification.hasImpactOnNetwork
(Network network) States if the network modification would change the current state of the network.Methods inherited from class com.powsybl.iidm.modification.AbstractNetworkModification
apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, apply, areValuesEqual, areValuesEqual, checkVoltageLevel, isValueOutsideRange, logOrThrow, reportOnDryRunStart, reportOnInconclusiveDryRun
-
Constructor Details
-
PhaseShifterSetAsFixedTap
-
-
Method Details
-
getName
Description copied from class:AbstractNetworkModification
Returns the name of the network modification. That name corresponds to the type of network modification- Specified by:
getName
in classAbstractNetworkModification
- Returns:
- the name of the network modification
-
apply
public void apply(Network network, NamingStrategy namingStrategy, boolean throwException, ComputationManager computationManager, ReportNode reportNode) Description copied from interface:NetworkModification
Applies the modification to the given network. IfthrowException
is set totrue
, 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. -
hasImpactOnNetwork
Description copied from interface:NetworkModification
States if the network modification would change the current state of the network. It has no impact on the network.- Specified by:
hasImpactOnNetwork
in interfaceNetworkModification
- Overrides:
hasImpactOnNetwork
in classAbstractNetworkModification
- Parameters:
network
- Network that serves as reference for the impact.- Returns:
- True if the network modification would have an impact on the network.
-