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

public static enum PFDLayoutPolicy.SeparatorOutlet extends Enum<PFDLayoutPolicy.SeparatorOutlet>
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
  • Enum Constant Details

  • Field Details

    • port

      private final String port
    • rankOffset

      private final int rankOffset
  • Constructor Details

    • SeparatorOutlet

      private SeparatorOutlet(String port, int rankOffset)
  • Method Details

    • values

      public static PFDLayoutPolicy.SeparatorOutlet[] 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

      public static PFDLayoutPolicy.SeparatorOutlet valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getPort

      public String getPort()
      Gets the Graphviz port position.
      Returns:
      port position (n, s, e, w, etc.)
    • getRankOffset

      public int getRankOffset()
      Gets the rank offset for layout.
      Returns:
      rank offset (0=same, positive=lower)