1
0
Fork 0

Increase friction at idle, so that the engine idles more slowly.

The friction factor should be tunable through a runtime parameter;
right now, it is optimized for the PA-28-161.
This commit is contained in:
david 2004-03-07 01:26:30 +00:00
parent 82ec72da84
commit 620832274a

View file

@ -202,7 +202,7 @@ void PistonEngine::calc(float pressure, float temp, float speed)
// away as we approach cruise RPMs, though, to prevent interaction // away as we approach cruise RPMs, though, to prevent interaction
// with the power computations. Ugly. // with the power computations. Ugly.
if(speed > 0 && speed < _omega0) if(speed > 0 && speed < _omega0)
_torque -= 0.05f * (_power0/_omega0) * (1 - speed/_omega0); _torque -= 0.16f * (_power0/_omega0) * (1 - speed/_omega0);
// Now EGT. This one gets a little goofy. We can calculate the // Now EGT. This one gets a little goofy. We can calculate the
// work done by an isentropically expanding exhaust gas as the // work done by an isentropically expanding exhaust gas as the