Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Person Route Distributions

No, routeDistribution cannot be used for rides.
If you want rides to a random destination, you could use od2trips with options --persontrips --persontrips.modes public
By giving as input a single tazRelation (https://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html#tazrelation_format)
where the destination taz contains multiple busStop edges you will obtain the desired number of personTrips with different destinations (but of course you can also use different origins).
In the simulation those personTrips will be turned into rides (assuming your buses follow a schedule: https://sumo.dlr.de/docs/Simulation/Public_Transport.html#public_transport_schedules)

Generating the personTrips with randomTrips.py is also possible (this is what osmWebwizard does automtically in the background: https://sumo.dlr.de/docs/Tutorials/OSMWebWizard.html) when activating the 'public transport' option.



Am Fr., 29. Apr. 2022 um 14:56 Uhr schrieb <alex.meyer.1985@xxxxxx>:
Hi, thanks for the fast respond.
 
Would this also work with rides?  
My plan is, to spawn a given number of persons at a bus stop, take the bus and based on the probabilities get off the bus at different stops.
I am thinking of something like the following:
 
<routes>
    <route id="route1" from="a" to="b" lines="busline1"/>
    <route id="route2" from="a" to="c" lines="busline1"/>
    <routeDistribution id="routedist1">
        <route refId="route1" probability="0.8"/>
        <route refId="route2" probability="0.2"/>        
    </routeDistribution>
</routes>
 
<person id="foo" depart="0">
    <ride route="routedist1"/>
</person>
 
Best regards, 
Alex
 
 
Gesendet: Freitag, 29. April 2022 um 09:30 Uhr
Von: "Jakob Erdmann" <namdre.sumo@xxxxxxxxx>
An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>
Betreff: Re: [sumo-user] Person Route Distributions
You can define a walk with <walk route="routeDistributionID"/> and it will work for individual persons.
To use this within a <personFlow> you must either upgrade to the latest development version tomorrow or wait for version 1.13.0 to be released next tuesday.
 
regards,
Jakob
 
Am Fr., 29. Apr. 2022 um 01:36 Uhr schrieb <alex.meyer.1985@xxxxxx>:
Hello everyone,
 
 
In the sumo Documentation I found the option for a Route distribution only in context with vehicles (https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#route_distributions).
 
Could this or something like this also be applied to Persons?
 
Best regards,
Alex
_______________________________________________
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