question

ADRIANA GL avatar image
0 Likes"
ADRIANA GL asked ADRIANA GL commented

How can i make my model to use less proces flow activities using subflow?

gera.fsm

Since im using the student versión im having problems using subflow because of the model limit How could i make my model smaller using subflow ?

FlexSim 19.1.1
subflow
gera.fsm (45.6 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

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered ADRIANA GL commented

You need to think about what parts of the logic are repeated and then break that off into a subflow that you can call whenever you reach that repeated logic. Sometimes most of the logic is repeated, but there's a little difference each time. In that case you need to generalize the logic and then pass in a token label with a value that lets the subflow do something slightly different.

In your model it looks like you have different steps that the item has to go through. First it has to be picked up, taken to Servidor1, dropped off, and processed. Then it needs to be picked up, taken to Servidor2, dropped off, and processed, etc. Notice how each step is the same except for where the item is taken?

In this modified version of your model I made a subflow of that logic that's repeated in each step. Then in the Run Subflow activity I add a new Machine token label that tells the subflow which Servidor machine to take the item to.

subflows.fsm


subflows.fsm (45.4 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.

ADRIANA GL avatar image ADRIANA GL commented ·

thank you, I Really served

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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