SMS dit: Principles of chemical thermodynamics