Modelling railway dispatching actions in switching max-plus linear systems