question

Liam Chiu avatar image
0 Likes"
Liam Chiu asked Felix Möhlmann commented

How can I set up time breakpoints to collect information from AGVs?

Hi,

In my model setup, there are two distinct areas, and I am wondering if it is possible to configure data collection every five minutes and write it into a global table.

螢幕擷取畫面-2024-02-26-150027.png

I aim to record the current timestamp, the area number, the quantity of AGVs in that specific area, and the number of completed tasks in that area every five minutes. Could you guide me on how to configure this?

螢幕擷取畫面-2024-02-26-150300.png

Thank you very much for your assistance.

agvv.fsm

FlexSim 22.2.0
agvglobaltableagv paths
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
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

First, track the current values of the statistics you want to collector somewhere in the model.

The number of AGVs per area could be global variables that get incremented/decremented when an AGV passes certain control points ("On Pre-Arrival" trigger).

Similarly, the number of completed tasks could be global variables as well or (as long as there is only one per area) a label on the queues to which the items are unloaded.

Then use timer events in a Statistics Collector to record (and in the case of completed tasks also reset) the values every 5 minutes.

· 4
5 |100000

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