question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Felix Möhlmann commented

Storage Model

Hello,

I'm attaching a model in which I'd like to create a simple initial inventory for my storage system.

I have three racks that I have painted with different colors based on their SKU type using the SKU Color Palette. My intention is to allocate each SKU type to the rack with the matching SKU color. However, there seems to be an issue with the racks not functioning properly.


Additionally, I would like to organize some of these SKUs into totes, as indicated in the global table. I want the capacity of each tote for a specific SKU type to be read from a column in the Global table called "Tote_capacity." Should I create a macro variable for this? what is the best way to model this?


storage_model.fsm

FlexSim 23.1.0
rack storagematch labeltote
storage-model.fsm (45.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

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

The row in the inventory table is already assigned to the tokens as a label, so you can just look up whether or not a tote is used and how many items should be placed inside it.

How do the quantity and tote_quantity values interact. Should the second row result in 50 totes with 25 items each or 2 totes with 25 items each?

capture1.png

In the first case, you can again just read the values from the table when creating the items. In the second case, you could batch the tokens before creating the tote and the items therein.

Current issues in your model:

- The Tote_Capacity column is formatted as string data (as indicated by the alignment to the left edge of the cell). Changing this to number data will make reading them easier since they won't have to be converted.
- You use token.slot as the destination in the Move Object activity. This field needs to reference an object, which the slot is not (it's a Storage.Slot class reference). You can get a reference to the rack the respective slot is part of via this value though (see attached model).
- When creating totes, you assign them to the label Tote on the token. However, to move the objects into the rack, you use token.item (which is correct for the case in which the items are not placed in tote. To use the same activity for both cases, the label names should match, so I assign the totes to the label item as well in the attached model. (A reference to the individual items is not necessarily needed, as you can always refer to them as subnodes of the tote).

storage-model-fm.fsm


capture1.png (791 B)
· 5
5 |100000

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