Skip to main content

Trajectory optimization and astrodynamics in Python using ASSET, with mission-script APIs.

Project description

Octavian logo

Octavian

Octavian is a Python-first astrodynamics / trajectory-optimization toolkit built on ASSET (asset_asrl).

This MVP includes:

  • Two-impulse rendezvous with bounded free final time.
  • Two-impulse rendezvous with bounded variable pre-coast.
  • Composable coast phases with continuous or impulsive links.
  • Terminal state, terminal delta-v, path, and orbital-element constraints.
  • Finite chemical-burn phases with mass depletion and three thrust-direction controls.
  • J2 perturbation support in the composable ASSET backend.
  • Lambert-Izzo seed sweeps across time of flight, longway, and multi-rev cases.
  • Plotly HTML visualization with maneuver markers.

octavian can be installed from PyPI, but ASSET must still be installed separately for solver-backed workflows.

Install

pip install octavian

If you plan to run optimization solvers, install asset_asrl separately in the same environment. In this repo's local Windows setup, solver-backed commands are usually run through:

conda run -n asset_env python ...

Examples

python examples/quick/01_two_impulse_free_time.py
python examples/quick/02_two_impulse_precoast_impulsive_link.py
python examples/composable/08_chemical_burn_j2.py

See the MkDocs site for tutorial-style walkthroughs of every example.

Documentation

The docs are built with MkDocs and publish through GitHub Pages.

pip install -e ".[dev]"
python -m mkdocs serve
python -m mkdocs build

When GitHub Pages is enabled for the repository with Source: GitHub Actions, the docs workflow publishes the site from pushes to dev.

Development

pip install -e ".[dev]"
pre-commit install
python -m build
pytest

Studies

Use octavian.study.grid to run parameter sweeps and optionally save results to disk.

Releasing

Release versions are published from Git tags such as v0.1.5 by GitHub Actions. Maintainer steps are documented in RELEASING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

octavian-0.1.6.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

octavian-0.1.6-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file octavian-0.1.6.tar.gz.

File metadata

  • Download URL: octavian-0.1.6.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for octavian-0.1.6.tar.gz
Algorithm Hash digest
SHA256 0c42fade9f5cdf0dd392ac9c2dd813144ef0a5638bb0c2f681f1b0b8b575d7f6
MD5 5edd4e6c7b224d1a839a2dac9d7a6bd9
BLAKE2b-256 4b8b492c89fe423c6af83937e7807a4c53db50820c0ffba4fc792ecf0f1ee842

See more details on using hashes here.

Provenance

The following attestation bundles were made for octavian-0.1.6.tar.gz:

Publisher: publish.yml on GHevia/octavian

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file octavian-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: octavian-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for octavian-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 305a4c8d06d98d427fdb7e011b2d1accc3ff3bc6db69aeda69c0abbdc2bf6ccf
MD5 bad914d9ea0fa43df68bf194bc2a229b
BLAKE2b-256 d16947389deb690859fece58f7c31280a250743a5deac67180c40575821d9b3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for octavian-0.1.6-py3-none-any.whl:

Publisher: publish.yml on GHevia/octavian

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page