Skip to content

faq 108844765

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

Assigning transit vehicles

by Sashi Gurram on 2017-04-09 17:47:08


Let us say I have a route 'AB' and it is served by two buses tr_1 and tr_2 and the buses depart every 20 minutes and the route travel time is 15 minutes. So, buses depart at 7:00, 7:20, 7:40 etc. Once tr_1 reaches the end of the route (i.e. reaches stop B) at 7:15, can it be reassigned to the route 'AB' at 7:40 without having to simulate its travel to Stop A, via the network?

In general, once the transit vehicles reach their destinations, will they be available for transit routing for any route or is it limited only to those routes originating from its last known simulated stop location?


Comments: 1


Re: Assigning transit vehicles

by Marcel Rieser on 2017-04-10 13:11:15

You can assign a transit vehicle to multiple departures. MATSim will search for a route on the network from the end of the first usage to the start of the second usage for this vehicle. So the vehicle will return empty from the end of the route back to the start of the route. It will generate traffic on the links in that case, but not accept passengers. If the vehicle gets stuck in a traffic jam, it might arrive too late for the new departure, and therefore the service on that route will be delayed.

Clone this wiki locally