Example #1
0
      (aircraft.low_speed.req_oei_path * 100) + " %")
print("One engine ceiling path effective = " + "%.1f" %
      (aircraft.low_speed.eff_oei_path * 100) + " %")
print("")
print("Climb speed required in MCL rating = " +
      "%.1f" % unit.ftpmin_mps(aircraft.high_speed.req_vz_climb) + " ft/min")
print("Climb speed effective in MCL rating = " +
      "%.1f" % unit.ftpmin_mps(aircraft.high_speed.eff_vz_climb) + " ft/min")
print("")
print("Climb speed required in MCR rating = " +
      "%.1f" % unit.ftpmin_mps(aircraft.high_speed.req_vz_cruise) + " ft/min")
print("Climb speed effective in 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("Evaluation mission range = ",
      "%.0f" % unit.NM_m(aircraft.cost_mission.range), " NM")
print("Evaluation mission block fuel = ",
      "%.0f" % aircraft.cost_mission.block_fuel, " kg")
print("Evaluation mission cash op cost = ",
      "%.0f" % aircraft.economics.cash_operating_cost, " $")
print("CO2 metric = ",
      "%.4f" % (aircraft.environmental_impact.CO2_metric * 1000),
      " kg/km/m0.48")

# airplane 3D view
#------------------------------------------------------------------------------------------------------
Example #2
0
print("OWE = ","%.2f"%aircraft.weights.owe," kg")
print("MWE = ","%.2f"%aircraft.weights.mwe," kg")
print("-------------------------------------------")
print("Design range = ","%.0f"%unit.NM_m(aircraft.design_driver.design_range)," NM")
print("Effective nominal range = "+"%.0f"%unit.NM_m(aircraft.nominal_mission.range)+" NM")
print("")
print("Take off field length required = "+"%.0f"%aircraft.low_speed.req_tofl+" m")
print("Take off field length effective = "+"%.0f"%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("One engine ceiling path required = "+"%.1f"%(aircraft.low_speed.req_oei_path*100)+" %")
print("One engine ceiling path effective = "+"%.1f"%(aircraft.low_speed.eff_oei_path*100)+" %")
print("")
print("Climb speed required in MCL rating = "+"%.1f"%unit.ftpmin_mps(aircraft.high_speed.req_vz_climb)+" ft/min")
print("Climb speed effective in MCL rating = "+"%.1f"%unit.ftpmin_mps(aircraft.high_speed.eff_vz_climb)+" ft/min")
print("")
print("Climb speed required in MCR rating = "+"%.1f"%unit.ftpmin_mps(aircraft.high_speed.req_vz_cruise)+" ft/min")
print("Climb speed effective in 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")

# airplane 3D view
#------------------------------------------------------------------------------------------------------
print("-------------------------------------------")
print("3 view drawing : launched")

show.draw_3d_view(aircraft,"Design example","This plane")