Skip to content
Snippets Groups Projects
Commit 8306c23b authored by Timeea's avatar Timeea
Browse files

Merge branch 'fix/wb_allow_overshoot_tanks' into 'develop'

mtom = design_mass_takeoff

See merge request !46
parents bc952388 151c2eb5
No related tags found
5 merge requests!263Apply 1 suggestion(s) to 1 file(s),!261Reintruduced automatic flight condition selection,!245Apply 1 suggestion(s) to 1 file(s),!233Initial open source version,!46mtom = design_mass_takeoff
......@@ -175,10 +175,11 @@ def method_basic(paths_and_names, routing_dict, dict_ac_exchange, dict_mod_confi
).print("Design mass takeoff")
# Maximum takeoff mass
maximum_takeoff_mass = copy.copy(design_mass)
maximum_takeoff_mass = copy.copy(design_mass_takeoff)
maximum_takeoff_mass.path_to_element = "./analysis/masses_cg_inertia/maximum_takeoff_mass"
maximum_takeoff_mass.cg_mac = (
design_mass.center_of_gravity['x'] - x_leading_edge_mac) / mac * 100
design_mass_takeoff.center_of_gravity['x'] - x_leading_edge_mac) / mac * 100
maximum_takeoff_mass.print("Maximum takeoff mass")
# Maximum payload + fuel up to MTOW
mtow_max_payload_mass = calculate_mtow_max_payload(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment