print("Nominal mission fuel = ", "%.1f" % (aircraft.nominal_mission.block_fuel), " kg") print("") print("Take off field length required = ", "%.1f" % aircraft.low_speed.req_tofl, " m") print("Take off field length effective = ", "%.1f" % aircraft.low_speed.eff_tofl, " m") print("") print("Approach speed required = ", "%.1f" % unit.kt_mps(aircraft.low_speed.req_app_speed), " kt") print("Approach speed effective = ", "%.1f" % unit.kt_mps(aircraft.low_speed.eff_app_speed), " kt") print("") print("Vertical speed required = ", "%.1f" % unit.ftpmin_mps(aircraft.high_speed.req_vz_climb), " ft/min") print("Vertical speed effective = ", "%.1f" % unit.ftpmin_mps(aircraft.high_speed.eff_vz_climb), " ft/min") print("") print("Time to climb required = ", "%.1f" % unit.min_s(aircraft.high_speed.req_ttc), " min") print("Time to climb effective = ", "%.1f" % unit.min_s(aircraft.high_speed.eff_ttc), " min") print("") print("Cash Operating Cost = ", "%.1f" % aircraft.economics.cash_operating_cost, " $/trip") print("Carbon dioxid emission = ", "%.1f" % (aircraft.cost_mission.block_CO2), " kg/trip") print("Fuel efficiency metric = ", "%.4f" % (aircraft.environmental_impact.CO2_metric * 1e7),
perform.handling_qualities_analysis(aircraft) print("-------------------------------------------") print("Handling qualities analysis : done") print("") print("Rayon d'action demandé = ","%.0f"%unit.NM_m(aircraft.design_driver.design_range)," NM") print(" . . . . . . . effectif = ","%.0f"%unit.NM_m(aircraft.nominal_mission.range)," NM") print("") print("Longueur de piste au décollage demandée = "+"%.0f"%aircraft.low_speed.req_tofl+" m") print(" . . . . . . . . . . . . . . . effective = "+"%.0f"%aircraft.low_speed.eff_tofl+" m") print("") print("Vitesse d'approche demandée = "+"%.1f"%unit.kt_mps(aircraft.low_speed.req_app_speed)+" kt") print(" . . . . . . . . . effective = "+"%.1f"%unit.kt_mps(aircraft.low_speed.eff_app_speed)+" kt") print("") print("Vitesse de monté demandé = "+"%.1f"%unit.ftpmin_mps(aircraft.high_speed.req_vz_climb)+" ft/min") print(" . . . . . . . . effective = "+"%.1f"%unit.ftpmin_mps(aircraft.high_speed.eff_vz_climb)+" ft/min") print("") print("Temps de monté demandé = "+"%.1f"%unit.min_s(aircraft.high_speed.req_ttc)+" min") print(" . . . . . . . effectif = "+"%.1f"%unit.min_s(aircraft.high_speed.eff_ttc)+" min") print("") print("Coût d'un voyage = "+"%.0f"%aircraft.economics.direct_operating_cost+" $") # airplane 3D view #------------------------------------------------------------------------------------------------------ print("-------------------------------------------") print("3 view drawing : launched") show.draw_3d_view(aircraft,"sequence packaged","This plane")
toc = ac.design_driver.top_of_climb_altp oei_ceil_req = ac.low_speed.req_oei_altp vz_clb, vz_crz, oei_path, oei_mach = perfo.ceilings(ac, toc, oei_ceil_req) ac.high_speed.eff_vz_climb = vz_clb ac.high_speed.eff_vz_cruise = vz_crz ac.low_speed.eff_oei_path = oei_path ac.low_speed.eff_oei_mach = oei_mach delta_vz_clb = ac.high_speed.req_vz_climb - vz_clb delta_vz_crz = ac.high_speed.req_vz_cruise - vz_crz delta_oei_path = ac.low_speed.req_oei_path - oei_path print('') print('Constraint : delta_vz_clb = ', "%.2f" % unit.ftpmin_mps(delta_vz_clb), 'ft/min, (=< 0 ?)') print('Constraint : delta_vz_crz = ', "%.2f" % unit.ftpmin_mps(delta_vz_crz), 'ft/min, (=< 0 ?)') print('Constraint : delta_oei_path = ', "%.2f" % (delta_oei_path * 100), '%, (=< 0 ?)') # Time to climb to requested altitude #------------------------------------------------------------------------------------------------------ toc = ac.high_speed.req_toc_altp disa = 0 mass = ac.weights.mtow vcas1 = ac.high_speed.cas1_ttc vcas2 = ac.high_speed.cas2_ttc mach = ac.design_driver.cruise_mach
print("Engine effective reference thrust = ","%.1f"%(aircraft.propulsion.reference_thrust_effective/10)," daN") print("Wing area = ","%.1f"%aircraft.wing.area," m2") print("") print("Take off field length required = ","%.1f"%aircraft.low_speed.req_tofl," m") print("Take off field length effective = ","%.1f"%aircraft.low_speed.eff_tofl," m") print("") print("Approach speed required = ","%.1f"%unit.kt_mps(aircraft.low_speed.req_app_speed)," kt") print("Approach speed effective = ","%.1f"%unit.kt_mps(aircraft.low_speed.eff_app_speed)," kt") print("") #""" print("Flight path required OEI = ","%.2f"%(aircraft.low_speed.req_oei_path*100)," %") print("light path effective OEI = ","%.2f"%(aircraft.low_speed.eff_oei_path*100)," %") print("") print("Vertical speed required with MCL rating = ","%.1f"%unit.ftpmin_mps(aircraft.high_speed.req_vz_climb)," ft/min") print("Vertical speed effective with MCL rating = ","%.1f"%unit.ftpmin_mps(aircraft.high_speed.eff_vz_climb)," ft/min") print("") print("Vertical speed required with MCR rating = ","%.1f"%unit.ftpmin_mps(aircraft.high_speed.req_vz_cruise)," ft/min") print("Vertical speed effective with MCR rating = ","%.1f"%unit.ftpmin_mps(aircraft.high_speed.eff_vz_cruise)," ft/min") print("") print("Time to climb required = ","%.1f"%unit.min_s(aircraft.high_speed.req_ttc)," min") print("Time to climb effective = ","%.1f"%unit.min_s(aircraft.high_speed.eff_ttc)," min") # """ print("") print("--------------------------------------------------------------") print("MTOW = ","%.0f"%aircraft.weights.mtow," kg") print("Cost mission fuel = ","%.1f"%aircraft.cost_mission.block_fuel," kg") print("Cash Operating Cost = ","%.1f"%aircraft.economics.cash_operating_cost," $/trip")