question

Gary Q avatar image
0 Likes"
Gary Q asked Gary Q commented

configuration queue & process flow

The maximum content of queue 2 is 4, how can I make respect the configuration of queue 2, when I use process flow?

example queue.fsm

FlexSim 22.1.1
proces flowqueueslogicconfiguration
example-queue.fsm (36.9 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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Gary Q commented

You cannot! Process Flow is a logic level above 3D modeling parameters. You are responsible to read parameters of 3D model objects yourself. Then you can build conditions in Process Flow which are taking into account those restrictions.

· 3
5 |100000

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

Felix Möhlmann avatar image Felix Möhlmann commented ·

Here is an example of how this could be done: The token checks the current content of the queue against its max. content property in the decide activity. If there is no space, it is send to a 'Wait for Event' activity and waits until an item leaves Queue2 before continuing.

1658213835629.png

example-queue-fm.fsm

0 Likes 0 ·
1658213835629.png (16.7 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Felix Möhlmann commented ·
Note: If it's a mixed case (process flow and port flow for example) then you should also be checking the nroftransportsin variable of the queue).
0 Likes 0 ·
Gary Q avatar image Gary Q Jason Lightfoot ♦♦ commented ·
0 Likes 0 ·