Thermo PlugCalc Entropy 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
Molar entropy (J/mol·K).
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
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
)VB
Public MustOverride Function CalcEntropy (
phasetype As String,
T As Double,
P As Double,
Vz As Array,
VKij As Object,
VTc As Array,
VPc As Array,
Vw As Array,
Sid As Double,
Optional otherargs As Object = Nothing
) As DoubleParameters
- 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
DoubleMolar entropy (J/mol·K).