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:
parent
82ec72da84
commit
620832274a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue