.DESLib.SIMANLib.Blocks.Seize

Information

This block represents the actions performed by the entities to seize the resources needed for the processes.

The Seize block must be preceded by a Queue block. The Queue block sends seize petitions to the Seize block. Then , the Seize block sends that petitions to the resource including the number of resources to seize (ResourceUnits), and waits for an answer.

The Resource will answer when the required resources are available and have been seized for the entity. When the Seize block receives the answer, it extracts the entity from the queue and sends it to the next block.

The Seize block sends petitions through the S port, and receives the answers through the R port.

Definition

model Seize = DESLib.SIMANLib.SRC.Blocks.Seize.seize;

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