Parametric model of simple escapement

I am interested in thermodynamics (and entropy increase in particular). I therefore needed to understand about the energy transfers during collisions within a simple escapement. This parametric model helped me visualise what was going on.