Mathematical Modelling in Waiting Queue in Shopping Mall
Mathematical Modelling in Waiting Queue in Shopping Mall
Mathematical Modelling in Waiting Queue in Shopping Mall
11(09), 736-743
RESEARCH ARTICLE
MATHEMATICAL MODELLING IN WAITING QUEUE IN SHOPPING MALL
Queuing theory is a mathematical approach to study of the waiting lines. Long waiting time in any health care centre
affects the improvement of the centre as well as the nation’s economy. Therefore, to reduce the waiting time of
arriving customers is a major challenge for services not only in India but all over the world especially in developing
countries. While considering improvement in services, centre must measures the cost of providing a given level of
service against the potential costs from having customer wait. Queuing theory has increasingly become a universal
tool of management for decision making in a Local shopping mall.
When a customer enters the system and at a time if the system is free, his/her service time starts at once and when
the system is not free, the customer joins the queue and wait for their turn/number for service. After completion of
services, the customer is free from queue if there is not any further extended service facility. If the server is busy
then the arriving customers goes to orbit and becomes of repeated calls. This pool of source of repeated calls may be
viewed as a sort of queue.
The time it takes to service every customer is an exponential random variable with parameter μ. A pictorial
representation of a double server queuing system, (M/M/2) is given below in which customers are standing in
queue, waiting for the server to be free for providing service.
In the situation of congestion of customers in a health care system, there is a very less probability for the customers
arriving in end to get treatment as there is a double server rendering services. In worst situation, customers may
leave the system without being serving.
The exact calculation of these measures requires knowledge of the probability distribution of the arrival rate and
service times. Moreover, successive inter-arrival times and service times are assumed to be statistically independent
of each other. In this system, there are multiple servers with all sharing common waiting line a waiting line is crated
when all the servers are busy in rendering service. As soon as one server becomes free, a customer is dispatched
from the waiting line using dispatching discipline in force for being served. There are obvious from the pictorial
representation of the multichannel queuing system which is given below.
Model Assumptions
This research is based on the following assumptions.
1. The finding obtained after investigate from one unit of the Billing counter should be valid in the other units.
2. The customers are almost well familiar with the organization system of the shopping mall.
3. The arrival rate of the customers to queue and service rate are compatible to poison distribution or in other
words the time interval between two consecutive arrivals and time services both follow exponential distribution.
4. The queuing theory discipline is such that the first customer goes to the server which is ready for service.
5. In case of multichannel queuing system, it is assumed that none of the servers are unattended.
Data Analysis
The memory less property is utilized to define the state of the queuing system. To determine the performance
measures, first find the probability of having n number of customers in the queuing system.
Probability of having 1 customer (i.e. n = 1) in the service system is:
P1 = ρ P0
Similarly,
737
ISSN: 2320-5407 Int. J. Adv. Res. 11(09), 736-743
𝑃2 = 𝜌 𝑃1
𝑃2 = 𝜌2 𝑃0 … … … ..
𝑃𝑛 = 𝜌𝑛 𝑃0
The probability value is 1. i.e.
𝛴𝑛∞=0 𝑃𝑛 = 1
𝑃0 + 𝑃1 + 𝑃2 + ⋯ = 1
𝑃0 + 𝜌𝑃0 + 𝜌2 𝑃0 + ⋯ = 1
1 + 𝜌 + 𝜌2 + ⋯ 𝑃0 = 1
2
Where 1 + 𝜌 + 𝜌 + ⋯ is an infinite series, Sum of infinite series can be written as,
1 1− 𝜌
Hence,
𝑃0 = 1 − 𝜌
i.e., the probability of no customer in the system.
To determine performance measures 𝐿𝑠 , 𝐿𝑞 , 𝑊𝑠 , 𝑊𝑞 in the queuing system determine the average number of
customers in the system.
The average number of customers 𝐿𝑠 in the system can be written as,
𝐿𝑠 = 𝛴𝑛∞=0 𝑛 𝑃𝑛
𝑛
Where 𝑃𝑛 = 𝜌 𝑃0 and 𝑃0 = 1 − 𝜌
𝐿𝑠 = 1 − 𝜌 𝛴𝑛∞=0 𝑛 𝜌𝑛 = 𝜌 1 − 𝜌 𝛴𝑛=0
∞
𝑛 𝜌𝑛 −1
Then,
𝜕𝜌𝑛
= 𝑛 𝜌𝑛 −1
𝜕𝜌
𝜕 𝜕
𝐿𝑠 = 𝜌 1 − 𝜌 𝛴𝑛∞=0 𝜌𝑛 = 𝜌 1 − 𝜌 1 1− 𝜌
𝜕𝜌 𝜕𝜌
𝜆
𝐿𝑠 = 𝜇 – 𝜆
Using little’s law according to which the average number of customers in the service system is the product of arrival
rate and average time a customer’s spends in the system Average time a customer spends in the system, 𝑊𝑠 can be
written using little’s law as given below
𝐿
𝑊𝑠 = 𝜆𝑠
Determine 𝐿𝑠 and know 𝜆, hence
𝜆 1
𝑊𝑠 = 𝜇 – 𝜆 . 𝜆
1
𝑊𝑠 = 𝜇– 𝜆
Average time a customer spends in the queue 𝑊𝑞 , can be determined by subtracting expected service time or
average service time from average time a customer spends in the system 𝑊𝑠
𝑊𝑞 = 𝑊𝑠 − expected service time
1
= 𝑊𝑠 − 𝜇 = − 𝜇
𝜇– 𝜆
𝜆
𝑊𝑞 =
𝜇 𝜇– 𝜆
Using little’s law to determine the average number of customers in the queue
𝐿𝑞 = 𝑊𝑞 𝜆
𝜆2
𝐿𝑞 = 𝜇 𝜇– 𝜆
Model Parameters
Traffic Intensity
It is obtained from dividing the average arrival rate 𝜆 (in time) to the average service rate 𝜇.
i.e., 𝜌 = 𝜆⁄𝜇
Whenever 𝜆 is larger, the arrival of customers will increase and the system will work harder and queue will be
longer. On the contrary, whenever λ is smaller, the queue will be shorter but in this case the use of system will be
low. If the arrival rate of customers in the system were more than service rate. i.e. 𝜆 > 𝜇 then 𝜌 > 1, which means
the system capacity is less than the arriving customers; therefore the queue length is increased. In this queuing
system the average arrival rate is less than the average service rate i.e. 𝜆 > 𝜇.
738
ISSN: 2320-5407 Int. J. Adv. Res. 11(09), 736-743
739
ISSN: 2320-5407 Int. J. Adv. Res. 11(09), 736-743
= 0.12 (8)
Discussions:-
A double channel queuing system is used to represent the Local shopping mall where doctor is treated as a double
server and the mode parameters are applied for calculations. The study for this case is on the basis of actual
observed data collection in 22 days of service for 650 customers’. The traffic intensity, ρ = λ⁄μ = 0.12 obtained in
(7) shows the probability of customers’ queuing on arrival. This reveals the congestion of customers’ waiting for
billing as billing Clark is engaged.
This represents the inadequate service system of the shopping mall. Also from the results (3) and (4) it is obvious
that the average time spent in the shopping mall is greater than the average time spent in the queue before providing
service. Thus, there will always be a queue of customers’ in the mall which is also very clear from the results (5) and
(6). The result (8) shows that there is a very less possibility services to new arriving customers’.
740
ISSN: 2320-5407 Int. J. Adv. Res. 11(09), 736-743
𝜆
Utilization factor, 𝜌 = 𝑐𝜇
Average number of idle servers, = c – (average number of customers served)
Probability that a customer has to wait,
𝜆 𝑐
𝜇
𝜇
𝑝 𝑛≥𝑐 = 𝑃0
𝑐−1 !(𝑐𝜇 −𝜆)
Probability that a customer enters the service without waiting,
𝜆 𝑐
𝜇
𝜇
1−𝑝 𝑛 ≥𝑐 =1− 𝑃0
𝑐−1 !(𝑐𝜇 −𝜆)
Results of M/M/3:-
The arrival time as well as the time service began and ended for 650customers in the Local shopping mall
“Venkatesh Nursing Home”. There are two types of services; consultancy and surgery. A total of 22 days were used
for the data collection. On the basis of actual observed collected data, find the
Total waiting time of 650 customers for 22 days = 2000 minutes (9)
Total service time of 650 customers for 22 days = 1750 minutes (10)
Consider 3 servers.
Using the model parameters for the double channel queuing model, the following results:
The arrival rate,
𝑡𝑜𝑡𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑐𝑢𝑠𝑡𝑜𝑚𝑒𝑟 650
𝜆= = 2000 = 0.33 (11)
𝑇𝑜𝑡𝑎𝑙 𝑤𝑎𝑖𝑡𝑖𝑛𝑔 𝑡𝑖𝑚𝑒
The service rate,
𝑡𝑜𝑡𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑝𝑎𝑡𝑖𝑒𝑛𝑡𝑠 650
𝜇= = = 0.37 (12)
𝑇𝑜𝑡𝑎𝑙 𝑤𝑎𝑖𝑡𝑖𝑛𝑔 𝑡𝑖𝑚𝑒 1750
The probability that the system should be idle,
𝑛 3 −1
1 0.325 1 0.325 3 0.3714
𝑃0 = 𝛴𝑛2=0 𝑛! + 3! = 0.42 (13)
0.3714 0.3714 3 0.3714 −0.325
The average number of customers’ in the system,
0.325 3
0.325 . 0.3714 0.325
0.3714
Ls = 0.42 +
3−1 ! 3 0.3714 −0.325 2 0.3714
= 0.90′ = 1 (14)
The average number of customers’ waiting in the queue,
0.325 3
0.325 . 0.3714
Lq = 0.3714
0.42 ≡0.03 (15)
3−1 ! 3 0.3714 −0.325 2
The average waiting time of customers’ in the system,
0.325 3
0.3714 1
0.3714
Ws = 0.42 +
3−1 ! 3 0.3714 −0.325 2 0.37
≡2.78 minute (16)
The average waiting time of customers’ in the queue,
0.325 3
0.3714
Wq = 0.3714
0.42 ≡0.08 minute (17)
3−1 ! 3 0.3714 −0.325 2
The traffic intensity is,
0.325
ρ = 3(0.3714 ) = 0.29. (18)
The probability of not queuing on the arrival,
= 1– ρ
= 1 – 0.29
= 0.71. (19)
741
ISSN: 2320-5407 Int. J. Adv. Res. 11(09), 736-743
Average Waiting Time in a System of Double Server and Multi Server by Using MATLAB
Fig 1:- Average Waiting Time in a Queue of Double Server and Multi Server by Using MATLAB.
742
ISSN: 2320-5407 Int. J. Adv. Res. 11(09), 736-743
Fig 2:- New Customer’s Arrivals Probability of Double Server and Multi Server by Using MATLAB.
Fig 3
Conclusion:-
In this paper, multi-server queuing system was discussed. In this case the waiting time in a queuing model (M/M/2)
was more than that of queuing model (M/M/3) and observed that new customer’s arrival probability of double server
queuing system was less than that of multi-server queuing system. The multi-server queuing system increases the
efficiency of the hospital and reducing time compared to the double server queuing system.
Reference:-
1. Adeleke RA. Application of Queuing Theory to Waiting Time of Out-Customers in Hospitals, Pacific Journal
of Science and Technology, 2009; 10(2):270-274.
2. Agnihotri SRA, Taylor PF. Staffing a centralized appointment scheduling department in Lourdes Hospital,
Interfaces-Journal Online, 1991; 21:1-11.
3. Bailey NTJ. A study of queues and appointment systems in hospital out-customer departments with special
reference to waiting times, Journal of Royal Statistical Society, Netherlands, 1952; 14:185-199.
4. Erlang AK. The Theory of Probabilities and Telephone Conversations, NytTidsskrift for Matematik, 1909;
20(B):33-39.
5. Fomundam S, Herrmann JW. A Survey of Queuing Theory Applications in Healthcare, ISR Technical Report
2007, 24.
6. Green LV. Queuing analysis in healthcare, incustomer flow: Reducing delay in healthcare delivery, (Hall, R.W.,
Springer, New York, 2006a, 281-308.
7. Khan MR, Callahan BB. Planning laboratory staffing with a queuing model, European Journal of Operational
Research, 1993; 67(3):321-331.
8. Jagan T. EOQ for deteriorating item with noninstantaneous receipt under trade credits with shortages”,
International Journal of Scientific Development and Research, 2(5), 2455-2631.
9. McClain JO. Bed planning using queuing theory models of hospital occupancy: a sensitive analysis, Inquiry,
1976; 13:167-176.
10. Nose RA, Wilson JP. Queuing theory and customer satisfaction: A review of terminology, trends and
applications to a pharmacy practice, Hospital Pharmacy, 2001; 3:275-279.
11. Premkumar K. Operations Research”, 2002; 5:283.
743