question

Carolina R2 avatar image
0 Likes"
Carolina R2 asked Ben Wilson commented

How to assign different paths to an item?

I'm having a problem with my simulation model. I have several machines (processors) along a system of conveyors and each one of my items has to be processed in a sequence of different machines, which is given by a global table. In this table, each row corresponds to a type of item, and the columns indicate the port number of the queue to which each the processor is connected to. Thus, the columns inform where each type of item has to go, i.e., the set of processors where each item type has to go. Then, I configured the output send to port of the flow tab of the queue to use Global Table lookup, in which the row is the item type (a label assigned when the item is created) and the process, another label assigned when the item is creating, informing the sequence of processors to which is an item has to go.

I have 2 problems:

- First one is that the items are not following the conveyor to reach the processors, after being generated by the source and sent to the queue.

- Second is that the items are not following the global table, and they are only being processed by one processor.


Can anyone help me solving this problem?

Thank you very much in advance, and I'm looking forward to hearing from you!

Teste_w_GlobalTable.fsm

FlexSim 20.1.0
global tableflexsim 20.1.0multiple path
· 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.

1 Answer

Marcello Rosadini avatar image
0 Likes"
Marcello Rosadini answered

Carolina, please comment on my answer, but do not create a new answer with a comment. I recommend to take a look at Best practices for using this Answers site

Please take a look at all the elements in my model. The destination is set in the triggers at the decision points. "By Global Table Lookup" is just a preformatted way of writing :

  1. Table("Tablename")[row][column] ;         

The output connections from the decision points must be in order for this to work.

For the logic in the decision points I've created a Decision Point Type called "clasificador"

You can look at it by going to Toolbox-->DecisionPoint Types

5 |100000

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