question

Savannah avatar image
0 Likes"
Savannah asked José Antonio MD answered

Stop the flow of one queue if another queue is empty

I have a queue where set number of resources cycle through but when its empty I want to close the out port of another queue. Is it possible to do that and if so what would be the best way to write that?

I thought that I could send a message that when the subnode.length is empty it closes the port but I wasn't successful in getting that logic clear for the program. It would have to open the port as soon as it has objects in it again and continue that cycle the whole time.

FlexSim 20.0.9
queueflexsim 20.0.9close and open ports3d objetcs
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

José Antonio MD avatar image
0 Likes"
José Antonio MD answered

Hello @Savannah,

I attach an example with your idea using 3D connectors and a second example using ProcessFlow (basic OnContent arrival to 0 close ports and OnContent Increase to 1 open).

I hope I have been helpful

Example_MessageCloseOpen.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.