A dynamical engine model oriented to cooling system design