Package com.powsybl.iidm.network
Interface RatioTapChanger
- All Superinterfaces:
TapChanger<RatioTapChanger,
RatioTapChangerStep, RatioTapChangerStepsReplacer, RatioTapChangerStepsReplacer.StepAdder>
public interface RatioTapChanger
extends TapChanger<RatioTapChanger,RatioTapChangerStep,RatioTapChangerStepsReplacer,RatioTapChangerStepsReplacer.StepAdder>
A ratio tap changer that is associated to a transformer to control the voltage or reactive power.
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the regulation mode.double
Get the regulation valuedouble
Get the target voltage in kV.boolean
Get the load tap changing capabilities status.setLoadTapChangingCapabilities
(boolean status) Set the load tap changing capabilities status.setRegulationMode
(RatioTapChanger.RegulationMode regulationMode) Set the regulation mode.setRegulationValue
(double regulationValue) Set the regulation value.setTargetV
(double targetV) Set the target voltage in kV and sets regulating mode toRatioTapChanger.RegulationMode.VOLTAGE
.Methods inherited from interface com.powsybl.iidm.network.TapChanger
findTapPosition, getAllSteps, getCurrentStep, getHighTapPosition, getLowTapPosition, getNeutralPosition, getNeutralStep, getRegulationTerminal, getStep, getStepCount, getTapPosition, getTargetDeadband, isRegulating, remove, setLowTapPosition, setRegulating, setRegulationTerminal, setTapPosition, setTargetDeadband, stepsReplacer, unsetTapPosition
-
Method Details
-
getRegulationMode
RatioTapChanger.RegulationMode getRegulationMode()Get the regulation mode. Supported modes areRatioTapChanger.RegulationMode.VOLTAGE
andRatioTapChanger.RegulationMode.REACTIVE_POWER
.- Returns:
- the regulation mode.
-
setRegulationMode
Set the regulation mode. Supported modes areRatioTapChanger.RegulationMode.VOLTAGE
andRatioTapChanger.RegulationMode.REACTIVE_POWER
.- Parameters:
regulationMode
- the regulation mode.- Returns:
- itself for method chaining
-
getRegulationValue
double getRegulationValue()Get the regulation value. - a setpoint in kV in case ofRatioTapChanger.RegulationMode.VOLTAGE
regulation - a setpoint in MVar in case ofRatioTapChanger.RegulationMode.REACTIVE_POWER
regulationDepends on the working variant.
- See Also:
-
setRegulationValue
Set the regulation value.Depends on the working variant.
- Parameters:
regulationValue
- the regulation value.- Returns:
- itself for method chaining.
- See Also:
-
getTargetV
double getTargetV()Get the target voltage in kV.Returns NaN if the regulation mode is not
RatioTapChanger.RegulationMode.VOLTAGE
.Depends on the working variant.
- See Also:
-
setTargetV
Set the target voltage in kV and sets regulating mode toRatioTapChanger.RegulationMode.VOLTAGE
.Depends on the working variant.
- Returns:
- itself for method chaining.
- See Also:
-
hasLoadTapChangingCapabilities
boolean hasLoadTapChangingCapabilities()Get the load tap changing capabilities status. -
setLoadTapChangingCapabilities
Set the load tap changing capabilities status.- Returns:
- itself for method chaining.
-