-
-
Notifications
You must be signed in to change notification settings - Fork 409
Make Matlab species thermo properties consistent and useful #522
Copy link
Copy link
Closed
Description
The documentation for the Matlab function enthalpies_RT says it returns the "standard-state" species enthalpies. However, it ultimately calls the C++ method ThermoPhase::getEnthalpy_RT_ref, which returns what Cantera calls the "reference state" enthalpies. This represents the confluence of several problems:
- The name of the function does not indicate that it is returning values for the standard state rather than the current state
- No function exists in the Matlab toolbox to return the actual species enthalpies
- The terminology of "reference state" vs "standard state" is inconsistent between the Matlab toolbox and the C++ base, with the Matlab terminology (I think) more closely matching the more common thermodynamic convention.
The same issue applies for gibbs_RT, entropies_R, and Cp_R, except that for these, the documentation doesn't even say that the values returned are for the reference state.
Reactions are currently unavailable