Set random seed in 3D model

Set random seed in 3D model

jyhjeng_d2
Not applicable
107 Views
4 Replies
Message 1 of 5

Set random seed in 3D model

jyhjeng_d2
Not applicable

[ FlexSim 22.0.1 ]

I used a different random seed to see its influence on the statistics in the queue length in a simple queueing model. However, I could not set the seed. Instead, I looked at the Q&A, and they suggested I use toolbox > Modeling Logic > Model Trigger > On Reset.

However, my toolbox did not have such an option.

How could I change the random seed for the source?

Here is my flexsim file.Primer_1-1A.fsm

0 Likes
Accepted solutions (1)
108 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor

@Jyhjeng D2, what kind of license do you use? You need a licensed version of FlexSim to get randomized results. A Demo version called express license won’t be able to allow all feature you describe that you are missing. https://answers.flexsim.com/articles/65811/flexsim-features-by-license-type.html

0 Likes
Message 3 of 5

jason_lightfootVL7B4
Autodesk
Autodesk

The option would still be there but yield this message when selected:

1676984768473.png

Message 4 of 5

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Change the random seeds for the streams using the experimenter by either:

  1. Running an experiment and looking at the differing results for each replicaiton
  2. Go to the advanced tab of the experimenter and change the replication to use for your manual run:

1676984837298.png

Make sure you use a non-zero stream number in any stochastic expression (usually best to use getstream(current) or getstream(activity) )

There is another option which is to disable the 'repeat streams' option under the stochastics menu - this has limited use since, should you find anything interesting in terms of results or detecting bugs, you will not be able to replicated it.

0 Likes
Message 5 of 5

jyhjeng_d2
Not applicable
Got it. I used a trial version. That is why the random seed did not work. Thanks.
0 Likes