question

Ajay M avatar image
0 Likes"
Ajay M asked Jason Lightfoot edited

How to run two sub flows assigned to two diff.tasks parllely using Process Flow

Hello Everyone,

Recently I started working with Flexsim and did a lot of interesting tasks, cases etc. A few days ago when I planned to establish a case (below mentioned) in Flexsim I addressed a lot of problems. I tried my best and posted this here so that can share and gain some knowledge.

My primary goal is to load flow items from multiple Queues and distribute them to delivery queues using AGVs. For a better understanding, refer to the attached image.

Process 1: AGV 1 should load a Flow item from Pickup queue1 and deliver it to Delivery Queue 1.

Process 2: AGV 2 should load a Flow item from Pickup queue 2 and deliver it to Delivery Queue 2.

I created a process flow and added two subprocess flows to it (Process 1 and Process 2 ) to execute the above tasks.

Is it possible to run two different sub flows parllely?

Here is the file on which I worked Running_Two_Subflows_Parllely.fsm


running-two-subflows-parllely.jpgcase-explanation.jpg

FlexSim 22.2.2
agvprocess flow task sequencesub process flow
· 2
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

There are many ways to do this.

If you're trying to coordinate a single token on completion of both subflows , you could use split and join activities to create two tokens, each of which would invoke different subflows

Or you could define a single subflow that refers to token labels rather than directly referencing objects in the model, and then set the number of tokens to 2 on the runSubflow, adding the required labels to the created tokens based their creationRank.


· 7
5 |100000

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