Class AdsorptionCycleController.PhaseStep
java.lang.Object
neqsim.process.equipment.adsorber.AdsorptionCycleController.PhaseStep
- All Implemented Interfaces:
Serializable
- Enclosing class:
AdsorptionCycleController
Defines a single phase within a cycle schedule.
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleDuration of this phase step (seconds).private final AdsorptionCycleController.CyclePhaseThe cycle phase.private static final longSerialization version UID.private final doubleTarget pressure for this step (bara), or -1 if not applicable.private final doubleTarget temperature for this step (K), or -1 if not applicable. -
Constructor Summary
ConstructorsConstructorDescriptionPhaseStep(AdsorptionCycleController.CyclePhase phase, double duration) Create a phase step with a duration.PhaseStep(AdsorptionCycleController.CyclePhase phase, double duration, double targetPressure, double targetTemperature) Create a phase step with a duration and target pressure. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the step duration.getPhase()Get the cycle phase.doubleGet the target pressure.doubleGet the target temperature.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
phase
The cycle phase. -
duration
private final double durationDuration of this phase step (seconds). -
targetPressure
private final double targetPressureTarget pressure for this step (bara), or -1 if not applicable. -
targetTemperature
private final double targetTemperatureTarget temperature for this step (K), or -1 if not applicable.
-
-
Constructor Details
-
PhaseStep
Create a phase step with a duration.- Parameters:
phase- the cycle phaseduration- 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 phaseduration- duration in secondstargetPressure- 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
-