This sizing code calculates the maximum takeoff weight, surface area, and thrust for specific parameters. The calculations are formulated by dividing the craft's mission into various sections (eg taxi, takeoff, cruise out, approach, and land) and calculates the weight ratios for the entire mission. The ratios are combined to yield the final total mass. On/off switches enable additional functions such as calculations for minimum takeoff field length. The code is adaptable and accepts relevant flight parameters such as cruise mach number and thrust specific fuel consumption. Additionally, the workflow for iterations can be automated by enabling data exporting, which outputs all relevant parameters to a text document.
Sizing and Carpet Plot Calculations
The aircraft sizing is fully integrated with the initial weight and parameter calculations. Enabling the sizing function calculates and displays the Carpet Plot with stall, takeoff, climb performance, cruise performance, loiter calculations, landing calculations, as well as maximum and minimum load factors lines. The Carpet Plot is intuitively colored to display the viable design space. The calculations prompt the user for the desired design point for calculating and exporting the surface area and thrust requirements for the aircraft. It is relevant to note that this carpet plot is for thrust-base aircraft designs. A power-based code is in development but is not yet available.
OpenVSP Design Iteration
The workflow is designed to interface with openVSP. The exported parameters from the initial sizing code should set in the openVSP GUI to efficiently model the airplane in three dimensions. With the design generated, openVSP is a powerful software that is capable of running vortex lattice simulation to analyze the aircraft design iteration to determine specific parameters such as the lift-to-drag ratio. The results of the analysis in openVSP should be fed directly into the input section of this sizing suite for another design iteration. The combination of this software suite and openVSP allows for interfacing with other performance analysis tools such as SUAVE or AVL.
Opensource
This code is MATLAB based and available on Github here. The design code is divided into two parts: weight, surface area, and thrust calculation code and general parameter sizing code. Each part resides in its own directory. The source code should be downloaded and the two folders should be added to the list of MATLAB search folders to ensure that they can be called as a library for integration in design projects. This project can be downloaded or branched and modified to meet specific project needs. If you do use it, all we ask is that you note that you did so we can spread the word about it! Suggestions and reccomendations are welcome and verified code provided by additional developers are also appreciated.