Zaslat SMS: Thermodynamics of the Earth and planets