modelBankTeller

Single server with queue

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

Information

This model represents a simple bank-teller system.

Customers arrive to the bank, wait for an idle teller, are serviced and at the end leave the bank.

Simulation

The number of processed customers is stored in a counter, and the average number of customers in the queue is recorded by a DStat.
Results are written to the SIMANLIB_RESULTS.txt file, at the end of the simulation.

Components

TypeNameDefaultDescription
Realtotal
RealQAVG
IntegerPSNumberIn (from Draft)
IntegerPSNumberOut (from Draft)
Booleaninit (from Draft)
Blocks.CreateCustomerArrivals
Blocks.Disposedispose
Blocks.Queueq
Blocks.Seizeseize
Blocks.DelayTellerService
Blocks.Releaserelease
Elements.EntityTypeCustomer
Elements.Queuebuffer
Elements.ResourceTeller
Elements.DStatNumberInQueue