Package com.powsybl.ieeecdf.model
Enum IeeeCdfBranch.Type
- java.lang.Object
-
- java.lang.Enum<IeeeCdfBranch.Type>
-
- com.powsybl.ieeecdf.model.IeeeCdfBranch.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<IeeeCdfBranch.Type>
- Enclosing class:
- IeeeCdfBranch
public static enum IeeeCdfBranch.Type extends Enum<IeeeCdfBranch.Type>
0 - Transmission line 1 - Fixed tap 2 - Variable tap for voltage control (TCUL, LTC) 3 - Variable tap (turns ratio) for MVAR control 4 - Variable phase angle for MW control (phase shifter)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIXED_TAP
TRANSMISSION_LINE
VARIABLE_PHASE_ANGLE_FOR_ACTIVE_POWER_CONTROL
VARIABLE_TAP_FOR_REACTIVE_POWER_CONTROL
VARIABLE_TAP_FOR_VOLTAVE_CONTROL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IeeeCdfBranch.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static IeeeCdfBranch.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSMISSION_LINE
public static final IeeeCdfBranch.Type TRANSMISSION_LINE
-
FIXED_TAP
public static final IeeeCdfBranch.Type FIXED_TAP
-
VARIABLE_TAP_FOR_VOLTAVE_CONTROL
public static final IeeeCdfBranch.Type VARIABLE_TAP_FOR_VOLTAVE_CONTROL
-
VARIABLE_TAP_FOR_REACTIVE_POWER_CONTROL
public static final IeeeCdfBranch.Type VARIABLE_TAP_FOR_REACTIVE_POWER_CONTROL
-
VARIABLE_PHASE_ANGLE_FOR_ACTIVE_POWER_CONTROL
public static final IeeeCdfBranch.Type VARIABLE_PHASE_ANGLE_FOR_ACTIVE_POWER_CONTROL
-
-
Method Detail
-
values
public static IeeeCdfBranch.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 (IeeeCdfBranch.Type c : IeeeCdfBranch.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 IeeeCdfBranch.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
-
-