Click or drag to resize

PropertyPackageDW_CalcBubT Method

Does a Bubble Temperature calculation for the specified liquid composition at the specified pressure.

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

Parameters

Vx  Array
Vector of doubles containing liquid 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

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