Raynan avatar image
1 Like"
Raynan asked Natalie White commented

create groups of people to sit at tables together

I'm trying to create a simulated model of a self-service restaurant, and the proposal is that, when running the model and creating people, they come in groups, serve themselves and the whole group occupies a table (and different groups sit at different tables). I don't want unknown people to sit at the same table, for a better approximation of reality. I tried to make my model with "assigning label" but I don't have enough knowledge to handle the software. Can anyone help me?

FlexSim 22.2.0
· 3
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,

It looks like this question may be part of a homework assignment or academic project. The professors who assign simulation modeling exercises using FlexSim expect that the academic integrity of their assignments will be maintained. In addition, we are supportive of Honor Codes or Pledges that regulate the behavior surrounding academic assignments.

I recommend reading our best practices page on the subject, which includes some resources that you should find helpful as you use FlexSim for academic purposes. I also highly recommend Dr. Allen Greenwood's FlexSim Primer, which was written specifically for students and professors.

0 Likes 0 ·
Raynan avatar image Raynan Natalie White commented ·

actually I just wanted to understand what the theory of this would look like, so I could apply it to my research. I already tried applying labels and it didn't work as I thought it should, so I asked for help.

0 Likes 0 ·
Natalie White avatar image Natalie White commented ·

Hi @Raynan, was Julie Weller'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

Julie Weller avatar image
Julie Weller answered

Hi @Raynan! I would look at this question:

It applies to healthcare primarily but you can use multi-location objects in regular flexsim and even rearrange them to look more like a restaurant setting, like Jeanette implemented.

Does that help answer your question?

· 5
5 |100000

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

Raynan avatar image Raynan commented ·

Hi Julie, very thank you for your assist! I took a look at the post you linked, it made a lot of sense what I saw, but for some reason the bug on the "Acquire As single Unit" button persisted, even though I corrected line 13 in the code. I'm using flexsim 2022 update 2. Anyway, I'll attach my model in case it's useful. Thank you again.

Simulação restaurante.fsm

0 Likes 0 ·
Julie Weller avatar image Julie Weller Raynan commented ·

Hmmm I had the same issue when I built it... @Jeanette F Can you take a look at this? Neither of us could fix the error from the bug...

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Julie Weller commented ·

@Julie Weller @Jeanette F @Raynan

As a workaround you could open a Script Console and run code like this to set that setting:

Object chairs = Model.find("Chairs1");
setvarnum(chairs, "acquireAsSingleUnit", 1);
2 Likes 2 ·
Show more comments