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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | total | ||
| Real | QAVG | ||
| Integer | PSNumberIn (from Draft) | ||
| Integer | PSNumberOut (from Draft) | ||
| Boolean | init (from Draft) | ||
| Blocks.Create | CustomerArrivals | ||
| Blocks.Dispose | dispose | ||
| Blocks.Queue | q | ||
| Blocks.Seize | seize | ||
| Blocks.Delay | TellerService | ||
| Blocks.Release | release | ||
| Elements.EntityType | Customer | ||
| Elements.Queue | buffer | ||
| Elements.Resource | Teller | ||
| Elements.DStat | NumberInQueue |