Exemple #1
0
        /// <summary>
        /// Gets the field limit weight for the aircraft and take off parameters.
        /// </summary>
        public double FieldLimitWeightTon()
        {
            double slopeCorrLength = slopeTable.CorrectedLength(
                para.RwyLengthMeter, para.RwySlopePercent);

            double windCorrLength = windTable.CorrectedLength(
                slopeCorrLength, HeadwindComp(para));

            var limitWtTon = weightTable.FieldLimitWeight(RwyPressureAltFt(),
                                                          windCorrLength,
                                                          para.OatCelsius) +
                             FieldLimitModificationKg() / 1000.0;

            // Correct the weight for TO1/TO2, if applicable.
            if (table.AltnRatingAvail && para.ThrustRating != 0)
            {
                return(ThrustRatingFieldCorrWt(limitWtTon, AltnThrustOption.GetLimitWeight));
            }
            else
            {
                return(limitWtTon);
            }
        }
Exemple #2
0
 public void FieldLimitWeightTest()
 {
     Assert.AreEqual(212.5, table.FieldLimitWeight(1000.0, 2250.0, 15.0), delta);
 }