ThermoPlugCalcLnFug 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
public abstract double[] CalcLnFug(
	double T,
	double P,
	double[] Vx,
	double[,] VKij,
	double[] VTc,
	double[] VPc,
	double[] Vw,
	Object otherargs = null,
	int phase = -1
)

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

Double
Array of ln(fugacity coefficients) for each component.

See Also