








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









One of the major issues in the analysis of any traffic system is the analysis of delay. Delay is a more subtle concept. It may be defined as the difference between the actual travel time on a given segment and some ideal travel time of that segment. This raises the question as to what is the ideal travel time. In practice, the ideal travel time chosen will depend on the situation; in general, however, there are two particular travel times that seem best suited as benchmarks for comparison with the actual performance of the system. These are the travel time under free flow conditions and travel time at capacity.
Most recent research has found that for highway systems, there is comparatively little dif- ference between these two speeds. That being the case, the analysis of delay normally focuses on delay that results when demand exceeds its capacity; such delay is known as queuing delay, and may be studied by means of queuing theory. This theory involves the analysis of what is known as a queuing system, which is composed of a server; a stream of customers, who demand service; and a queue, or line of customers waiting to be served. The Fig. 45:1 shows a schematic diagram illustrating the concept of a queuing system.
For the analysis of a queuing system the input parameters are discussed in the following
Arrival rate disciplineQueue^ Service rate
Input source(Customers) (^) Queue (leaving)
Servicefacility costumersServed
Figure 45:1: Components of a basic queuing system
section.
These are explained in the following sections.
It is rate at which customers arrive at a service facility. It is expressed in flow (customers/hr or vehicles/hour in transportation scenario) or time headway (seconds/customer or seconds/vehicle in transportation scenario). If inter arrival time that is time headway (h) is known, the arrival rate can be found out from the equation:
λ =^3600 h
Mean arrival rate can be specified as a deterministic distribution or probabilistic distribution and sometimes demand or input are substituted for arrival.
It is the rate at which customers (vehicles in transportation scenario) depart from a transporta- tion facility. It is expressed in flow (customers/hr or vehicles/hour in transportation scenario) or time headway (seconds/customer or seconds/vehicle in transportation scenario). If inter service time that is time headway (h) is known, the service rate can be found out from the equation:
μ =^3600 h (45.2)
The number of servers that are being utilized should be specified and in the manner they work that is they work as parallel servers or series servers has to be specified.
Sv (^) Sv
m
t t
m
m l l
q
t
q
t
l
Figure 45:2: Constant arrival and service rates
Σ v (^) Σ v
q (^) q
t (^) t
t t
μ λ
λ
λ
μ
λ μ μ μ’
Figure 45:3: Constant arrival rate and varying service rate
In the left hand part of the Fig.45:2 arrival rate is less than service rate so no queuing is encountered and in the right hand part of the figure the arrival rate is higher than service rate, the queue has a never ending growth with a queue length equal to the product of time and the difference between the arrival and service rates.
In the left hand of Fig. 45:3 the arrival rate is constant over time while the service rates vary over time. It should be noted that the service rate must be less than the arrival rate for some periods of tim but greater than the arrival rate for other periods of time.
Σ v (^) Σ v
q (^) q
t (^) t
t t
μ
λ
λ λ
μ
μ μ
λ
Figure 45:4: Varying arrival rate and constant service rate
Σ v (^) Σ v
q (^) q
t (^) t
t t
μ
λ
λ λ
μ
μ μ
λ
Figure 45:5: Varying arrival and service rates
One of the examples of the left hand part of the figure is a signalized intersection and that of the right hand side part of the figure is an incident or an accident on the roads which causes a reduction in the service rate.
In the left part of Fig. 45:4 the arrival rate vary over time but service rate is constant. Both the left and right parts are examples of traffic variation over a day on a facility but the left hand side one is an approximation to make formulations and calculations simpler and the right hand side one considers all the transition periods during changes in arrival rates.
Assumptions
The various parameters that are to be evaluated in a queuing model and their formulae for this model are given below.
Utilization factor = ρ = λ μ (45.3)
The following formulae are valid only if arrival rate is less than service rate.
f (x) = P (X = x) = rx(1 − x) (45.4)
x = 0,1,2.....the number of customers at any instant. With this formula we can find out what percentage x number of customers are in the system. If x is taken as zero the formula yields the percentage of time the server is idle.
The average number of customers at any time in the system
E[X] = (^1) −r r (45.5)
The average number of customers in the queue at any time is
E[Lq ] = r
2 1 − r
Expected time a customer spends in the system
E[T ] = (^) μ −^1 λ (45.7)
Expected time a customer spends in the queue
E[Tq ] = λ μ(μ − λ)
Vehicles arrive at a toll booth at an average rate of 300 per hour. Average waiting time at the toll booth is 10s per vehicle. If both arrivals and departures are exponentially distributed, what is the average number of vehicles in the system, average queue length, the average delay per vehicle, the average time a vehicle is in the system?
Solution
λ = 300 vehicles/hr
μ = 360010 vehicles/hr
Utilization factor = traffic intensity = r = λ μ = 300360 = 0.
The percent of time the toll booth will be idle =
P(0) = P(X=0) = (0.833)^0 (1 − 0 .833) = 0.139(60min)=8.34 min
The average number of vehicles in the system = E[X] = (^1) −rr = 4.
The average number of vehicles in the queue =E[Lq] = 1 r−^2 r = 4.
The average a vehicle spend in the system =E[T ] = (^) μ−^1 λ = 0.016 hr = 0.96 min = 57.6 sec
The average time a vehicle spends in the queue =E[Tq] = (^) μ(μλ−λ) = 0.013hr = 0.83 min = 50sec
The difference between the earlier model and this model is the number of servers. This is a multi -server model with N number of servers whereas the earlier one was single server model. The assumptions stated in M/M/1 model are also assumed here. Here μ is the average service rate for N identical service counters in parallel.
Consider the earlier problem as a multi-server problem with two servers in parallel.
Solution
λ = 300 vehicles/hr
μ = 360010 vehicles/hr
Utilization factor = traffic intensity = r = λ μ = 300360 = 0.
P (0) = [ΣN x=0^ −^1 (r
x x! +^
rN (N − 1)!(N − r))]
− 1
= 0 .92(60) = 55. 2 min
The average number of vehicles in the system = E[X] = r + [ (^) (N −1)!(rN+1N −r) 2 ]P (0)= 1.
The average number of vehicles in the queue =E[Lq] = [ (^) (N −1)!(rN+1N −r) 2 ]P (0)= 0.
The average time a vehicle spend in the system =E[T ] = E[ λX ]= 0.004 hr = 14 sec
The average time a vehicle spends in the queue =E[Tq] = E[ λL q^ ]= 0.00129 hr = 4.64 sec
In this model there are N numbers of identical independent parallel servers which receive customers from a same source but in different parallel queues (Compare to M/M/N model. It has only one queue) each one receiving customers at a rate of (^) Nλ. Fig. 45:7 shows how a typical multiple single servers’ model looks like.
λ / N
λ / N
λ / N
Server 1
Server 1
Server N
Departures λ
Arrivals =arrival rate
Figure 45:7: Multiple single server
Consider the problem 1 as a multiple single server’s model with two servers which work inde- pendently with each one receiving half the arrival rate that is 150 vehicles/hr.
Solution
λ = 150 vehicles/hr
μ = 360010 vehicles/hr
Utilization factor = traffic intensity = r = λ μ = 150360 = 0.
The percent of time the toll booth will be idle =
P(0) = P(X=0) = (0.416)^0 (1 − 0 .416) = 0.584(60min)=35.04 min
The average number of vehicles in the system = E[X] = (^1) −rr = 0.
The average number of vehicles in the queue =E[Lq] = 1 r−^2 r = 0.
The average a vehicle spend in the system =E[T ] = (^) μ−^1 λ = 0.0047 hr = 0.285 min = 17.14 sec
Morning peak traffic upstream of a toll booth is given in the table 2. The toll plaza consists of three booths, each of which can handle an average of one vehicle every 8 seconds. Determine the maximum queue, the longest delay to an individual vehicle.
Time period 10 min volume 7.00-7.10 200 7.10-7.20 400 7.20-7.30 500 7.30-7.40 250 7.40-7.50 200 7.50-8.00 150
Solution:
The arrival volume is given in the table 2.
Service rate is given as 8 seconds per vehicle. This implies for 10 min, 75 vehicles can be served by each server. It is given there are 3 servers. Hence 225 vehicles can be served by 3 servers in 10 min.
In the first 10 min only 200 vehicles arrive which are served so the service rate for rest 50 min is 225 veh/10 min as there is a queue for the rest period. The solution to the problem is showed in the table 3 following. The cumulative arrivals and services are calculated in columns 3 and 5. Queue length at the end of any 10 min interval is got by simply subtracting column 5 from column 3 and is recorded in column 6. Maximum of the column 6 is maximum queue length for the study period which is 300 vehicles.
The service rate has been found out as 225 vehicles per hour. From proportioning we get the time required for each queue length to be served and as 475 vehicles is the max queue length, the max delay is corresponding to this queue. Therefore max delay is 21.11 min.
Time period 10 min Cumulative Service Cumulative Queue(6) Delay= volume volume(3) rate(4) service(5) =(3)-(4) 7.00-7.10 200 200 200 200 0 0 7.10-7.20 400 600 225 425 175 7. 7.20-7.30 500 1100 225 650 450 20. 7.30-7.40 250 1350 225 875 475 21. 7.40-7.50 200 1550 225 1100 450 20. 7.50-8.00 150 1700 225 1325 375 16.
The queuing models often assume infinite numbers of customers, infinite queue capacity, or no bounds on inter-arrival or service times, when it is quite apparent that these bounds must exist in reality. Often, although the bounds do exist, they can be safely ignored because the differ- ences between the real-world and theory is not statistically significant, as the probability that such boundary situations might occur is remote compared to the expected normal situation. Furthermore, several studies show the robustness of queuing models outside their assumptions. In other cases the theoretical solution may either prove intractable or insufficiently informative to be useful.
Alternative means of analysis have thus been devised in order to provide some insight into problems that do not fall under the scope of queuing theory, although they are often scenario- specific because they generally consist of computer simulations or analysis of experimental data.
I wish to thank my student Mr. Pradham Kumar for his assistance in developing the lecture note, and my staff Mr. Rayan in typesetting the materials. I also wish to thank several of my students and staff of NPTEL for their contribution in this lecture.