AnyLogic
Expand
Font size

RestrictedAreaEnd

Marks an exit from the section (area) of the process where you wish to limit the maximum number of agents. The (only) entry to such area must be marked with RestrictedAreaStart block. Each exit must be marked with RestrictedAreaEnd. You must provide the corresponding RestrictedAreaStart block as a parameter to the RestrictedAreaEnd.

Agents do not spend any time at this block.

Parameters

RestrictedAreaStart object
The corresponding RestrictedAreaStart block that is placed at the entry to the area.
Type of value: RestrictedAreaStart

Actions

On enter
Code executed when the agent enters the block.
Local variable: agent — the agent

Ports

in
The input port.
out
The output port.
How can we improve this article?