1
0
Fork 0

Fix excessive power for the 172

see:
6bab47bfd0
This commit is contained in:
Torsten Dreyer 2017-02-22 16:50:10 +01:00
parent c67041954a
commit d6931923f9
2 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@ var autostart = func (msg=1) {
# removing any ice from the carburetor
setprop("/engines/active-engine/carb_ice", 0.0);
setprop("/engines/active-engine/carb_icing_rate", 0.0);
setprop("/engines/active-engine/volumetric-efficiency-factor", 1.0);
setprop("/engines/active-engine/volumetric-efficiency-factor", 0.85);
# Checking for minimal fuel level
var fuel_level_left = getprop("/consumables/fuel/tank[0]/level-norm");

View file

@ -180,7 +180,7 @@ var carb_icing_function = maketimer(1.0, func {
carb_ice = std.max(0.0, std.min(carb_ice, 1.0));
# this property is used to lower the RPM of the engine as ice accumulates (more ice in the carburator == less power)
var vol_eff_factor = 1.0 - 2.218 * carb_ice;
var vol_eff_factor = std.max(0.0, 0.85 - 1.72 * carb_ice);
setprop("/engines/active-engine/carb_ice", carb_ice);
setprop("/engines/active-engine/carb_icing_rate", carb_icing_rate);
@ -191,7 +191,7 @@ var carb_icing_function = maketimer(1.0, func {
else {
setprop("/engines/active-engine/carb_ice", 0.0);
setprop("/engines/active-engine/carb_icing_rate", 0.0);
setprop("/engines/active-engine/volumetric-efficiency-factor", 1.0);
setprop("/engines/active-engine/volumetric-efficiency-factor", 0.85);
setprop("/engines/active-engine/oil_temp_factor", 0.0);
};
});