Documentation Center

  • 評価版
  • 製品アップデート

Cancel Timeout

Cancel timeout event for each entity

Library

Timing

Description

This block cancels a named timeout event that the Schedule Timeout block previously scheduled for the arriving entity. Timeout events enable you to limit the time that an entity spends on designated entity paths during the simulation. Topologically, this block designates an end of an entity path that is relevant to the time limit. The ability to cancel timeout events before they occur lets you apply the time limit to an entity path that does not end with a sink block.

The Timeout tag parameter of this block is the name of the timeout event and corresponds to the Timeout tag parameter of a Schedule Timeout block in the model. If the arriving entity is not associated with a timeout event of that name, then you can configure the block to produce an error or warning, or to ignore the absence of the timeout event.

Using the Residual time and Average residual time parameters, you can configure the block to report the following statistics via the rt and w signal output ports, respectively:

  • The residual time for the named timeout event associated with the arriving entity, which is the amount of time between the entity's arrival time at this block and the scheduled time of the named timeout event

  • The average among the rt values among all entities that have arrived at this block during the simulation and been associated with timeouts of the specified name

Ports

Entity Input Ports

LabelDescription
INPort for arriving entities.

Entity Output Ports

LabelDescription
OUTPort for entities whose timeout event the block has just canceled.

Signal Output Ports

LabelDescriptionTime of Update When Statistic is OnOrder of Update
#dNumber of entities that have departed from this block since the start of the simulation.After entity departure3
#tNumber of entities that have departed from this block and been associated with a timeout of the specified name.After entity departure2
rtAmount of time between arrival time at this block and the scheduled time of the named timeout event.After entity departure2
wAverage among the rt values among all entities that have arrived at this block and been associated with timeouts of the specified name.After entity departure1

Output signals having the same number in the Order of Update column in the table above are updated in an arbitrary sequence relative to each other; you should not rely on a specific sequence for your simulation results.

The initial output value, which is in effect from the start of the simulation until the first update by the block, is 0 for all signals.

Dialog Box

Cancel Timeout Tab

Timeout tag

Name of the timeout event to cancel, corresponding to the Timeout tag parameter of a Schedule Timeout block in the model.

If tagged timeout is not scheduled

Behavior of the block if an arriving entity is not associated with a timeout event with the specified timeout tag.

Statistics Tab

These parameters determine whether the block produces data at signal output ports or omits those ports.

Number of entities departed

Allows you to use the signal output port labeled #d.

Number of entities departed with specified tag

Allows you to use the signal output port labeled #t.

Residual time

Allows you to use the signal output port labeled rt.

Average residual time

Allows you to use the signal output port labeled w.

Was this topic helpful?