Skip to content
Snippets Groups Projects

alt text

msa-toolkit

The MSA toolkit is the repository in which the code implemented by the Mission Analysis team is stored. It is composed of several folders.

In order to properly run the msa toolkit code in MATLAB, you will need to install the following MATLAB add-ons:

  • Simulink
  • Aerospace Blockset
  • Aerospace Toolbox
  • Deep Learning Toolbox
  • Global Optimization Toolbox
  • Mapping Toolbox
  • Navigation Toolbox
  • Optimization Toolbox
  • Parallel Computing Toolbox
  • Statistics and Machine Learning Toolbox
  • Symbolic Math Toolbox

The repository itself contains the necessary tools, while the majority of the data is stored in the common folder, which is a submodule linked to the common repository.

aerodynamicsOptimization

This program implements an aerodynamics optimization of the rocket. The rocket is optimized to reach the highest apogee possible with the chosen set of fixed parameters using a genetic algorithm. It may take some time to run.

Example:

mainOptimization(rocket, wind, environment, settings);

apogeeAnalysis

This program is developed for a primary apogee analysis with different engines when the structural mass is only known with a degree of uncertainty. The simulator computes the different apogees, maximum accelerations, and launchpad exit velocities for different motors and different masses.

Example:

[standardResults, engineCutResults] = mainApogeeAnalysis(rocket, settings, analysis, plots);

autoMatricesProtub

This program allows for an automatic computation of the rocket aerodynamic coefficients, for different airbrakes configurations.

Example:

[coeffsTot, coeffsTotHighAOA] = mainAutoMatProtub(rocket, environment, settings);

sensitivityAnalysis

This program implements a sensitivity analysis on the ascent phase of the rocket. Two types of analyses are available: deterministic and stochastic. In the deterministic analysis, it is possible to vary the nominal values of the aerodynamics coefficients and the structural mass of the rocket. In the stochastic analysis, several simulations are performed, in each of these the uncertain parameters assume values according to a normal distribution centered on their respective nominal values.

Example:

[postProcess, parameters] = mainSensitivity(rocket, wind, environment, settings, plots);

simulator

This is a program developed in MATLAB for the simulation of 6 D.o.F. rocket dynamics during all phases of flight: thrust, coast, apogee, and recovery. It predicts 3D trajectory, apogee height, forces acting on the rocket, and various other aerodynamic values. This simulator can also run stochastic simulations with multiple options.

Example:

[ascent, descent] = mainSimulator(rocket, wind, environment, settings);

stabilityAnalysis

This program is used to compute and investigate the stability of the rocket in various flight conditions.

Example:

mainStabilityAnalysis(rocket, wind, environment, settings);

unitTests

This program is used to create and perform tests on the toolkit to ensure that it always produces correct results.

Example:

results = runtests('mainUnitTests.m');

utils

Although the most important folders are in the main path, this folder contains standalone tools and some useful scripts.