예제 #1
0
aircraft.propulsion.bli_effect = 1  #init.boundary_layer_effect()
aircraft.power_elec_chain.overall_efficiency = 0.90  # 0.90 from init.e_chain_efficiency()

# Solve the geometric coupling between airframe and engines
#------------------------------------------------------------------------------------------------------
run.aircraft_pre_design(aircraft)

# Estimate all mass and CGs
#------------------------------------------------------------------------------------------------------
run.mass_mission_adaptation(aircraft)
#run.mass_estimation(aircraft)

# Calculate all airplane performances
#------------------------------------------------------------------------------------------------------
run.performance_analysis(aircraft)

# Print relevant output
#------------------------------------------------------------------------------------------------------
altp = unit.m_ft(35000)
disa = 0
pamb, tamb, tstd, dtodz = earth.atmosphere(altp, disa)
(MTO, MCN, MCL, MCR, FID) = aircraft.propulsion.rating_code
nei = 0
Fn, Data = propu.thrust(aircraft, pamb, tamb, cruise_mach, MTO, nei)
vsnd = earth.sound_speed(tamb)
tas = vsnd * cruise_mach
print("")
print("True air speed in cruise", "%.1f" % tas, " m/s")
print("Totalthrust in cruise", "%.0f" % Fn, " N")
예제 #2
0
#------------------------------------------------------------------------------------------------------
perform.aircraft_pre_design(aircraft)

print("-------------------------------------------")
print("Pre design : done")

#------------------------------------------------------------------------------------------------------
#perform.mass_estimation(aircraft)
perform.mass_mission_adaptation(aircraft)

print("-------------------------------------------")
print("Mass & CG estimation : done")

#------------------------------------------------------------------------------------------------------
perform.performance_analysis(aircraft)

print("-------------------------------------------")
print("Nominal mission & Performance analysis : done")

#------------------------------------------------------------------------------------------------------
perform.payload_range_analysis(aircraft)

print("-------------------------------------------")
print("Payload-Range analysis : done")

#------------------------------------------------------------------------------------------------------
perform.handling_qualities_analysis(aircraft)

print("-------------------------------------------")
print("Handling qualities analysis : done")