Re: [sumo-user] Issue trying to create route file using randomtrips and duarouter in Python (via Pycharm)

2019-07-25 Thread Hrishikesh Barad
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

Re: [sumo-user] Issue trying to create route file using randomtrips and duarouter in Python (via Pycharm)

2019-07-24 Thread Harald Schaefer
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

Re: [sumo-user] Issue trying to create route file using randomtrips and duarouter in Python (via Pycharm)

2019-07-24 Thread Hrishikesh Barad
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

Re: [sumo-user] Issue trying to create route file using randomtrips and duarouter in Python (via Pycharm)

2019-07-24 Thread 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

[sumo-user] Issue trying to create route file using randomtrips and duarouter in Python (via Pycharm)

2019-07-23 Thread Hrishikesh Barad
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