Average value per Task Executor - Statistics Collector

Average value per Task Executor - Statistics Collector

ashmita_g
Not applicable
171 Views
3 Replies
Message 1 of 4

Average value per Task Executor - Statistics Collector

ashmita_g
Not applicable

[ FlexSim 20.1.3 ]

Hi,

This query is regarding calculating the statistics for Task Executors (TE). Thanks in advance for helping.

Say I have a group of 5 TEs, called 'AGV'. I have a label assigned on each TE, which stores the number of boxes it transported in a particular trip, using the process flow. The label is called dunnage.

As per my model, when a TE arrives on a specified control point, I need to get the statics collected from that particular TE.

So I used the On Arrival Event in my statistics collector for that control point.

Now my dashboard displays the results using a bar graph. Each bar corresponds to each of the 5 TEs.

My requirement was such that each bar in that graph is supposed to provide the average dunnage it carried, per TE.

As in:

corresponding to AGV1-> Average Dunnage carried by AGV1.

corresponding to AGV2-> Average Dunnage carried by AGV2.

.....

I used a tracked variable, but it seems it is providing an averaged value of dunnage carried by all the 5 members of the group. Kindly guide as to how I may proceed if I need per TE values.

0 Likes
Accepted solutions (1)
172 Views
3 Replies
Replies (3)
Message 2 of 4

joerg_vogel_HsH
Mentor
Mentor

And you cannot set a tracked variable for each TE?

0 Likes
Message 3 of 4

ashmita_g
Not applicable

Yes I tried. Defined tracked variables for all 5 TEs. But under Statistics collector, under 'Columns' tab, when we have to update the value tab, facing a doubt.

I understand we must refer the tracked variable in the Value section (In 'Columns' tab)using Custom code. But it allows only one return value, how can I return 5 references?

0 Likes
Message 4 of 4

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

I collect the data in a global table.

statistics_global_table.fsm

0 Likes