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 <[email protected]>:

> 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 <[email protected]>
> wrote:
>
>> You can define a speed distribution for pedestrians with minimum and
>> maximum values:
>>
>> https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#speed_distributions
>> This will be applied directly to their maximum walking speed (which
>> equals their desired speed):
>>
>> https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#additional_remarks_on_speed_distributions
>>
>> Am Sa., 16. Apr. 2022 um 20:01 Uhr schrieb ABRAR ALALI <[email protected]
>> >:
>>
>>> 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
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
>
> --
> *Abrar Alali*
> Computer Science Ph.D. Student
> Old Dominion University
> [email protected]
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to