Package com.powsybl.ieeecdf.model
Enum IeeeCdfBus.Type
- java.lang.Object
-
- java.lang.Enum<IeeeCdfBus.Type>
-
- com.powsybl.ieeecdf.model.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 Summary
Enum Constants Enum Constant Description HOLD_MVAR_GENERATION_WITHIN_VOLTAGE_LIMITS
HOLD_VOLTAGE_AND_ANGLE
HOLD_VOLTAGE_WITHIN_VAR_LIMITS
UNREGULATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IeeeCdfBus.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static IeeeCdfBus.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 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 nameNullPointerException
- if the argument is null
-
-