Class AdsorptionCycleController.PhaseStep

java.lang.Object
neqsim.process.equipment.adsorber.AdsorptionCycleController.PhaseStep
All Implemented Interfaces:
Serializable
Enclosing class:
AdsorptionCycleController

public static class AdsorptionCycleController.PhaseStep extends Object implements Serializable
Defines a single phase within a cycle schedule.
Version:
1.0
Author:
Even Solbraa
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
    • phase

      The cycle phase.
    • duration

      private final double duration
      Duration of this phase step (seconds).
    • targetPressure

      private final double targetPressure
      Target pressure for this step (bara), or -1 if not applicable.
    • targetTemperature

      private final double targetTemperature
      Target temperature for this step (K), or -1 if not applicable.
  • Constructor Details

    • PhaseStep

      public PhaseStep(AdsorptionCycleController.CyclePhase phase, double duration)
      Create a phase step with a duration.
      Parameters:
      phase - the cycle phase
      duration - duration in seconds
    • PhaseStep

      public PhaseStep(AdsorptionCycleController.CyclePhase phase, double duration, double targetPressure, double targetTemperature)
      Create a phase step with a duration and target pressure.
      Parameters:
      phase - the cycle phase
      duration - duration in seconds
      targetPressure - target pressure (bara)
      targetTemperature - target temperature (K)
  • Method Details

    • getPhase

      Get the cycle phase.
      Returns:
      the cycle phase
    • getDuration

      public double getDuration()
      Get the step duration.
      Returns:
      duration in seconds
    • getTargetPressure

      public double getTargetPressure()
      Get the target pressure.
      Returns:
      target pressure in bara, or -1 if not set
    • getTargetTemperature

      public double getTargetTemperature()
      Get the target temperature.
      Returns:
      target temperature in K, or -1 if not set