[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] vehicle with multiple routes
|
- From: <Maria.Armellini@xxxxxx>
- Date: Thu, 23 Jul 2020 14:33:57 +0000
- Accept-language: de-DE, en-US
- Delivered-to: sumo-user@xxxxxxxxxxx
- Ironport-phdr: 9a23:FTi6RBIcETRAHWNhTNmcpTZWNBhigK39O0sv0rFitYgXKv7+rarrMEGX3/hxlliBBdydt6sazbeP+P6wEUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCe8bL9oLBi6sArdu8gVjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVRnlgzoFOTEk6mHaksx+grxGrhK9qRJxwIDUb4OUNPVica3ScsgXRXZYXsZTSyBNHp+wY5UJAuEcPehYtY79p14WoBa5AgejHvnvyj5SiXPswaA6yeEhHh/C3AwkHtIOtnXUoc7oO6cWS+C51rTHwivaYv5QxDzy55TGfAo7rvGQQbJ/b9DRyU83Gg7GjVidrZHpMjOV2OkPvGWX8+VuWOythmI6pQx8oSWjy9ovh4TIh48Y1FPJ+Dl9zYsoK9C1S052b9CgHZZNtSyXMZZ9TM0lQ2Ftoik6y7sGtIamcygO0pQr3QPQZOKff4iO+B3sT/2eITNmi35/ZL2/gBOy/VC+xeLgUsm00U5KrjFbndXWsXANzRPT586aQfV+5keswSuD2xzJ5u1ZIk05mrDXJ4Mvz7MzjJYfr0vOEjfrlEj0kqOabFso9vWy5+j6YLjrp4WQO5JyhwrjKKohgNa/Dv49MgUWWmib/vmz26P78E3iRbVKkuU2kq7EsJDGPcgbprC2AwtS0os75RixCTmo3tsYk3cHK1xLexWJgZL3N1zBL/73DOmyj06tkDdt2/DGJKfuDo/QIXjHirftZ6ty5FBExAoyy9BQ+Y5UB6kcLP7vQEP9qd/VAxAjPwCpzevqC89x2p0RVG6XB6+WKqLSsVuG5uI1JOmMYZcYtjHnJPg/5v7hl2U1lEMHfamsw5QXbHS4HvVgI0WYenfjn9MBEX0QsgUjUuPmkEeCXiJLZ3auQ6I84Sk2CJm7DYfGQYChmaGB3DylEZ1MfW1JFEyDEXPpd4WcQPcDdjieIsh7kjwLBvCcTZQ830SuqBPi0OggafXL5WsVvpbizMN4oerJmlY3/D1wCs2blGWMVH11mG0PACQr2ac6vFdw0AS+17NlicBVBcAG5+9VShxoctnD0PM8Btv2Wxrac5GOUlnhR9ynBTQ4SJU1wsQSYkBzHJK5kxXEmjexDqVGq7veUIcp96WZwmP8Pe5wwHLHzLIsyV48TZ0cG3ehg/sr0gHJBoePul+cmqKudKId9CLJ7iGPwDzd7wljTAdsXPCdDjgkbUzMoIGh6w==
- Ironport-sdr: bjUJ8+QpzkFjdQiJ2YTL41L1SH/uH/eLG2ZzKQDUusegWXlSEdaEnW/bFLw8nk3rGNBivdMbEk KZePoSH/1Xyw==
- List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
- List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
- Thread-index: AQHWYL7ZFozCAb88I0udNLB4lYC6YqkVNvWw
- Thread-topic: [sumo-user] vehicle with multiple routes
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: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] On Behalf Of Maximilian Socher
Sent: Donnerstag, 23. Juli 2020 08:59
To: sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user