Пример #1
0
from MARILib.aircraft_model.operations import handling_qualities as h_q,\
                                              mission as perfo, \
                                              environmental_impact as environ, \
                                              pricing_and_costing as costing

from MARILib.aircraft_model.airplane import regulation as regul, \
    airplane_design as airplane, \
                                            aerodynamics as craft_aero, viewer as show
from MARILib.aircraft_model import initialization as init

from MARILib.processes import solvers as sub_proc

# Initialize aircraft data structure
#------------------------------------------------------------------------------------------------------
ac = Aircraft()

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

propulsive_architecture = init.prop_architecture()
ac.propulsion.architecture = propulsive_architecture

ac.propulsion.fuel_type = init.fuel_type()

n_engine = init.n_engine()

ac.name = "my_test_airplane"
ac.design_driver.design_range = design_range  # TLR
ac.design_driver.cruise_mach = cruise_mach  # TLR
Пример #2
0
This study allows to illustrate the integration of a partial turbo-electric airplane
"""

from MARILib.tools import units as unit
from MARILib.earth import environment as earth
from MARILib.airplane.propulsion import propulsion_models as propu

from MARILib.aircraft_data.aircraft_description import Aircraft

from MARILib.processes import design as run
from MARILib.aircraft_model.airplane import viewer as show

# Initialize aircraft data structure
#------------------------------------------------------------------------------------------------------
aircraft = Aircraft()

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

propulsion_architecture = 3
n_engine = 2

# Initialize all input data
#------------------------------------------------------------------------------------------------------
run.aircraft_initialize(aircraft, n_pax_ref, design_range, cruise_mach,
                        propulsion_architecture, n_engine)

# Possibility to modify initial values
#------------------------------------------------------------------------------------------------------
Пример #3
0
"""

from MARILib.tools import units as unit

from MARILib.aircraft_model.airplane import viewer as show
from MARILib.aircraft_model import initialization as init

from MARILib.aircraft_data.aircraft_description import Aircraft

from MARILib.processes import design as perform

# Initialize aircraft data structure
#------------------------------------------------------------------------------------------------------
architecture = init.prop_architecture()

aircraft = Aircraft(architecture)

design_range = 14800000  #unit.m_NM(8000)
cruise_mach = 0.85
n_pax_ref = 240

propu_config = 1
n_engine = 4

#------------------------------------------------------------------------------------------------------
perform.aircraft_initialize(aircraft, n_pax_ref, design_range, cruise_mach,
                            propu_config, n_engine)

aircraft.wing.attachment = 1

print("-------------------------------------------")