During modeling I ran into a problem regarding the use of a global table combined with the use of the experimenter. I attached a simplified model that consists of a arrival- queuing- and exit-object. Each time a patient runs through the model the onEntry and the onExit trigger of the queuing object and the onEntry trigger of the exitobject set some value in the global table.
While running the model the above works as specified, however when using the experimenter the global table seems to remain empty...
Ideally, after each experiment I would like to store a csv file with the recorded data in the global table. For this matter I added some code in the endOfReplication trigger to save a csv file (learned from: https://www.flexsim.com/community/forum/showthread.php?t=2774). Also this file remains empty/zero. However, it seems to me that problem has more to do with the onEntry and onExit trigger than the csv solution.
Does anyone have an idea about how to solve this? Did I make wrong assumptions about the use of global tables?
Flexsim HC 5.1