#space #design #orbit #estimation #mission

nyx-space

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

33 releases (4 stable)

new 2.0.0-alpha.1 Jun 2, 2023
1.1.2 Feb 22, 2023
1.1.1 Nov 2, 2022
1.1.0 Mar 28, 2022
0.0.4 Jun 17, 2018

#37 in Science

Download history 64/week @ 2023-02-11 78/week @ 2023-02-18 33/week @ 2023-02-25 23/week @ 2023-03-04 87/week @ 2023-03-11 12/week @ 2023-03-18 15/week @ 2023-03-25 48/week @ 2023-04-01 34/week @ 2023-04-08 56/week @ 2023-04-15 28/week @ 2023-04-22 33/week @ 2023-04-29 88/week @ 2023-05-06 46/week @ 2023-05-13 74/week @ 2023-05-20 84/week @ 2023-05-27

300 downloads per month

AGPL-3.0-or-later

5.5MB
25K SLoC

nyx

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

The target audience is mission designers, astrodynamics engineers/hobbyists, and GNC 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 LoC.

License

The AGPLv3 LICENSE is enforced.

Features

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

Dynamical models

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

Orbit determination

  • Statistical Orbit Determination: Classical and Extended Kalman Filter
  • Orbit Determination with multibody dynamics
  • Smoothing and iterations of CKFs
  • Square Root Information Filer (SRIF) (removed in version 1.0.0-alpha.1)
  • An easy-to-use OD user interface
  • Estimation with spherical harmonics enabled
  • Solar radiation pressure (SRP) parameter estimation (#98)
  • Covariance mapping and estimate frame transformations
  • State noise compensation (SNC)
  • Dynamic model compensation (DMC) (#86)
  • High fidelity ground station placement

Celestial computations

  • Orbital state manipulation
  • Planetary and Solar eclipse and visibility computation
  • Light-time corrections and aberrations
  • Frame rotations

Who am I?

An astrodynamics engineer with a heavy background in software. I currently work for Rocket Lab USA on the GNC of the Blue Ghost lunar lander. -- Find me on LinkedIn.

Dependencies

~14–20MB
~357K SLoC