Why is the calculated table taking array data as double?

Why is the calculated table taking array data as double?

214219004_nitt
Explorer Explorer
24 Views
5 Replies
Message 1 of 6

Why is the calculated table taking array data as double?

214219004_nitt
Explorer
Explorer

[ FlexSim 22.2.4 ]

Hello Flexsim,

I am currently working on a model that requires me to retrieve global table data using a calculated table generated by the experimenter for various scenarios. However, I am encountering an issue where the global table column contains array data, while the calculated table is being stored as a double. Could you please provide guidance on how I can store array data in the calculated table?

Thanks and Regards,

Aniket Singh

0 Likes
Accepted solutions (1)
25 Views
5 Replies
Replies (5)
Message 2 of 6

214219004_nitt
Explorer
Explorer
0 Likes
Message 3 of 6

moehlmann_fe
Observer
Observer
Accepted solution

The tables of Statistics Collectors and Calculated Tables are stored in bundle format and thus cannot be assigned array data. If you need to retrieve such information from experimenter scenarios you could use the "On End Of Replaction" trigger to write it to an external file or dump it into a global table of the parent instance (that started the experiment run).

https://answers.flexsim.com/questions/44609/experimenter-and-global-table-output.html

0 Likes
Message 4 of 6

214219004_nitt
Explorer
Explorer


Click to up vote 0 Likes"

Hello @Felix Möhlmann ,

Thank you for your response. I have written code at the end of the replication in the experimenter and have dumped the global table to a new table. All values are coming correctly except for the array column, which is returning null (empty). Could you please provide further guidance on how to retrieve the array values?

0 Likes
Message 5 of 6

moehlmann_fe
Observer
Observer

It works in my test. Can't really say what might be the problem without seeing the model.

copy-global-table-from-experiment.fsm

0 Likes
Message 6 of 6

214219004_nitt
Explorer
Explorer
Thanks You @Felix Möhlmann Its working.
0 Likes