bank10: Several Counters with individual queues
Imported modules
|
|
from SimPy.Simulation import *
from random import expovariate, seed
|
Functions
|
|
NoInSystem
model
|
|
NoInSystem
|
NoInSystem ( R )
The number of customers in the resource R
in waitQ and active Q
|
|
model
|
model ( theseed )
|
Classes
|
|
Customer |
Customer arrives, is served and leaves
|
Source |
Source generates customers randomly
|
|
|