PropertyPackageDW_CalcEnthalpy Method |
Calculates the enthalpy of a mixture.
Namespace: DWSIM.Thermodynamics.PropertyPackagesAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax public abstract double DW_CalcEnthalpy(
Array Vx,
double T,
double P,
State st
)
Public MustOverride Function DW_CalcEnthalpy (
Vx As Array,
T As Double,
P As Double,
st As State
) As Double
Request Example
View SourceParameters
- Vx Array
- Vector of doubles containing the molar composition of the mixture.
- T Double
- Temperature (K)
- P Double
- Pressure (Pa)
- st State
- State enum indicating the state of the mixture (liquid or vapor).
Return Value
DoubleThe enthalpy of the mixture in kJ/kg.
Remarks The basis for the calculated enthalpy/entropy in DWSIM is zero at 25 C and 1 atm.
See Also