question

Payal Patel avatar image
0 Likes"
Payal Patel asked Ben Wilson commented

How to assign 4 different product to 4 different coolers??

There are 130 trucks are coming from 8 am to 8 pm and each truck contains 20 pallets. So, total numbers of pallet will be 2600. There are 4 coolers for 4 products. Products are distributed by percentage.10% , 40%, 30%, 20% for product 1, product 2 , product 3 and product 4 respectively. Particular products are going from inbound conveyor to particular coolers.

From the given data , should get highlighted numbers of throughput of coolers. But, not getting exact numbers of inputs for coolers (e.g. cooler1-input).

10% of 2600 = 260

40% of 2600 = 1040

30% of 2600 = 780

20% of 2600 = 520

I am attaching the model below. Run-length of model is 24 hr. ( 8 am to 2 am). Thanks in advance.


Experiment Model.fsm

FlexSim 21.0.3
flexsim 21.0.3item typeshift scheduleby percentageexponential distribution
cooler1-input.png (9.6 KiB)
experiment-model.fsm (194.6 KiB)
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

You have a ratio and not a distribution! You can try to keep a balance of your ratio constant. Or you update a list with a default set of entries every day and you pull randomly items from this list. You can do this with 2600 entries. Alternatively you pull randomly a type and reduce the total amount of available pieces by keeping track of the overflow.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Payal Patel, was Jörg Vogel's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel edited

EDIT: This Example uses a list and pulls values of the list to reduce a unit field value. The list value is just an index. The index correlates to a global table to update the daily or any other stock of available items to create in the model.

List("dailyParts").pull("SELECT unit ORDER BY RAND()",1.0,1.0,token,0,0) 

random_Ratio_by_list.fsm

Here is a different example to keep a balance constant.


5 |100000

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