question

Kritsadakorn K avatar image
0 Likes"
Kritsadakorn K asked Kritsadakorn K commented

How to get up and take one by one

Hello,

I have a question "How do you make people walk to pick up 1 cake per person?"

and "People don't line up to receive goods."

Can you help me?

Thanks.picture-1.jpgpicture-2.jpg


VDO Content(2).fsm

FlexSim 21.0.10
answers
picture-1.jpg (466.4 KiB)
picture-2.jpg (470.6 KiB)
vdo-content2.fsm (20.0 MiB)
· 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.

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

Your model seems to not have been uploaded successfully, so it's difficult to give specific advice.

The second issue could probably be resolved by using a Waiting Line object.

1665385464895.png

0 Likes 0 ·
1665385464895.png (21.0 KiB)
Kritsadakorn K avatar image Kritsadakorn K Felix Möhlmann commented ·

Thank you for answer

I re-uploaded the model,Can you help me?

0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Kritsadakorn K commented

The person flow is an instanced process flow. This essentially means that each customer runs through its own copy of the process flow. In order for the resource to be shared between those instances it has to be set to global. This will then prevent more than the specified amount of customers acquiring the resource at the same time.

1665394245951.png

Another way to limit which tokens can continue, would be to use a global list. The process flow that creates the cakes/items can push those to the global list. The customer tokens then each have to pull an item from the list, matching one customer to one cake in the process.

This has the benefit that the pushing and pulling things from the list can happen at different times. WIth your approach, if a cake were to finish processing while no customer is waiting, the model would become stuck because the Wait for Event was "missed".

In the attached example I actually use two lists. Each cake is pushed to the first list upon its creation and to the second when it finished processing. When a customer was able to pull a cake from the first list, they will enter the waiting line. There they wait until they can pull the a cake from the second ("finished") list and then collect it and leave.

1665395697501.png

1665395705665.png

vdo-content2_1.fsm


1665394245951.png (9.6 KiB)
1665395697501.png (34.0 KiB)
1665395705665.png (10.9 KiB)
vdo-content2-1.fsm (16.7 MiB)
· 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.

Kritsadakorn K avatar image Kritsadakorn K commented ·

Thank you very much for the answer.

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.