Enum Class CalculatorLibrary.Preset

java.lang.Object
java.lang.Enum<CalculatorLibrary.Preset>
neqsim.process.equipment.util.CalculatorLibrary.Preset
All Implemented Interfaces:
Serializable, Comparable<CalculatorLibrary.Preset>, Constable
Enclosing class:
CalculatorLibrary

public static enum CalculatorLibrary.Preset extends Enum<CalculatorLibrary.Preset>
Preset identifiers that can be resolved through CalculatorLibrary.byName(String).
  • Enum Constant Details

    • ENERGY_BALANCE

      public static final CalculatorLibrary.Preset ENERGY_BALANCE
      Performs an enthalpy-based energy balance using the input streams and flashes the output stream at its current pressure to match the summed enthalpy.
    • DEW_POINT_TARGETING

      public static final CalculatorLibrary.Preset DEW_POINT_TARGETING
      Sets the output stream temperature to the hydrocarbon dew point of the first input stream at the output stream's pressure.
  • Constructor Details

    • Preset

      private Preset()
  • Method Details

    • values

      public static CalculatorLibrary.Preset[] 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 CalculatorLibrary.Preset 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