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.
- The corresponding RestrictedAreaStart block that is placed at the entry to the area.
Type of value: RestrictedAreaStart
- On enter
-
Code executed when the agent enters the block.
Local variable: agent — the agent
- in
- The input port.
- out
- The output port.
-
How can we improve this article?
-