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

Introducing models of ducted fan propulsion #104

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

Conversation

ngomezve
Copy link
Contributor

@ngomezve ngomezve commented Nov 8, 2024

This PR introduces a new propulsion architecture to TASOPT: ducted fans. These fans are assumed to be powered by a system that can provide mechanical power (e.g., an electric motor). Models for motors and cables are currently in development by @askprash, but have not been pulled in yet.

The ducted fan models are based on the existing turbofan models, but the core has been removed. Two functions are introduced: ductedfansize!() sizes the ducted fan for a desired mission point and ductedfanoper!() calculates the off-design performance for specified power or thrust.

The function ductedfanoper!() solves a small non-linear problem by using the NLsolve.jl suite. This is not as efficient as the direct Jacobian computation in tfoper!() but is easier to modify.

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 61.88605% with 194 lines in your changes missing coverage. Please review.

Project coverage is 72.57%. Comparing base (430cfd8) to head (feb81f4).
Report is 46 commits behind head on main.

Files with missing lines Patch % Lines
src/engine/ducted_fan/ductedfancalc.jl 0.00% 141 Missing ⚠️
src/engine/ducted_fan/ductedfanweight.jl 0.00% 28 Missing ⚠️
src/engine/ducted_fan/ductedfansize.jl 85.84% 15 Missing ⚠️
src/engine/ducted_fan/ductedfanoper.jl 95.72% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   73.41%   72.57%   -0.84%     
==========================================
  Files          77       84       +7     
  Lines       13908    13997      +89     
==========================================
- Hits        10211    10159      -52     
- Misses       3697     3838     +141     

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

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