occupy a mutilocation with the party group

occupy a mutilocation with the party group

Raynan
Not applicable
773 Views
2 Replies
Message 1 of 3

occupy a mutilocation with the party group

Raynan
Not applicable

[ FlexSim 22.2.0 ]

modelpic.PNGprocessflowpic.PNGSimulação restaurante_2.fsmmodelpic.PNG

I had some problems with bugs previously in flexsim that some people here on the forum helped me to solve, but I still have a doubt that is involving the same subject. I would like to know if there is a way to make groups of people serve themselves and sit together in the same multilocation, having in mind a self-service restaurant as a model. The best I could do was make each person sit alone in a mutilocation. Below is the model and some images of the model and the process flow that I am creating. ( in the image you can see a single person occupying a mutilocatiion, when in fact I would like it to be occupied by a party group with the value of Math.ceil(gamma(0.0, 0.8, 2.2, 1)) % 6) + 1 )

(ps: some things in the model are in portuguese)

0 Likes
Accepted solutions (1)
774 Views
2 Replies
Replies (2)
Message 2 of 3

FelixMoehlmann
Collaborator
Collaborator
Accepted solution

I've adjusted your Process Flow slightly to make this work. Each token that is created at the top represents a whole group of people (as an example I just assign a group size between 2 - 4). This token then creates as many 'person-tokens' as there are members in that group. Apart from the information about how large the group is these tokens are also assigned an ID number that is unique to that group.

capture1.png

Before acquiring a location, the tokens that belong to a single group are batched together into a single token using the quantity and ID values. The single token keeps references to all people in the group and moves them to the acquired location (and later exit) in subflows.

capture2.png

simulacao-restaurante-2-fm.fsm

0 Likes
Message 3 of 3

natalie_white
Not applicable

Hi @Raynan, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes