Hi Tiago,
Maybe initializing the simulation with a different random seed would solve your issue:
Andras
Feladó: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx>, meghatalmazó: Tiago Silva <tiago.silva1230@xxxxxxxxx>
Elküldve: 2020. október 21., szerda 15:14
Címzett: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Tárgy: [sumo-user] Different probability flows between simulations
hello,
I'm generating a flow of vehicles with probability='0.3' as seen in the code below:
<flow id='flow_2' color="0,0,1" begin='0' end='4500'
probability='0.3' type='vehicleType_1'>
<route edges='5to1 1to3'/>
</flow>
It works correctly and generates the random flows I need during the simulation. However, I noticed that if I execute the simulation again it will generate the same random flow as the previous execution. Can you tell me if this is the expected behavior
of random flow? I need to generate different flows in each simulation execution. Is there any way to do this?
Thanks in advance!
--
This e-mail and any files transmitted with it contain confidential and may contain privileged information. If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and delete this e-mail. Any unauthorized use, copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
|