Text this: Mechatronic modeling of real-time wheel-rail contact