SMS: Thermodynamics of structure