question

Mason W avatar image
0 Likes"
Mason W asked Logan Gold answered

Place in Rack Bay by Label

Hi all,

I'm trying to replicate the logic in this question in my model, but it doesn't seem to be working. Looking for some help as to why. I'm wanting to place in bay by the label "Packer". I'm sure it's something I've done in the coding of "Place in Bay"

Find model attached. Thanks!

racksample.fsm

FlexSim 18.0.7
rack
racksample.fsm (42.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

Logan Gold avatar image
0 Likes"
Logan Gold answered
@Mason W

I think you are trying to set a specific cell for an item to be placed in the Place in Bay logic instead of just the bay. There are 125 cells in the Rack in your model, but each cell has a bay and level component. The Rack in your model has 25 bays and 5 levels. You can think of each bay as a column in your model and each level and a row.

I think you just need to change the numbers for each duniform distribution in the Place in Bay logic. The first one should use duniform(1,5) instead of duniform(1,25). The second one should use duinform(6,10) instead of duniform(26,50). Etc.

5 |100000

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