Thermo PlugCalc Ln Fug TV Method
Calculates the natural logarithm of fugacity coefficients at the given temperature and molar volume (TV specification).
Definition
Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Array of ln(fugacity coefficients) for each component.
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public abstract double[] CalcLnFugTV(
double T,
double V,
Array Vx,
Object VKij,
Array VTc,
Array VPc,
Array Vw,
Object otherargs = null,
int phase = -1
)VB
Public MustOverride Function CalcLnFugTV (
T As Double,
V As Double,
Vx As Array,
VKij As Object,
VTc As Array,
VPc As Array,
Vw As Array,
Optional otherargs As Object = Nothing,
Optional phase As Integer = -1
) As Double()Parameters
- T Double
- Temperature (K).
- V Double
- Molar volume (m³/mol).
- Vx Array
- Array of mole fractions.
- VKij Object
- Binary interaction parameter matrix.
- VTc Array
- Array of critical temperatures (K).
- VPc Array
- Array of critical pressures (Pa).
- Vw Array
- Array of acentric factors.
- otherargs Object (Optional)
- Optional additional arguments for the EOS.
- phase Int32 (Optional)
- Phase identifier (-1 for auto-detection).
Return Value
DoubleArray of ln(fugacity coefficients) for each component.