Urban rail simulation and applications in service planning and operations