question

Sebastián Cañas avatar image
0 Likes"
Sebastián Cañas asked Felix Möhlmann answered

Record statistics per Shift

Hi all,

In the model StatisticsPerShift.fsm I used Statistics Collectors to get two Performance Measures: Metros_Pallet and Pallet_Hora. What I am trying to do is that these tables record those Performance Measure by Shift, this means, that one row of one transporter in the Statistic Collector would stop recording after 8 hours and then, it creates another row recording the statistics for the next shift.

This concept is similar to the one in this article with the utilization, which I built in the demo model, but I haven't got the desire output with the other statistics.

What is the recommended approach to get this?

Thanks!

FlexSim 22.1.4
statistics collectorshifts
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

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

To collect the data, your current statistics collector likely uses the transporter as the row value (updating the respective row when an event happens).

You could use a timer event at shift end (either set up directly in the statistics collector or a timer in a process flow) to "finish" the current rows, which would cause a new row to be created the next time the row value appears.

To finish all rows with a single timer event you can use an array that contains all current row values as the row value for the event.

The screenshots below show a simple example of a statistics collector that counts processed items. It starts a new row every 8 hours.

1661323687326.png

1661323707358.png


1661323687326.png (61.2 KiB)
1661323707358.png (56.1 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.

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.