Solve thermodynamic problems using CoolProp and Pint for chemical engineering applications
PropsSI('H', 'T', T, 'P', P, fluid)from CoolProp.CoolProp import PropsSI
import pint
ureg = pint.UnitRegistry()
# Find enthalpy of steam at 200°C and 1 atm
H = PropsSI('H', 'T', 473.15, 'P', 101325, 'Water')
# H ≈ 2875 kJ/kg