By routing, do you mean a (discrete) path problem? In general, you rarely get the best results from applying a continuous technique (e.g. PSO) to a discrete/combinatorial problem or a discrete/combinatorial technique (e.g. ACO) to a continuous problem.
It is possible anyway. Firstly what are the numbers of parameters and how much levels for each one? if you have 4 parameters and 3 levels for each one then the perfect optimization is Box-Behnken Design (BBD).
You can use ARENA with suitable distribution function for simulation. PSO is usually used in Multi-Objective Decision making problems to find optimal solutions.
For your question: Is it possible to apply Particle Swarm Optimization in simulations to optimize public transport systems. For this, kindly go through the attachment PDF.
Y. del Valle, G. Venayagamoorthy, S. Mohagheghi, J.-C. Hernandez, R. Harley, Particle swarm optimization: Basic concepts, variants and applications in power systems, IEEE Transactions on Evolutionary Computation, 12 (2) (2008) 171-195.
It does NOT make sense to "optimize" - yes, in quotes - a transit system based on the very unreliable methodologies that are discussed here. Metaheuristics should be banned from being applied in such an important infrastructure: (a) you have no idea how bad it can become, (b) there are already models that are more reliable, and (c) no-one would use the results as they are anyway.