Property PackageDW_ Calc Kvalue(Double, Double, Double, Double, String) Method
Calculates K-values of components in a mixture.
Definition
Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
An array containing K-values for all components in the mixture.
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public virtual double[] DW_CalcKvalue(
double[] Vx,
double[] Vy,
double T,
double P,
string type = "LV"
)VB
Public Overridable Function DW_CalcKvalue (
Vx As Double(),
Vy As Double(),
T As Double,
P As Double,
Optional type As String = "LV"
) As Double()Parameters
- Vx Double
- Vector of doubles containing the molar composition of the liquid phase.
- Vy Double
- Vector of doubles containing the molar composition of the vapor phase.
- T Double
- Temperature of the system.
- P Double
- Pressure of the system.
- type String (Optional)
Return Value
DoubleAn array containing K-values for all components in the mixture.
Remarks
The composition vector must follow the same sequence as the components which were added in the material stream.