question

Raynan avatar image
0 Likes"
Raynan asked Natalie White commented

occupy a mutilocation with the party group

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)

FlexSim 22.2.0
proces flowmultilocationparty groupself-service
modelpic.png (275.1 KiB)
processflowpic.png (55.5 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.

Natalie White avatar image Natalie White commented ·

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 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

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


capture1.png (30.0 KiB)
capture2.png (28.5 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.