modelP3_1

Single server with queue

Extends from DESLib.SIMANLib.SRC.Draft (Draft model for constructing new models).

Information

This model represents a single-server-with-queue system.

Entities are created, stored in the queue while waiting to seize the resource. Once the resource has been seized, the entities are processed by the server (machine). At the end, the entities release the resource and leave the system.

Simulation

The number of processed entities is stored in a counter.
Results are written to the SIMANLIB_RESULTS.txt file, at the end of the simulation.

Components

TypeNameDefaultDescription
IntegerPSNumberIn (from Draft)
IntegerPSNumberOut (from Draft)
Booleaninit (from Draft)
Blocks.Createcreate
Blocks.Disposedispose
Blocks.Queuequeue
Blocks.Seizeseize
Blocks.Delaydelay
Blocks.Releaserelease
Blocks.Countcount
Elements.EntityTypeET
Elements.Queuebuffer
Elements.CounterJobsDone
Elements.Resourceresource