Enum Class DesignCase
- All Implemented Interfaces:
Serializable, Comparable<DesignCase>, Constable
Enumeration of design cases for process equipment sizing.
Different operating scenarios require different sizing considerations. This enum defines standard design cases used in field development projects.
- Version:
- 1.0
- Author:
- esol
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEarly life production.Emergency conditions.Late life production.Maximum operating conditions.Minimum operating conditions.Normal operating conditions.Shutdown conditions.Startup conditions.Summer conditions.Upset conditions.Winter conditions. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDesignCase(String displayName, String description, double typicalLoadFactor) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet case description.Get human-readable display name.doubleGet typical load factor relative to normal conditions.booleanCheck if this is a sizing-critical case.booleanCheck if this is a turndown case.booleanCheck if this case requires safety relief sizing.toString()static DesignCaseReturns the enum constant of this class with the specified name.static DesignCase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
Normal operating conditions. Steady-state production at expected rates. -
MAXIMUM
Maximum operating conditions. Highest expected throughput within design envelope. -
MINIMUM
Minimum operating conditions. Lowest stable operating point (turndown). -
STARTUP
Startup conditions. Transient conditions during plant startup. -
SHUTDOWN
Shutdown conditions. Controlled shutdown scenario. -
UPSET
Upset conditions. Abnormal operation within safety limits. -
EMERGENCY
Emergency conditions. Emergency operations or relief scenarios. -
WINTER
Winter conditions. Cold weather operations. -
SUMMER
Summer conditions. Hot weather operations. -
EARLY_LIFE
Early life production. Beginning of field life with maximum rates. -
LATE_LIFE
Late life production. Declining field with reduced rates.
-
-
Field Details
-
displayName
-
description
-
typicalLoadFactor
private final double typicalLoadFactor
-
-
Constructor Details
-
DesignCase
-
-
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
-
getDisplayName
-
getDescription
-
getTypicalLoadFactor
public double getTypicalLoadFactor()Get typical load factor relative to normal conditions.- Returns:
- load factor (1.0 = 100% of normal)
-
requiresReliefSizing
public boolean requiresReliefSizing()Check if this case requires safety relief sizing.- Returns:
- true if relief sizing is needed
-
isSizingCritical
public boolean isSizingCritical()Check if this is a sizing-critical case.- Returns:
- true if this case drives equipment sizing
-
isTurndownCase
public boolean isTurndownCase()Check if this is a turndown case.- Returns:
- true if this is a turndown scenario
-
toString
- Overrides:
toStringin classEnum<DesignCase>
-