nyx-space 0.0.22

A high-fidelity space mission toolkit, with orbit propagation, estimation and some systems engineering
Documentation

nyx

Nyx is a high fidelity, fast, reliable and validated astrodynamical toolkit library written in Rust.

The target audience is researchers and astrodynamics engineers. The rationale for using Rust is to allow for very fast computations, guaranteed thread safety, and portability to all platforms supported by Rust.

nyx-space on crates.io nyx-space on docs.rs

License

The LICENSE will be strictly enforced once this toolkit reaches production-level quality.

Features

Unless specified otherwise in the documentation of specific functions, all vectors and matrices are statically allocated.

Propagation

  • Propagation with different Runge Kutta methods (validated in GMAT)
  • Convenient and explicit definition of the dynamics for a simulation (cf. tests/orbitaldyn.rs)
  • Propagation to different stopping conditions
  • Detect orbital events in other frames (#107)

Dynamical models

  • Multibody dynamics using XB files (caveat: #61) (cf. tests/orbitaldyn.rs)
  • Finite burns with fuel depletion (including low thrust / ion propulsion) (cf. tests/prop/)
  • Sub-Optimal Control of continuous thrust (e.g. Ruggerio, Petropoulos/Q-law) (cf. tests/prop/closedloop_multi_oe_ruggiero.rs)
  • Solar radiation pressure modeling (cf. tests/srp.rs)
  • Basic drag models (cannonball)
  • Spherical harmonics (#28)
  • Spacecraft attitude control and some useful optimal control algorithms

Orbit determination

  • Statistical Orbit Determination: Classical and Extended Kalman Filter (cf. tests/stat_od/two_body.rs)
  • Orbit Determination with multibody dynamics (cf. tests/stat_od/multi_body.rs)
  • Smoothing and iterations of CKFs (#105)
  • Square Root Information Filer (SRIF) (#91)
  • An easy-to-use OD user interface (#109)
  • Estimation with spherical harmonics enabled (#123)
  • Solar radiation pressure (SRP) parameter estimation (#98)
  • Covariance mapping and estimate frame transformations (#106, #112)
  • State noise compensation (SNC) (#85)
  • Dynamic model compensation (DMC) (#86)
  • High fidelity ground station placement (#92)

Celestial computations

  • Orbital state manipulation (from GMAT source code and validated in GMAT) (cf. tests/state.rs)
  • Planetary and Solar eclipse and visibility computation (cf. tests/eclipse.rs)
  • Light-time corrections and abberations (#88)
  • Frame rotations #93

Who am I?

An astrodynamics engineer with a heavy background in software. Nyx relies on the drawbacks of smd, a library I wrote in Go while researching at the University of Colorado at Boulder. I work for Advanced Space (we do really cool stuff).

Examples

Refer to the tests for short examples.