ThermoPlugCalcEnthalpy Method

Calculates the molar enthalpy 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 CalcEnthalpy(
	string phasetype,
	double T,
	double P,
	Array Vz,
	Object VKij,
	Array VTc,
	Array VPc,
	Array Vw,
	double Hid,
	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.
Hid  Double
Ideal gas enthalpy (J/mol) used as reference.
otherargs  Object  (Optional)
Optional additional arguments for the EOS.

Return Value

Double
Molar enthalpy (J/mol).

See Also