Пример #1
0
        /// <summary>
        /// Find the minimum (physical) runway length for the takeoff (meter).
        /// OAT is overriden by the provided parameter.
        /// </summary>
        public double TakeoffDistanceMeter(double oat)
        {
            double corrLength = weightTable.CorrectedLengthRequired(
                RwyPressureAltFt(), oat, EquivalentWeightKg() / 1000.0);

            double slopeCorrLength = windTable.SlopeCorrectedLength(
                HeadwindComp(para), corrLength);

            return(slopeTable.FieldLengthRequired(para.RwySlopePercent, slopeCorrLength));
        }
Пример #2
0
 public void CorrectedLengthRequiredTest()
 {
     Assert.AreEqual(2250.0, table.CorrectedLengthRequired(1000.0, 15.0, 212.5), delta);
 }