Record data generated from simulation

Hello everyone,

My intention is to record data generated from the simulation run and save to a file after simulation/VC exit.

Can I create an object/component in a layout, which can receive messages/signals from other RB/workers. Then the messages can be converted into certain format and recorded.

In a similar scenario as reference to my question if it is helpful: in AnyLogic, I can create an instance of a Java class under “main”, and this object can receive messages from the other agent.

Thank you!

Gang Hao