Enum Class FlowRateOptimizationResult.Status
java.lang.Object
java.lang.Enum<FlowRateOptimizationResult.Status>
neqsim.process.util.optimizer.FlowRateOptimizationResult.Status
- All Implemented Interfaces:
Serializable, Comparable<FlowRateOptimizationResult.Status>, Constable
- Enclosing class:
FlowRateOptimizationResult
public static enum FlowRateOptimizationResult.Status
extends Enum<FlowRateOptimizationResult.Status>
Status of the optimization result.
- Version:
- 1.0
- Author:
- ESOL
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn error occurred during optimization.A constraint (e.g., velocity limit) is violated at all feasible flow rates.Target pressure drop cannot be achieved at any flow rate.Optimization did not converge within the maximum iterations.Optimization converged to a feasible solution. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FlowRateOptimizationResult.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPTIMAL
Optimization converged to a feasible solution. -
INFEASIBLE_PRESSURE
Target pressure drop cannot be achieved at any flow rate. Pressure at minimum flow is already below target, or pressure at maximum flow is above target. -
INFEASIBLE_CONSTRAINT
A constraint (e.g., velocity limit) is violated at all feasible flow rates. -
NOT_CONVERGED
Optimization did not converge within the maximum iterations. -
ERROR
An error occurred during optimization.
-
-
Constructor Details
-
Status
private Status()
-
-
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
-