question

Diomar Gerrero avatar image
0 Likes"
Diomar Gerrero asked Diomar Gerrero commented

capacity of a rack for different flowitems

Hello I would like to know how I do to split the capacity of a rack for different flowitems; For example as I have a rack with a maximum capacity of 100, store 40 of one type and 60 of another. please help.

FlexSim 16.0.6
rackcapacity
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
0 Likes"
Joerg Vogel answered Diomar Gerrero commented

For Example you find in the source code of the picklist template "Random Bay if Available" the line:

int firstguess  = duniform(1, nrofbays);

If you add another line of source code you can divide the bays to be filled by a condition:

if(getitemtype(item)=="1") firstguess = duniform(0.4*nrofbays, nrofbays);

Here the items of itemtype 1 are placed starting from bay 4 to the last bay number 10. But this approach limit not the amount of items of a type in a rack. If you want such feature it would be better to insert multiple racks in a line and place at each rack only a unique itemtype. In the capacity parameter you can limit the amount of items.

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

Diomar Gerrero avatar image Diomar Gerrero commented ·

thank you

0 Likes 0 ·
Diomar Gerrero avatar image
0 Likes"
Diomar Gerrero answered Diomar Gerrero commented

modelo-pruba-para-diferentes-productos.fsm

What I want is that this rack stores four different products and places them in a certain place; But I need to limit it to receive a limited amount of each.


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

Diomar Gerrero avatar image Diomar Gerrero commented ·

thank you

0 Likes 0 ·
Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered

@Diomar Gerrero

Diomar,

You could probably use some labels on the rack to keep track of the number of each type. Then on the Flow tab, check the Pull box in the Input area. Put some code in the Pull Requirement field to not accept more of a given type in it has reached its maximum amount.

It's hard to give you too many specifics without knowing how your model works. Is it possible to send us a sample model or your model so that we can give you the best solution?

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.