Skip to Main Content Skip to Search
Product Documentation

Basic Procedure for Using Timeouts

Schematic Illustrating Procedure

This section describes a typical procedure for incorporating timeout events into your model. The schematic below illustrates the procedure for a particular topology.

Step 1: Designate the Entity Path

Designate the entity path on which you want to limit entities' time. The path can be linear, with exactly one initial block and one final block, or the path can be nonlinear, possibly with multiple initial or final blocks. Insert Schedule Timeout and Cancel Timeout blocks as follows:

For sample topologies, see Defining Entity Paths on Which Timeouts Apply.

Step 2: Specify the Timeout Interval

Specify the timeout interval, that is, the maximum length of time that the entity can spend on the designated entity path, by configuring the Schedule Timeout block(s) you inserted:

Step 3: Specify Destinations for Timed-Out Entities

Specify where an entity goes if it times out during the simulation:

Queues, servers, and the Output Switch block are the only blocks that can possess TO ports. For example, an entity cannot time out from gate or attribute blocks.

For examples of ways to handle timed-out entities, see Handling Entities That Time Out.

  


Free SimEvents Evaluation Kit

Learn how you can use SimEvents discrete-event simulation capabilities through these technical resources.

Get free kit

Trials Available

Try the latest version of discrete-event simulation products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS