Skip to content

Experimental High Altitude Balloon ascent simulation

Notifications You must be signed in to change notification settings

leocelente/sonda-simulator

Repository files navigation

Probe Simulator

Python Simulation of a High Altitude Balloon ascent and descent.

Objective

Create a tool to help experiments involving HABs. Currently focusing efforts on the design of an Altitude Control System.

Screenshots

map screenshot terminal

Dependencies

  • numpy
  • matplotlib
  • plotly
  • pandas
  • grequests
  • scipy

Please, use a virtual environment.

How to use

$ virtualenv .venv
$ source .venv/bin/activate
(.venv) $ pip3 install -r requirements.txt
(.venv) $ python3 main.py

Code Structure

  • Balloon.py: Contains the numeric models (inside a Class) that calculate parameters, such as: drag, buoyance, volume and density
  • Air.py: free functions that implement NASA's standard Atmosphere Model.
  • Integrator.py and Simulator.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 yet
  • Local.py: Placeholder for variables that could be of use in a future state of the project
  • Universe.py: Mostly replaces Utils.py keeping purely mathematical formulas
  • thirdparty/: 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.

About

Experimental High Altitude Balloon ascent simulation

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages