question

Raynan avatar image
0 Likes"
Raynan asked Raynan commented

people get stuck after process

BACKUP SIMULAÇÃO RESTAURANTE 2.2.fsmHi. I have produced a restaurant simulation model using Process Flow. The aim was to make arrivals come in groups, using labels for this. However, I noticed that after serving the dish itself in the model, people get stuck. I added a flow directing people to a Floor Spot and realized that these people were not directed to sit at the table to have a meal, as expected. These people simply stood there on the floor spot forever. I imagine that perhaps there is an error in the labels that prevents the group of people from forming and proceeding. I will leave the model attached below.

FlexSim 22.2.0
labelsprocesss flowstuck
5 |100000

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

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Raynan commented

The problem is that you're creating the group index in two places based on the number of tokens entering the first AssignLabels activities. Create a global variable groupID and increment that instead.

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

Raynan avatar image Raynan commented ·

Hm, okay, I get it. I'm not very familiar with global variables, so, I have another question then. I created a new global variable, as you said, and called it "GroupID", now I must replace all "GroupIndex" whenever they appear?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Raynan commented ·

Just in the two places where you assign the ID isn't it?

1700234103109.png

0 Likes 0 ·
1700234103109.png (15.1 KiB)
Raynan avatar image Raynan Jason Lightfoot ♦♦ commented ·

It worked, thank you

0 Likes 0 ·