A new paradigm for reproducing and analyzing N-body simulations of planetary systems

Hanno Rein, Daniel Tamayo
1/25/2017
30 citations
astro-ph.EPastro-ph.IM

Official code: hannorein/rebound (1,161 stars, C, GPL-3.0, last commit 2026-11-03).

Abstract

The reproducibility of experiments is one of the main principles of the scientific method. However, numerical N-body experiments, especially those of planetary systems, are currently not reproducible.

Show full abstract

In the most optimistic scenario, they can only be replicated in an approximate or statistical sense. Even if authors share their full source code and initial conditions, differences in compilers, libraries, operating systems or hardware often lead to qualitatively different results. We provide a new set of easy-to-use, open-source tools that address the above issues, allowing for exact (bit-by-bit) reproducibility of N-body experiments. In addition to generating completely reproducible integrations, we show that our framework also offers novel and innovative ways to analyze these simulations. As an example, we present a high-accuracy integration of the Solar System spanning 10Gyrs, requiring several weeks to run on a modern CPU. In our framework we can not only easily access simulation data at predefined intervals for which we save snapshots, but at any time during the integration. We achieve this by integrating an on-demand reconstructed simulation forward in time from the nearest snapshot. This allows us to extract arbitrary quantities at any point in the saved simulation exactly (bit-by-bit), and within seconds rather than weeks. We believe that the tools we present in this paper offer a new paradigm for how N-body simulations are run, analyzed, and shared across the community.

View on arXivView PDF

Code Implementations(1)

hannorein/reboundOfficial100%
GPL-3.0

💫 An open-source multi-purpose N-body code.

1,161273C, PythonJul 2, 20114 weeks agoGPL-3.0
astrophysicskeplerian-elementsn-bodyorbitsplanetary-science+1 more

Similar Papers

Cite this paper

@article{rein2017paradigm,
  title  = {A new paradigm for reproducing and analyzing N-body simulations of planetary systems},
  author = {Hanno Rein and Daniel Tamayo},
  year   = {2017},
  eprint = {1701.07423},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1701.07423}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1701.07423.svg)](https://codeofpaper.com/paper/1701.07423)

Discussion