question

Kadircan T avatar image
0 Likes"
Kadircan T asked Kadircan T commented

Create Token When Queue is Empty

Hello,

Using process flow, I want Queue2 to generate a token when its content is 0, so that Operator1 can fetch new packets from Queue1 only when Queue2 is empty. I couldn't do this using event triggered source, what kind of method do you suggest.

test_model.fsm

FlexSim 22.2.2
tokenevent trigger
test-model.fsm (41.3 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

Long G avatar image
0 Likes"
Long G answered Kadircan T commented

2023228-160101.png

You need a Schedule Source to start the process ,and then let it go itself.


2023228-160101.png (92.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.

Kadircan T avatar image Kadircan T commented ·
thank you very much for your help!
0 Likes 0 ·