Enum Class PFDLayoutPolicy.SeparatorOutlet
java.lang.Object
java.lang.Enum<PFDLayoutPolicy.SeparatorOutlet>
neqsim.process.processmodel.diagram.PFDLayoutPolicy.SeparatorOutlet
- All Implemented Interfaces:
Serializable, Comparable<PFDLayoutPolicy.SeparatorOutlet>, Constable
- Enclosing class:
PFDLayoutPolicy
Separator outlet type for proper positioning.
For three-phase separators:
- Gas exits from top (north)
- Oil exits from middle (east - between gas and water)
- Water/Aqueous exits from bottom (south) - heaviest liquid
- Version:
- 1.0
- Author:
- NeqSim
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFeed inlet - enters from side.Gas outlet - exits from top.Generic liquid outlet (two-phase separator) - exits from bottom.Oil outlet (three-phase separator) - exits from middle/side.Water/Aqueous outlet (three-phase separator) - exits from bottom (heaviest). -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPort()Gets the Graphviz port position.intGets the rank offset for layout.Returns the enum constant of this class with the specified name.static PFDLayoutPolicy.SeparatorOutlet[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GAS_TOP
Gas outlet - exits from top. -
OIL_MIDDLE
Oil outlet (three-phase separator) - exits from middle/side. -
WATER_BOTTOM
Water/Aqueous outlet (three-phase separator) - exits from bottom (heaviest). -
LIQUID_BOTTOM
Generic liquid outlet (two-phase separator) - exits from bottom. -
FEED_SIDE
Feed inlet - enters from side.
-
-
Field Details
-
port
-
rankOffset
private final int rankOffset
-
-
Constructor Details
-
SeparatorOutlet
-
-
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
-
getPort
-
getRankOffset
public int getRankOffset()Gets the rank offset for layout.- Returns:
- rank offset (0=same, positive=lower)
-