On a conceptual level, what's happening in this equation?

  • Thread starter cmkluza
  • Start date
  • Tags
    Conceptual
In summary, the equation shows the relationship between time, space, density of cars, and velocity in a traffic flow model. The integral of the density with respect to distance represents the number of cars within a given segment, while the derivative with respect to time shows the rate of change of density over time. This equation is commonly used to study the accordion effect in traffic, where a small disturbance can cause a chain reaction of braking and congestion.
  • #1
cmkluza
118
1
I'm trying to read up on some traffic flow models and I've encountered the following equation (source [pdf]):

Variables are ##t =## time, ##x =## space variable along road, ##\rho (t, x) =## density of cars, ##v(\rho ) =## velocity, ##Q = \rho \times v##

Following graphic is used to show situation:
upload_2016-2-8_23-10-13.png


If total number of vehicles is conserved:
[tex]\frac{d}{dt} \int^b_a \rho (t, x) dx = Q_a - Q_b[/tex]
[tex]\frac{d}{dt} \int^b_a \rho (t, x) dx = \rho (t,a)v(\rho (t,a)) - \rho (t,b)v(\rho (t,b))[/tex]
What are these equations actually showing, namely the first bit (derivative of integral of density)? I'm a bit confused since I'm not too familiar with the math behind it. Ignoring numbers and math right now, what are the physical interactions described by this? That might not be worded to clearly, so what does the integral of the density with respect to distance show? What, then, does the derivative with respect to time show?

Sorry if this is asking a lot, but any help understanding this will be appreciated!
 
Physics news on Phys.org
  • #2
That looks to me like a mathematical description of the accordion effect in traffic: one person in a line of traffic taps their brakes and before you know it, you have a backwards propagating wave of people slamming on their brakes and barely avoiding rear-ender accidents.
https://en.wikipedia.org/wiki/Accordion_effect
 
  • Like
Likes cmkluza
  • #3
cmkluza said:
What are these equations actually showing, namely the first bit (derivative of integral of density)? I'm a bit confused since I'm not too familiar with the math behind it. Ignoring numbers and math right now, what are the physical interactions described by this? That might not be worded to clearly, so what does the integral of the density with respect to distance show? What, then, does the derivative with respect to time show?
Hi
Well to start with, the density in linear density, example: cars/meter
Q is the flow rate of cars in cars/sec . that easily can be seen from Q = ρ x v, Example : Q = cars/meter x meters/sec ==cars/sec.

Density is some function of time and position.
For any section ab, the integral of the density function yields the value of the density between ab.
The derivative yields the rate of density change per time.

That last part is not worded quite correctly, but maybe you (or someone else) can correct it.

cherios
 
  • Like
Likes cmkluza
  • #4
russ_watters said:
That looks to me like a mathematical description of the accordion effect in traffic: one person in a line of traffic taps their brakes and before you know it, you have a backwards propagating wave of people slamming on their brakes and barely avoiding rear-ender accidents.
https://en.wikipedia.org/wiki/Accordion_effect

Ah, perfect, that's what I'm hoping to develop in my investigation! Thanks for the link, I keep learning new things about traffic flow; it's a much larger subject area than I'd originally thought.

256bits said:
Hi
Well to start with, the density in linear density, example: cars/meter
Q is the flow rate of cars in cars/sec . that easily can be seen from Q = ρ x v, Example : Q = cars/meter x meters/sec ==cars/sec.

Density is some function of time and position.
For any section ab, the integral of the density function yields the value of the density between ab.
The derivative yields the rate of density change per time.

That last part is not worded quite correctly, but maybe you (or someone else) can correct it.

cherios

As far as I know, that last part is worded correctly; at least it's helped me gain a better understanding of this equation. Thanks for your input!
 
  • #5
@russ_watters and @256bits
I hate to bother you guys with too many questions, but could you explain why exactly the change in flux is equivalent to the derivative of the integral of density? I believe I understand what the derivative and integral term is saying for the most part now, it's showing the rate of density change per time, but how does this relate to change in flux? Change in density per time should be
[tex]\frac{\frac{cars}{distance}}{time}[/tex]
while change in flux should just be
[tex]\frac{cars}{time}[/tex]

Do you guys know how/why they are equating the two?

Edit: Is it possible that the initial integral of density yielded only the number of vehicles within the segment over which it was integrated?
 
Last edited:
  • #6
Try drawing it! Get a pen and a piece of paper. Make different scenarios for traffic flow rate, density etc. and see empirically how the equations describe what you are drawing.

All equations ultimately describe systems which you can visualise, so by turning this on its head you can make a visual representation of the traffic flow and gain an intuitive understanding of the equations. There's really nothing abstract about it at all.
 
  • Like
Likes cmkluza
  • #7
cmkluza said:
@russ_watters and @256bitsEdit: Is it possible that the initial integral of density yielded only the number of vehicles within the segment over which it was integrated?
Yes that is what it means. Hence the needed correction I mentioned, which you have now solved.
congrats. Give yourself credit.
 
Last edited:
  • Like
Likes cmkluza
  • #8
cmkluza said:
I'm trying to read up on some traffic flow models and I've encountered the following equation (source [pdf]):

If total number of vehicles is conserved:
[tex]\frac{d}{dt} \int^b_a \rho (t, x) dx = Q_a - Q_b[/tex]
[tex]\frac{d}{dt} \int^b_a \rho (t, x) dx = \rho (t,a)v(\rho (t,a)) - \rho (t,b)v(\rho (t,b))[/tex]

The integral from point A to point B over the density of cars is just the number of cars between these two points.

The time derivative of the number of cars is the difference between the number of cars going in on one side and coming out on the other side.

In all of this the traffic is simulated as a continuous medium. Rather than having a car at one point, then nothing for a few meters, and then another car, there is a continuous density of cars, say 0.1 cars/meter or 1 car per 10 meters. This makes the simulation a lot easier, and it makes no difference to the result if you are only interested in trends of what happens if there are many cars.

The number of cars passing through a point A (Q(x=A, t) is then the density of cars at that point and at the time t when you are looking, rho(x=A,t), times the velocity of cars at that point and time, v(x=A, t).

If somewhere between point A and point B Godzilla was snacking on cars, then the equation would no longer be valid.
 
  • Like
Likes cmkluza and Chestermiller

Question 1: What is the purpose of writing equations in science?

Equations in science are used to represent relationships between different variables or quantities. They help us understand and predict how these variables interact with each other and how they change over time.

Question 2: What is the difference between a concept and an equation in science?

A concept in science is a general idea or principle that explains a phenomenon. An equation, on the other hand, is a specific representation of that concept in mathematical terms. Equations are used to apply concepts to real-world situations and make predictions.

Question 3: How do scientists come up with equations?

Scientists use a combination of empirical evidence, observations, and mathematical principles to develop equations. They may also use existing equations and modify them based on new data or discoveries.

Question 4: Can an equation be used to prove a scientific concept?

No, an equation alone cannot prove a scientific concept. Equations are used to describe and predict relationships between variables, but they must be supported by empirical evidence and experiments to be considered scientifically valid.

Question 5: Are equations used in all fields of science?

Yes, equations are used in all fields of science, from physics and chemistry to biology and geology. They are a fundamental tool for understanding and explaining natural phenomena in a quantitative manner.

Similar threads

Replies
10
Views
668
Replies
2
Views
141
  • Advanced Physics Homework Help
Replies
0
Views
270
Replies
0
Views
669
  • Introductory Physics Homework Help
Replies
11
Views
672
Replies
7
Views
1K
Replies
2
Views
789
  • Special and General Relativity
Replies
7
Views
1K
  • Other Physics Topics
Replies
1
Views
1K
Replies
17
Views
2K
Back
Top