question

Mason W avatar image
0 Likes"
Mason W asked Emily Hardy answered

Collect Statistics by Time

Hi all,

What's the best way to collect statistics by a given time? For example, I want to run a simulation for a week, but would like to collect statistics separately by day due to varying volume levels. So basically a similar dashboard, but one for each day of the week. I'm not sure the best route to take with something like this.

Thanks in advance,

FlexSim 18.0.3
statistics
· 4
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

Emily Hardy avatar image
1 Like"
Emily Hardy answered

Mason,

This is not a default option for FlexSim but these statistics can be built using existing options in the statistics collector. I do recommend going through the tutorials for the Stats Collector, as that should make the following models more clear and understandable.

Operator Utilization: This model is based off of this article. This creates a state pie chart based on the operator utilization each day. A new row of pie charts will be created every day, so you'll want to turn up the speed of the model to see those new charts being added daily.

dailyutilization.fsm

Throughput per hour per day: This model creates a chart that gives the average throughput per hour, per day, per queue. For this one, use process flow to create the labels "OldOutput" and "TPH" (throughput per hour), then wait 1 day, and then we access those labels again. Now, we find the current output and the daily output (which is the current output - old output). These are the labels that appear in the table in the dashboard StatisticsCollector2.

throughputperhourperday.fsm

Average Staytime: To find the average staytime per day, we will use a calculated table. This table gives the week number (0, 1, 2, etc) and the day of week (Sunday is 0, Monday is 1, etc), and the average staytime on that day of that week.

avgstaytime.fsm

Hopefully these 3 models will answer your question and give you a basis for creating your own custom statistics and tables.


5 |100000

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