The Sarin Engine: an open, verification-gated pipeline for finding and independently checking spacecraft trajectory opportunities

The Sarin Engine is an open-source Python package and set of GitHub workflows that take a spacecraft trajectory question from a first look to an independently checked, citable result. It answers in three stages of increasing trust: T1, a fast patched-conic survey; T2, a full-model optimisation of both the lunar-flyby trajectory and the best direct launch (Sun, Earth, Moon and Mars point masses, JPL DE421 ephemerides); and T3, an independent re-flight of the exact T2 trajectory in NASA's open source General Mission Analysis Tool (GMAT) with fixed pass/fail gates. Before any campaign counts, the engine must reproduce NASA's published direct-launch minima for Mars (NASA/TM-2010-216764). The engine computes the trust level itself from saved output files, and a publish-kit command turns those files into a write-up, Zenodo metadata and checksums, so students and independent researchers can publish results under their own names with every number traceable to code and data. The physics needs no accounts or API keys, and the whole pipeline, including GMAT, runs on GitHub's free runners from a forked repository. Version 0.2.0 covers Earth-Moon-Mars departures with one unpowered lunar flyby in ten Mars windows from 2026 to 2046. Validation: for the 2035 window the engine reproduces the published Sarin window result (lunar-flyby departure burn 3570.5 m/s versus 3678.8 m/s direct, a saving of 108.3 m/s), and an end-to-end run on GitHub's runners re-optimised that trajectory and reproduced it in NASA's open source GMAT R2026a with all five gates passing. Code: https://github.com/AstroTaj91/sarin-engine (MIT licence). AI use: much of the code and the first draft of this paper were written with Claude models (Anthropic) under the author's direction; the author made the design decisions and checked the results.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-01
DOI
https://doi.org/10.5281/zenodo.24715623
Primary Topic
Spacecraft Dynamics and Control
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

The Sarin Engine: an open, verification-gated pipeline for finding and independently checking spacecraft trajectory opportunities

Taj Sarin
Zenodo (CERN European Organization for Nuclear Research)
Spacecraft Dynamics and Control
preprint

The Sarin Engine: an open, verification-gated pipeline for finding and independently checking spacecraft trajectory opportunities

Taj Sarin
preprint en

Abstract

The Sarin Engine is an open-source Python package and set of GitHub workflows that take a spacecraft trajectory question from a first look to an independently checked, citable result. It answers in three stages of increasing trust: T1, a fast patched-conic survey; T2, a full-model optimisation of both the lunar-flyby trajectory and the best direct launch (Sun, Earth, Moon and Mars point masses, JPL DE421 ephemerides); and T3, an independent re-flight of the exact T2 trajectory in NASA's open source General Mission Analysis Tool (GMAT) with fixed pass/fail gates. Before any campaign counts, the engine must reproduce NASA's published direct-launch minima for Mars (NASA/TM-2010-216764). The engine computes the trust level itself from saved output files, and a publish-kit command turns those files into a write-up, Zenodo metadata and checksums, so students and independent researchers can publish results under their own names with every number traceable to code and data. The physics needs no accounts or API keys, and the whole pipeline, including GMAT, runs on GitHub's free runners from a forked repository. Version 0.2.0 covers Earth-Moon-Mars departures with one unpowered lunar flyby in ten Mars windows from 2026 to 2046. Validation: for the 2035 window the engine reproduces the published Sarin window result (lunar-flyby departure burn 3570.5 m/s versus 3678.8 m/s direct, a saving of 108.3 m/s), and an end-to-end run on GitHub's runners re-optimised that trajectory and reproduced it in NASA's open source GMAT R2026a with all five gates passing. Code: https://github.com/AstroTaj91/sarin-engine (MIT licence). AI use: much of the code and the first draft of this paper were written with Claude models (Anthropic) under the author's direction; the author made the design decisions and checked the results.

Zenodo (CERN European Organization for Nuclear Research)
Spacecraft Dynamics and Control
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon