SMS dit: Principles of phase equilibria