I recommend that you use osmWebWizard to import a network including public transport and then look at the generated file osm_pt.rou.xml as an example of succinct public transport modelling. The stops and times are defined only once in a named route and the vehicles are defined as flows which reference this route.
Am 04.05.2020 um 17:33 schrieb
Tripplanner Mumbai:
Hello,
I am confused about the implementation of public transport
route inside SUMO.
As per standards, a public transport route (sometimes known as
a line) has a fixed sequence of stops which it has to cover,
and a frequency which means the number of times that route
must be served at these stops.
In SUMO, we have a <route> tag, but I think it is used
for deciding a path not a public transport route (or line). On
the other hand, a route is modelled through <vehicle>
tag using an attribute "line". Well, such modelling is
discouraging as each time we have to repeat the sequence of
stops and related edges, as given below of two instances
repeating the same information unnecessarily.
Furthermore, I would like to know about implementing frequency
assignment to a public transport route (or line). Could anyone
clarify my doubts or redirect me to a correct thread.