question

Erik Gerritse avatar image
1 Like"
Erik Gerritse asked Jordan Johnson commented

export table from statistics collector after each experimenter run

Dear all,

After each experiment run, I would like to export a table from a statistics collector to my harddrive by running a script from the experimenter (advanced\end of replication). I can find the node 'data' of the collector in the tree, but I don't know how to export this to a csv or excel file. Does anyone know how to do this? Thanks in advance!

FlexSim 18.0.1
experimenterstatistics collectorexport
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

Jordan Johnson avatar image
2 Likes"
Jordan Johnson answered Jordan Johnson commented

As you have discovered, Statistics Collectors automatically record data during an experiment. To access that data after an experiment, you can use a Calculated Table:

  1. SELECT * FROM Experiment.MyStatisticsCollector

Once it's in a Calculated Table, you can make charts of the data, or export all of it. You can also change the query to filter, sum, average, or otherwise manipulate the replication data.

· 5
5 |100000

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