Docsity

Traffic Modeling Analogies, Lecture notes of Transportation Engineering

Partial preview of the text

Download Traffic Modeling Analogies and more Lecture notes Transportation Engineering in PDF only on Docsity!

Chapter 17

Traffic Flow Modeling Analogies

Contents

17 Traffic Flow Modeling Analogies 1 17.1 Introduction...................................... 2 17.2 Model framework................................... 2 17.2.1 Assumptions.................................. 2 17.2.2 Formulation.................................. 3 17.2.3 Derivation of the Conservation equation.................. 4 17.3 Analytical Solution.................................. 5 17.3.1 Formulation.................................. 5 17.3.2 Method of Characteristics.......................... 6 17.3.3 Inference.................................... 8 17.4 Conclusion....................................... 9 17.5 References....................................... 9

17.1 Introduction

If one looks into traffic flow from a very long distance, the flow of fairly heavy traffic appears like a stream of a fluid. Therefore, a macroscopic theory of traffic can be developed with the help of hydrodynamic theory of fluids by considering traffic as an effectively one-dimensional compressible fluid. The behaviour of individual vehicle is ignored and one is concerned only with the behaviour of sizable aggregate of vehicles. The earliest traffic flow models began by writing the balance equation to address vehicle number conservation on a road. In fact, all traffic flow models and theories must satisfy the law of conservation of the number of vehicles on the road.

regimes of the flow, say before and after a bottleneck. In this system the flow rate before and after will be same, or k 1 v 1 = k 2 v 2 (17.2)

From this the shock wave velocity can be derived as

v(to)p = q^2 −^ q^1 k 2 − k 1

This is normally referred to as Stock’s shock wave formula. An alternate possibility which Lighthill and Whitham adopted in their landmark study is to assume that the flow rate q is determined primarily by the local density k, so that flow q can be treated as a function of only density k. Therefore the number of unknown variables will be reduced to one. Essentially this assumption states that k(x,t) and q (x,t) are not independent of each other. Therefore the continuity equation takes the form

∂k(x, t) ∂t

  • ∂q(k(x, t)) ∂x

However, the functional relationship between flow q and density k cannot be calculated from fluid-dynamical theory. This has to be either taken as a phenomenological relation derived from the empirical observation or from microscopic theories. Therefore, the flow rate q is a function of the vehicular density k; q = q(k). Thus, the balance equation takes the form

∂k(x, t) ∂t +^

∂q(k(x, t)) ∂x = 0^ (17.5)

Now there is only one independent variable in the balance equation, the vehicle density k. If initial and boundary conditions are known, this can be solved. Solution to LWR models are kinematic waves moving with velocity dq(k) dk (17.6) This velocity vk is positive when the flow rate increases with density, and it is negative when the flow rate decreases with density. In some cases, this function may shift from one regime to the other, and then a shock is said to be formed. This shock wave propagate at the velocity

vs = q(k k^2 )^ −^ q(k^1 ) 2 −^ k 1

where q(k 2 ) and q(k 1 ) are the flow rates corresponding to the upstream density k 2 and down- stream density k 1 of the shock wave. Unlike Stock’s shock wave formula there is only one variable here.

N 1 N 2

q 1 q 2

∆x

17.2.3 Derivation of the Conservation equation

Consider a unidirectional continuous road section with two counting station. Let N 1 : number of cars passing (1) in time ∆t; q 1 : the flow; N 2 : number of cars passing (2) in time ∆t; and q 2 : the flow; Assume N 1 > N 2 , then queuing between (1) and (2)

q 1 = N ∆^1 t, q 2 = N ∆^2 t

∆q = q 2 − q 1 = N^2 −^ N^1 ∆t

= −∆N

∆t

Note that q 2 < q 1 and therefore ∆q is negative. Therefore,

∆N = −∆q.∆t (17.8)

Similarly (k 2 > k 1 ),

∆k = k 2 − k 1 = N^1 ∆^ −x^ N 2 = +∆ ∆xN ,

Therefore ∆N = ∆k∆x

From the above two equations:

∆k ∆x + ∆q ∆t = 0

Dividing by ∆t ∆x ∆k ∆t

  • ∆q ∆x

Assuming continuous medium (ie., taking limits) limt→ 0

∂q ∂x +^

∂k ∂t = 0

where f (k) could be any function relating density and speed. Eg: Assuming the Greenshield’s linear model:

v = vf − v kf j

k

Therefore, f (k) + k df^ (k) dk

= vf − vf kj

k + k −vf kj = vf − 2 v kf j

k

Therefore, ∂k ∂t

  • ∂k ∂x
[

vf − 2 vf kj

k

]

The equation 17.9 is first order quasi-linear, hyperbolic, partial differential equation (a special kind of wave equation).

17.3.2 Method of Characteristics

Consider k(x, t) at each point of x and t, and ∂k ∂t + ∂k ∂x [f (k) + (^) dkdf k] = 0 in the total derivative of k along a curve which has slope ∂x ∂t = f (k) + df dk k. ie., Along any curve in (x, t), consider x, k as function of t.

x^0 x

(k) t

Total derivative of k will be

dk dt =^

∂k ∂t +^

∂k ∂x.

dx dt = ∂k ∂t + (^) ∂x∂k

[

f (k) + (^) dk dfk

]

At the solution, dk dt = 0, k is constant along the curve, f (k) + k. df dk is constant along the curve. That is,

x(t) = x 0 +

[

dx dt

]

t

= x 0 +

[

f (k) + k. dkdt

]

t

Note that the solution is to construct some curve e so that: (a) kt +c(k).kx is the total derivative of k along the curve (ie., directional derivative) and (b) slope of the curve dx dt = c(k). We know k(x, t). Therefore directional derivative k(x, t) along t

dk(x, t) dt =^

∂k ∂t +^

dx dt.

∂k ∂x =

∂k ∂t +

[

f (k) + k.

df dk

] (^) ∂k ∂x = 0 ie., dk dt = 0

That is k is constant along the curve e or dx dt = f (k) + k df dk is constant along curve e. Therefore e must be straight line.

x(t) = x 0 +

[

f (k) + k. df dk

]

t

If k(x, 0) = k 0 is initial condition

x(t) = x 0 +

[

f (k 0 ) + k 0. df dk

k=k 0

]

t

This function is plotted below along with a fundamental q-k diagram.

17.3.3 Inference

  1. Density k is constant along characteristic lines
  2. Characteristic lines are straight lines emanating from the boundaries of x − t plane
  3. The slope of the characteristic line is dx dt =^ f^ (k) +^ k.

df dk ≡^

dq dk

ie., Characteristic curve has the slope equal to the tangent of the flow density curve.

  1. When two Characteristic lines intersect (ie., 2 k values at a given x,t) shock waves are generated; and characteristic line terminate.
  2. Shock wave represent mathematical discontinuity ie., abrupt changes to k, q, v.
  3. Speed of the Shock wave is ratio of the time storage rate to space storage rate; that is: vw = q kd^ −^ qu d −^ kv

17.5 References

[1] D Chowdhury, L Santen, and A Schadschneider. Statistical physics of vehicular traffic and some related systems. Physics Report 329, 2000. 199-329.

  1. L. R Kadiyali. Traffic Engineering and Transportation Planning. Khanna Publishers, New Delhi, 1987.