MaterialStreamGetTPFraction Method |
Retrieves temperature, pressure and composition for a Phase.
Namespace: DWSIM.Thermodynamics.StreamsAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax public void GetTPFraction(
string phaseLabel,
ref double temperature,
ref double pressure,
ref Object composition
)
Public Sub GetTPFraction (
phaseLabel As String,
ByRef temperature As Double,
ByRef pressure As Double,
ByRef composition As Object
)
Request Example
View SourceParameters
- phaseLabel String
- Phase label of the Phase for which the property is required. The Phase label
must be one of the identifiers returned by the GetPresentPhases method of this interface.
- temperature Double
- Temperature (in K)
- pressure Double
- Pressure (in Pa)
- composition Object
- Composition (mole fractions)
Implements
ICapeThermoMaterial.GetTPFraction(String, Double, Double, Object)Remarks This method is provided to make it easier for developers to make efficient use of the CAPEOPEN
interfaces. It returns the most frequently requested information from a Material
Object in a single call.
There is no choice of basis in this method. The composition is always returned as mole
fractions.
To get the equivalent information for the overall mixture the GetOverallTPFraction method
of the ICapeThermoMaterial interface should be used.
See Also