This block stores entities in a queue, based on order of arrival or priority. The entity at the head of the queue departs when the downstream block is ready to accept it.
Specify the capacity of the queue.
Choose the type of queue. Select
a first-in-first-out queue. Select
a last-in-first-out queue. Select
store the entities in order of their priority.
Choose the source of arrival for the entities. Select
receive entities broadcast from Entity Multicast blocks.
Specify the tag when accepting entities broadcast via multicast
sources. This parameter is visible when you set Entity arrival
Specify which attribute of the entity determines its priority.
This parameter is visible when you set Queue type to
Choose the direction of sorting entities based on priority. Specify 'ascending' if you want entities with smaller key values to appear in front of the queue. Specify 'descending' if you want entities with greater key values to appear in front of the queue.
Specify the behavior of the entity in certain events. Define the behavior in the Event action parameter. For example, the Generate action is called after an entity is generated.
Define the behavior for the event action specified in Event actions.
Outputs the number of entities that have departed the block.
Outputs the number of entities present in the block, which have yet to depart.
Outputs the average wait time for entities in the block.
Outputs the average length of the entity queue.