Class ProcessSystemState.StreamState
java.lang.Object
neqsim.process.processmodel.lifecycle.ProcessSystemState.StreamState
- All Implemented Interfaces:
Serializable
- Enclosing class:
ProcessSystemState
Represents the state of a process stream with key thermodynamic properties.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate static final longprivate double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromStream(StreamInterface stream) Creates a StreamState from a StreamInterface.Gets the stream composition (mole fractions).doubleGets the molar flow rate in mole/sec.doubleGets the stream pressure in bara.doubleGets the stream temperature in Kelvin.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
temperature
private double temperature -
pressure
private double pressure -
molarFlowRate
private double molarFlowRate -
composition
-
-
Constructor Details
-
StreamState
public StreamState()Default constructor.
-
-
Method Details
-
fromStream
Creates a StreamState from a StreamInterface.- Parameters:
stream- the stream to capture- Returns:
- a new StreamState
-
getTemperature
public double getTemperature()Gets the stream temperature in Kelvin.- Returns:
- temperature in K
-
getPressure
public double getPressure()Gets the stream pressure in bara.- Returns:
- pressure in bara
-
getMolarFlowRate
public double getMolarFlowRate()Gets the molar flow rate in mole/sec.- Returns:
- molar flow rate
-
getComposition
-