From 4a2f192fb174194d5505fe4f23576e28b7486b71 Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 9 Apr 2002 04:55:16 +0000 Subject: [PATCH] Change the idle MP to reduce idle power a bit. This is basically a hack, and should be replaced with a sane idle model that has some physical justification. --- src/FDM/YASim/PistonEngine.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/FDM/YASim/PistonEngine.cpp b/src/FDM/YASim/PistonEngine.cpp index 360c04a3f..9725f1f44 100644 --- a/src/FDM/YASim/PistonEngine.cpp +++ b/src/FDM/YASim/PistonEngine.cpp @@ -138,11 +138,12 @@ void PistonEngine::calc(float pressure, float temp, float speed) // turbocharging and reduced by the throttle setting. According // to Dave Luff, minimum throttle at sea level corresponds to 6" // manifold pressure. Assume that this means that minimum MP is - // always 20% of ambient pressure. But we need to produce _zero_ + // always 20% of ambient pressure. (But that's too much idle + // power, so use 10% instead!) But we need to produce _zero_ // thrust at that setting, so hold onto the "output" value // separately. Ick. _mp = pressure * (1 + _boost*(_turbo-1)); // turbocharger - float mp = _mp * (0.2 + 0.8 * _throttle); // throttle + float mp = _mp * (0.1 + 0.9 * _throttle); // throttle _mp *= _throttle; if(mp > _maxMP) mp = _maxMP; // wastegate -- 2.39.5