TimeMeasureStart as well as TimeMeasureEnd compose a pair of blocks measuring the time the agents spend between them, such as "time in system", "length of stay", etc.
This block remembers the time when an agent goes through. Later on when the agent goes through one of the corresponding TimeMeasureEnd blocks, the time the agent spent between these two "marker" blocks is measured.
You must ensure that each agent going through this block later on goes through TimeMeasureEnd block mentioning this one as its pair.
- On enter
- Code executed when the agent enters the block.
Local variable: T agent — the agent.
- The input port.
- The output port.
How can we improve this article?