Exemple #1
0
def aircraft_initialization(aircraft, n_pax_ref, design_range, cruise_mach,
                            propu_config, n_engine):
    aircraft_initialize(aircraft, n_pax_ref, design_range, cruise_mach,
                        propu_config, n_engine)
Exemple #2
0
from marilib.aircraft_model.airplane import viewer as show

#======================================================================================================
# Initialization
#======================================================================================================
propulsive_architecture = 2  # 1:turbofan, 2:partial turboelectric
number_of_engine = 2

aircraft = Aircraft(propulsive_architecture)

n_pax_ref = 150
design_range = unit.m_NM(3000)
cruise_mach = 0.78

#------------------------------------------------------------------------------------------------------
run.aircraft_initialize(aircraft, n_pax_ref, design_range, cruise_mach,
                        propulsive_architecture, number_of_engine)

#======================================================================================================
# Modify initial values here
#======================================================================================================

aircraft.turbofan_engine.reference_thrust = 118482.
aircraft.wing.area = 152.9

e_power = 1.0e6  # Watts, electric motor power

aircraft.power_elec_chain.mto = e_power
aircraft.power_elec_chain.mcn = e_power
aircraft.power_elec_chain.mcl = e_power
aircraft.power_elec_chain.mcr = e_power