Enum Class CompressorWashing.WashingMethod

java.lang.Object
java.lang.Enum<CompressorWashing.WashingMethod>
neqsim.process.equipment.compressor.CompressorWashing.WashingMethod
All Implemented Interfaces:
Serializable, Comparable<CompressorWashing.WashingMethod>, Constable
Enclosing class:
CompressorWashing

public static enum CompressorWashing.WashingMethod extends Enum<CompressorWashing.WashingMethod>
Compressor washing method types.
Version:
1.0
Author:
NeqSim Development Team
  • Enum Constant Details

  • Field Details

    • displayName

      private final String displayName
    • recoveryEffectiveness

      private final double recoveryEffectiveness
    • requiredDowntimeHours

      private final double requiredDowntimeHours
    • canRunOnline

      private final boolean canRunOnline
  • Constructor Details

    • WashingMethod

      private WashingMethod(String displayName, double effectiveness, double downtime, boolean online)
  • Method Details

    • values

      public static CompressorWashing.WashingMethod[] 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 CompressorWashing.WashingMethod 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
    • getDisplayName

      public String getDisplayName()
      Gets display name of washing method.
      Returns:
      display name
    • getRecoveryEffectiveness

      public double getRecoveryEffectiveness()
      Gets recovery effectiveness (0-1).
      Returns:
      fraction of fouling that can be removed
    • getRequiredDowntimeHours

      public double getRequiredDowntimeHours()
      Gets required downtime in hours.
      Returns:
      downtime hours (0 for online methods)
    • canRunOnline

      public boolean canRunOnline()
      Checks if method can be performed online.
      Returns:
      true if online operation supported