Application of thermal analysis