0.2.2 Visualization, Environment, and Force Modeling

Animations

The new Godot viewer turns simulation results into an interactive 3-D scene with spacecraft attitude, orbital motion, pointing targets, and boresight overlays. The animation below follows ICESat-2 through nadir, coordinate, and along-track pointing as it passes over Earth at sunset. It was recorded at 10 times simulation speed. A tutorial on creating and recording these animations is forthcoming. See the graphics pull request for the viewer work.

ICESat-2 performing nadir, coordinate, and along-track pointing maneuvers over Earth at sunset.

Tutorials

The tutorials are being refreshed to use the updated simulate() frontend and to cover the new capabilities in this release. This section will be expanded as those walkthroughs are added; the existing tutorial series remains available.

Environmental models

The configurable Environment now offers WMM2025 and CHAOS-8 magnetic fields alongside IGRF-14, an optional NRLMSISE-00 atmospheric density model, and additional JPL ephemerides (DE441, DE442, and DE442s). The default atmosphere and magnetic field remain available, while callers can select these models for their simulation and orbital state. See the magnetic-field models and atmosphere models for configuration details.

Force and disturbance modeling

Disturbances now have a force interface as well as torque. The new force stack includes aerodynamic drag, solar radiation pressure, body-fixed thrust applied at a point, and a Sentman free-molecular drag model. The work is tracked in pull requests #245, #246, #247, #248, and #249.

Warning

Breaking changes and deprecations

  • Environment configuration moved to ``Environment``. Pass atmospheric density models as Environment(atmosphere=...) to Orbital_State or simulate(). The density_model constructor argument and Orbital_State.density_model attribute are deprecated; use Orbital_State.atmosphere. The old ADCS.orbits.density_model and ADCS.orbits.ephemeris import paths emit deprecation warnings. Import SMADAtmosphere from ADCS.environment.atmosphere and a concrete ephemeris such as DE421 from ADCS.environment.ephemeris. The legacy Ephemeris name referred to DE421; Environment.Ephemeris now names the abstract model interface, so instantiate a concrete model.

  • Custom Monte Carlo environment models need serialization support. simulate_mc() now rejects custom environment components unless their importable class implements to_json_config() and the classmethod from_json_config(config) and the former returns JSON-serializable data. Built-in models are handled automatically.

  • Tabulated atmosphere inputs are validated more strictly. Custom SMADAtmosphere altitude and density tables must be finite, have matching one-dimensional shapes with at least two rows, use strictly increasing non-negative altitudes and positive densities, and decrease over the final interval for high-altitude extrapolation. Invalid tables now raise ValueError.

  • SALTRO commands are now actuator-limited. SALTRO.find_u() clips each command to the selected estimated satellite’s u_max. Code that relied on out-of-range commands will receive saturated values.

Other features and fixes

  • Runtime downloads and Godot viewer work files now use a per-user cache. Bundled kernels remain readable directly from the installed package.

  • #233: add DensityNoise, which scales noise from a density by the sample time.

  • #234: model as-built sensor scale factors and misalignment.

  • #235 and #251: add BiasWithInstability with Gauss-Markov drift and correct its process spectral density term.

  • #257, #258, and #259: expose Keplerian elements on Orbital_State, fit SGP4 mean elements to the initial state, and make the conversion units explicit. Element attributes use radians.

  • Refresh the benchmarks, simulate() examples, README, and package metadata for this release.