PropertyPackageDW_CalcDewT Method |
Does a Dew Temperature calculation for the specified vapor composition at the specified pressure.
Namespace: DWSIM.Thermodynamics.PropertyPackagesAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax public virtual Object DW_CalcDewT(
Array Vx,
double P,
double Tref = 0,
Array K = null,
bool ReuseK = false
)
Public Overridable Function DW_CalcDewT (
Vx As Array,
P As Double,
Optional Tref As Double = 0,
Optional K As Array = Nothing,
Optional ReuseK As Boolean = false
) As Object
Request Example
View SourceParameters
- Vx Array
- Vector of doubles containing vapor phase molar composition for each component in the mixture.
- P Double
- Tref Double (Optional)
- K Array (Optional)
- Vector with initial estimates for K-values
- ReuseK Boolean (Optional)
- Boolean indicating wether to use the initial estimates for K-values or not.
Return Value
ObjectReturns the object vector {L, V, Vx, Vy, T, ecount, Ki} where L is the liquid phase molar fraction,
V is the vapor phase molar fraction, Vx is the liquid phase molar composition vector, Vy is the vapor phase molar
composition vector, T is the calculated Temperature in K, ecount is the number of iterations and Ki is a vector containing
the calculated K-values.
Remarks The composition vector must follow the same sequence as the components which were added in the material stream.
See Also