Package com.powsybl.iidm.modification
Class StaticVarCompensatorModification
- java.lang.Object
-
- com.powsybl.iidm.modification.AbstractNetworkModification
-
- com.powsybl.iidm.modification.StaticVarCompensatorModification
-
- All Implemented Interfaces:
NetworkModification
public class StaticVarCompensatorModification extends AbstractNetworkModification
SimpleNetworkModification
for static var compensator.- Author:
- Nicolas PIERRE
-
-
Constructor Summary
Constructors Constructor Description StaticVarCompensatorModification(String svcId, Double voltageSetpoint, Double reactivePowerSetpoint)
-
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.OptionalDouble
getOptionalReactivePowerSetpoint()
OptionalDouble
getOptionalVoltageSetpoint()
Double
getReactivePowerSetpoint()
String
getSvcId()
Double
getVoltageSetpoint()
-
Methods inherited from class com.powsybl.iidm.modification.AbstractNetworkModification
apply, apply, apply, apply, apply, logOrThrow
-
-
-
-
Method Detail
-
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.
-
getSvcId
public String getSvcId()
-
getReactivePowerSetpoint
public Double getReactivePowerSetpoint()
-
getOptionalReactivePowerSetpoint
public OptionalDouble getOptionalReactivePowerSetpoint()
-
getVoltageSetpoint
public Double getVoltageSetpoint()
-
getOptionalVoltageSetpoint
public OptionalDouble getOptionalVoltageSetpoint()
-
-