thermodynamic analysis