Modelling pedestrian crossing performances through discrete events based simulation