question

Tania L avatar image
0 Likes"
Tania L asked Tania L commented

Problems using global lookup table (pick operator) - (split)

model-operator-separator.fsmHello, I just created a simple model where I have a processor, a separator and three different itemtypes with three different labels. The processor needs to process with a different number of operators according to the item (label assigned). Also the separator must split the items in different units according to the item (label assigned). In both cases I am using a global lookup table "Operators" and "Separator", but I can not get it work properly.

¿Can somebody help me with these problems? or ¿Is there another way to achieve it?

FlexSim 18.1.1
global lookup table
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

José Antonio MD avatar image
0 Likes"
José Antonio MD answered José Antonio MD commented

Hello,

I attached a model with the solution.

The problem with the "Separator" is that you use item.Mylabel (11,12 or 13) as "Row", but you only have three rows. I have set the value of "Row": item.Mylabel -10, so value 11 will be the first, value 12 second, etc.

For the Processor I used a Dispatcher and "On entry" changed the value of the number of operators according to the table (the same methodology as with the "Separator").

I hope I have been helpful.

13270-model-operator-separator-solution.fsm


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

Tania L avatar image Tania L commented ·

@José Antonio MD

Thank you for your support. However, I need to know if there is a way to do that the same operator process all the items with the same label, and only when arrives an item with another label, another operator get join the first one to process. Currently, in the model every time an item arrives (with the same label) an operator change occurs.

Additionaly, I set up a label "My label" (11, 12, 13) because I need that every time an item enters to the processor or the separator, whatever the order of entry, its label be search in the global look up table. Depending on that label read the number of operators required and the numbers of parts in which the item should be divided.

0 Likes 0 ·
José Antonio MD avatar image José Antonio MD Tania L commented ·

I had not understood your question well. I think I've understood it now.

If you want a specific operator in a specific item.Mylabel, all you have to do is select the specific central port, looking for it in the table if you want.

The problem with the "My label" (11, 12, 13) is still the same. In your example you are not looking for a value in the table, you are looking for a specific row.

If you need to find a specific value in a table you can use "SQL query". However, in your case, I think the simplest way is the one I propose.

I hope I have been helpful.

13271-13270-model-operator-separator-solution-v2.fsm

0 Likes 0 ·