How to get up and take one by one

How to get up and take one by one

kritsadakorn_k
Not applicable
13 Views
4 Replies
Message 1 of 5

How to get up and take one by one

kritsadakorn_k
Not applicable

[ FlexSim 21.0.10 ]

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

0 Likes
Accepted solutions (1)
14 Views
4 Replies
Replies (4)
Message 2 of 5

moehlmann_fe
Observer
Observer

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
Message 3 of 5

kritsadakorn_k
Not applicable

Thank you for answer

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

0 Likes
Message 4 of 5

moehlmann_fe
Observer
Observer
Accepted solution

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

0 Likes
Message 5 of 5

kritsadakorn_k
Not applicable

Thank you very much for the answer.

0 Likes