Class StandbyAutomatonAdderImpl
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtensionAdder<StaticVarCompensator,StandbyAutomaton>
-
- com.powsybl.iidm.network.impl.extensions.StandbyAutomatonAdderImpl
-
- All Implemented Interfaces:
ExtensionAdder<StaticVarCompensator,StandbyAutomaton>
,StandbyAutomatonAdder
public class StandbyAutomatonAdderImpl extends AbstractExtensionAdder<StaticVarCompensator,StandbyAutomaton> implements StandbyAutomatonAdder
- Author:
- Jérémy Labous
-
-
Constructor Summary
Constructors Constructor Description StandbyAutomatonAdderImpl(StaticVarCompensator svc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StandbyAutomaton
createExtension(StaticVarCompensator staticVarCompensator)
Creates the extension.StandbyAutomatonAdderImpl
withB0(double b0)
Define the fix part of the susceptance (in S) used when the static var compensator is in stand by.StandbyAutomatonAdderImpl
withHighVoltageSetpoint(double highVoltageSetpoint)
Define the voltage setpoint (in kV) used when the high voltage threshold is reached.StandbyAutomatonAdderImpl
withHighVoltageThreshold(double highVoltageThreshold)
Define the high voltage threshold (in kV).StandbyAutomatonAdderImpl
withLowVoltageSetpoint(double lowVoltageSetpoint)
Define the voltage setpoint (in kV) used when the low voltage threshold is reached.StandbyAutomatonAdderImpl
withLowVoltageThreshold(double lowVoltageThreshold)
Define the low voltage threshold (in kV).StandbyAutomatonAdderImpl
withStandbyStatus(boolean standby)
Define the status of the automaton.-
Methods inherited from class com.powsybl.commons.extensions.AbstractExtensionAdder
add
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.commons.extensions.ExtensionAdder
add
-
Methods inherited from interface com.powsybl.iidm.network.extensions.StandbyAutomatonAdder
getExtensionClass, withHighVoltageSetPoint, withLowVoltageSetPoint
-
-
-
-
Constructor Detail
-
StandbyAutomatonAdderImpl
public StandbyAutomatonAdderImpl(StaticVarCompensator svc)
-
-
Method Detail
-
createExtension
protected StandbyAutomaton createExtension(StaticVarCompensator staticVarCompensator)
Description copied from class:AbstractExtensionAdder
Creates the extension.- Specified by:
createExtension
in classAbstractExtensionAdder<StaticVarCompensator,StandbyAutomaton>
- Returns:
- the extension
-
withStandbyStatus
public StandbyAutomatonAdderImpl withStandbyStatus(boolean standby)
Description copied from interface:StandbyAutomatonAdder
Define the status of the automaton. Use true if in service, false otherwise.- Specified by:
withStandbyStatus
in interfaceStandbyAutomatonAdder
-
withB0
public StandbyAutomatonAdderImpl withB0(double b0)
Description copied from interface:StandbyAutomatonAdder
Define the fix part of the susceptance (in S) used when the static var compensator is in stand by. Should be between the mininal and the maximal susceptance of the static var compensator.- Specified by:
withB0
in interfaceStandbyAutomatonAdder
-
withHighVoltageSetpoint
public StandbyAutomatonAdderImpl withHighVoltageSetpoint(double highVoltageSetpoint)
Description copied from interface:StandbyAutomatonAdder
Define the voltage setpoint (in kV) used when the high voltage threshold is reached.- Specified by:
withHighVoltageSetpoint
in interfaceStandbyAutomatonAdder
-
withHighVoltageThreshold
public StandbyAutomatonAdderImpl withHighVoltageThreshold(double highVoltageThreshold)
Description copied from interface:StandbyAutomatonAdder
Define the high voltage threshold (in kV). Above this value, the static var compensator controls voltage at high voltage setpoint.- Specified by:
withHighVoltageThreshold
in interfaceStandbyAutomatonAdder
-
withLowVoltageSetpoint
public StandbyAutomatonAdderImpl withLowVoltageSetpoint(double lowVoltageSetpoint)
Description copied from interface:StandbyAutomatonAdder
Define the voltage setpoint (in kV) used when the low voltage threshold is reached.- Specified by:
withLowVoltageSetpoint
in interfaceStandbyAutomatonAdder
-
withLowVoltageThreshold
public StandbyAutomatonAdderImpl withLowVoltageThreshold(double lowVoltageThreshold)
Description copied from interface:StandbyAutomatonAdder
Define the low voltage threshold (in kV). Under this value, the static var compensator controls voltage at low voltage setpoint.- Specified by:
withLowVoltageThreshold
in interfaceStandbyAutomatonAdder
-
-