question

Thomas JR avatar image
1 Like"
Thomas JR asked Thomas JR commented

Repeat Random Streams giving different results

Hi folks

I have noticed that the tokens in the processflow sometimes change ID between runs despite having Repeat Random Streams active, which makes it very difficult to identify bugs.

Is there something hidden in FlexSim that I should be aware of that may cause this kind of behaviour?


Best regards

Thomas

FlexSim 20.0.2
debuggingflexsim 20.0.2repeat random streams
· 6
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

Perhaps you have activated "Initialize random streams based on system time" in

File > Global Preferences > Environment

1 Like 1 ·
Thomas JR avatar image Thomas JR Joerg Vogel commented ·

The field is unchecked in my FlexSim, but thanks for the answer!

Good to know for potential future applications.

0 Likes 0 ·
tannerp avatar image tannerp commented ·

Hi @Thomas JR,

Do you have a model you could upload with this issue that we could take a look at? And are you seeing this issue in Experimenter or just in normal test runs of the model?

0 Likes 0 ·
Thomas JR avatar image Thomas JR tannerp commented ·

Hi @tanner.p

Unfortunately not. I'm working on a large healthcare model that contains sensitive data and other elements.

The issue appears in normal test runs. I've yet to dive into the Experimenter.

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 commented ·

Hi @Thomas JR, Was Matthew's comment helpful? Do you still need help with this?

0 Likes 0 ·
Thomas JR avatar image Thomas JR Benjamin W2 commented ·

Hi @Benjamin W2

Sorry, I did take a look at the section described, but I have yet to test if it resolves my problem.

0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

This page in the user manual goes over some of the things that can cause you model to not be repeatable:

https://docs.flexsim.com/en/20.0/BestPractices/ModelRepeatability/

5 |100000

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