question

dougdurbin avatar image
0 Likes"
dougdurbin asked dougdurbin edited

Waiting Room Max Number of Patients

What's the best way about collecting the max number of patients and companions through the simulation run in the waiting room? In 5.3, I used to be able to see the max content under the properties tab of the waiting room. It seems like the "content" doesn't change and remains at 0. I'm also using the census vs time graph and can visually see the max number over the simulation run. After looking at the location census history table of values referenced in the chart, I see that the value is increasing or decreasing by 1 in the InOut column and doesn't give the current value. Would I use the statistics collector in this case to determine the max content of the waiting room?

FlexSim 20.0.3
waiting roommax content
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

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered dougdurbin edited

You can use the getstat() command:

getstat(Model.find("WaitingArea1"), "ContentTotal", STAT_MAX)
· 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.

dougdurbin avatar image dougdurbin commented ·

What's the best way to display this? Should I create a table in the dashboard? I'm a little confused on where to put this so that I can reference it.

Edit: I added a statistics collector with a timer event that triggered at the end of the simulation run and then used this command and tied it to a table chart in the dashboard. Would this be the correct way? It seems to be working fine for now.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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