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.

Marcello Rosadini avatar image Marcello Rosadini commented ·

Hello Carolina, please attach your model to better understand the issue.

0 Likes 0 ·
Carolina R2 avatar image Carolina R2 commented ·

Here you are the model @marcello.rosadini. Thank you in advance!
Teste_w_GlobalTable.fsm

0 Likes 0 ·
Marcello Rosadini avatar image Marcello Rosadini commented ·

Carolina,

since you are using conveyors, instead of connecting the objetcs directly you can use decision points to associate them with their proper exit points. I am attaching a sample model that follows a table as you describe. I am asuming that each machine can process more than 1 object at a time. If this is not the case, and if you don't have a buffer, then you will need to implement logic for recirculation.

support hc.fsm

0 Likes 0 ·
support-hc.fsm (44.3 KiB)
Carolina R2 avatar image Carolina R2 commented ·

Thank you @marcello.rosadini ! But I don´t understand where you establish connection with the global table. You shouldn't have some "By Global Table Lookup" or something like this? When I try to implement the same logic in my model, the items only follow the conveyor, but are not send to the processors.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @carolina.r2, was marcello.rosadini's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

0 Likes 0 ·

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 :

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.