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