Skip to content

Nyx is a high fidelity, fast, reliable and validated astrodynamics toolkit library written in Rust and available in Python (Based off of last Apache-licensed version)

License

Notifications You must be signed in to change notification settings

oakwhiz/nyx-space-apache

 
 

Repository files navigation

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.

Lots of features are still being worked on, and there currently isn't any guarantee that the API won't change between versions. However, you can be assured that the API will not change for previous versions. Outstanding mission design features available here, and orbit determination features here.

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.

About

Nyx is a high fidelity, fast, reliable and validated astrodynamics toolkit library written in Rust and available in Python (Based off of last Apache-licensed version)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.5%
  • Python 0.5%