From 620832274aab2b61130f927d462e00eb9b778475 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 7 Mar 2004 01:26:30 +0000 Subject: [PATCH] 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. --- src/FDM/YASim/PistonEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FDM/YASim/PistonEngine.cpp b/src/FDM/YASim/PistonEngine.cpp index edc54025d..8c28d62f0 100644 --- a/src/FDM/YASim/PistonEngine.cpp +++ b/src/FDM/YASim/PistonEngine.cpp @@ -202,7 +202,7 @@ void PistonEngine::calc(float pressure, float temp, float speed) // away as we approach cruise RPMs, though, to prevent interaction // with the power computations. Ugly. 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 // work done by an isentropically expanding exhaust gas as the