question

Byron H2 avatar image
0 Likes"
Byron H2 asked Jordan Johnson commented

How to display occupansy rate in Dashboard?

For example: A restaurant has 4 tables and each table has 4 chairs. 4 costumers arrive and each one sits at his own table. In this case the occupancy rate is of 25%.

Using the restaurant sample model, how can I display this data?

FlexSim 19.1.0
dashboards
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
1 Like"
Jordan Johnson answered Jordan Johnson commented

You can make a Statistics Collector to gather the data you want:

restaurant-sample-chart.fsm

The basic idea of the Statistics Collector is that at time zero, you can add all the rows, one row for each TableAndChairs object in the group. You can then listen to all those objects' On Content Total Change event, and update the corresponding row.


· 6
5 |100000

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

Byron H2 avatar image Byron H2 commented ·

Thanks for the help. Just one last question: How to display the occupansy of all the tables combined at the end of the simulation?

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Byron H2 commented ·

If you want a simple average, you can use a Calculated Table. You can select the OccupancyCollector as the Table. Then, add an "Aggregation of Column" metric. Set it to the AVG of Occupancy. On the Calculations tab, change the Update Mode to Always. Note that this average is not time-weighted.

restaurant-sample-chart-1.fsm

1 Like 1 ·
Byron H2 avatar image Byron H2 Jordan Johnson ♦♦ commented ·

And to make it time-weighted?

0 Likes 0 ·
Show more comments
Byron H2 avatar image Byron H2 commented ·

What did you do to make appear in the object section:

0 Likes 0 ·
untitled1.png (482.5 KiB)
Jordan Johnson avatar image Jordan Johnson ♦♦ Byron H2 commented ·

You can sample Groups in the Toolbox from the Statistics Collector

1 Like 1 ·

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.