question

Mike avatar image
0 Likes"
Mike asked martin.j answered

How to add distribution into global table cell?

Hi,

I would like to add distribution into global table and refer to it in the process flow. How can i add it?

It doesn't work by just copy and paste the distribution into the cell. Thanks.


1691643765758.png

FlexSim 23.1.3
adding distribution into global table cell.
1691643765758.png (74.1 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.

1 Answer

·
martin.j avatar image
0 Likes"
martin.j answered

If you want a table to return a new result of a distribution function every time the table cell is called you can 'Assing FlexScript Data' to a table cell and then add code to call the distribution yourself:

1691652707970.png

return uniform(2,20); 

or something similar would return a new uniform() result everytime you read a value from the table.


1691652707970.png (14.0 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.