question

GRodea avatar image
0 Likes"
GRodea asked GRodea commented

AverageContent of a Rack Using Statistic Collector

Hello,

I've set my statistics collector to generate the table of the average content of my racks but it not showing anything. I used the data.row.labels["Content"].as(TrackedVariable).average expression but seems there is something I am missing.

Could anyone please help to identify where I am missing anything?

thanksExample.fsm

FlexSim 23.1.2
rackstatistic collectorcontentaverage
example.fsm (308.0 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

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered GRodea commented

On row adding you need to add the Content tracked variable label and then refer to that when you increment by Delta (at the same time returning the current value to show in the column).

Hopefully that's what I've done in this version (please check the stats):

example_rackcontentstatscollector_jl.fsm


· 7
5 |100000

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