Package com.powsybl.sensitivity
Enum SensitivityFunctionType
- java.lang.Object
-
- java.lang.Enum<SensitivityFunctionType>
-
- com.powsybl.sensitivity.SensitivityFunctionType
-
- All Implemented Interfaces:
Serializable
,Comparable<SensitivityFunctionType>
public enum SensitivityFunctionType extends Enum<SensitivityFunctionType>
Supported function types related to the equipment to monitor. Use: - BRANCH_ACTIVE_POWER if you want to monitor the active power in MW of a network branch (lines, two windings transformer, dangling lines, etc.). - BRANCH_CURRENT if you want to monitor the current in A of a network branch (lines, two windings transformer, dangling lines, etc.). - BUS_VOLTAGE if you want to monitor the voltage in KV of a specific network bus.- Author:
- Geoffroy Jamgotchian
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRANCH_ACTIVE_POWER
Deprecated.UseBRANCH_ACTIVE_POWER_1
instead.BRANCH_ACTIVE_POWER_1
BRANCH_ACTIVE_POWER_2
BRANCH_CURRENT
Deprecated.UseBRANCH_CURRENT_1
instead.BRANCH_CURRENT_1
BRANCH_CURRENT_2
BUS_VOLTAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SensitivityFunctionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SensitivityFunctionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BRANCH_ACTIVE_POWER
@Deprecated public static final SensitivityFunctionType BRANCH_ACTIVE_POWER
Deprecated.UseBRANCH_ACTIVE_POWER_1
instead.
-
BRANCH_CURRENT
@Deprecated public static final SensitivityFunctionType BRANCH_CURRENT
Deprecated.UseBRANCH_CURRENT_1
instead.
-
BRANCH_ACTIVE_POWER_1
public static final SensitivityFunctionType BRANCH_ACTIVE_POWER_1
-
BRANCH_CURRENT_1
public static final SensitivityFunctionType BRANCH_CURRENT_1
-
BRANCH_ACTIVE_POWER_2
public static final SensitivityFunctionType BRANCH_ACTIVE_POWER_2
-
BRANCH_CURRENT_2
public static final SensitivityFunctionType BRANCH_CURRENT_2
-
BUS_VOLTAGE
public static final SensitivityFunctionType BUS_VOLTAGE
-
-
Method Detail
-
values
public static SensitivityFunctionType[] 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 (SensitivityFunctionType c : SensitivityFunctionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SensitivityFunctionType 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
-
-