question

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

Process Flow and People flow configuration

hello community

I would like your help in the following logic.

I need that in the model the first person created picks up a box from the process, the second person picks up the second box and so on.

the problem I have is that all the people are going to pick up the first box.

I leave the model for visualization

Example people flow.fsm

FlexSim 22.2.1
processflowpeople flow
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

·
Jeanette F avatar image
1 Like"
Jeanette F answered Jeanette F commented

Hello @Gary Q,

This is happening because when multiple tokens are on a wait for event when it triggers, it triggers for all the tokens on it. So you only want one token on the wait for event at a time. An easy way to do this is to add an acquire resource for the processor and release resource once the item is picked up.

1665096681710.png

example-people-flow_1.fsm


· 4
5 |100000

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

Gary Q avatar image Gary Q commented ·

hello @Jeanette F

yes I tried it, but what seems strange to me is that configuring the resource and then running the model, the problem persists, and although the configuration of the resource is fine as seen in the image, it does not respect the numerical reference, I hope to explain myself well about the problem

2022-10-06-1.jpg

0 Likes 0 ·
2022-10-06-1.jpg (61.4 KiB)
Jeanette F avatar image Jeanette F ♦♦ Gary Q commented ·

Hello @Gary Q I apologize. It was working at first when I tested it but I must not have saved at the end. The resource points to the processor and the Type needs to be set to Global since this in an instanced process flow.

1665157111897.png

example-people-flow_2.fsm

0 Likes 0 ·
Gary Q avatar image Gary Q commented ·

@Jeanette F

thanks for the help, with these changes the logic now works, a doubt what is the difference between using the local and global type

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Gary Q commented ·
A local type will keep the resource specific to each instance. A global type makes it so the resource is shared across all instances of the process flow. You can find more details in our documentation.
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.