예제 #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 SlopeCorrectedLengthTest()
 {
     Assert.AreEqual(2100.0, table.SlopeCorrectedLength(2.5, 2131.25), delta);
 }