question

Jay Khedekar avatar image
0 Likes"
Jay Khedekar asked Jay Khedekar commented

Stat Collector to plot graph on control point allocation

I have AGVs moving on and then passing from a control point. I created a stat collector which creates timestamp as soon as AVG arrives along with row number.

I want to make a plot which provides average per hour arrivals on that control point. How can I go about doing that?

FlexSim 21.0.10
dashboardscontrolpointstatisctis collector
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

Kavika F avatar image
1 Like"
Kavika F answered Jay Khedekar commented

Hey @Jay K9, here's an example you could try implementing: cp-stats-collection.fsm

I made a Stats Collector that records the AGV and the Time it arrived at a CP (just the hour). Then I made a Calculated Table that counts the number of entries in the "Time" column.

1677538337438.pngI added a Partition that adds a different row for each different value in the Time column (a new row for each hour).

1677538350532.png

Then I made generic Time Plot in the Dashboard that uses the Calculated Table as its source.

1677538410865.png

1677538396477.png

I made sure under the "Settings" panel in the properties of the table to change the Draw Style to use lines and points.

1677538440807.png

So it should look like this at it runs (I ran it fast so you can see the changing lines and values; x-axis is time starting at 8am, y-axis is the count. You can add headers for the axis in the properties).

time-plot-chart.gif


· 1
5 |100000

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

Jay Khedekar avatar image Jay Khedekar commented ·
Thank you! This is what I was looking for.
1 Like 1 ·