Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding landing gear mass models #107

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ngomezve
Copy link
Contributor

This PR introduces new landing gear mass models based on historical correlations. In the future, physics-based models could be included as well. The following changes are made:

  • Two landing gear models are supported: the previous constant mass fractions and a model based on historical data, which incorporates dependencies on landing gear length and design.
  • The landing gear parameters are stored in a new object in ac. The related parg parameters are eliminated.
  • The balance() and mission!() functions now take in the ac object directly instead of the par arrays; these are then unpacked inside the functions. This makes the syntax more robust to changes in data storage.
  • Documentation and tests for the landing gear models.

Copy link

codecov bot commented Nov 20, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 18 lines in your changes missing coverage. Please review.

Project coverage is 73.08%. Comparing base (430cfd8) to head (10357e0).
Report is 46 commits behind head on main.

Files with missing lines Patch % Lines
src/IO/read_input.jl 60.00% 8 Missing ⚠️
src/IO/save_model.jl 0.00% 7 Missing ⚠️
src/IO/outputs.jl 66.66% 2 Missing ⚠️
src/misc/aircraft.jl 95.23% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
- Coverage   73.41%   73.08%   -0.34%     
==========================================
  Files          77       82       +5     
  Lines       13908    13582     -326     
==========================================
- Hits        10211     9926     -285     
+ Misses       3697     3656      -41     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant