Jump to content

Recommended Posts

Posted

I can see average wait times but need to measure wait times over a threshold. I would think there would be an attribute of ModelEntity such as TimeInSystem or TimeNow. I can't tell how to measure from entering the queue to leaving the queue using standard library objects. Do I have to model this entirely with processes?


Thanks.

  • 3 weeks later...
Posted

Look at SimBit KeepQueueTimeForLast10Entities. While this actually does much more than what you need to do, the basic approach is the same.


Essentially just before an entity enters a queue (Entered process) you record the time on an entity state. Then when you leave the queue (BeforeProcessing process) you calculate the time it spent n the queue and if it exceeds the threshold, then you record it in a Tally.

×
×
  • Create New...