1) you can load a customized probability file that sets the probability for
each edge and each purpose (source, destination, intermediate):
https://sumo.dlr.de/docs/Tools/Trip.html#customized_weights
2) you can use option --weights.priority-factor (for duarouter and sumo) to
increase the likelihood of using certain streets based on the edge
attribute 'priority'. With a default osm import, more important streets
have a higher value
3) you can define a custom type for your persons or simply add a file that
overwrites the default type named "DEFAULT_PEDTYPE" with a custom maxSpeed
value.

regards,
Jakob

Am Do., 6. Mai 2021 um 10:49 Uhr schrieb Mateen Mahmood <
[email protected]>:

> Greetings!
>
> I am using the below line of code to generate pedestrian trajectories of
> 100 individuals with visits to 10 intermediate locations.
>
> *randomTrips.py -n valencia.net.xml --intermediate 10 --pedestrians -r
> movement.rou.xml -e 1 -p 0.01*
>
> I am writing to seek guidance on below queries:
> - if I can fix the intermediate locations? or provide with a set of lets
> suppose 20 locations and 10 are chosen out of those?
> - if I can make the trajectories to follow particular streets? or follow
> main avenues more often than the smaller streets
> -  if I can make them slow in their movement? I think that increasing the
> duration of <begin/end> time makes the slower.
>
> Please suggest. I will be grateful. Thanks!
>
> Regards,
> Mateen
>
> On Tue, 4 May 2021 at 20:01, Jakob Erdmann <[email protected]> wrote:
>
>> option --max-dist limits the maximum straight-line distance between
>> origin and destination to the given number of meters. It's main use is to
>> prevent overly long pedestrian walks in large networks (since people tend
>> to use other modes of transport if the distance  is too large).
>>
>> Am Di., 4. Mai 2021 um 11:40 Uhr schrieb Mateen Mahmood <
>> [email protected]>:
>>
>>> Dear Jakob
>>> Greetings!
>>>
>>> I am writing to seek guidance on how I can use the '--max-dist'
>>> functionality in the below random generation and what exactly is its
>>> purpose? I am unable to find details regarding that. Many thanks!
>>>
>>> Regards,
>>> Mateen
>>>
>>> On Thu, 25 Feb 2021 at 09:42, Jakob Erdmann <[email protected]>
>>> wrote:
>>>
>>>> Hello,
>>>> the easiest solution currently is to generate very long walks for a
>>>> fixed number of pedestrians in a dense network.
>>>> due to a bug in randomTrips generation, the following works only in the
>>>> latest development version:
>>>>
>>>> randomTrips.py -n yournet.xml --intermediate 1000 --persons -e 1 -p
>>>> 0.01
>>>>
>>>> (generate 100 pedestrians that depart in the first second and each
>>>> walks a sequence of 1000 random locations).
>>>>
>>>> regards,
>>>> Jakob
>>>>
>>>> Am Di., 23. Feb. 2021 um 14:07 Uhr schrieb Muhammad Mateen Mahmood <
>>>> [email protected]>:
>>>>
>>>>> Greetings!
>>>>>
>>>>> I am writing to seek guidance related to below queries regarding
>>>>> pedestrian trajectories:
>>>>> - Can the total count of individuals (pedestrians) be restricted? *like
>>>>> to have only 100 individuals moving inside the study area (closed space). 
>>>>> *
>>>>> - Can sumo generate multiple trajectories of a single individual or a
>>>>> continuous movement of an individual within a closed space?
>>>>>
>>>>> I need movement trajectories of a population to execute a contact
>>>>> tracing process, which requires multiple trajectories of all individuals
>>>>> with resticted count of total population.
>>>>>
>>>>> Thank you for your support and guidance.
>>>>>
>>>>> Regards,
>>>>> Mateen Mahmood
>>>>> M.Sc Geospatial Technologies
>>>>> Universitat Jaume I, Spain
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Mateen Mahmood
>>> +34 641 451 890
>>> _______________________________________________
>>> 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
>>
>
>
> --
> Regards,
> Mateen Mahmood
> +34 641 451 890
> _______________________________________________
> 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