Jump to content
vavei5

Record ending time

Recommended Posts

Hi,


I want to record the ending time of my model in my experimentation.


I want to know how much time did my model took to finish all the entity.


Can you help me please :)

Share this post


Link to post
Share on other sites

The model your time ended was the "current time" at the end of the run, or simply TimeNow. If you want to force that value into the output data just put the expression TimeNow in an OutputStatistic element.

Share this post


Link to post
Share on other sites

Thanks you


Now, what do I do if I want to record the ending time of each individual entities.


Example:


Entity 1 : end at time 3

Entity 2: end at time 5

Entity 3: end at time 6

etc.

Share this post


Link to post
Share on other sites

If you want statistics on that, it (or something similar) is already recorded in the TimeInSystem statistic on the sink.

But to get exactly what you asked, in the Entered Add-on Process on the Sink use the Write step found in the User Defined steps. You can write out anything you want about the system and the entity about to be destroyed, to a file of your choice.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×