File Exchange

image thumbnail

H2 and CO2 thermodynamics

version 1.1.2 (163 KB) by Are Mjaavatten
Tool for effective thermodynamic calculations. Includes high-accuracy thermodynamic models for H2 and CO2.


Updated 10 Feb 2020

GitHub view license on GitHub

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 ( are included.

Cite As

Are Mjaavatten (2020). H2 and CO2 thermodynamics (, GitHub. Retrieved .

Comments and Ratings (0)



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.

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Curve intersections