-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating valid passenger trips in SUMO using od2trips and duarouter #16083
Comments
Did you check if the public transport schedule contains enough opportunities to reach the respective destinations? Is there a special reason for |
The public transport schedule that I use is GTFS, and it gives the detailed bus trips. The reason to use --persontrip.walk-opposite-factor 0 is that it reduces the person jamming and transport to wrong destinations. |
Please add duarouter option --log log.txt and attach the generated log file to this issue. |
I'm basically using GTFS data for Public Transport (PT) schedules and od2trips with a real demand matrix. I want to understand the connection between PT offer and demand in SUMO. The log file is attached here. |
There are two issues at play here:
Please zip and attach output.odtrips.xml |
Alright. Please find the attached file. |
I can confirm that the input contains 5039 persons. Try running duarouter with option --ignore-errors |
Using the --ignore-errors option, I get the desired results shown below. Routes found between time steps 07:00:02.83 and 08:59:57.95. But the simulation has a lot of persons and vehicle jams, collisions of vehicles and people, emergency braking, etc. I'm attaching the final statistics file for assistance in reducing these problems. I have also attached the image showing an intense jam at a junction. There are jams at other junctions also. |
Thanks @namdre. |
While using netconvert command to get the net file, I'm getting these warnings. What could be the possible way to remove these warnings? |
@Ammarah-Irum It is normal to get quite some warnings when importing a big OSM network like those you captured. Many of them are mainly for your information and do not necessarily mean something is wrong. First have a look at the network though to check whether there are major flaws (e.g. complicated intersections). You may influence netconvert by several switches (e.g. about joining edges) to change the outcome for the better if you have an idea what is not to your liking. |
I want to know about the dead-end junctions. Are they the problem behind vehicles and person jams/teleports and other problems?
|
|
I've been able to add sidewalks, but still the problem is there: persons walking on roads and blocking vehicles. Please find attached the video of the simulation for problem reference. |
Please attach your scenario input files. |
@namdre Hello.
I'm working on SUMO to analyze public demand and offer. I've used od2trips to generate individual passenger trips from an Origin-Destination (OD) matrix of 2 hours period in the morning(7 am-9 am), which gives me around 5000 passenger trips for 2 hour window. However, when I use duarouter to filter out invalid (disconnected) passenger trips, it outputs only 122 passenger trips for 3-minute window (7:00:00 am -7:03:00 am). The duarouter command that I'm using is as follows:
duarouter --net-file center_v2.net.xml --route-files output.odtrips.xml,gtfs_pt_vehicles.add.xml --additional-files gtfs_pt_stops.add.xml,pt_vtypes.xml --output-file duarouter.rou.xml --persontrip.walk-opposite-factor 0 --repair true --human-readable-time true -v -b 25200 -e 32400
Kindly suggest me a solution to get individual passenger routes also for 2-hours period. Thanks.
The text was updated successfully, but these errors were encountered: