randomTrips can generated trips as well as routes. The routes are shortest
paths computed for an empty network. If you load the routes into the
simulation then jams cannot affect route length. If you load the trips into
the simulation, then vehicles will react to jams and may find detour routes
which can show up as increased average route length.

Am Do., 26. März 2020 um 15:33 Uhr schrieb Raheleh Zarei <
[email protected]>:

> Yes, that makes sense. I checked some numbers and understood your point.
> To get more solid results that have less effect of randomness, as you said,
> I replaced the -e option with a fixed number and each time changed the -p
> option to 0.1, 0.2,.0.3 and so on to get more vehicle running in the
> network(like a range of 50 to 500 cars in a network with 200 nodes that
> some of them teleported because of jam). But I still don't get the result
> as I expected. Do you have any idea?
>
> Thanks,
> Raheleh
>
> On Wed, Mar 25, 2020 at 11:06 AM Jakob Erdmann <[email protected]>
> wrote:
>
>> When you change the amount of traffic with the -e option than the traffic
>> is spread over a larger time. To increase the traffic density you need to
>> use the -p option (https://sumo.dlr.de/docs/Tools/Trip.html#arrival_rate)
>> Also, when there are only a few vehicles in the network, the traffic
>> interactions are negligible and the effects of randomness (the trips are
>> random after all) are dominant.
>> I recommend that you observing the generated simulations carefully to see
>> what I mean.
>> regards,
>> Jakob
>>
>> Am Mi., 25. März 2020 um 13:28 Uhr schrieb Raheleh Zarei <
>> [email protected]>:
>>
>>> I use randomtrips.py to create random trips. I use the command below to
>>> generate trips.
>>>
>>>  python randomTrips.py -n ./RoutingSim1.net.xml -o ./RoutingSim1.rou.xml
>>> -e 20 --route-file .RoutingSimRoute1.rou.xml --validate true
>>>
>>> Thanks
>>>
>>> On Wed, Mar 25, 2020, 01:56 Jakob Erdmann <[email protected]> wrote:
>>>
>>>> How did you define/generate your trips?
>>>>
>>>>
>>>> Am Mi., 25. März 2020 um 03:54 Uhr schrieb Raheleh Zarei <
>>>> [email protected]>:
>>>>
>>>>> Hello,
>>>>>
>>>>> I have an issue regarding the information that I receive in verbose
>>>>> mode. Referring to this page,
>>>>> https://sumo.dlr.de/docs/Simulation/Output.html, average route
>>>>> length, and average trip duration should be the average length of all the
>>>>> trips that happened during the simulation and the same for trip duration. 
>>>>> I
>>>>> expect to have a bigger number for these parameters when I run the
>>>>> simulation with more number of trips (cars) for the same network. It means
>>>>> average travel length and average travel time should be bigger when I have
>>>>> 20 trips than when I have 10 trips. But the output that I have from SUMO
>>>>> right now is reverse.
>>>>> Would you please help me with this?
>>>>>
>>>>> Thank you,
>>>>> Raheleh
>>>>>
>>>>> --
>>>>> *RAZ*
>>>>> _______________________________________________
>>>>> 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
>>>>
>>> _______________________________________________
>>> 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
>>
>
>
> --
> *RAZ*
> _______________________________________________
> 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