Enum Class IeeeCdfBus.Type

java.lang.Object
java.lang.Enum<IeeeCdfBus.Type>
com.powsybl.ieeecdf.model.IeeeCdfBus.Type
All Implemented Interfaces:
Serializable, Comparable<IeeeCdfBus.Type>, Constable
Enclosing class:
IeeeCdfBus

public static enum IeeeCdfBus.Type extends Enum<IeeeCdfBus.Type>
0 - Unregulated (load, PQ) 1 - Hold MVAR generation within voltage limits, (PQ) 2 - Hold voltage within VAR limits (gen, PV) 3 - Hold voltage and angle (swing, V-Theta) (must always have one)
  • Enum Constant Details

    • UNREGULATED

      public static final IeeeCdfBus.Type UNREGULATED
    • HOLD_MVAR_GENERATION_WITHIN_VOLTAGE_LIMITS

      public static final IeeeCdfBus.Type HOLD_MVAR_GENERATION_WITHIN_VOLTAGE_LIMITS
    • HOLD_VOLTAGE_WITHIN_VAR_LIMITS

      public static final IeeeCdfBus.Type HOLD_VOLTAGE_WITHIN_VAR_LIMITS
    • HOLD_VOLTAGE_AND_ANGLE

      public static final IeeeCdfBus.Type HOLD_VOLTAGE_AND_ANGLE
  • Method Details

    • values

      public static IeeeCdfBus.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IeeeCdfBus.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null