Zaslat SMS: Thermodynamics in geochemistry