Queuing Theory Quay Container
Queuing Theory Quay Container
This paper describes a methodology designed to support the decision-making process by developing
seaport infrastructure to meet future demand. In order to determine an optimum number of berths at a
sea port, the queuing theory is applied in the light of port facilities and activities. The aim is to avoid
inadvertent over and under-building. Within this methodology, the movements in port should firstly be
analyzed. The waiting time of vessels outside the port and in queue is calculated in accordance with the
considered queuing model. The theoretical functions representing the actual vessel arrival and service
time distributions are determined. For the economic considerations, cost estimate studies including
cost of port and waiting vessels are carried out. Finally, the optimum number of berths that minimizes
the total port costs can be decided. Both proposed mathematical and economical models are applied to
Alexandria port in Egypt.
Key words: Port capacity, port economy, port modeling, queuing theory.
INTRODUCTION
The port transportation system includes different physical inefficient and uneconomic due to the delay costs of
elements, e.g. berths, handling equipments, storage and waiting ships. Conversely, developing the port so that
traffic facilities. Although the capacity of any single ele- ships are never forced to wait also represents an
ment may be expressed as an absolute figure, such as uneconomic use of port resources.
the number of containers loaded per hour by a certain The ideal situation is one in which all berths are
crane, the aggregate capacity of the whole port cannot be occupied at all times and no ship is ever kept waiting.
so simply described. Each element can limit the overall This situation is impossible to achieve in practice
port productivity. because of the random arrivals of cargo ships and the
Port productivity can be viewed from two standpoints. variations in service time of ships of different sizes.
To ship operators, productivity implies the time needed at Therefore, decisions concerning port development can be
the port to serve ships, while at national level, port made by trading-off the cost of increasing the port
productivity can be defined as the amount of cargo capacity and the costs of both waiting and service times.
transported through the port during a certain time period. The purpose of this paper is to introduce a methodo-
Port development is often affected by operating policies logy which can be used to facilitate the decision-making
as well as by the traffic demand imposed in the port in process of port development. The proposed methodology
terms of the volume of cargo expected to be accom- covers two principal areas:
modated, the service time at the available berths within
which this volume should be handled, and the frequency a) Investigation of the pattern of ship traffic at a seaport
of ships arrivals. from the standpoint of queuing theory, and to use the
It would be possible to develop the port facilities so that findings to draw some hypotheses regarding its
its capacity is fully utilized at all times. In this manner, application to the overall operation in sea ports.
changes in demand have to be accommodated by forcing b) Determination of the optimum number of berths
ships to wait (at anchorage) until ships that arrived needed in a sea port that will minimize the total port
previously had been serviced. This policy would be usage costs.
78 J. Soil. Sci. Envirn. Manage.
( λ ) n −λ
Pn = .e
ANALYSIS OF SHIPS' MOVEMENT IN A SEAPORT n!
An important parameter measuring the performance of a Where
seaport is the delays that ships experience while waiting λ = average arrival rate of ships during the given time
to be processed. Two factors affect these delays: (a) the (one day, for example),
pattern of ships arrival, and (b) the berth time e = base of the natural logarithm (e = 2.71828...),
requirement for cargo handling. λn = the average arrival rate of n ships, and;
The arrival of a cargo ship in a port is often irregular, n! = the factorial of the ship number.
and when it arrives, it may be able to move directly onto a
berth or has to wait until a berth becomes empty, if all The distribution of ships arrivals with Poisson function
berths are occupied. The berth time needed to serve a can be calculated, only if the average arrival rate during
ship is also variable, as it depends on the amount of an entire period is known. The expected frequency Fn of
cargo which the ship carries and the capacity of the n ships in port in a given time T is:
present facilities for handling and storing cargo (Gokkup,
1995). Figure 1 shows ship behavior at a seaport.
The investigation of such random occurrences requires
Fn = T . Pn
a complex and detailed analysis. The concept of
“Queuing theory-waiting line problem” can successfully T is the considered time period of the port operation
be applied. Queuing Theory is one of the most useful (often expressed on an annual basis as 365 days).
El-Naggar 79
Where,
w1 is the correction of the average constant service time Thus, the gross berth time available is “Smin. T”.
obtained by selecting an Erlang-function with constant k
number. w1 can be calculated from the following function, Then, let β (berth utilization) equal the % of berth usage
(Wen-Chih et al., 2007): throughout the period T.
β = (berth time required)/ (berth time available), or
λS Q
w1 = n =
S −1 1 λ S min .( R.T ) .
( S − 1)! µ ( S −1) .( S .µ − λ2 ) . + λS .( S .µ − λ )
n =1
n! µ
In this manner, the calculated number of berths is based
on average values; regardless of the random arrivals of
Where, n = actual number of ships present in a port in a ships and the variation in berth service times.
certain time period.
Thus the average time that a ship spends in seaport ts
can be determined as follows: Optimum capacity
handled in the port in that year was 4.326 million tons (Egyptian
Maritime Data Bank, 2008).
Alexandria port is constituted of an old and complicated layout
with short quays and too narrow or too long piers. A large number
of quays has limited drought less than 8.0 meters, and only a lower
number of berths is capable to receive ships with more than 130.00
meter length. The number of berths available for general cargo in
the port is 32 berths.
Data base
The daily “log books” of the traffic department of the Alexandria Port
Authority include (among others) the arrival time of each ship at the
pilot vessel. In addition, detailed information concerning the move-
ment of each ship in the port is also available in the so-called “ship
log sheets”. Every sheet is a ship report, and it contains the
Figure 4. Total usage cost, hypothetical port. following data:
The foregoing methodology is applied to investigate the movements Information giving the date and time of arrival at a berth and the
of ships in Alexandria Port and to predict the future capacity. The date and time of departure from the berth were obtained from the
application is restricted to general cargo ships, excluding full- “ship log sheets”. A total of 315 observations, including those
container, bulk, and RO/RO ships which have particular berths at general cargo ships which were tied up at the berths between July
the port. 1, 2007 and June 30, 2008 were randomly selected to be analyzed.
Alexandria Port is the major port in Egypt. About 40.80 million A class interval of 15 hours was selected for such analysis.
tons passed through the port in the year 2007/2008, that is, 36% of Search for a suitable model for the distribution of the durations at
the total volume of the foreign trade. The amount of general cargo berths led to an Erlang distribution giving K = 3. The mean time
82 J. Soil. Sci. Envirn. Manage.
spent at a berth was found 5.58 days for the 315 observations. The
standard deviation of the distribution was computed and found to be
± 1.43 days. Figure 6 presents the frequency and the cumulative
distributions of the observed data and compares the values of the
cumulative distribution with those of the Erlang function having K =
3.
A Chi-square test was also performed to test the goodness of fit
between the observed frequency distribution and the postulated
Erlang function, and a value X2 = 14.87 for 42% probability was
found. Comparison with other Erlang functions (K = 1, K = 2, and K
= 4) indicates that K = 3 is the best choice for this distribution
function. Figure 6 also shows the observed data points and a plot
of the selected function.
Figure 6. Frequency distribution of berth service time, Smin = 4000 000/(373.5 × 365) = 29.34 = 30 berths
Alexandria port 2007/2008. λ = 5.68 ships/day
El-Naggar 83
µ = 1/5.58 = 0.18 ships/day changing the traffic intensity and/or the cost ratio rbs.
= 5.68/0.18 = 29.35 The optimum number of berths corresponding to a suitable cost
rbs = 600/6000 = 0.10 ratio rbs values (from 0.10 to 0.30) is noted in Figure 8. It can also
be seen that a 33-berths set is the optimum port capacity in case of
Figure 7 shows the relationships between traffic intensity and the traffic intensity values varying between 27.58 and 29.60.
cost ratio rs for a proper number of berths (from S = 29 to S = 34) Table 2 shows the calculation of the costs of idle berths and idle
The optimum port capacity is 33 berths. In this instance, rs = 34.34, ships for 33 berths in view of the expected frequency (number of
and the total port costs C = $75.200 million (the development of 33 days per year). It also presents the combined costs (vacant berths
berths plus the annual maintenance costs). and ships) in case of port size 31, 32, 33 and 34 berths. The cost
comparison indicates that the total port cost is least when there are
The average berth utilization = 29.35/33 = 0.89 33 berths. This conclusion confirms the result previously obtained
by applying the proposed methodology.
Queuing results:
Table 2. Cost calculation in case of 33 berths, and the comparison of the resulting value with those for 31, 32 and 34 berths.
be increased as long as the marginal cost of berths (con- Thus, there is no doubt that ships arrive at Alexandria
struction and maintenance) is less than the delay costs of port in accordance with a random pattern and that the
waiting ships. degree of accuracy compares favorably with the accuracy
The “Queuing theory” has been employed to derive the that may be realized in estimating future traffic.
number of waiting ships and the average ship delays. The application to Alexandria port verifies the antici-
The usage of queuing theory is subjected to the following pated benefit of using the suggested methodology to
two assumptions: evaluate the port size in the best interests of both ship
operators and the port authority. The evaluation is settled
i) Ships arrivals at a sea port can be described as a on the premise that maximum port efficiency results when
negative exponential distribution, and, the total port cost is minimum, that is, the cost of vacant
ii) Berth service time yields to a multi-exponential berths over a substantial period plus the time cost of
function. ships waiting for a berth during the same period.