question

Ashwath M avatar image
0 Likes"
Ashwath M asked Ashwath M commented

Average Input for every hour of the day

Hi,

I'm looking to get the average input for every hour of the day. A statistic collector would be ideal for this, having a table with each row having the duration of that day and a second column that computes the average input during that specific hour of that day (Example like below). Any thoughts on how this can be executed when the model is run for longer periods of time? Appreciate the inputs!1668707862215.png

FlexSim 22.0.6
statistics collectortimeaverage content
1668707862215.png (3.9 KiB)
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

Jeanette F avatar image
0 Likes"
Jeanette F answered Ashwath M commented

Hello @Ashwath M,

Pull an output by hour chart from the library into the dashboard. Select the chart and in the properties window go to the last tab called advanced and select the install button.

1668716997638.png

A window will appear like the one below. Select OK.

1668717005859.png

Two statistics collectors will show up in the toolbox. Open the statistics collector called by hour collector (not the core collector). In the first tab called Events there is a list of Events. Select the one called "Core- On Row FInished". Next to the object field is a dropper icon. Select the dropper and select the core collector and the event On Row Added. You can rename the collectors and their events so they match with input instead of output.

1668717649566.png

Your chart should then run and show the input by hour.

1668720116791.png

Input by hour.fsm


1668717005859.png (11.6 KiB)
1668717649566.png (53.6 KiB)
1668720116791.png (8.3 KiB)
input-by-hour.fsm (38.3 KiB)
· 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.