Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Specifying Pedestrian max and min speed

Basically yes,
If you want to cap min an max speed you must use the 4-parameter version:
<vType id="myspeed" speedFactor="normc(1,0.3,0.5,1.5)" maxSpeed="1.2"/>
This brackets the maximum pedestrian speed between 0.5 * 1.2 and 1.5 * 1.2 m/s with a mean at 1 * 1.2 m/s


Am Di., 19. Apr. 2022 um 07:37 Uhr schrieb ABRAR ALALI <aalal003@xxxxxxx>:
Hi Jakob,
Thank you for your reply. 
I tried to change the speedFactor and speedDev in the route file; however, this changes the pedestrian trajectory also. Here is my route file after modification. I am not sure if I did it correctly:
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="myspeed" speedFactor="1" speedDev="0.3"/>
<personFlow id="ped" type="myspeed" begin="60" end="200" probability="0.1">
       <walk from="-E0.51" to="E0.51" speed="1.2"/>
    </personFlow>
</routes>

On Sun, Apr 17, 2022 at 2:52 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
You can define a speed distribution for pedestrians with minimum and maximum values:
This will be applied directly to their maximum walking speed (which equals their desired speed):

Am Sa., 16. Apr. 2022 um 20:01 Uhr schrieb ABRAR ALALI <aalal003@xxxxxxx>:
Hello,

I am generating pedestrian flow. I was able to specify the maximum speed in the route file, and I need to specify the minimum speed. Any suggestion on how to do that? Here is my route file:

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<personFlow id="ped" begin="60" end="200" probability="0.7">
       <walk from="-E0.51" to="E0.51" speed="1.2"/>
    </personFlow>
</routes>
_______________________________________________
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


--
Abrar Alali
Computer Science Ph.D. Student
Old Dominion University
aalal003@xxxxxxx
_______________________________________________
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