ThermoPlugCalcEntropy Method

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

Return Value

Double
Molar entropy (J/mol·K).

See Also