Property PackageDW_ Calc Kvalue(Array, Double, Double) 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(
Array Vx,
double T,
double P
)VB
Public Overridable Function DW_CalcKvalue (
Vx As Array,
T As Double,
P As Double
) As Double()Parameters
- Vx Array
- Vector of doubles containing the molar composition of the mixture.
- T Double
- Temperature of the system, in K.
- P Double
- Pressure of the system, in Pa.
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.