Click or drag to resize

PropertyPackageDW_CalcDewP Method

Does a Dew Pressure calculation for the specified vapor phase composition at the specified temperature.

Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.4.5.0
Syntax
public virtual Object DW_CalcDewP(
	Array Vx,
	double T,
	double Pref = 0,
	Array K = null,
	bool ReuseK = false
)
Request Example View Source

Parameters

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

Object
Returns 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