Python Simulation of a High Altitude Balloon ascent and descent.
Create a tool to help experiments involving HABs. Currently focusing efforts on the design of an Altitude Control System.
numpymatplotlibplotlypandasgrequestsscipy
Please, use a virtual environment.
$ virtualenv .venv
$ source .venv/bin/activate
(.venv) $ pip3 install -r requirements.txt
(.venv) $ python3 main.pyBalloon.py: Contains the numeric models (inside a Class) that calculate parameters, such as: drag, buoyance, volume and densityAir.py: free functions that implement NASA's standard Atmosphere Model.Integrator.pyandSimulator.py: Code taken from previous simulation project. Implements, simple 4th order Runge-Kutta integration.Utils.py: some conversion functions that don't have a good place yetLocal.py: Placeholder for variables that could be of use in a future state of the projectUniverse.py: Mostly replacesUtils.pykeeping purely mathematical formulasthirdparty/: Contains code from the Astra Simulator that handles Global Forecasting System communication and latitude/longitude conversions
The main.py code then creates an object of the class Balloon, and passes its collection o models
to the Simulator, that then does the integration step.


