Class StandbyAutomatonImpl

All Implemented Interfaces:
Extension<StaticVarCompensator>, StandbyAutomaton, MultiVariantObject

public class StandbyAutomatonImpl extends AbstractMultiVariantIdentifiableExtension<StaticVarCompensator> implements StandbyAutomaton
Author:
Jérémy Labous <jlabous at silicom.fr>
  • Constructor Details

    • StandbyAutomatonImpl

      public StandbyAutomatonImpl(StaticVarCompensator svc, double b0, boolean standby, double lowVoltageSetpoint, double highVoltageSetpoint, double lowVoltageThreshold, double highVoltageThreshold)
  • Method Details

    • isStandby

      public boolean isStandby()
      Description copied from interface: StandbyAutomaton
      Get the status of the automaton. Use true if in service, false otherwise.
      Specified by:
      isStandby in interface StandbyAutomaton
    • setStandby

      public StandbyAutomatonImpl setStandby(boolean standby)
      Specified by:
      setStandby in interface StandbyAutomaton
    • getB0

      public double getB0()
      Description copied from interface: StandbyAutomaton
      Get 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:
      getB0 in interface StandbyAutomaton
    • setB0

      public StandbyAutomatonImpl setB0(double b0)
      Description copied from interface: StandbyAutomaton
      Set 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:
      setB0 in interface StandbyAutomaton
    • getHighVoltageSetpoint

      public double getHighVoltageSetpoint()
      Description copied from interface: StandbyAutomaton
      Get the voltage setpoint (in kV) used when the high voltage threshold is reached.
      Specified by:
      getHighVoltageSetpoint in interface StandbyAutomaton
    • setHighVoltageSetpoint

      public StandbyAutomatonImpl setHighVoltageSetpoint(double highVoltageSetpoint)
      Description copied from interface: StandbyAutomaton
      Set the voltage setpoint (in kV) used when the high voltage threshold is reached.
      Specified by:
      setHighVoltageSetpoint in interface StandbyAutomaton
    • getHighVoltageThreshold

      public double getHighVoltageThreshold()
      Description copied from interface: StandbyAutomaton
      Get the high voltage threshold (in kV). Above this value, the static var compensator controls voltage at high voltage setpoint.
      Specified by:
      getHighVoltageThreshold in interface StandbyAutomaton
    • setHighVoltageThreshold

      public StandbyAutomatonImpl setHighVoltageThreshold(double highVoltageThreshold)
      Description copied from interface: StandbyAutomaton
      Set the high voltage threshold (in kV). Above this value, the static var compensator controls voltage at high voltage setpoint.
      Specified by:
      setHighVoltageThreshold in interface StandbyAutomaton
    • getLowVoltageSetpoint

      public double getLowVoltageSetpoint()
      Description copied from interface: StandbyAutomaton
      Get the voltage setpoint (in kV) used when the low voltage threshold is reached.
      Specified by:
      getLowVoltageSetpoint in interface StandbyAutomaton
    • setLowVoltageSetpoint

      public StandbyAutomatonImpl setLowVoltageSetpoint(double lowVoltageSetpoint)
      Description copied from interface: StandbyAutomaton
      Set the voltage setpoint (in kV) used when the low voltage threshold is reached.
      Specified by:
      setLowVoltageSetpoint in interface StandbyAutomaton
    • getLowVoltageThreshold

      public double getLowVoltageThreshold()
      Description copied from interface: StandbyAutomaton
      Get the low voltage threshold (in kV). Under this value, the static var compensator controls voltage at low voltage setpoint.
      Specified by:
      getLowVoltageThreshold in interface StandbyAutomaton
    • setLowVoltageThreshold

      public StandbyAutomatonImpl setLowVoltageThreshold(double lowVoltageThreshold)
      Description copied from interface: StandbyAutomaton
      Set the low voltage threshold (in kV). Under this value, the static var compensator controls voltage at low voltage setpoint.
      Specified by:
      setLowVoltageThreshold in interface StandbyAutomaton
    • extendVariantArraySize

      public void extendVariantArraySize(int initVariantArraySize, int number, int sourceIndex)
      Description copied from interface: MultiVariantObject
      Called to extend the variant array.
      Specified by:
      extendVariantArraySize in interface MultiVariantObject
      Parameters:
      initVariantArraySize - initial variant array size
      number - number of element to add
      sourceIndex - the variant index to use to initialize new variants
    • reduceVariantArraySize

      public void reduceVariantArraySize(int number)
      Description copied from interface: MultiVariantObject
      Called to reduce the variant array.
      Specified by:
      reduceVariantArraySize in interface MultiVariantObject
      Parameters:
      number - number of element to remove
    • deleteVariantArrayElement

      public void deleteVariantArrayElement(int i)
      Description copied from interface: MultiVariantObject
      Called to delete a variant array element.
      Specified by:
      deleteVariantArrayElement in interface MultiVariantObject
      Parameters:
      i - the index of the variant array to delete
    • allocateVariantArrayElement

      public void allocateVariantArrayElement(int[] indexes, int sourceIndex)
      Description copied from interface: MultiVariantObject
      Called to allocate a variant array element. All new variants will be initialize using values of the variant sourceIndex.
      Specified by:
      allocateVariantArrayElement in interface MultiVariantObject
      Parameters:
      indexes - the indexes of the variant array to allocate
      sourceIndex - the variant index to use to initialize new variants