Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Randomness in speedFactor distribution


Am Mi., 12. Jan. 2022 um 11:27 Uhr schrieb Iñaki Cejudo Fresnadillo via sumo-user <sumo-user@xxxxxxxxxxx>:

I am generating a traffic demand with duarouter from a flow definition file with a vTypeDistribution definition as well. Within this vTypeDistribution I have a normc speedFactor distribution.
I am expecting a random speedFactor for each vehicle, but if i repeat the simulation the randomly assigned speedFactor for each vehicle keeps repeating. 
For example, vehicle1 always has speedFactor = 0.94, vehicle2 always has speedFactor = 1.02... and so on. So I am not getting real randomness among simulations.
The command I am using for traffic demand generation is the following:

/.local/lib/python3.6/site-packages/sumo/bin/duarouter -n <net_file> --route-files flow.xml -a vTypeDistr_file.add.xml -o <output_file>  --randomize-flows --ignore-errors -v --repair --random

Is it that I am doing something wrong? Thanks.




Iñaki Cejudo Fresnadillo
Research Assistant | Ayudante de Investigación

+[34] 943 30 92 30
Intelligent Transport Systems and Engineering | Sistemas de Transporte Inteligentes e Ingeniería


member of: 

La información que contiene este mensaje y sus adjuntos son confidenciales y están dirigidos exclusivamente a sus destinatarios. Si recibe este mensaje por error, se ruega nos lo comunique y proceda a su borrado.

The information contained in this electronic message is intended only for the personal and confidential use of the recipients designated in the original message. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.

Libre de virus.
sumo-user mailing list
To unsubscribe from this list, visit

Back to the top