See https://sumo.dlr.de/docs/Simulation/Randomness.html#random_number_generation_rng
Am Mi., 12. Jan. 2022 um 11:27 Uhr schrieb Iñaki Cejudo Fresnadillo via sumo-user <[email protected]>: > Hi, > > 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. > > Regards, > > Iñaki > > > > -- > <https://www.vicomtech.org> > > Iñaki Cejudo Fresnadillo > Research Assistant | Ayudante de Investigación > > [email protected] > +[34] 943 30 92 30 > Intelligent Transport Systems and Engineering | Sistemas de Transporte > Inteligentes e Ingeniería > > <https://www.linkedin.com/company/vicomtech> > <https://www.youtube.com/user/VICOMTech> <https://twitter.com/@Vicomtech> > > member of: <https://graphicsvision.ai/> > > 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. > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Libre > de virus. www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#m_-6834451043085471675_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > 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
