/PropPrelib

A library to assist with MATLAB functions for Propulsion Prelim

Primary LanguageMATLABThe UnlicenseUnlicense

PropPrelib

A library to assist with MATLAB functions for Propulsion Prelim

How to use

Download this repository as a zip folder.

Copy the +PropPrelim folder into the same directory as your scripts.

In your script write the following at the beginning:

import PropPrelim.*

Take a look in the examples folder for specific use cases.

Features

Currently implemented and planned

  • Unit Systems
    • BE
    • SI
  • Atmosphric Models AED 2nd. ed.
    • Standard
    • Hot
    • Cold
    • Tropic
  • Engine Models AED 2nd. ed.
    • Simple High Bypass Turbofan
    • Simple Low Bypass Turbofan
    • Simple Advanced Turbojet
    • Simple Advanced Turboprop
    • Simple User Input Model (WIP)
    • Full Cycle Mixed Turbofan with Afterburner (WIP)
  • Drag Models AED 2nd. ed.
    • Future Fighter
    • Current Fighter
    • AIAA 2019 Supersonic Passenger Airliner Competition Drag Model
  • Design Process
    • Constraint Analysis
      • Thrust Loading/Wing Loading Conditions1
    • Climb Scheduler
      • Minimum Time2
      • Minimum Fuel
      • Climb Schedule to Mission Leg Conversion
    • Mission Analysis
      • Manuever Fuel Consumption and Mass Fraction1
      • Mission Leg to Constraint Conversion
      • Mission Descriptions and Automated Runthrough
    • Parametric Cycle Analysis (Design Point)
      • Mixed Turbofan with Afterburner
        • Constant Specific Heat2,3
        • Modified Specific Heat
        • Variable Specific Heat2,3
    • Sensitivity Analysis
    • Performance Cycle Analysis (Off Design)
      • Mixed Turbofan with Afterburner
        • Constant Specific Heat
        • Modified Specific Heat
        • Variable Specific Heat (WIP)
    • Engine Tuning
      • Installation Losses
      • Engine Scale
      • Engine Control
    • Optimization and Iterations
      • Variable Constraints
      • RFP Application Functions
      • RFP/Mission/Engine Optimization using Gradient Descent
    • Aerodynamics Utilities
      • Dynamic Pressure
      • g0 as a Function of currently selected unitsystem
      • Mass Flow Parameter
    • General Purpose
      • Flexible Argument Parser
      • Variable name Formatter
      • Struct Pretty Printer
      • Table Comparision Printer
    • Mattingly Subroutines
      • FAIR3
      • MASSFP2,3
      • RGCOMPR2,3
      • TURB3,4
      • TURBC3,4
      • FAIRM

1: Not fully implemented for every input case.
2: Current Implementation may be innacurate depending in inputs.
3: Current Implementation does not correctly handle SI units.
4: Current Implementation has not been tested thoroughly either due to insufficent integration or due to insufficent example data.

Potential Future Considerations

  • Integration with AEDsys
    • ONX/REF file loading and saving
    • AEDsys Mission/Constraint Loading and Saving
  • Analysis
    • Carpet Plots
    • Improved options for Mach/Altitude Plots
    • Simulink?????
  • General
    • Better documentation
    • Unit testing
    • Implementation of better programming languages (C++, Python , etc...)