Module 4 : Macroscopic And Mesoscopic Traffic Flow Modeling
Lecture 17 : Traffic Flow Modeling Analogies
1 2 3 4 5 6 7 8
 

Method of Characteristics

Consider $ k(x,t)$ at each point of $ x$ and $ t$, and $ \frac{\partial k}{\partial
t} + \frac{\partial k}{\partial x}[f(k) + \frac{df}{dk}k] = 0 $ in the total derivative of $ k$ along a curve which has slope $ \frac{\partial x}{\partial t} =
f(k) + \frac{df}{dk}k$. ie., Along any curve in $ (x,t)$, consider $ x,k$ as function of $ t$.
file=qfMacroCharacteristics.eps,width=4cm
Total derivative of $ k$ will be
$\displaystyle \frac{dk}{dt}$ $\displaystyle =$ $\displaystyle \frac{\partial k}{\partial t} + \frac{\partial k}{\partial x} .
\frac{dx}{dt}$  
  $\displaystyle =$ $\displaystyle \frac{\partial k}{\partial t} + \frac{\partial k}{\partial x}\left[f(k) + \frac{df}{dk}k\right]$  

At the solution, $ \frac{dk}{dt} =0$, $ k$ is constant along the curve, $ f(k) + k.\frac{df}{dk}$ is constant along the curve. That is,
$\displaystyle x(t)$ $\displaystyle =$ $\displaystyle x_0+\left[\frac{dx}{dt}\right]~t$  
  $\displaystyle =$ $\displaystyle x_0+\left[f(k) + k.\frac{dt}{dk}\right]t$  

Note that the solution is to construct some curve $ e$ so that: (a) $ k_t + c(k) .k_x$ is the total derivative of $ k$ along the curve (ie., directional derivative) and (b) slope of the curve $ \frac{dx}{dt} = c(k)$. We know $ k(x,t)$. Therefore directional derivative $ k(x,t)$ along $ t$
$\displaystyle \frac{dk(x,t)}{dt}$ $\displaystyle =$ $\displaystyle \frac{\partial k}{\partial t} + \frac{dx}{dt}.
\frac{\partial k}{\partial x}$  
  $\displaystyle =$ $\displaystyle \frac{\partial k}{\partial t} + \left[f(k) + k. \frac{df}{dk}\right] \frac{\partial k
}{\partial x}$  
  $\displaystyle =$ 0  
$\displaystyle \mathrm{ie.,} \, \frac{dk}{dt}$ $\displaystyle =$ 0  

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

$\displaystyle x(t) = x_0 + \left[f(k) + k.\frac{df}{dk}\right]t$    

If $ k(x,0) =k_0$ is initial condition
$\displaystyle x(t) = x_0 + \left[f(k_0) + k_0. \frac{df}{dk} \bigg\vert _{k=k_0}\right]t$      

This function is plotted below along with a fundamental q-k diagram.
\includegraphics[width=7cm]{qfMacroQKdiag1.eps}
\includegraphics[width=7cm]{qfMacroQKdiag2.eps}
\includegraphics[width=7cm]{qfMacroQKdiag3.eps}