The thermo Matlab object lets the user calculate all thermodynamic properties as functions of temperature T and molar volume v, or of T and pressure p. All partial derivatives of the Helmholtz free energy up to order 3 are available, letting the user create analytical jacobians for effective solution of most problems.
Matlab versions of the models for H2 and CO2 used by NIST (https://webbook.nist.gov/chemistry/fluid/) are included.
Are Mjaavatten (2020). H2 and CO2 thermodynamics (https://www.github.com/are-mj/thermodynamics), GitHub. Retrieved .
Added missing newton.m. Minor code cleanup.
Added brief user guide
Bug fixes and minor improvements. H2twophase_region and CO2twophase no longer require the mapping toolbox.
Inspired by: Curve intersections