question

Gustavo Teodoro avatar image
0 Likes"
Gustavo Teodoro asked Gustavo Teodoro answered

Model Randomness

Hello everyone.
I have a model that is being integrated into another one, but they will be run separately. I copied the nodes of the tree from one model to another in parts. First the tables, then the parameters, followed by the global variables.

I ran the models separately and they showed no randomness. The next step was to add the User Commands and at this stage there was randomness.

The user commands are independent and each model runs its own independent user command.

I did not change the order of the nodes in the tree from one model to the other.

Is there any way to know which elements inserted into the model actually change the randomness of the models?

FlexSim 22.1.4
random seedelements creationseed
· 4
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

By randomness do you mean unrepeatability/unpredictability? If both models are deterministic then when you merge them the result should still be deterministic.

If you mean desired randomness from streams then when you merge models the stream id of objects may change between models, so you won't get the same event progression for the same replication number as you did in separate models.

1 Like 1 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Gustavo Teodoro,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Gustavo Teodoro avatar image Gustavo Teodoro Jeanette F ♦♦ commented ·
Yes, it's solved.
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Gustavo Teodoro commented ·
Hello @Gustavo Teodoro,

Can you share your solution and accept the answer?

0 Likes 0 ·

1 Answer

Gustavo Teodoro avatar image
0 Likes"
Gustavo Teodoro answered

In fact, I realized that the order that we add the objects, usercommands and process flow actually impacts the randomness of the model. To verify the equality of the models, I have used statistical tests on the performance measures.

· 2
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·
Adding user commands should not affect stream assignment.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·
Are you using getstream(c) in your usercommands? If so, why?
0 Likes 0 ·