This block represents a temporary storage for entities waiting for idle resources.
Each received entity is stored in the queue, if there is space available (capacity), until it seizes the required resources.
If no space is available, the entity is sent through the Balk port of the block, if connected to another block, or disposed, in any other case.
The Queue block only manages the insertion of entities in the queue.
A Queue block must be followed by a Seize block.
Every time a new entity is stored in the queue, the block sends a seize petition
to the connected Seize block. The Seize block will manage that petition and when the resource is seized, it will get the entity from the queue and send it to the next block.The Queue block has an associated Queue element, that defines some of the particular characteristics of the queue (like the ordering policy, etc.).
model Queue = DESLib.SIMANLib.SRC.Blocks.Queue.queue;