PropertyPackageDW_CalcDewP Method |
Does a Dew Pressure calculation for the specified vapor phase composition at the specified temperature.
Namespace: DWSIM.Thermodynamics.PropertyPackagesAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax public virtual Object DW_CalcDewP(
Array Vx,
double T,
double Pref = 0,
Array K = null,
bool ReuseK = false
)
Public Overridable Function DW_CalcDewP (
Vx As Array,
T As Double,
Optional Pref 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.
- T Double
- Temperature in K
- Pref Double (Optional)
- Initial estimate for Pressure, in Pa
- 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, P, 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, P is the calculated Pressure in Pa, 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