rec.autos.simulators

Math: Calculate force from fuel throughput

Patrick Roeme

Math: Calculate force from fuel throughput

by Patrick Roeme » Sun, 12 Sep 2004 02:36:34

Hi,

I hope this is the right newsgroup for this question, otherwise please
direct me to the correct one. My math and my knowledge of car mechanics
range from rusty to inexistent, I hope you can still bear with me.

Having said that: I am trying to set up a very simplicistic car
simulation. My first step looks basically like this:

// time frame in s, applied thrust in N
public void step(double time,double thrust) {
  double force=thrust-getResistance(); // rolling and air resistance
  double acceleration=force/weight;
  velocity+=acceleration*time;
  position+=velocity*time;

That seems to work. Now I would like to specify the amount of fuel burnt
in the given time frame instead of applied thrust. (I assume that I get
the whole fuel energy without any loss for the moment.) But I have
problems figuring out how to calculate the resulting thrust force from
the fuel energy.

I think I need the distance traveled in this time frame, however, this
value is not available at the moment I'm calculating thrust. Am I
totally on the wrong track? Could somebody please enlighten me or point
me to a decent web page on this topic?

Regards,
Patrick

Haqsa

Math: Calculate force from fuel throughput

by Haqsa » Sun, 12 Sep 2004 07:18:15

As long as you don't mind using simplistic calculations you could use brake
specific fuel consumption to convert from fuel burned to power, and then
divide the power by the velocity to get thrust.  Any way you slice it up
though you are going to need to refer to either a length or a velocity to
get from thrust to fuel use, due to the dimensionality of the problem.  If
you don't have velocity or distance yet then perhaps you can extrapolate
them from the previous step, and then use a predictor-corrector method to
refine the calculation.


Dav

Math: Calculate force from fuel throughput

by Dav » Sun, 12 Sep 2004 07:46:20

You can't go exactly from rate of fuel consumed (g/s or kW or
similar) to thrust, but you can go from fuel to power if you know
the efficiency of the engine.  Efficiency (or brake specific fuel
consumption) is often plotted as a fcn of torque and rpm, but you
can start with a number like 30% if you wish (varies from about
20-35 or 40% depending on load, rpm, engine technology).

Anyway, in power units:
fuel consumed (power)*efficiency = engine power = torque (engine)*
rpm
torque (wheel) = gear ratio * torque (engine) * drivetrain
efficiency
road force = torque(wheel)*wheel efficiency/radius

Patrick Roeme

Math: Calculate force from fuel throughput

by Patrick Roeme » Sun, 12 Sep 2004 10:33:20


> As long as you don't mind using simplistic calculations you could use brake
> specific fuel consumption to convert from fuel burned to power, and then
> divide the power by the velocity to get thrust.

I don't mind simplicity at all, quite the contrary. But my initial
velocity is zero. How do I get the car started?

Regards,
Patrick

Patrick Roeme

Math: Calculate force from fuel throughput

by Patrick Roeme » Sun, 12 Sep 2004 10:51:04


> You can't go exactly from rate of fuel consumed (g/s or kW or
> similar) to thrust, but you can go from fuel to power if you know
> the efficiency of the engine.

I'd like to assume an efficiency of 1.0 for the sake of simplicity. How
do I calculate the force resulting from expending a certain amount of
fuel within a given time frame?

Regards,
Patrick

Dav

Math: Calculate force from fuel throughput

by Dav » Sun, 12 Sep 2004 12:17:46


>I don't mind simplicity at all, quite the contrary. But my initial
>velocity is zero. How do I get the car started?

That's where the power model (force = power/velocity) breaks down.
Gotta use the dynamical approach (force = torque/radius).  The
power at launch is actually quite low.  Well, essentially nil
right at the wheel, but probably a fair chunk going to heat!
Patrick Roeme

Math: Calculate force from fuel throughput

by Patrick Roeme » Sun, 12 Sep 2004 20:16:16


>>I don't mind simplicity at all, quite the contrary. But my initial
>>velocity is zero. How do I get the car started?

> That's where the power model (force = power/velocity) breaks down.
> Gotta use the dynamical approach (force = torque/radius).  The
> power at launch is actually quite low.  Well, essentially nil
> right at the wheel, but probably a fair chunk going to heat!

Thanks. I'll have a closer look at the torque model then.

Best regards,
Patrick

Keith Arche

Math: Calculate force from fuel throughput

by Keith Arche » Sun, 12 Sep 2004 20:31:04

Sorry guys,

I ready every post and reply, and tried to follow what was happening, but
got a nose bleeed from the mental extertion.

Hope you find a simple solution - but I'd hate to see the complex version!

Keith


Haqsa

Math: Calculate force from fuel throughput

by Haqsa » Mon, 13 Sep 2004 07:43:51

He can combine both approaches.  Use throttle position and rpm to come up
with fuel usage.  Convert to power using some sort of BSFC curve.  From
there, torque = power/rpm.  Etc.




> That's where the power model (force = power/velocity) breaks down.
> Gotta use the dynamical approach (force = torque/radius).  The
> power at launch is actually quite low.  Well, essentially nil
> right at the wheel, but probably a fair chunk going to heat!

Jason C. Well

Math: Calculate force from fuel throughput

by Jason C. Well » Mon, 13 Sep 2004 15:56:10


> I'd like to assume an efficiency of 1.0 for the sake of simplicity. How
> do I calculate the force resulting from expending a certain amount of
> fuel within a given time frame?

To do what you ask in your question, you _must_ include efficiency.
Engine power is proportional to stored energy in the fuel times the
efficiency of the engine in converting that chemical energy into
mechanical energy times the rate at which fuel is consumed.  Power is
proportional to torque times speed.  Torque is the number you need to
determine thrust at the contact patch.  If you want to convert from fuel
rate to thrust, you will need to crunch the numbers in the equations to
determine a simple factor such that Thrust=FuelRate * Factor.

I believe the theoretically perfect thermodynamic engine operating
between peak cumbustion temperature and ambient temperature is capable
of about 20% efficiency.  Real engines are less efficient than that.

Later,
Jason C. Wells

Patrick Roeme

Math: Calculate force from fuel throughput

by Patrick Roeme » Mon, 13 Sep 2004 21:50:17


> To do what you ask in your question, you _must_ include efficiency.
> Engine power is proportional to stored energy in the fuel times the
> efficiency of the engine in converting that chemical energy into
> mechanical energy times the rate at which fuel is consumed.

That's only a constant factor AFAICS? So I can assume that engine power
is about 44MJ * fuel throughput in kg per time frame * 0.2 for 'perfect'
efficiency?

Regards,
Patrick

Dav

Math: Calculate force from fuel throughput

by Dav » Mon, 13 Sep 2004 23:16:55


Nah, gasoline ICE's peak efficiencies are in the 35% range.  
That's usually at mid rpm and high (but not full) throttle.  
Overall average efficiency over a typical drive cycle
(city/highway) is about 20-25%.  That's defined as engine net
crank power over fuel energy (lower heating value).  Diesels peak
out at about 40%, sometimes a couple of points higher.  And I
believe they don't drop off as much as gasoline engines do at
lower throttle settings.

Dav

Math: Calculate force from fuel throughput

by Dav » Mon, 13 Sep 2004 23:24:20


>That's only a constant factor AFAICS? So I can assume that engine power
>is about 44MJ * fuel throughput in kg per time frame * 0.2 for 'perfect'
>efficiency?

See my previous.  35% near peak, 20-25% typical.  But again, what
are you trying to do??
Jason C. Well

Math: Calculate force from fuel throughput

by Jason C. Well » Tue, 14 Sep 2004 01:20:40


> Nah, gasoline ICE's peak efficiencies are in the 35% range.  
> That's usually at mid rpm and high (but not full) throttle.  
> Overall average efficiency over a typical drive cycle
> (city/highway) is about 20-25%.  That's defined as engine net
> crank power over fuel energy (lower heating value).  Diesels peak
> out at about 40%, sometimes a couple of points higher.  And I
> believe they don't drop off as much as gasoline engines do at
> lower throttle settings.

Going back to my books, I see that you are correct, if not a little low.
  A 10:1 compression engine running at fuel/air lamba of 1.0 and a
specific fuel is about %47 efficient.  The Otto cycle effiency is around
60% for 10:1.  My big thick books are a bit dusty.

Real would be less, which means you are closer than I am.  Patrick, use
  Dave's number.

Later,
Jason C. Wells

Patrick Roeme

Math: Calculate force from fuel throughput

by Patrick Roeme » Tue, 14 Sep 2004 03:50:18


> See my previous.  35% near peak, 20-25% typical.  But again, what
> are you trying to do??

Nothing serious in fact, just being curious. I just wanted to try to get
a car moving the simplest way possible and then see where that leads me.

Regards,
Patrick


rec.autos.simulators is a usenet newsgroup formed in December, 1993. As this group was always unmoderated there may be some spam or off topic articles included. Some links do point back to racesimcentral.net as we could not validate the original address. Please report any pages that you believe warrant deletion from this archive (include the link in your email). RaceSimCentral.net is in no way responsible and does not endorse any of the content herein.