Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Pedestrian simulation

This is possible with the latest nighty version of SUMO (v1_24_0-890 or later).
It requires setting either a custom edgeType or routingType for the edge that should be distinguished and loading a preference element: https://sumo.dlr.de/docs/Simulation/Routing.html#routing_by_travel_time_and_routingtype

Note, that the version available at https://sumo.dlr.de/docs/Downloads.php#nightly_snapshots will only update tomorrow.

regards,
Jakob

Am Mi., 17. Sept. 2025 um 12:37 Uhr schrieb Pierre Enguialle via sumo-user <sumo-user@xxxxxxxxxxx>:
Dear SUMO community,

I am trying to realize a pedestrian simulation without vehicles. 
I am generating trips with randomtrips. I have some weight files for the likeliness of every edge to be origin or destination of a trip. 

Type of command : python "%SUMO_HOME%\tools\randomTrips.py" -n ciutat_vel.net.xml -p 10 --weights-prefix cv -o pedestrians.trips.xml -b 7:0:0 -e 9:59:59 --pedestrians --persontrip.walk-opposite-factor 0.8 --max-distance 4000 --random --prefix p --validate --vehicle-class pedestrian

My pedestrians go for the shortest path, regardless the "walkability" of the edges. 

I would like to interfere on the likeliness of an edge to be chosen for being more pedestrian friendly. 
I have tried with via, and --intermediate, but the result is not totally satisfactory.

Is it possible to change/ponderate the weight of everyedge edge for its walkability? A kind of walkfactor for edge?

I have understood that the routing options on the config file like,
    <routing>
        <weights.priority-factor value="10"/>
    </routing>
do not work with pedestrians. Am I right?

Do you have an idea to adress this topic?

Regards,

Pierre Enguialle



_______________________________________________
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