PropertyPackageDW_CalcEntropy Method |
Calculates the entropy of a mixture.
Namespace: DWSIM.Thermodynamics.PropertyPackagesAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax public abstract double DW_CalcEntropy(
Array Vx,
double T,
double P,
State st
)
Public MustOverride Function DW_CalcEntropy (
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 entropy of the mixture in kJ/kg.K.
Remarks The basis for the calculated enthalpy/entropy in DWSIM is zero at 25 C and 1 atm.
See Also