Semester
Subject
Year
Tribhuwan University
2078
Bachelor Level / Third Year / Fifth Semester / Science
(Simulation and Modeling)
Full Marks: 60
Pass Marks: 24
Time: 3 Hours
Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks.
Long Answers Questions
A queuing system is a mathematical model used to study waiting lines, where customers arrive, wait for service if necessary, and leave after being served.
A queuing system consists of customers arriving at a service facility, waiting in a queue (line) if the server is busy, getting served, and then departing. It is used to analyze and optimize waiting times, server utilization, and overall system efficiency in real-world scenarios like banks, hospitals, and computer networks.
Basic components of a queuing system:
Kendall's notation is a standard shorthand used to describe and classify a queuing system. It is written as:
Where each symbol represents:
| Position | Symbol | Meaning |
|---|---|---|
| A | Arrival process | Distribution of inter-arrival times |
| B | Service process | Distribution of service times |
| s | Number of servers | Count of parallel servers |
| K | System capacity | Maximum customers in system (queue + service) |
| N | Population size | Size of the calling population |
| D | Queue discipline | Rule for selecting next customer |
Common distribution codes:
Example: represents a single server system with Poisson arrivals, exponential service times, infinite capacity, infinite population, and First-In-First-Out discipline.
When last three parameters are not mentioned (e.g., M/M/1$), it is assumed: $K = \infty, , .
Let:
The key performance measures are:
| Measure | Formula | Meaning |
|---|---|---|
| Traffic Intensity ($\rho$) | Fraction of time server is busy | |
| Average number in system ($L_s$) | Expected customers in entire system | |
| Average number in queue ($L_q$) | Expected customers waiting in queue | |
| Average time in system ($W_s$) | Expected time a customer spends in system | |
| Average time in queue ($W_q$) | Expected waiting time in queue only | |
| Probability system is empty ($P_0$) | Probability of zero customers | |
| Probability of n customers ($P_n$) | Probability of exactly n customers |
Little's Law connects these measures:
The traffic intensity is the critical measure that determines system stability.
Stability condition: The system is stable (steady-state exists) if and only if:
Explanation:
If : The service rate is greater than the arrival rate ($\mu > \lambda$). The server can handle incoming customers, queue does not grow indefinitely, and the system reaches a steady state.
If : The arrival rate equals the service rate. The queue grows without bound over time — system is unstable.
If : Customers arrive faster than they are served. The queue length increases infinitely — system is completely unstable and no steady-state solution exists.
Conclusion: The traffic intensity acts as the stability indicator. For any single server queuing system to function effectively and reach equilibrium, it is mandatory that , ensuring that the server is not overwhelmed and all performance measures remain finite and meaningful.
Short Answers Questions