Re: [sumo-user] Random Bus-Trips in OSM Web Wizard

2021-12-01 Thread Jakob Erdmann
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 :

> 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@eclipse.org> 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 :
>>
>>> 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@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Random Bus-Trips in OSM Web Wizard

2021-12-01 Thread Brandon Cedric Patangan via sumo-user
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@eclipse.org> 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 :
>
>> 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@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Random Bus-Trips in OSM Web Wizard

2021-12-01 Thread Jakob Erdmann via sumo-user
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 :

> 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@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user