question

Lucas Braga avatar image
1 Like"
Lucas Braga asked Ben Wilson edited

Generate different random numbers every time I run a model

When I run a model using commands such as duniform(...) or randint(...), it generates a sequence of random numbers. But when I reset the model and run again I get the same numbers again. Is there any way to get a new sequence of random numbers when I reset the model?

FlexSim 7.5.4
randomrandom numbersnumber distribution
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Ben Wilson edited

You should use the experimenter. And run multiple replications. Unchecking the repeat random streams option is not advised since it makes it nearly impossible to debug your model.

Please read my response to this similar question: https://answers.flexsim.com/answers/26036/view.html

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

jing.c avatar image
1 Like"
jing.c answered

You should uncheck the "Repeat Random Streams" in Statistics menu.


randomstream.png (23.9 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.