Package com.powsybl.loadflow
Enum Class LoadFlowResult.Status
- All Implemented Interfaces:
Serializable
,Comparable<LoadFlowResult.Status>
,Constable
- Enclosing interface:
- LoadFlowResult
Load Flow global calculation status, derived from all
LoadFlowResult.ComponentResult
, using
LoadFlowResult.ComponentResult.Status
, but excluding non-calculated component i.e. excluding
components having status NO_CALCULATION
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNo single component has statusCONVERGED
.All calculated components have statusCONVERGED
and there is at least oneCONVERGED
component.At least one component has statusCONVERGED
, but some others have statusFAILED
orMAX_ITERATION_REACHED
-
Method Summary
Modifier and TypeMethodDescriptionstatic LoadFlowResult.Status
Returns the enum constant of this class with the specified name.static LoadFlowResult.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULLY_CONVERGED
All calculated components have statusCONVERGED
and there is at least oneCONVERGED
component. -
PARTIALLY_CONVERGED
At least one component has statusCONVERGED
, but some others have statusFAILED
orMAX_ITERATION_REACHED
-
FAILED
No single component has statusCONVERGED
. I.e. all components have either statusFAILED
orMAX_ITERATION_REACHED
orNO_CALCULATION
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-