Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Random Bus-Trips in OSM Web Wizard

The latest development version of sumo supports PUJ (called share_taxi in OSM). You can obtain it at https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version

Am Mi., 1. Dez. 2021 um 11:04 Uhr schrieb Brandon Cedric Patangan via sumo-user <sumo-user@xxxxxxxxxxx>:
Hi Jakob,

I took a look at the study area in the map, and noticed that the bus route that I was planning on including is actually on that map but is missing in the OSM export. I did find one of the routes that I noticed in the OSM export, however. Here's a screenshot showing which ones were generated and not:

image.png
The one encircled in blue was not imported, while in black is actually in the simulation. If I were to edit the generated osm_pt.rou and other associated files through .txt, then run build.bat could this be used instead of creating a new xml file? Or is it more advisable to create one? 

Brandon


On Wed, Dec 1, 2021 at 5:33 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Yes. You could create a custom ptline-file (similar to osm_ptlines.xml) where you define additional bus routes and call it with option --vtype-prefix to ensure that the vehicles get a unique type and distinct ids form the regular buses. Then customize the generated new bus type definition with size and personCapacity.

Please check whether those PUJ are already defined in OSM (i.e. by looking at http://xn--pnvkarte-m4a.de/#9.01;51.935;7).
If they are defined but missing from the webwizard export, please let me know.

regards,
Jakob

Am Mi., 1. Dez. 2021 um 10:23 Uhr schrieb Brandon Cedric Patangan via sumo-user <sumo-user@xxxxxxxxxxx>:
Thank you. I would like to ask another question, there is a mode of transport called a Public Utility Jeep (PUJ) in my country that I hope to simulate as well. It has different characteristics since it has lower occupancy and is also a smaller vehicle. In addition, it is much more numerous on the highways. Is there a way to create a custom public transport vehicle type and assign a route to it through build.bat as well? Thanks!

Brandon

On Wed, Dec 1, 2021 at 5:07 PM Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx> wrote:
There are two approaches to get busses via the osmWebWizard:
- activating "Bus" in the traffic modes selection (those will be random and the busses will not stop)
- activating the option "Import Public Transport" in the main panel  (this will generated a bus schedule for all bus routes and stops defined in OSM)

I recommend the second option, for details on how to influence the schedule generation see 'build.bat' and https://sumo.dlr.de/docs/Tools/Misc.html#ptlines2flowspy (call it with option --help).

regards,
Jakob

Am Mi., 1. Dez. 2021 um 09:03 Uhr schrieb Brandon Cedric Patangan via sumo-user <sumo-user@xxxxxxxxxxx>:
Hi, Brandon Patangan again. Regarding the OSM Web Wizard scenario I'm working on, I understand that buses are generated using randomtrips.py as well.

It seems that the routes in OSM are incomplete from my looking at the output file, but I was hoping to add my own routes since I am familiar with bus lines travelling through the study area. Is there a way to do this and constrain the buses to only travel on those routes (not make any turns into areas that do not allow buses)? Also to control where they are generated on the map and the end of the route. Thanks!

Brandon
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top