Zaslat SMS: Thermodynamics of flowing systems