question

Chun-Ju C avatar image
0 Likes"
Chun-Ju C asked tannerp commented

Record the event

If I want to track a item by the time,

how can I do,

for example, a box entered the queue first, processor second, and sink last,

I want to record this data like when simulation time is 10 the box entered the queue,

simulation time is 20 the box entered the processor, and time is 30 the box entered the sink,

no matter what format these data present, excel, chart or anything.

If record the time is difficult, I want to get the order of the flow item at least.

FlexSim 18.1.0
record data
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

Roi Sánchez avatar image
0 Likes"
Roi Sánchez answered

Hello @Chun-Ju C,

Please find attached a model in which you can see how a track of an item could be made. I basically add a row to a table every time an item enters in the queue, the processor and the sink. In order to do that, I write the addRow() command in the OnEntry trigger of these objects. You could choose whatever you like to set up different events.

item-track.fsm


item-track.fsm (18.3 KiB)
5 |100000

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