Enum IeeeCdfBus.Type

  • All Implemented Interfaces:
    Serializable, Comparable<IeeeCdfBus.Type>
    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 Detail

      • 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 Detail

      • values

        public static IeeeCdfBus.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IeeeCdfBus.Type c : IeeeCdfBus.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IeeeCdfBus.Type valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null