Enum EquationType
- java.lang.Object
-
- java.lang.Enum<EquationType>
-
- com.powsybl.openloadflow.equations.EquationType
-
- All Implemented Interfaces:
Serializable
,Comparable<EquationType>
public enum EquationType extends Enum<EquationType>
- Author:
- Geoffroy Jamgotchian
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRANCH_ALPHA1
BRANCH_I
BRANCH_P
BRANCH_RHO1
BUS_I
BUS_P
BUS_PHI
BUS_Q
BUS_V
BUS_V_SLOPE
ZERO_PHI
ZERO_Q
ZERO_RHO1
ZERO_V
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementType
getElementType()
String
getSymbol()
static EquationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EquationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUS_P
public static final EquationType BUS_P
-
BUS_I
public static final EquationType BUS_I
-
BUS_Q
public static final EquationType BUS_Q
-
BUS_V
public static final EquationType BUS_V
-
BUS_V_SLOPE
public static final EquationType BUS_V_SLOPE
-
BUS_PHI
public static final EquationType BUS_PHI
-
BRANCH_P
public static final EquationType BRANCH_P
-
BRANCH_I
public static final EquationType BRANCH_I
-
BRANCH_ALPHA1
public static final EquationType BRANCH_ALPHA1
-
BRANCH_RHO1
public static final EquationType BRANCH_RHO1
-
ZERO_Q
public static final EquationType ZERO_Q
-
ZERO_V
public static final EquationType ZERO_V
-
ZERO_PHI
public static final EquationType ZERO_PHI
-
ZERO_RHO1
public static final EquationType ZERO_RHO1
-
-
Method Detail
-
values
public static EquationType[] 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 (EquationType c : EquationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EquationType 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
-
getSymbol
public String getSymbol()
-
getElementType
public ElementType getElementType()
-
-