Set a label with a value selected from a global table by a stat. distribution

Set a label with a value selected from a global table by a stat. distribution

luis_fernando_vr
Not applicable
496 Views
2 Replies
Message 1 of 3

Set a label with a value selected from a global table by a stat. distribution

luis_fernando_vr
Not applicable

[ FlexSim 22.2.3 ]

Hi FlexSim team,

Could you please help me to create objects and assign a label called "model" but with a value selected by a statistical distribution from a global table?

Create objects with a label selected by a statistical distribution from a Global Table.fsm

Example: Having the following Global Table and we want to assign a label called "Model" to an object with a value that are on the table below but selecting it randomly or by a statistical distribution .

Models
A
B
C
D


1668632261434.png

Thank you in advance,

Luis

0 Likes
Accepted solutions (1)
497 Views
2 Replies
Replies (2)
Message 2 of 3

SebastianCanasV
Collaborator
Collaborator
Accepted solution

@Luis Fernando ,

In order to build the logic you want, I used the expression below

1668633425416.png

I recommend you to read this part of the user manual to understand better how to use FlexScript to get values from a Global Table.

create-objects-with-a-label-selected-by-a-statisti-sc.fsm

0 Likes
Message 3 of 3

luis_fernando_vr
Not applicable
Thank you for your help!
0 Likes