How can input port be open only when queue is empty ?

How can input port be open only when queue is empty ?

IrKoZ
Not applicable
20 Views
2 Replies
Message 1 of 3

How can input port be open only when queue is empty ?

IrKoZ
Not applicable

[ FlexSim 24.0.0 ]

Model warehouse.fsm

Hello,

I can't seem to find a solution for opening the input port from the source to the first queue only when the queue is empty. I have set the trigger on the queue exit port to close the input port and that's how it should be, but I would still like to set the input port to open when all items are taken from the queue.

Please Help zrzut-ekranu-2023-12-14-141159.png

0 Likes
Accepted solutions (1)
21 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
Observer
Observer
Accepted solution

Getting the timing right for opening/closing ports can sometimes be a bit finicky. If you use the Entry/Exit trigger, a 0s delay (by sending a message and only closing/opening the port in the message trigger) can often help.

model-warehouse-fm.fsm

0 Likes
Message 3 of 3

IrKoZ
Not applicable
thank you very much
0 Likes