Text: M/M/c Queue Modeling System. Write a Java or Python code.
You are required to simulate the following system using event-driven simulation. You may use the programming language of your choice.
Consider a queuing system that has a single server and a single finite-buffer queue. The server serves packets one at a time from the front of the queue, first-come-first-served (FCFS) queue. Assume that the arrival process is Poisson, i.e. inter-arrival times are exponential random variables with a mean of λ. In addition, the service time of the jobs at the router has an exponential distribution with a rate parameter μ. The system has a finite queue size such that the total number of packets in the system queuing plus one in the server is no more than K. When the buffer is full, any newly generated packet is dropped.
Simulate the above system for 5000 events. Measure and provide plots for the following measures:
1. The expected average delay in the queue.
2. The expected number of packets in the queue.
3. The expected utilization.
4. Number of delayed packets.
5. Maximum delay in the queue.
6. Expected number of dropped packets.