question

Kshitij Dhake avatar image
0 Likes"
Kshitij Dhake asked Kshitij Dhake commented

Send flow item to processors with preference in a conveyor

I want to send the flow item to the processors. Processor 3 gets the preference and the I am using the decision points as a waiting area for flow items.
How can this be done using a basic approach ? The code which I have is not working Sample Conveyor.fsm

FlexSim 22.0.16
conveyance
sample-conveyor.fsm (45.5 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Kshitij Dhake commented

My preferred option is almost always to use Process Flow. The big advanted you have in this case, is that you can simply keep the item stopped until a processor can be acquired and then later release the processor once the item has finished processing.

sample-conveyor_1.fsm

Your approach can also work though. It just needs some way to identify which processor is available. For example by using labels on the processors that can be checked in the On Continue code of the DP.

sample-conveyor_2.fsm


· 9
5 |100000

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