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]>:

> 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]
> 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

Reply via email to