Home > OS >  Exception during discrete event execution
Exception during discrete event execution

Time:12-02

I am measuring time of two paths separately by adding timeMeasure blocks as i shown in the image below. I want to calculate average time spent in the system of this two paths by adding time measure. but a error will occur as follows; Error

enter image description here

CodePudding user response:

It is because you are mixing the agents that passed through timeMeasureStart and timeMeasureStart1. Either you can duplicate your flow starting from delay block below and bring the timeMeasureEnd1 there, or split the time measurement process into two parts. One until the delay block, the other after that.

  • Related