question

JIANYUAN, HALLEY L avatar image
0 Likes"
JIANYUAN, HALLEY L asked JIANYUAN, HALLEY L commented

How to use global table to assign the correct labels to each item created?

Hello all,

Is it possible to assign labels to individual items produced using global tables and thereby allow the items to travel to the destination specified in the global table?

I've tried connecting individual sources to release items as according to the global table and letting individual processor/sink to push/pull items respectively according to their labels but there seems to be an issue.

Items are stuck on the processors are not moving to sink/processor to their next destinations.

I've checked other answers for similar issues but those could only work having only one source and it doesn't allow for different arrival timings of each labels. Would using classes to differentiate each item work better in the item flow process? Also, is it necessary to specify the movement of items from each source to the sink itself if there are more nodes?

Here is the end product of the model to simulate and this is the simplified version I was testing to get it to work.

test-6.fsm

Thanks for reading!

FlexSim 20.0.0
global table3d modelitem flow
flexsim-model.jpg (25.2 KiB)
test-6.fsm (33.7 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

Braydn T avatar image
0 Likes"
Braydn T answered JIANYUAN, HALLEY L commented

@JIANYUAN, HALLEY L

First, you are not using the global table lookup command correctly, as you can see in the exceptions in the system console. You need to specify the row.

Second, You are assigning the label in the processors to to current.centerobjects[1], which would be an operator. To assign it to the object that is entering or leaving, you just need to say "current".

I am not sure what you mean by arrival timings of labels. If you know a destination from the beginning, wouldn't you assign labels onCreation?

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