question

Pedro M3 avatar image
0 Likes"
Pedro M3 asked Joseph Gillespie commented

How can i know when each of the truck of this model is in the queue?

final-simulacion-030719.fsmI want to know the time when the truck arrived at ech of the queues and i want to print the time of each truck.

FlexSim 18.2.3
queuetime
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

·
Regan Blackett avatar image
0 Likes"
Regan Blackett answered Regan Blackett edited

You could put something like this in a Code Snippet in the OnEntry Triggers of any object:

print(item, " EntryTime: ", Model.time);

That will print the name of the object and the time that the trigger happened to the output console. In the print command you can put up to 20 parameters to include in the print out. In the above example a print would look something like this depending which object is doing the printing:

/Estacioncastilla1~4/Product  EntryTime:  507.43
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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