1
0
Fork 0

Correct max ZFW to 61,000 kg

This commit is contained in:
Matthew Maring 2020-06-26 17:35:48 -04:00
parent 46ab42be56
commit 61d2d171fd
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ var fuelPredInput = func(key, i) {
setprop("/FMGC/internal/cost-index", getprop("/FMGC/internal/last-cost-index"));
}
var zfw_min = 80.6; #make based on performance
var zfw_max = 137.8; #make based on performance
var zfw_max = 134.5; #61,000 kg, make based on performance
if (size(scratchpad) == 0) {
var zfw = getprop("/fdm/jsbsim/inertia/weight-lbs") - getprop("/consumables/fuel/total-fuel-lbs");
setprop("/FMGC/internal/zfw", sprintf("%3.1f", math.round(zfw / 1000, 0.1)));

View file

@ -154,7 +154,7 @@ var initInputB = func(key, i) {
setprop("/FMGC/internal/cost-index", getprop("/FMGC/internal/last-cost-index"));
}
var zfw_min = 80.6; #make based on performance
var zfw_max = 137.8; #make based on performance
var zfw_max = 134.5; #61,000 kg, make based on performance
if (size(scratchpad) == 0) {
var zfw = getprop("/fdm/jsbsim/inertia/weight-lbs") - getprop("/consumables/fuel/total-fuel-lbs");
setprop("/FMGC/internal/zfw", sprintf("%3.1f", math.round(zfw / 1000, 0.1)));