A switched system approach to dynamic race modelling. (August 2016)