Modelling, simulation and applications of longitudinal train dynamics | Synapse