question

OC avatar image
0 Likes"
OC asked Jeanette F commented

Arrival sequence

Hello,

Could someone please assist me? I am looking to produce four different products utilizing a specific arrival sequence, as outlined in the table below.

1698139965095.png

1698139994749.png

My intention is for the product arrival to be randomized.

1698140125524.png

However, I have encountered an issue where the quantities reflected in the dashboard at the end of the simulation do not match the ones I initially set in the arrival sequence.

1698140056247.png

Thank you very much for your help.

FlexSim 23.0.8
arrival sequence
1698139965095.png (62.7 KiB)
1698139994749.png (185.4 KiB)
1698140056247.png (62.9 KiB)
1698140125524.png (207.0 KiB)
· 1
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered OC commented

The Type label you set in the source table doesn't mean anything if you override it with a random number when the item is created. Naturally you are going to end up with quantities that reflect the distribution you used to assign the label values.

You can either assign the labels by percentage according to your target distribution (normalize the quantities so they total 100, then use those values in the "Set Label By Percentage" option).

Or, and I'm paraphrasing here, create a list of all type values that you want to create and when an item is created, you pick a random value from that list and assign it to the item. You of course then have to be sure to not create more items than there are values on the "list". This can be done in different ways, but it's generally the only way to end up with a pre-determined number of items of each type but in a random order.

An easy option is to do this in Process Flow, by utilizing a small random delay.

FixedQuantity-RandomOrder-fm.fsm


· 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.