Michelsen Flashdlnfug_ i_ dn_ j Method
Calculates the derivative of ln(fugacity coefficient) of each component i with respect to the mole number of component j,
using a four-point central finite difference scheme at constant T and V.
Definition
Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Array of d(ln fi)/dn_j values for each component i.
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public Object dlnfug_i_dn_j(
int jidx,
double T,
double V,
Array Vz,
Object VKij,
Array VTc,
Array VPc,
Array Vw,
Object otherargs = null
)VB
Public Function dlnfug_i_dn_j (
jidx As Integer,
T As Double,
V As Double,
Vz As Array,
VKij As Object,
VTc As Array,
VPc As Array,
Vw As Array,
Optional otherargs As Object = Nothing
) As ObjectParameters
- jidx Int32
- Zero-based index of the component j with respect to which the derivative is taken.
- T Double
- Temperature (K).
- V Double
- Molar volume (m³/mol).
- Vz 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.
Return Value
ObjectArray of d(ln fi)/dn_j values for each component i.