.DESLib.SIMANLib.Blocks.Queue

Information

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.).

Definition

model Queue = DESLib.SIMANLib.SRC.Blocks.Queue.queue;

Generated at 2024-03-28T19:15:55Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos