question

JUN-WEI P avatar image
0 Likes"
JUN-WEI P asked JUN-WEI P commented

How can I use globaltable to set position in a rack?

Hi,

I'm working on the simulation of a warehouse. I want to assign my strategy in the rack. Can I use globaltable to set my specific position? And how to do it,please help me!!

Thank you.

FlexSim 17.1.6
flexsim 17.1.6
· 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.

tannerp avatar image tannerp commented ·

There are a lot of ways to do warehouse simulation in FlexSim. You can use tokens that are connected to each location or the rack's logic itself or labels on items. Do you have a model that you're working with already? And could you also show the table that you're using to set positions? That will help us provide the best answer for your needs.

As an additional note: beginning in FlexSim 2020, there are additional warehousing tools, specifically custom racks, that make things easier.

0 Likes 0 ·
JUN-WEI P avatar image JUN-WEI P tannerp commented ·

@tanner.p thank u for your help. I will try to excute!!

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered JUN-WEI P commented

The rack placement needs a bay and a level to identify a rack cell. If a table organizes the cell management, you put labels for bay and level at the items, which you evaluate in the rack functions Place in Bay and Place in Level. There is a Pick List Option to choose By Expression where you read the labels for bay or level. Your table contains all cells, the address by level, by bay, state if being filled or empty. BEFORE an item enters the rack object, a logic will find a suitable cell in your rack table, update the table data, and assign the labels at the item to be read in place in bay and level function in the rack object.

If you need a more detailed answer, then we need a simplified model of your task, that has got relevant data implemented like @tanner.p suggested.

There are many other concepts to manage rack placement like rack cell labels, lists, process flow tokens. But in the end you will always need a bay and a level to identify a cell. And if you update to a version beginning with 19.2 you will identify instead of a cell a slot that is hierarchy level deeper in an address scheme.

· 14
5 |100000

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

JUN-WEI P avatar image JUN-WEI P commented ·

Thank u for your help! But I still can't know how to do it. Following is my model sample,and global table "rack1" is that I want to set specific place for "itemt ype1" and "itemt ype2".

please tell me how to do it in flexsim 2017? thank you so much!!

specific location for different item.fsm


0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel commented ·

here is an example to get bay and level from a global table to labels at items. Example is from FlexSim 17.0, because I haven't installed 17.1. Additionally I mark cells already been selected. And I give cells free, when an item leaves the rack. The code is in Send To Port in Queue in front of racks' flow.

If you reset the model, when there are items stored, you have to update the cellsTbl manually to work as intended. Populated cells values are a bit greater than empty cells. The value in the cells are set to match with the itemtype.

find_cell_by_table.fsm

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Joerg Vogel commented ·

@JUN-WEI P, answer enhanced by an example model in a comment. If you need help on the model, then please ask, where you need help!

0 Likes 0 ·
JUN-WEI P avatar image JUN-WEI P Joerg Vogel commented ·

@Jörg Vogel Thank u so much for your help! I will try to excute.

0 Likes 0 ·
Show more comments
JUN-WEI P avatar image JUN-WEI P Joerg Vogel commented ·

Following is my test model, I reference your step, but I didn't know where is the problem.

Please help, thanls.

20200529.fsm

0 Likes 0 ·
20200529.fsm (25.3 KiB)
Joerg Vogel avatar image Joerg Vogel JUN-WEI P commented ·

There are some major changes between FlexSim 17 and 19.

itemtype doesn't exist anymore as an attribute 
Now: item.Type  where Type is just a label
++++
Table.query(...) with dumpquery(reftable("myResult"),1)
Now: Table forDump = Table.query(...);
     forDump.cloneTo(Table("myResult");
++++
reftable("myGlobalTable")
Now: Table("myGlobalTable")

I made those changes in attached model only for Queue1. Because the method cloneTo() cannot work with an empty table, I changed some code lines, too.

Additionally I copy the base table on reset to cellsTbl. And because I didn't find an error fast, I changed the random distributed interarrival times to a constant value. And there is now a Queue3 in the model to receive items not storable.

20200529-JV.fsm

0 Likes 0 ·
20200529-jv.fsm (26.3 KiB)
Show more comments