Question: write a simple python code to simulate single bank queue system ( one teller ) where Customer Arrival Times: Customers should arrive at the bank
write a simple python code to simulate single bank queue system one teller where Customer Arrival Times: Customers should arrive at the bank based on a uniform distribution between to minutes.
and Service Times with Probabilities below:
minutes service time with a probability of
minutes service time with a probability of
minutes service time with a probability of
Simulation Scope: The simulation should cover the arrival and service of customers.
Prepare your simulation environment, setting initial conditions including the simulation clock, customer queue, and teller status busy or idle
the output is Metrics Calculation:
Average Waiting Time: Total waiting time divided by the number of customers.
Count of Waiting Customers: Total number of customers who had to wait.
Average Teller Idle Time: Total idle time divided by the duration of the simulation or the number of idle periods.
please be sure of this code has queue fifo and submit the complete source code of the simulation, including comments to explain the implementation logic please explain each line of the code what does it do
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
