Analysis and carrying capacity evaluation of terminal railway stations