Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » Eclipse Sumo » Modelling Public Transport Line (or fixed Route)(How do we model a public transport route in SUMO?)
Modelling Public Transport Line (or fixed Route) [message #1826808] Fri, 01 May 2020 05:48
Dillip Rout is currently offline Dillip RoutFriend
Messages: 2
Registered: April 2020
Junior Member
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.

Instance 1:
<vehicle id="bus_14.0" type="bus" depart="0.00" departLane="best" line="14">
<route edges="78[0] 56a 56b 77bc 77cd 53cd 53[0] 78[1][1] 189[0] 189[1][0]+20000 189[1][1] 188 87[0] 20001+87[1][0] 87[1][1] m90 89[0] 20002+89[1][0] 89[1][1] 91 186 109[0] 109[1][0]+20003 109[1][1] 116 46 134 134b"/>
<stop busStop="busStop#31" until="0.00"/>
<stop busStop="busStop#32" until="120.00"/>
<stop busStop="busStop#33" until="240.00"/>
<stop busStop="busStop#34" until="360.00"/>
<stop busStop="busStop#21" until="480.00"/>
</vehicle>

Instance 2:
<vehicle id="bus_14.1" type="bus" depart="240.00" departLane="best" line="14">
<route edges="78[0] 56a 56b 77bc 77cd 53cd 53[0] 78[1][1] 189[0] 189[1][0]+20000 189[1][1] 188 87[0] 20001+87[1][0] 87[1][1] m90 89[0] 20002+89[1][0] 89[1][1] 91 186 109[0] 109[1][0]+20003 109[1][1] 116 46 134 134b"/>
<stop busStop="busStop#31" until="240.00"/>
<stop busStop="busStop#32" until="360.00"/>
<stop busStop="busStop#33" until="480.00"/>
<stop busStop="busStop#34" until="600.00"/>
<stop busStop="busStop#21" until="720.00"/>
</vehicle>

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.

thanks and regards,
Dillip Rout
Previous Topic:getLeader command at a merge
Next Topic:Parking Lot using Polygon
Goto Forum:
  


Current Time: Sun Mar 03 12:29:33 GMT 2024

Powered by FUDForum. Page generated in 0.02955 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top