Thanks Jacob, but actually there's another problem. For compatibility reason with veins I have to use sumo 0.32.0, and when launching the command sumo-gui -n network.net.xml -r routes.rou.xml --device.reroute.probability 1 --device.rerouting.period 300 it gives me this error Error: On processing option '--device.reroute.probability': No option with the name 'device.reroute.probability' exists. Error: The parameter '1' is not allowed in this context. Switch or parameter name expected. Error: Could not parse commandline options. Quitting (on error). Is there anything I can do? Thank you again.
________________________________ Da: [email protected] <[email protected]> per conto di Jakob Erdmann <[email protected]> Inviato: mercoledì 6 marzo 2019 21:29 A: Sumo project User discussions Oggetto: Re: [sumo-user] More randomly spreaded traffic there are two things you can do: 1) run your simulation with dynamic rerouting with the options --device.reroute.probability 1 --device.rerouting.period 300 2) or to use duaiterate, first clean up your trips like this: duarouter -n network.net.xml -r trips.trips.xml --ignore-errors -o valid.rou.xml. Then use valid.rou.xml as duaIterate input Am Mi., 6. März 2019 um 20:57 Uhr schrieb Alex Cerioni <[email protected]<mailto:[email protected]>>: Hi, I'm using activitygen with a statics.stat.xml file generated by me with this specifics: -inhabitants = 5000 -households = 5000 -carRate = 1 -unemploymentRate = 0.12 -freeTimeActivityRate = 0.6 -uniformRandomTraffic = 0.2 -departureVariation = 0.6 //- each edge has the attribute "population" between 0 and 10 and "workPosition" between 0 and 2. //- no busses[. . .] To generate the trips.trips.xml file I use this command activitygen -n network.net.xml -s statitic.stat.xml -o trips.trips.xml --random Then I run: duarouter -n network.net.xml -r trips.trips.xml -o routes.rou.xml --random --ignore-errors THE QUESTION IS: how can I prevent those traffic jams (see attached photo) that are in the simulation? I would like vehicles not taking only shortest path, but a more spreaded and random routes from home to work and vice-versa. I tryed using duaiterate.py (https://sumo.dlr.de/wiki/Demand/Dynamic_User_Assignment#Iterative_Assignment_.28Dynamic_User_Equilibrium.29) but it gives me this error "------------------------------------------------------------------------------- ['duarouter', '-c', 'iteration_000_trips.duarcfg'] Loading configuration... done. Error: No connection between edge '4018838#0' and edge '168773942' found. Error: Mandatory edge '168773942' not reachable by vehicle 'randUni2046:1'. Error: The vehicle 'randUni2046:1' has no valid route. Quitting (on error)." Sorry for the long mail but I tried being more specific andmore synthetic as possible. Thanks. Regards, Alex _______________________________________________ sumo-user mailing list [email protected]<mailto:[email protected]> To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
