MHB Analysis of Shock Formation from Traffic Light Red Signal

Click For Summary
The discussion centers on modeling traffic density changes when a traffic light turns red, using a wave motion equation. The initial conditions specify a uniform density $\rho_0$ for $x<0$ and $x>0$, with a maximum density $\rho_{\text{max}}$ at $x=0$. The method of characteristics is applied to derive expressions for shock speeds, indicating that two shocks emerge from the origin. There is some confusion regarding the validity of the model at different time intervals, particularly concerning boundary conditions at \(t=0\) and \(t<0\). The conversation highlights the need for clarity in setting appropriate boundary conditions for the problem.
Dustinsfl
Messages
2,217
Reaction score
5
Suppose traffic is moving uniformly with a constant density $\rho_0$ when a traffic light turns red.
At time $t = 0^+$, the initial density profile is then modeled according to the figure below.
The resulting wave motion of the disturbance is governed by
$$
\frac{\partial\rho}{\partial t} + c(\rho)\frac{\partial\rho}{\partial x} = 0
$$
where
$$
c(\rho) = u_{\text{max}}\left(1 - \frac{2\rho}{\rho_{\text{max}}}\right)
$$Argue that two shocks emanate from the origin and obtain expressions for the shock speed.

From method of characteristics, we have $t=r$ and $x=tu_{\text{max}}\left(1-\frac{2\rho}{\rho_{\text{max}}}\right)+x_0$.

I don't know what to do now.
 
Physics news on Phys.org
dwsmith said:
Suppose traffic is moving uniformly with a constant density $\rho_0$ when a traffic light turns red.
At time $t = 0^+$, the initial density profile is then modeled according to the figure below.
The resulting wave motion of the disturbance is governed by
$$
\frac{\partial\rho}{\partial t} + c(\rho)\frac{\partial\rho}{\partial x} = 0
$$
where
$$
c(\rho) = u_{\text{max}}\left(1 - \frac{2\rho}{\rho_{\text{max}}}\right)
$$Argue that two shocks emanate from the origin and obtain expressions for the shock speed.

From method of characteristics, we have $t=r$ and $x=tu_{\text{max}}\left(1-\frac{2\rho}{\rho_{\text{max}}}\right)+x_0$.

I don't know what to do now.

I forgot to add that when $x<0$ and $x>0$ the density is $\rho_0$.
When $x=0$, the density is $\rho_{\text{max}}$.
 
View attachment 341

How can I convert this into boundary conditions.

I know that we must have $\rho_0$ for $x<0$ and $x>0$.

As before, we have that $t = r$.
So $\frac{d\rho}{dt} = 0\Rightarrow \rho = c$.
When $t = 0$ and $x = x_0$, we have $\rho(x_0,0) = c$.
Thus,
$$
\rho = \rho(x_0,0).
$$
Now, we have the ODE
$$
\frac{dx}{dt} = u_{\text{max}}\left(1 - \frac{2\rho(x_0,0)}{\rho_{\text{max}}}\right) \Rightarrow x = u_{\text{max}}\left(1 - \frac{2\rho(x_0,0)}{\rho_{\text{max}}}\right)t + x_0.
$$
 
dwsmith said:
Suppose traffic is moving uniformly with a constant density $\rho_0$ when a traffic light turns red.
At time $t = 0^+$, the initial density profile is then modeled according to the figure below.
The resulting wave motion of the disturbance is governed by
$$
\frac{\partial\rho}{\partial t} + c(\rho)\frac{\partial\rho}{\partial x} = 0
$$
where
$$
c(\rho) = u_{\text{max}}\left(1 - \frac{2\rho}{\rho_{\text{max}}}\right)
$$Argue that two shocks emanate from the origin and obtain expressions for the shock speed.

From method of characteristics, we have $t=r$ and $x=tu_{\text{max}}\left(1-\frac{2\rho}{\rho_{\text{max}}}\right)+x_0$.

I don't know what to do now.

dwsmith said:
I forgot to add that when $x<0$ and $x>0$ the density is $\rho_0$.
When $x=0$, the density is $\rho_{\text{max}}$.

Hi dwsmith, :)

What I don't understand in this problem is that in your first post you have mentioned that this model is valid only for \(t=0^+\) which I assume is, \(t>0\). Then in your second post the boundary conditions are given for \(t<0\) and \(t=0\). Am I missing something here?

Kind Regards,
Sudharaka.
 
Sudharaka said:
Hi dwsmith, :)

What I don't understand in this problem is that in your first post you have mentioned that this model is valid only for \(t=0^+\) which I assume is, \(t>0\). Then in your second post the boundary conditions are given for \(t<0\) and \(t=0\). Am I missing something here?

Kind Regards,
Sudharaka.

Post 3 has the picture. Click and you will see the information.
 

Similar threads

Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
1K
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K