SMS dit: Chemical thermodynamics: principles and applications