Modelling Acceleration to Constant Velocity

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
Timeforheroes0
Messages
11
Reaction score
0
Hi there,

I'm trying to create a computer model which takes into account output power in a car due to acceleration, drag and rolling resistance. The car will be accelerating for a set amount of time and I am able to model the power required for this with respect to time, as well as the power required for the rolling resistance and drag as it is accelerating.
However, after it reaches a certain velocity, its velocity will remain constant (the acceleration power will drop to zero and the drag and rolling resistance will then be constant). Is there anyway of fitting all of this into one formula for programming purposes so that when it reaches a certain velocity it will then remain constant?

Thanks for any help.
 
on Phys.org
Not very precisely at all. Just using basic equation of motions at a constant acceleration. I'm at a very basic level of the model so far and my brain isn't really working today. Basically, I'm trying to find a way to model the power output with respect to time incorporating both the accelerating and constant velocity sections using one equation. Will I need to use a differential equation?
 
I suppose I could do that. It's just I'm running it in MATLAB in respect to time (using a loop). So say I want to graph the output velocity at the end, it would be handy to have something that would give me a constant velocity after a certain number of iterations of the loop..
 
Well, use a play formula like the following then:
[tex]v(t)=v_{final}(1-e^{-kt})[/tex]
where "k" is a constant>0 modelling the effects of drag&resistance.
 
  • Like
Likes   Reactions: 1 person
Looks good, will give that a go. Thank you..
 
Note that this equation is, basically, the solution of the following differential equation:
[tex]\frac{dv}{dt}=F/m-kv[/tex]
where F/m is applied force per unit mass (considered for simplicity as a constant), and -kv a force per unit mass resistance term acting oppositely to the velocity.
We then have the relation:
v_final=F/(m*k)
 
  • Like
Likes   Reactions: 1 person