question

Penpen avatar image
0 Likes"
Penpen asked Jason Lightfoot commented

I am unable to get my separator to move to multiple ports correctly

Hello, I am trying to simulate a restaurant but am having problems routing only the checklists to my processor (Kitchen stoves). When I had only 1 combiner (table) and 1 processor, there were no issues to the split but after adding multiple combiners, assigning the objects (to multiple combiners) and contents (to processor) ports still sends my objects to the processors.

Lab project.fsm

FlexSim 23.2.0
separator logicoutput ports
lab-project.fsm (52.1 KiB)
· 1
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Penpen, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

The "First Available" option in the Send to Port field that fixed resources like the processor are set to by default is actually just returning a 0 for the port number. You can do the same here, so that the container object (person) will move to the first available output port.

However, since the kitchen stove is also an output of the separator, you'd have to close its input while a person is looking for a free table. See the On Exit trigger in the attached model. In the same trigger I also assign a reference to the order to a label on the person, so that the person can write the port (table) it is using to the order and the kitchen stove can later send the order to that same table.

(The input connections of tables 9-11 are in the wrong order in your model, so they don't function properly currently)

lab-project-3d.fsm

The same process can be build more quickly and more easily in Process Flow (in my opinion and once you have some experience with using Process Flow).

lab-project-processflow.fsm


5 |100000

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