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

Optimization of turboprop model #217

Merged
merged 13 commits into from
Apr 2, 2024
Merged

Optimization of turboprop model #217

merged 13 commits into from
Apr 2, 2024

Commits on Mar 22, 2024

  1. Turboprop thermodynamic equations rewrite

    Rewrote the formula necessary to compute the turboprop geometry, fuel consumption and maximum thrsut under the form of an OpenMDAO problem. The rationale behind it is that it seems to be quicker to solve it like this which would reduce the computation time of what is right the longest module in FAST-OAD_CS23. Now, what's left to do is implement the use of these components (whose validity were checked in another project) and optimize the implementation, using results caching or a smarter breakdown of the maps
    florentLutz committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6afb9e9 View commit details
    Browse the repository at this point in the history
  2. Nested turboprop sizing

    The turboprop sizing has been tested and implemented as a nested problem whose setup is done only once and only when needed
    florentLutz committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    3ba3b03 View commit details
    Browse the repository at this point in the history
  3. Nested geometry parameter

    As for the problem, the geometry parameter are computed only when needed
    florentLutz committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    4cebd78 View commit details
    Browse the repository at this point in the history
  4. Nested thrust max problems

    The 4 different problems that will help computing the max thrust at all altitudes have now been implement as was done for the sizing of the turboprop. Note that a problem for the case where propeller thrust is limiting has been added. Their use in the max_thrust function has not yet been implemented !
    florentLutz committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    86bd408 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Max thrust rework

    Reworked the max thrust function so that it uses the nested problem. The main assumption is that, if limits are reached, they are reached in this order : power, opr, itt, propeller thrust.
    Also added a small cache to the max thrust function for cases like cruise where altitude and speed don't vary
    florentLutz committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    0d73f2e View commit details
    Browse the repository at this point in the history
  2. Nested fuel consumption problem

    The 2 different problems that will help computing the fuel consumed have now been implement as was done for the sizing of the turboprop. There is a problem with a linesearch algorithm that can be used but will not be favored if possible. There implementation in the sfc function have not yet been implemented
    florentLutz committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    f9aed1e View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Fuel consumption problem implemented

    There some differences with the previous version of the code although it is in the order of magnitude of 1-2% for a significant gain in time
    florentLutz committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    9e5ff94 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Max power reworked

    Max power is basically computed using the same problem as max thrust is. Except intead of extracting the thrust required we extract shaft power
    florentLutz committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    875cedd View commit details
    Browse the repository at this point in the history
  2. Cleanup

    Remove methods that were previously used and not necessary anymore
    florentLutz committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    d5e9ff1 View commit details
    Browse the repository at this point in the history
  3. Test cache saturation

    Implemented a test to check the stauration of the cache
    florentLutz committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    6330531 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. Map construction rework

    Reworked the cnstruction of the sfc map for the turboprop and checked tested, only minor difference on predicted sfc with new map generation for a considerable speedup (7m to 30s). Now we will test and rework the reading of those maps. Btw `scipy.interpolate.interp2d` is gonna be deprecated so it was changed
    florentLutz committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    54c2f5b View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Integration test working

    Tested the turboprop map construction and read on the TBM900 sizing process. Minimal change on the fuel consumed. Also implemented more widely the use of LinearNDInterpolator to replace interp2d
    florentLutz committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    04c50cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63ccadd View commit details
    Browse the repository at this point in the history