Simulation of railway braking tests under degraded adhesion conditions