Services in pedestrian flow models define a group of similar physical service objects (turnstiles, ticket vending machines, security checkpoints, check-in counters, etc.)
There are two types of space markup shapes you can use to draw services in your pedestrian model:
Service with Area is used for defining service(s) with electronic queue (like in bank office, information office on the railway station, etc.) Pedestrians do not stand in a queue line, but wait for their turn in the neighboring area. This area is defined by a polygonal node and possesses all of the node's functionality, such as restriction of agent movement and speed.
Service with Lines is used for defining service(s) with queue(s) where pedestrians wait until the service becomes available in a queue line. Two types of queues are supported: common queue lines, and "serpentine" queue typically used in airport check-in areas.
You first draw the service in the graphical diagram, then add the PedService Pedestrian Library block in the flowchart and configure it by tuning its parameters.
Name – The name of the service. The name is used to identify and access the service shape from Pedestrian library block properties.
Ignore – If selected, the service shape is excluded from the model.
Visible on upper agent – If selected, the service shape is also visible on the upper agent where this agent lives.
Lock – If selected, the node shape is locked. Locked shapes do not react to mouse clicks: it is impossible to select them in the graphical editor until you unlock them.
Visible – Here you specify whether the shape is visible on animation at model runtime, or not. Using the control, choose yes or no.
Level – Level to which this service belongs.
Number of services – Here you can define the number of service points.
Service color – Here you can change the color of service shape(s).
Show in – Here you can choose whether you want the shape to be shown both in 2D and 3D animation, or in 2D only, or in 3D only.
Show name – If selected, the shape's name is displayed on the graphical diagram.
You can obtain the properties of the service with area at model runtime using the following functions. Note that the service and polygonal node elements, which comprise a service with area, additionally provide their own sets of functions.
Function |
Description |
QueueArea getQueueArea() |
Returns the rectangular area belonging to the current service with area. |
List getQueues() |
Returns the list of areas (containing a single area) belonging to the current service with area element. |
Function |
Description |
Level getLevel() |
Returns the level on which this service is located. |
Function |
Description |
void remove() |
Removes the service with area from the presentation. If this element is not a part of presentation, the function does nothing. Note, that removal from the presentation does not necessarily mean removing from the model logic, since logical networks and routes may have been created before the removal and survive it. |
Markup for pedestrian simulation