Professional Documents
Culture Documents
H O S T E D BY
Alexandria University
ORIGINAL ARTICLE
KEYWORDS Abstract Traffic congestion is observed around shopping malls, mostly, due to the long queue
Queue system; at the parking entry gates. The queuing theory is an operation research technique that mathe-
Parking entry; matically models the queuing systems consisting of randomly arriving costumers to receive ser-
Stochastic and deterministic vice and then depart such as the parking entry gates. For a single-server mathematical queuing
queuing process; model, the inter-arrival time is usually assumed to be negative exponentially distributed (Poisson
Exponential distribution; process). Mostly, the service times are assumed to be either similar to inter-arrival, M/M/1, or
Poisson distribution constant, M/D/1; neither assumptions is correct in terms of producing performance measures
that conform with the reality. However, the M/D/1 model seems to perform more closely. This
paper proposes an approach to apply the mathematical queuing model for such system more
efficiently. Essentially, service time is calibrated to the best fitting distribution based on the data
collected from major shopping malls in Alexandria and Giza in 2016 and 2017; respectively. The
calibration proves that the service time is normally distributed. The application of the M/D/1
using the mean time of the calibrated normal distribution as the constant service time is then
tested. The resulted performance measures show a significant conformity with the performance
measures of the field data.
Ó 2020 The Author. Published by Elsevier B.V. on behalf of Faculty of Engineering, Alexandria
University. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/
licenses/by-nc-nd/4.0/).
which means that the times between arrivals are independent 2. Queuing model fundamental relations
random variables [12]. The easiest inter-arrival time distribu-
tion to work with is the negative exponential distribution, The performance measures that affect the queue study are aver-
which is fully characterized by a single parameter, the mean age delay per vehicle ‘‘Wq”, average queue length ‘‘Lq”. Based
service rate. on the departure rate and arrival rate pair data, the delay of
The history of queuing theory goes back more than every individual vehicle can be obtained. Fig. 1 shows the Cumu-
100 years. A queuing system consists of ‘‘customers” arriving lative input-output queuing diagram (Newell Curve) and by
at random times to some facility where they receive service using which, it is possible to find the delay for every individual
of some kind and then depart [7]. The earliest techniques of
vehicle: the delay of the ith vehicle is time of departure - time of
analysis in queuing theory was laid by Erlang [11], father of
arrival (T2-T1). Total delay is the sum of the delays of each vehi-
queuing theory, in the early decades of the twentieth century.
cle, which is the area in the triangle between the arrival and
He is given credit for mathematically introducing the Poisson
departure curves [6]. Similarly, the queue length at any time is
process to congestion theory.
number of car arriving - number of car departing (V2-V1).
In general, and specially with the assumption that the arri-
val process is Poisson, the arrival rate is usually represented by
2.1. Queuing theory principles
the Greek lower case (k) [12]. The service process is often
regarded as being similar to the arrival process, but there are
2.1.1. Poisson arrival distribution
important differences. Strictly, it is not a stochastic process,
because it is interrupted by the idle periods when there are If events (vehicle arrivals) occur randomly and independently,
no customers present. The usual notation for a service rate is at an average rate, then the count of vehicle arrivals per unit
a Greek lower case (m) [12]. time will conform to a Poisson distribution and the form of
Results and theoretical formulations are established for (M/ occurrence is described as a Poisson process. The distribution
M/c) queue models; the first letter ‘‘M” specifies the inter- of the length of intervals between events (vehicle inter-arrival)
arrival time distribution, the second ‘‘M” specifies the service in a Poisson process is an exponential distribution [5]. The
time distribution; both of them are assumed to be of exponen- Poisson probability density function (PDF) is given in Eqn 1
tial distribution which means that both arrival rate and service as follows [8,14]:
rate are Poisson. The third letter specifies the number of ser- kx ek
vers [9] fðxÞ ¼ 8x 0; k > 0 ð1Þ
x!
The queue of the model M/M/1 (Poisson arrival, Poisson
service, single server) is one of the earliest systems to be ana- where
lyzed [1]. Afterwards, Erlang [11] solved both the M/D/1 queu- x: number of vehicle arrivals per unit time
ing model and M/D/c queuing model. The letter ‘‘D” specifies k: average vehicle arrival rate
that the service time is deterministic or constant.
Regardless of mathematical formulation, the analytical 2.1.2. Exponential Inter-Arrival distribution
models depend on significant assumptions on the distribution The exponential distribution is defined as the distribution of
of arrival and service rates and on the type of dispatching dis- waiting times (vehicle inter-arrivals) in a Poisson process. If
ciplines [2]. The queue formed at paid parking entry has a events (vehicle arrivals) are occurring at random at a constant
weak model distribution classification; no one had ensure that rate ‘‘k” per unit time and x is the time to the next event (ve-
it’s totally follow (M/M/1) model (Poisson random arrival/ hicle inter-arrival), then the PDF of the exponential distribu-
Poisson random service) or (M/D/1) model (random arrival/ tion is given in Eqn 2 [5]:
deterministic service). Neither one is accurate, as the system
fðxÞ ¼ kekx 8x 0; k > 0 ð2Þ
is too complicated. Rarely, will you encounter in real life a sit-
uation where the negative exponential assumptions can be rig- where
orously defended, especially for service time. Also, service time x: vehicle inter-arrival time
can’t be logically assumed constant. Actually, however, the 1=k: average vehicle inter-arrival time
proper question to ask is not how good the assumptions are,
but how good the results are. 2.2. The variety of queuing models
Recently, more than one application of queuing theory
were performed to empirically solve a real life parking prob- A wide variety of queuing models may be applied in operations
lems. In most cases, the standard mathematical models were management. Three of the most widely used models (M/M/s,
used in conjunction with a simulation model in an attempt M/M/1&M/D/1) are introduced.
to overcome the drawback of the mathematical models of
not producing performance measures that conform with reality 2.2.1. Multi-server queuing systems - M/M/s
[10].
The M/M/s model is one of the most commonly used to ana-
The purpose of this paper is to explore ways to improve
lyze the queuing problem in different queuing systems. This
the performance of the mathematical queuing models,
model computes average wait times and queue lengths, given
which is easier than the simulation models, more effectively
arrival rates, number of servers, and service rates.
and, maybe, more efficiently. This research adopts the prin-
The queue length is given in Eqn 3 as follows [2]:
ciple of that getting more representative results is far more
of a goal than using the more theoretically correct qsþ1
Lq ¼ Po ð3Þ
assumptions. ðs 1Þ!ðs qÞ2
Survey-based calibration of a parking entry as a single-server mathematical queuing model 831
Fig. 1 The Cumulative Inputs and Outputs Queuing Diagram (Newell Curve).
Calibrang Avreage Arrival Rate & Poisson Distribuon the arrival rate has a Poisson distribution the inter-arrival rate
0.35 is an exponential distribution.
0.3
Fig. 5 shows the calibration of service rates established
Probibility Occurence
Collected Data from collected data & Poisson distribution calculated by using
0.25 Eq. (1) The Poisson parameter (average service rate) l = 7.300
Poisson (λ=3.195)
0.2 veh./min. (0.1217 veh./sec.) was calculated from collected data.
0.15
It is easy to see that the collected data doesn’t, even slightly,
conform to Poisson distribution. As mentioned before the
0.1
assumption that the service rate follows a Poisson distribution
0.05 is not true due to the system idle times which accounts, in the
0
case of San Stefano Mall, for about 56%. Clearly, it is an inva-
0 1 2 3 4 5 6 7 lid calibration. In fact, l, is calculated based on the actual ser-
Arrival Rate (Veh/Minute) vice times excluding idle times, while the observed service rates
are based on the total times including the idle times.
Fig. 3 Calibrating Arrival Rate and Poisson Distribution (San
Stefano mall).
Calibrang Inter-arrival Time & Negave Exponenal Calibrang Service Rate & Poisson Distribuon
0.18 0.4
Probability occurence
0.16 0.35
Probibility Occurence
Fig. 4 Calibrating Inter-arrival Time and Exponential Distribu- Fig. 5 Calibrating Service Rate and Poisson Distribution (San
tion (San Stefano mall). Stefano mall).
Survey-based calibration of a parking entry as a single-server mathematical queuing model 833
Calibrang Service Time & Negave Exponenal Table 2 Survey Statistics for San Stefano mall.
0.1800
Probibility Occurence
Calibrang Arrival Rate & Poisson Distribuon Calibrang Service Rate & Poisson Distribuon
0.300 0.300
Probability Occurance
Probability Occurance
0.250 0.250
Poisson (λ=3.252) Collected Data
0.200
0.200 Poisson (μ=4.755)
Collected Data
0.150
0.150
0.100
0.100
0.050
0.050 0.000
0 2 4 6 8 10
0.000
0 2 4 6 8 10 Service Rate (Vehicle/Minutes)
Arrival Rate (Vehicle/Minutes)
Fig. 10 Calibrating Service Rate and Poisson Distribution
Fig. 8 Calibrating Arrival Rate and Poisson Distribution (Hyper One mall).
(Hyper One mall).
0.100
Collected Data
0.080
0.020
0.000
0 5 10 15 20 25 30 35 40 45 50
Service Time (Seconds)
Fig. 9 Calibrating Inter-arrival Time and Exponential Distribu- Fig. 11 Calibrating Service Time and Exponential Distribution
tion (Hyper One mall). (Hyper One mall).
Survey-based calibration of a parking entry as a single-server mathematical queuing model 835
Table 5 Comparison Between M/M/1, M/D/1 Models and Their Relative Errors for San Stefano mall.
Performance Measure Observed (Survey) Calculated Relative Error
M/M/1 M/D/1 M/M/1 M/D/1
Wq 4.162 6.397 3.199 0.54 0.23
Ws 12.381 14.616 11.418 0.18 0.08
Lq 0.221 0.341 0.170 0.54 0.23
Ls 0.658 0.778 0.608 0.18 0.08
836 M.M.M. Abdel-Aal
Table 6 Comparison Between M/M/1, M/D/1 Models and Their Relative Errors for Hyper One mall.
Performance Measure Observed (Survey) Calculated Relative Error
M/M/1 M/D/1 M/M/1 M/D/1
Wq 8.824 27.314 13.657 2.10 0.55
Ws 21.442 39.934 26.278 0.86 0.23
Lq 0.479 1.480 0.740 2.09 0.54
Ls 1.164 2.164 1.424 0.86 0.22
exponential distribution. Service rate does not show that it fol- ln ¼ h ð1=lÞ ð8Þ
low a Poisson distribution. Nevertheless, it was noticed that Eqn 7 can be looked at as if the calibrated service rate equals:
the service time is almost normally distributed. In fact, some
l
projects or researches applied simulation software with service l ¼ ð9Þ
time assumed to be normally distributed [13]. The normal dis- h
tribution with mean equal to the average service time (1=lÞ Consequently, the calibrated average service time can be
established from the survey data has some shift from the actual given as follows (Eqn 10):
service time distribution. This distribution is called the original 1 h
normal distribution and is given in Eqn 6 as follows: ¼ ¼ ln ð10Þ
l l
1
ðx1=lÞ
fðxÞ ¼ pffiffiffiffiffiffi e 2d2 : 8x > 0; l; d > 0 ð6Þ Fig. 12 shows the original normal distribution with average
d 2p service time established from the survey data for San Stefano
where mall parking. The figure, also, shows the calibrated normal dis-
1=l: average service time (sec.) tribution with the mean (ln ) that represents the survey service
d: standard deviation(sec.) shows time distribution more closely.
The calibration in this part is to find the normal distribu- To guarantee the closeness between the calibrated normal
tion that represent the service time distribution more closely distribution and the actual service time distribution, Incidence
and use its mean (ln ) as the fixed deterministic service time Ratio (IR) was used as well.
for the M/D/1 model. In order to accomplish this task the nor- Starting with location variable h ¼ 1, the Add-in Solver of
mal distribution formula with location parameter is introduced EXCEL was used to find h that maximizes the incidence ratio
in Eqn 7 as follows: which was h ¼ 1:04. Table 7 shows the calibrated parameters
1
ðxhðlÞÞ 1
0.1400
Negave Exponenal
0.1200 (μ=0.1217)
0.1000 Original
Normal(μn=8.219,σ=3.5)
0.0800 Calibrated
0.0600 Normal(μn=8.548,σ=3.5)
0.0400
0.0200
0.0000
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Service Time (Seconds))
Fig. 12 Calibration of M/D/1 Service Time and Normal Distribution (San Stefano mall).
Survey-based calibration of a parking entry as a single-server mathematical queuing model 837
Probability Occurance
0.080 (μ=0.0793)
Original
0.060 Normal(μn=12,617,σ=4)
Calibrated
0.040
Normal(μn=9.97,σ=4)
0.020
0.000
0 5 10 15 20 25 30 35 40 45 50
-0.020
Service Time (Seconds)
Fig. 13 Calibration of M/D/1 Service Time and Normal Distribution (Hyper One mall).
Table 8 Comparison between Relative Errors for Original and Calibrated M/D/1 for San Stefano mall.
Performance Measure Observed (Survey) M/D/1 Model Relative Error
Original Calibrated Original Calibrated
Wq 4.162 3.199 3.571 0.23 0.14
Ws 12.381 11.418 12.119 0.08 0.02
Lq 0.219 0.170 0.190 0.23 0.14
Ls 0.652 0.608 0.645 0.08 0.02
Table 10 Comparison between Relative Errors for Original and Calibrated M/D/1 for Hyper One mall.
Performance Observed M/D/1 Model Relative Error
Measure (Survey)
Original Calibrated Original Calibrated
Wq 8.824 13.657 6.100 0.55 0.31
Ws 21.442 26.278 16.196 0.23 0.24
Lq 0.479 0.740 0.331 0.54 0.31
Ls 1.164 1.424 0.878 0.22 0.25
838 M.M.M. Abdel-Aal
general, to system characteristics would enhance the power of Although the proposed approach is both efficient and effec-
testing more scenarios of non-existing systems; i.e., systems tive, it lacks the ability to test scenarios of non existing systems
with h not defined. where h is not defined. This research can be extended to
include the estimation of h based on the system characteristics
5. Conclusions such as k, l and q in addition to the service idleness
percentage.
The goal of this paper is to calibrate a mathematical queuing
model for parking lot entries with one queue and single- Declaration of Competing Interest
server. Two study parking lots were chosen for this research;
one lot was in Alexandria: the San Stefano mall parking; The authors declare that they have no known competing
and one was in Giza: the Hyper One mall Parking. financial interests or personal relationships that could have
The comparison between the collected data from the study appeared to influence the work reported in this paper.
area survey and different analytical method calculation with
different models (M/M/1& M/D/1) shows that neither models Acknowledgement
is accurate. Nevertheless, M/D/1 model seems to be closer to
the surveyed data with regard to the performance measures The author thanks Mrs Eman Helal and Mr. Mahmoud
(average waiting times and average queue lengths). Hegazy for their effort in collecting the data needed for this
The inter-arrival time is acceptably proven to be stochastic research.
with exponential distribution and arrival rate is rigorously pro-
ven to follow Poisson distribution which conforms with the References
main stream literature. Although, in theory, the service time
is neither stochastic with exponential distribution (although [1] U. Narayan Bhat, Queuing Theory: Modeling and Analysis in
frequently assumed so) nor deterministic with a constant aver- Applications, Birkhauser, Boston, 2008.
age value, it proves to be almost perfectly normally distributed. [2] Gustavo Ceballos, Owen Curtis, Queue analysis at toll and
However, the M/D/1 model seems to be a relatively good parking exit plazas: a comparison between multi-server queuing
models and traffic simulation, ITE Annual Meeting and Exhibit,
assumption to analytically model the queue system for the pur-
2004.
pose of estimating both delays and average queue length. [3] K.L. Muruganantha Prasad, B. Usha, A comparison between
The proposed approach assumes that the service time is not M/M/1 and M/D/1 queuing models to vehicular traffic at
constant, rather, it is normally distributed. The calibration of Kanyakumari district, IOSR J. Math. 11 (1) (2015) 13–15.
the average service time allowed for a location parameter to [4] M.J. de Smith, Statistical Analysis Handbook: A
adjust the modeled normal distribution to better fit the col- Comprehensive handbook of Statistical Conceps, Techniques a
lected data. The constant average service time to be used in d Software Tools, The Winchelsea Press, 2018.
the M/D/1 model is estimated as the mean of the normal dis- [5] Exponential Distribution, Wikipedia, https://en.wikipedia.org/
tribution calibrated with the surveyed data. wiki/Exponential_distribution.
The calibration process resulted in estimating new average [6] Fundamental of transportation/queuing, Wikipedia, https://en.
wikibooks.org/wiki/Fundamentals_of_Transportation/
service rate to be 7.019 vehicle per minute instead of the orig-
Queueing.
inally calculated 7.3 vehicle per minutes, for the San Stefano [7] Howard M. Taylor, Samuel Karlin, An Introduction to
mall parking using a location parameter of 1.04. A similar cal- Stochastic Modeling, third ed., Academic Press, 1998.
ibration for the Hyper One mall parking calibration resulted in [8] Ivo Adan, Jacques Resing, Queuing Systems, Department of
estimating new average service rate to be 6.020 vehicle per min- Mathematics and Computing Science, Eindhoven University of
ute instead of the originally calculated 4.755 vehicle per min- Technology, The Netherlands, 2015.
utes, using a location parameter of 0.79. [9] Houda Mehri, Taoufik Djemel, Study and simulation of queuing
The application of the calibrated M/D/1 model, i.e., with theory in the toll motorway, Stud. Inform. Univ. 9 (2) (2011) 96–
the calibrated average service time, showed that the its perfor- 130.
mance measures are significantly superior than those of the [10] Priti Bajpai and Maneesha, Analysis of Parking Lots While
Dubai Prepares for Expo 2020, in: Proceedings of 4th
original model for both San Stefano and Hyper One mall park-
International Conference on Logistics, Informatics and Service
ing lots. The relative error for the calibrated model ranges Science, 2014, pp. 969–974.
between 2% and 14% compared to the original range [11] ‘‘Queuing Theory”, Wikipedia, https://en.wikipedia.org/wiki/
between 8% and 23% for San Stefano mall parking. Sim- Queueing_theory.
ilarly, the relative error of the calibrated model ranges between [12] A. Ravindran, Don T. Phillips, James J. Solberg, Operation
24% and 31% compared to the original range between Research Principles and Practice, Second Edition, Johan Wiley
22% and 55% for Hyper One mall parking. and sons, 1987.
The proposed approach efficiently succeeded in calibrating [13] Richard Sprosen, Modelling Car Park Operation using
(estimating) one of the main parameter of the relatively imper- Stochastic Queuing Simulation, Opus International
fect M/D/1 model, the average service time, by fitting it to the Consultants, https://www.transportationgroup.nz/.../Richard%
20Sprosen_Stochastic%20Queue%20Modell
normal distribution that it seems to follow, since its assump-
[14] Statistics of The Poisson Distribution, https://www.umass.edu/
tion of being a random variable can’t be essentially defended. wsp/resources/poisson/.
The calibrated M/D/1 model effectively produced significantly [15] Transport, Access, Parking and Servicing Planning
closer performance measures, in comparison to the surveyed Scheme Policy; Appendix2: planning scheme policies, Brisbane
data, than the original model. City Plan 2000, Volume 2, 2013.