Best practice for overall time measurement in the system

42 views
Skip to first unread message

charles...@gmail.com

unread,
May 1, 2019, 3:39:57 PM5/1/19
to Jaamsim Users Discussion Group
In the attached, I'm using two assign attributes and a statistics block to measure the time required for an entity to pass through the system.

Is this the best practice for measuring overall time in a system or is there a better approach?

Thanks,

Charles
TimeSeriesTestv3 - single run.cfg

charles...@gmail.com

unread,
May 2, 2019, 10:21:28 AM5/2/19
to Jaamsim Users Discussion Group
After thinking about it for a while, I do believe that the attribute approach is a good approach for time measurement within a system. In more complex systems, you may want time measurements for different segments of the system. The attribute approach allows you to have multiple time stamps, allowing detailed investigation of times within multiple points in the system.

Harry King

unread,
May 2, 2019, 8:59:23 PM5/2/19
to Jaamsim Users Discussion Group
Charles,

The normal method for determining time in each portion of a system is to assign states to the SimEntities using the StateAssignment keyword. The Statistics object will accumulate the total time in each state in its StateTimes output if you set its RecordEntityStateTimes input to TRUE.

Harry
Reply all
Reply to author
Forward
0 new messages