Skip to content
Numerical simulation of a reusable rocket (Falcon 9)
Python MATLAB Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
figs
matlab
out
utils
.gitignore
README.md
requirements.txt
simulation.py

README.md

Falcon 9 Simulation

A continuous simulation of a rocket taking off and landing in a 2D environment maps the rockets velocity and location at any given point in time, accounting for thrust, gravity, and drag as a function of altitude-based changes in air density. The rocket follows a mission launch profile, accelerating from a ground state, attaining an apogee of 200km, falling back down, then executing a landing burn before touchdown. Each stage is run multiple times to ensure the mission profile is attained, adjusting parameters as necessary. The resultant simulation is thus able to determine the optimal flight path for the rocket which minimizes leftover fuel after landing, and thus maximizes the horizontal velocity attained at apogee.

Running the simulation

We initially did the simulation in using Matlab we then ported it to Python to analyze and improve the performance.

For running the python version, issue python simulation.py --help to get the availabe arguments

To run the matlab version (stale) go to ./matlab/ and issue make run

Team Members

Hamid & Grant

You can’t perform that action at this time.