def evaluate_field_length(vehicle): # --------------------------- # Check field performance # --------------------------- # define takeoff and landing configuration #print ' Defining takeoff and landing configurations' takeoff_config,landing_config = define_field_configs(vehicle) # define airport to be evaluated airport = SUAVE.Attributes.Airports.Airport() airport.altitude = 0.0 * Units.ft airport.delta_isa = 0.0 airport.atmosphere = SUAVE.Attributes.Atmospheres.Earth.US_Standard_1976() # evaluate takeoff / landing #print ' Estimating takeoff performance' TOFL = estimate_take_off_field_length(vehicle,takeoff_config,airport) #print ' Estimating landing performance' LFL = estimate_landing_field_length(vehicle,landing_config,airport) fldlength = Data() fldlength.TOFL = TOFL fldlength.LFL = LFL return fldlength