Jump to content

Queue Wait Time


Bardok
 Share

Recommended Posts

Good day everyone,

I need to acess the average waiting time in a member input buffer of a combiner. First of all, how is there not an easy option to acess average time in queues? Most of the times I have to tally everything, which in turn doesnt work with experiments... It has been a real struggle.

Anyways, I was using the approach of using an entyti state variable to record the time when it enters the member queue and another one to register when it leaves the given queue and then tally it. The problem is with combiners, the parent entity "wins" and so using ModelEntity.State Variable - reffering the one from the member - does not work. 

Any ideas? Thanks

Link to comment
Share on other sites

Thank you Adam,

It does seem to work. But it is gathering statistics even when it is off-period (lunch break). Is there an easy option to not collect statistics troughout these periods?
I have workdayschedule defined in the model, if that helps.

Link to comment
Share on other sites

 Share

×
×
  • Create New...