Thermo PlugCalc Ln Fug Method
Calculates the natural logarithm of fugacity coefficients for each component at the given T and P.
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[] CalcLnFug(
double T,
double P,
double[] Vx,
double[,] VKij,
double[] VTc,
double[] VPc,
double[] Vw,
Object otherargs = null,
int phase = -1
)VB
Public MustOverride Function CalcLnFug (
T As Double,
P As Double,
Vx As Double(),
VKij As Double(,),
VTc As Double(),
VPc As Double(),
Vw As Double(),
Optional otherargs As Object = Nothing,
Optional phase As Integer = -1
) As Double()Parameters
- T Double
- Temperature (K).
- P Double
- Pressure (Pa).
- Vx Double
- Array of mole fractions.
- VKij Double
- Binary interaction parameter matrix.
- VTc Double
- Array of critical temperatures (K).
- VPc Double
- Array of critical pressures (Pa).
- Vw Double
- 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.