Estimating traversal time of car on a path

In summary: This would ensure that the car does not decelerate too quickly and exceeds the deceleration limits.In summary, the conversation discusses an algorithm for estimating the time a car takes to travel a C2 continuous path. The algorithm involves using piecewise functions and taking into account factors such as weight transfer and deceleration limits. The output of the algorithm is the estimated time taken for the car to reach the end of the path.
  • #1
fishingspree2
139
0
Hello, I have defined a C2 continuous path using piecewise functions, and I want to estimate the time a car takes to go from the beginning to the end. There are many things left out, such as weight transfer. Here is the "pseudocode" of what I tried:

deltaT is set to 0.1 seconds
input: beginning, end, deltaT

t=0
v=0
a="some acceleration i choose"
position= beginning

while "end of path not reached" do
travelleddistance=[tex]v\Delta t+0.5a\Delta t^{2}[/tex]
position="new position on the path, given the traveled distance"
t=[tex]t+\Delta t[/tex]
[tex]v=\min \left(\sqrt{\frac{curveradius\cdot \mu_{s}\left(mass\cdot g+downforce)}{mass}},v+a\Delta t,\left(\textrm{maxspeed given power of car, bounded by air drag}\right)\right)[/tex]
[tex]a=\min\left ( \sqrt{\textrm{formula derived from tractioncircle}},\frac{Power of car}{v\cdot mass} \right )[/tex]​
end do
output: t

A few questions:
this basic algorithm assumes the car can always decelerates from speed v to the next maximum speed, for any delta T. Any ideas on how to take deceleration limits into account?
 
Engineering news on Phys.org
  • #2
Yes, you can take the deceleration limits into account by introducing an upper limit on the acceleration that is applied. This can be done by making sure that the acceleration used in your equation is within a certain range. For example, if the maximum deceleration of the car is 5 m/s^2, you could set the acceleration used in the equation to be no higher than 5 m/s^2.
 

1. How is the traversal time of a car on a path calculated?

The traversal time of a car on a path is calculated by dividing the distance of the path by the average speed of the car. This will give you the time it takes for the car to travel the entire length of the path.

2. What factors affect the estimation of traversal time?

The estimation of traversal time can be affected by several factors, including the distance of the path, the speed of the car, the terrain and conditions of the path, and any potential obstacles or traffic that may slow down the car.

3. How accurate is the estimation of traversal time for a car on a path?

The accuracy of the estimation of traversal time for a car on a path depends on several factors, including the accuracy of the distance measurement, the assumed or actual average speed of the car, and any potential variations in speed due to factors such as terrain or traffic. It is important to consider all these factors when estimating traversal time.

4. Are there any methods or tools that can assist in estimating traversal time?

Yes, there are various methods and tools that can assist in estimating traversal time of a car on a path. These include using GPS devices for accurate distance measurement, using traffic prediction tools to estimate potential delays, and using vehicle simulation software to calculate estimated traversal time based on various factors.

5. How can the estimation of traversal time be used in practical applications?

The estimation of traversal time for a car on a path can be used in various practical applications, such as route planning for efficient travel, estimating delivery or transportation times, and predicting arrival times for time-sensitive tasks or events.

Similar threads

  • Mechanical Engineering
Replies
19
Views
1K
  • General Math
Replies
2
Views
2K
  • Introductory Physics Homework Help
Replies
6
Views
225
  • Calculus and Beyond Homework Help
Replies
8
Views
221
  • Introductory Physics Homework Help
Replies
10
Views
260
  • Advanced Physics Homework Help
Replies
5
Views
2K
  • Special and General Relativity
Replies
29
Views
1K
  • Differential Equations
Replies
1
Views
766
  • Advanced Physics Homework Help
Replies
2
Views
1K
Back
Top