Hi,

You can only assign one route to each vehicle. You will have to merge the 
routes by hand or with a code (See following link for parsing route files in 
python 
https://sumo.dlr.de/docs/Tools/Sumolib.html#parse_all_edges_in_a_route_file). 
You can maybe try to use a rerouter. First you can set a new destination and 
then a new route. See: 
https://sumo.dlr.de/docs/Simulation/Rerouter.html#assigning_a_new_destination 
and https://sumo.dlr.de/docs/Simulation/Rerouter.html#assigning_a_new_route. 

Yes, you can set the depart time for each vehicle:
    <route id="route0" color="1,1,0" edges="beg middle end rend"/>
    <vehicle id="0" type="type1" route="route0" depart="0" color="1,0,0"/>
    <vehicle id="1" type="type1" route="route0" depart="600" color="0,1,0"/>

Regards,
Giuliana

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Maximilian Socher
Sent: Donnerstag, 23. Juli 2020 08:59
To: [email protected]
Subject: [sumo-user] vehicle with multiple routes

Hey all,

I want to assign multiple routes to one vehicle. The end and start points of
the routes are not the same. So the routes should get connected with simple
from-to-trips.

What would the syntax for something like this be?

And as a follow up: Can I specify different depart times for each assigned
route?



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to