.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-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos