Hi Harald,
Thanks for your feedback. I debugged the code and found out that the
> randomtrips.py code was not working because there was a whitespace between
> '=' and 'type' attribute! (* '--trip-attributes', 'type = \"vdis\"
> departLane = \"random\" departSpeed = \"max\"') *
I removed that
Hi
if I run randomTrips.py manually in a command window, i see
harald> randomTrips.py -v -n net.net.xml --route-file routes_123.xml
callingĀ /usr/local/share/sumo/bin/duarouter -n net.net.xml -r
trips.trips.xml --ignore-errors --begin 0 --end 3600 --no-step-log
--no-warnings -o
Hi Harald, thanks a lot for the detailed response.
Can you elaborate what do you mean by 'duarouter is called from
randomTrips with --ignore-errors'? What do I need to add to my code to call
duarouter within randomtrips loop?
Thanks again,
On Wed, Jul 24, 2019 at 9:34 AM Harald Schaefer
Hi,
here are some ideas:
1) might be the routes_abc.xml file is locked by the sumo-gui and is not
overwritten (duarouter is called from randomTrips with --ignore-errors)
2) Have you tried your loop without the sumo_gui and checked that there
are new route_files?
3) you can use in each loop a new
Hi friends,
As shown below in the code, I am trying to create a route file
('route_abc.xml') using .net file ('simexp.net.xml') and an additional file
('vdis100.add.xml') and then use the generated 'route_abc.xml' to run the
SUMO simulation. And before running every simulation I just change the