Class ProcessSystemState.FluidState
java.lang.Object
neqsim.process.processmodel.lifecycle.ProcessSystemState.FluidState
- All Implemented Interfaces:
Serializable
- Enclosing class:
ProcessSystemState
Represents the thermodynamic state of a fluid.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate doubleprivate static final longprivate doubleprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromFluid(SystemInterface fluid) Creates a FluidState from a SystemInterface.intdoubledouble
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
temperature
private double temperature -
pressure
private double pressure -
numberOfPhases
private int numberOfPhases -
composition
-
thermoModelClass
-
-
Constructor Details
-
FluidState
public FluidState()Default constructor.
-
-
Method Details
-
fromFluid
Creates a FluidState from a SystemInterface.- Parameters:
fluid- the fluid to capture- Returns:
- a new FluidState
-
getTemperature
public double getTemperature() -
getPressure
public double getPressure() -
getNumberOfPhases
public int getNumberOfPhases() -
getComposition
-
getThermoModelClass
-