[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] rerouting dynamically
|
Dear Hector,
assigning the rerouting device works similarly to the other devices. If you want it to be assigned to any vehicle in the simulation, just call sumo with --device.rerouting.probability 1. Also set a period to do rerouting regularly with --device.rerouting.period. If you want the device to be present only in certain vehicle types, note the device parameters in so-called generic parameters ("param" child nodes of the vehicle type node, see doc). It works the same way for flows and single vehicles.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] rerouting dynamically
Datum: 2024-05-17T23:04:06+0200
Von: "Hector A Martinez via sumo-user" <sumo-user@xxxxxxxxxxx>
An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>
Dear sumo community,
I would like my vehicles in the simulation to re-route dynamically if there is a disruption in the network. Currently it seems as if the vehicle just keeps going on its route even though there is jamming in the network.
Can I just configure my vehicles to reroute dynamically and not just keep the fastest route they have when they are loaded into the network?
I put this in my route files but I don’t see any difference:
<vType id="trailer_truck" vClass="trailer" device.rerouting.probabiliy="1"/>
Thanks for your help in advance,
Hector A. Martinez, P.E.
MITRE | Solving Problems for a Safer World (R)
813.207.5365