MHB Characteristics and Initial Density Distribution in Traffic Flow Wave Equation

Click For Summary
The discussion focuses on deriving the initial density distribution in a traffic flow wave equation, given a constant net flow of cars, represented by the equation involving density, speed, and time. The participants explore the integration of the governing equations to show that the density varies linearly with time and is influenced by the initial conditions. A key point is the substitution of density into the characteristic equations to derive the relationship between density and position over time. Additionally, there is a query about visualizing the results using Mathematica, leading to the conclusion that the graph of the relationship between position and time is parabolic. The conversation emphasizes the mathematical relationships governing traffic flow dynamics.
Dustinsfl
Messages
2,217
Reaction score
5
Suppose that along a stretch of highway the net flow of cars entering (per unit length) can be taken as a constant $\beta_0$.
The governing equation of motion is then
$$
\frac{\partial\rho}{\partial t} + c(\rho)\frac{\partial\rho}{\partial x} = \beta_0
$$
where
$$
c(\rho) = u_{\text{max}}\left(1 - \frac{2\rho}{\rho_{\text{max}}}\right).
$$
Show that the variation of the initial density distribution is given by
$$
\rho = \beta_0t + \rho(x_0,0)
$$
along a characteristic emanating from $x = x_0$ described by
$$
x = x_0 + u_{\text{max}}\left(1 - \frac{2\rho(x_0,0)}{\rho_{\text{max}}}\right)t - \beta_0\frac{u_{\text{max}}}{\rho_{\text{max}}}t.
$$

What I have done so far is:
$\frac{dt}{dr} = 1\Rightarrow t = r + c$ but when $t = 0$, we have $t = r$.

$\frac{dx}{dr} = c(\rho)\Rightarrow x = tu_{\text{max}}\left(1-\frac{2\rho}{\rho_{\text{max}}}\right)+c$ but when $t=0$, we have
$$
x = tu_{\text{max}}\left(1-\frac{2\rho}{\rho_{\text{max}}}\right) + x_0.
$$

$\frac{d\rho}{dr} = \beta_0\Rightarrow \rho = t\beta_0 + c$

How do I get to
$$
\rho(x,t) = t\beta_0 +\rho(x_0,0)
$$
and their characteristic?
 
Physics news on Phys.org
Hi dwsmith, :)

dwsmith said:
$\frac{d\rho}{dr} = \beta_0\Rightarrow \rho = t\beta_0 + c$

How do I get to
$$
\rho(x,t) = t\beta_0 +\rho(x_0,0)
$$
and their characteristic?

\[\rho = t\beta_0 + c\]

When, \(t=0\) we have, \(\rho(x=x_{0},t=0)=\rho(x_{0},0)\). Therefore,

\[\rho=t\beta_{0}+\rho(x_{0},0)\]

dwsmith said:
$\frac{dx}{dr} = c(\rho)\Rightarrow x = tu_{\text{max}}\left(1-\frac{2\rho}{\rho_{\text{max}}}\right)+c$ but when $t=0$, we have
$$
x = tu_{\text{max}}\left(1-\frac{2\rho}{\rho_{\text{max}}}\right) + x_0.
$$

This is incorrect. Note that \(\rho\) depends on \(t\) but you have considered it as a constant when integrating. The correct method is to substitute for \(\rho\) first so as to obtain,

\[\frac{dx}{dr}=\frac{dx}{dt}=c(\rho)=u_{\text{max}}\left(1 - \frac{2\rho}{\rho_{\text{max}}}\right)\]

\[\Rightarrow \frac{dx}{dt}=u_{\text{max}}\left(1 - \frac{2\rho(x_{0},0)}{\rho_{\text{max}}}\right)-\frac{2\beta_{0}u_{\text{max}}t}{\rho_{\text{max}}}\]

Integration gives,

\[x=x_{0}+u_{\text{max}}\left(1 - \frac{2\rho(x_{0},0)}{\rho_{\text{max}}}\right)t-\frac{\beta_{0}u_{\text{max}}t^{\color{red}2}}{ \rho_{\text{max}}}\]

Kind Regards,
Sudharaka.
 
Sudharaka said:
\[\Rightarrow \frac{dx}{dt}=u_{\text{max}}\left(1 - \frac{2\rho(x_{0},0)}{\rho_{\text{max}}}\right)-\frac{2\beta_{0}u_{\text{max}}t}{\rho_{\text{max}}}\]

Where did this piece come from?

$$\frac{2\beta_{0}u_{\text{max}}t}{\rho_{\text{max}}}$$
 
dwsmith said:
Where did this piece come from?

$$\frac{2\beta_{0}u_{\text{max}}t}{\rho_{\text{max}}}$$

Substitute \(\rho=t\beta_{0}+\rho(x_{0},0)\) for \(\rho\) in \(\frac{dx}{dt}=c(\rho)=u_{\text{max}} \left(1 - \frac{2\rho}{\rho_{\text{max}}}\right)\)
 
Sudharaka said:
Substitute \(\rho=t\beta_{0}+\rho(x_{0},0)\) for \(\rho\) in \(\frac{dx}{dt}=c(\rho)=u_{\text{max}} \left(1 - \frac{2\rho}{\rho_{\text{max}}}\right)\)

How can I use Mathematica to sketch the space time diagram?
 
dwsmith said:
How can I use Mathematica to sketch the space time diagram?

I have never used Mathematica so I won't be able to answer your question. By space-time diagram do you mean the graph between \(x\) and \(t\) ?
 
Sudharaka said:
I have never used Mathematica so I won't be able to answer your question. By space-time diagram do you mean the graph between \(x\) and \(t\) ?

Yes
 
dwsmith said:
Yes

In that case it is a parabola. But do you have any specific values for the constants, \(x_{0},\,u_{\text{max}},\,\rho(x_{0},0),\,\rho_{ \text{max}}\mbox{ and }\beta_{0}\) ?
 
Sudharaka said:
In that case it is a parabola. But do you have any specific values for the constants, \(x_{0},\,u_{\text{max}},\,\rho(x_{0},0),\,\rho_{ \text{max}}\mbox{ and }\beta_{0}\) ?
No.
 
  • #10
dwsmith said:
No.

Then it seems problematic as to how you would graph this equation in any mathematical software. What you can only say is that the graph between \(x\) and \(t\) is parabolic.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
1
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
528
  • · Replies 4 ·
Replies
4
Views
4K