AnyLogic 9
Expand
Font size

RestrictedAreaEnd

AnyLogic: The RestrictedAreaEnd block

The RestrictedAreaEnd block marks an exit from the area of the process where you want to limit the maximum number of agents. The only entry to such an area must be marked with a RestrictedAreaStart block. Each exit must be marked with a RestrictedAreaEnd block. You must pass the appropriate RestrictedAreaStart block as a parameter to the RestrictedAreaEnd.

Agents will not spend time in 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?