thermo is a chemical properties component of the Chemical Engineering Design Library (ChEDL). Version 0.6.0 provides extensive pure component, mixture, and reaction properties, with correlations for thermophysical, transport, and critical properties. Released regularly via PyPI with active development.
pip install thermoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a Chemical object and calculate properties at specified conditions.
After creating a Chemical object (e.g., water = Chemical('water')), call water.calculate(T) to set temperature and compute properties.Always use .calculate(temperature) before accessing calculated properties.
Create once and reuse, or use Chemical.from_data() if you have pre-loaded data.
Add water.calculate(298.15) before accessing water.rho.
Use from thermo import Chemical instead of import thermo.chemical.
Use a known CAS number, common name (e.g., 'water'), or molecular formula with correct capitalization (e.g., 'H2O' works). Check thermo.Chemical.search() for valid identifiers.