Write a Python code for the following question: Using Python: Simulate an M/M/1 queue with λ = 1 and μ = 1.25, this time
Posted: Fri Apr 29, 2022 6:57 am
Write a Python code for the following
question:
Using Python: Simulate an M/M/1 queue with λ = 1 and μ = 1.25,
this time recording customer time in system (from arrival to
departure) as the performance measure for 4000 customers. Make
replications and use a mean plot to determine an appropriate number
of customers to delete when starting the system empty, with 4
customers initially in the system, and with 8 customers initially
in the system. How does the warmup period change with these
different initial conditions? What does this suggest about how to
initialize simulations?
Don't spam if you don't know the answer !
question:
Using Python: Simulate an M/M/1 queue with λ = 1 and μ = 1.25,
this time recording customer time in system (from arrival to
departure) as the performance measure for 4000 customers. Make
replications and use a mean plot to determine an appropriate number
of customers to delete when starting the system empty, with 4
customers initially in the system, and with 8 customers initially
in the system. How does the warmup period change with these
different initial conditions? What does this suggest about how to
initialize simulations?
Don't spam if you don't know the answer !