ThermoPlugCalcGibbsEnergy Method

Calculates the molar Gibbs energy departure of a mixture using the equation of state.

Definition

Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
public abstract double CalcGibbsEnergy(
	string phasetype,
	double T,
	double P,
	Array Vz,
	Object VKij,
	Array VTc,
	Array VPc,
	Array Vw,
	double Gid,
	Object otherargs = null
)

Parameters

phasetype  String
Phase type identifier ("V" for vapor, "L" for liquid).
T  Double
Temperature (K).
P  Double
Pressure (Pa).
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.
Gid  Double
Ideal gas Gibbs energy (J/mol) used as reference.
otherargs  Object  (Optional)
Optional additional arguments for the EOS.

Return Value

Double
Molar Gibbs energy (J/mol).

See Also