Some tools for planning interstellar missions
The following shows an example mission from the solar system to Proxima Centauri (4.244 light-years). We begin with a 1kg payload and 1000kg of fuel. We assume the exhaust velocity is 500km/s, which is consistent with a fusion rocket. Burning 900kg of fuel accelerates us to a cruising speed of just under 0.4 percent the speed of light (i.e. 0.004c). The trip takes more than 1100 years.
Currently, we assume that fuel escaping the suns gravity is negligible and that the mission is non-relativistic.
This project uses uv for Python environment and package management.
If uv is not already installed on your system, install it via:
curl -LsSf https://astral.sh/uv/install.sh | shTo create the virtual environment and install all dependencies (as locked in uv.lock):
uv syncuv will automatically download and use the required Python version (Python 3.9) specified in .python-version.
Run the test suite:
uv run pytestRun linters:
uv run pylint src tests
uv run flake8 --count --statisticsTo run the interactive notebooks:
uv run jupyter lab