question

Kevin L4 avatar image
0 Likes"
Kevin L4 asked Joseph Gillespie commented

open/close port

open-close-port-2.fsmHi FlexSim community,

I am trying to set up a model with constraining input/output condition and was unable to successfully set it up, hoping you can shine some light on this.

I want to make "Processor 1" stop input any object when "Pulse 3" is processing. I assigned pass/fail rate at "Pulse 3", when pass, the object will move to "Processor 10" if failed, the objective will go back to "Processor 1" and move to "Processor 8". The model stops working when there is a fail object.

I tried closeput on processor 5 when an object enters processor 1 but that didn't work out. Is there any way to achieve my goal by useing "Open/Close port"? or it has to be done by using Proces Flow. Any help/direction is appreciated.

PS1: I used "processor" as section of conveyor

PS2: I have "send to port" set up at both "Processor 1" for new coming item and failed item, and at "Pulse 3", pass goes to "Processor 10", fail goes back to "Processor 1".

PS: I have attached the sample model

FlexSim 18.2.3
send to portcondition
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

You want to prevent items entering Processor1, if the last processed item on Processor1 goes to Pulse3.

The condition chain is:

item1 enters Processor1 then Output Processor6 closes.

  • item1 enters Processor8 then Output Processor6 opens

OR

  • item1 enters Pulse3 then nothing happens. You wait. Some time later the item1 enters Processor8 or Processor10.
Item1 enters Processor10 then Output Processor6 opens.

If you close the input of an object, the object can’t receive items at all. If you close the output of the previous object, your object is still able to receive items from other objects. If an item from Pulse 3 leaving Processor1 to Processor8 the Output of Processor6 opens again.
5 |100000

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