Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Aircraft Design
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNICADO
Aircraft Design
Commits
94601aa6
Commit
94601aa6
authored
4 months ago
by
AndiGob
Browse files
Options
Downloads
Patches
Plain Diff
landing_gear_design: - delete unnecessary parameter
parent
5bd960cc
No related branches found
No related tags found
5 merge requests
!263
Apply 1 suggestion(s) to 1 file(s)
,
!261
Reintruduced automatic flight condition selection
,
!245
Apply 1 suggestion(s) to 1 file(s)
,
!233
Initial open source version
,
!8
landing_gear_design: - delete unnecessary parameter
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
landing_gear_design/src/wing_mounted/empirical/landing_gear_design_tu_berlin/general/call_functions/_04_estimatelimitations.py
+4
-4
4 additions, 4 deletions
..._berlin/general/call_functions/_04_estimatelimitations.py
with
4 additions
and
4 deletions
landing_gear_design/src/wing_mounted/empirical/landing_gear_design_tu_berlin/general/call_functions/_04_estimatelimitations.py
+
4
−
4
View file @
94601aa6
...
...
@@ -149,9 +149,9 @@ def estimate_limitations(dict_ac_exchange, dict_mod_config, landing_gear_descrip
landing_gear_description
[
'
lever_arms
'
][
'
distance_between_main_gear_and_rearmost_center_of_gravity
'
]
\
=
landing_gear_limitations
[
'
minimum_distance_between_main_landing_gear_and_aft_most_center_of_gravity
'
]
# noPep8 e501
wing_reference_point_key
,
wing_reference_point_value
=
\
_
,
wing_reference_point_value
=
\
next
(
reversed
(
list
(
dict_ac_exchange
[
'
wing_section_position_in_x
'
].
items
())),
(
None
,
None
))
wing_chord_length_key
,
wing_chord_length_value
=
\
_
,
wing_chord_length_value
=
\
next
(
reversed
(
list
(
dict_ac_exchange
[
'
wing_chord_length_on_section
'
].
items
())),
(
None
,
None
))
# Check if the resulting minimum forward main gear position is not within 90 percent of the wing depth
# but retractable is selected -> if true: -> Set main gear positioning flag to False
...
...
@@ -166,7 +166,7 @@ def estimate_limitations(dict_ac_exchange, dict_mod_config, landing_gear_descrip
min_tire_diameter
=
min
([
float
(
value
[
'
min_outside_diameter_in_inch
'
])
for
key
,
value
in
main_gear_tires
.
items
()
if
'
min_outside_diameter_in_inch
'
in
value
])
fuselage_section_width_key
,
fuselage_section_width_value
=
\
_
,
fuselage_section_width_value
=
\
next
(
iter
(
dict_ac_exchange
[
'
fuselage_section_width
'
].
items
()),
(
None
,
None
))
if
dict_ac_exchange
[
'
dihedral_angle_wing
'
]
is
not
None
\
and
dict_ac_exchange
[
'
rear_spar_position_center_wing_box_in_z_direction
'
]
is
not
None
\
...
...
@@ -221,7 +221,7 @@ def estimate_limitations(dict_ac_exchange, dict_mod_config, landing_gear_descrip
max
(
dict_ac_exchange
[
'
fuselage_section_width
'
].
values
())
# nose landing gear strut y-postion
fuselage_reference_point_key
,
fuselage_reference_point_value
=
\
_
,
fuselage_reference_point_value
=
\
next
(
iter
(
dict_ac_exchange
[
'
fuselage_reference_point_in_y_direction
'
].
items
()),
(
None
,
None
))
if
fuselage_reference_point_value
is
not
None
:
if
nose_gear_arrangement
[
'
number_of_nose_gear_struts
'
]
==
1
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment