Thermo PlugCalc Joule Thomson Coefficient Method
Calculates the Joule-Thomson coefficient (dT/dP at constant enthalpy) for a mixture using a cubic EOS.
Definition
Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Joule-Thomson coefficient (K/Pa).
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public static double CalcJouleThomsonCoefficient(
double[] Vx,
double P,
double T,
PropertyPackage pp,
string eos,
double cp,
double VMM
)VB
Public Shared Function CalcJouleThomsonCoefficient (
Vx As Double(),
P As Double,
T As Double,
pp As PropertyPackage,
eos As String,
cp As Double,
VMM As Double
) As DoubleParameters
- Vx Double
- Array of mole fractions.
- P Double
- Pressure (Pa).
- T Double
- Temperature (K).
- pp PropertyPackage
- The property package instance providing EOS parameters.
- eos String
- EOS identifier string ("PR", "PR78", or "SRK").
- cp Double
- Molar heat capacity at constant pressure (J/mol·K).
- VMM Double
- Molar mass of the mixture (kg/mol).
Return Value
DoubleJoule-Thomson coefficient (K/Pa).