Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Sumo Random

see https://sumo.dlr.de/docs/Simulation/Randomness.html#departure_times

The option --random initializes the random seed (option --seed) with a random value drawn in a non-repeatable manner from the operating system.
The upside is that you don't need to set option --seed with a specific seed. The downside is, that you cannot easily reproduce such a simulation since you don't know the seed.

Am Fr., 31. Okt. 2025 um 17:17 Uhr schrieb Pedro Oliveira <pedro.engenhariae@xxxxxxxxx>:
Good afternoon,

Thank you very much!

Great, it worked with random-depart-offset. I set a value of 10 seconds. Is there a recommended value?

Just the random parameter, what does it do? I'm including it as well.

Sds,

Pedro Oliveira

Não contém vírus.www.avast.com

Em sex., 31 de out. de 2025 às 04:29, Jakob Erdmann <namdre.sumo@xxxxxxxxx> escreveu:
- set option  --random-depart-offset to randomize departures
- to vary types, set routeSampler option --attributes="type=\"car\"and then define and load a vTypeDistribution in your simulation 

regards,
Jakob

Am Fr., 31. Okt. 2025 um 01:24 Uhr schrieb Pedro Oliveira via sumo-user <sumo-user@xxxxxxxxxxx>:
Good evening,

In a simulation aimed at generating randomness, I placed the following script in the sumo.cfg file:

<processing>
<random value="true"/>
</processing>

However, after reloading several times and observing the start of the simulation, I always see the same vehicles being initialized.

I would like to know what the procedure would be so that the model is initialized in a variable way: the time of vehicle insertion, variation in the insertion of the vehicle type, etc.

The flow was generated using Routesampler.

Thank you very much!

Sds,

Pedro Oliveira

Não contém vírus.www.avast.com
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top