<p>Suppose one has run a gravitational simulation of <code>N</code> bodies (has the mass, vector positions, vector velocities, etc for each body), but knows nothing <em>a priori</em> about the system (ie, one does not know anything regarding composition, or which bodies are stars or planets). I would like to use the simulation results to categorize which bodies are primary hosts and which ones are satellites (and if possible, which &quot;tertiary&quot; bodies are orbiting the satellites). <strong>Is there a way to create a hierarchy that identifies whether a body is a primary host or satellite or tertiary?</strong> I would like to find a method of doing this such that the method can be applied to cases for <code>N &gt; 10^3</code> bodies.</p>
<p>For context, consider a <code>9</code>-body system like a simplified example of our solar system (<code>8</code> planets + <code>1</code> star). One can identify the Sun as the only primary host and the planets as the satellites because the ratio of the mass of the Sun to the mass of Jupiter (most massive planet of our solar system) <a href="https://www.wolframalpha.com/input/?i=mass%20of%20sun%20%2F%20mass%20of%20jupiter" rel="nofollow noreferrer">is 1048</a>. One could also use the approach of noticing that the center of mass would be inside of the Sun (or very close to in a point-mass simulation). But, the center of mass approach only works for nearly circular stable orbits around a single host; for unstable orbits, a body can deviate from its tangential path about the center of mass.</p>
<p>If we consider a binary star system for which both stars are of comparable mass, then <em>I think that</em> the ratio of the mass of any single host star to the mass of the most massive planet orbiting this binary star system can decrease; in other words, for each primary host body added to a system, the combined gravitational force at certain points in the orbit required to keep a satellite body in orbit should decrease <em>if the system is stable</em>, thereby decreasing the ratio of the mass of any host body to the mass of the most massive satellite body. (I suppose the same logic could be extended to host planets and satellite moons, though I suspect the ratio of masses would decrease; would this logic also apply to unstable orbits?)</p>
<p>Is this line of thinking correct? More importantly, what is the right way to think about this?</p>

CC BY-SA 4.0
2021-05-19T21:55:42.580Z
*This is a great question!* You're asking about how some kind of classifier might work that accepts a group of trajectories or state vectors for $N$ bodies over an extended period of time, and identifies orbital hierarchies; i.e. "Who orbits who orbits who?" There are certainly known hierarchical star systems identified, and part of the challenges have been *missing observations* in that only $M<N$ of the bodies are actually observed and the others have to be inferred by the model. But here I think you are asking about perfect observations; all bodies detected with high accuracy?
uhoh
CC BY-SA 4.0
2021-05-19T22:14:59.473Z
@uhoh Thanks! I think that assuming all bodies are detected with high accuracy is a good starting point and most applicable to my use-case; that said, it could be neat to use a partial observations of trajectories from specific reference points and compare results.
zeebeel
CC BY-SA 4.0
2021-05-19T22:21:46.930Z
If no luck here after a while, I wonder if [Scientific Computing SE](https://scicomp.stackexchange.com/) would be a good place to move this question.  The user base there is more aligned/familliar with abstract numerical mathematical problems. But if there is an astronomical analog that will be great!
uhoh
<star><planet><natural-satellites><binary-star><n-body-simulations>
How to distinguish primary hosts (stars) and orbiting satellites (planets) and tertiary bodies (moons) by their mass and trajectory?
zeebeel
# How to distinguish primary hosts (stars) and orbiting satellites (planets) and tertiary bodies (moons) by their mass and trajectory?

(Asked by: username_0 on 2021-05-19)

Suppose one has run a gravitational simulation of `N` bodies (has the mass, vector positions, vector velocities, etc for each body), but knows nothing *a priori* about the system (ie, one does not know anything regarding composition, or which bodies are stars or planets). I would like to use the simulation results to categorize which bodies are primary hosts and which ones are satellites (and if possible, which "tertiary" bodies are orbiting the satellites). **Is there a way to create a hierarchy that identifies whether a body is a primary host or satellite or tertiary?** I would like to find a method of doing this such that the method can be applied to cases for `N > 10^3` bodies.

For context, consider a `9`-body system like a simplified example of our solar system (`8` planets + `1` star). One can identify the Sun as the only primary host and the planets as the satellites because the ratio of the mass of the Sun to the mass of Jupiter (most massive planet of our solar system) [is 1048](https://www.wolframalpha.com/input/?i=mass%20of%20sun%20%2F%20mass%20of%20jupiter). One could also use the approach of noticing that the center of mass would be inside of the Sun (or very close to in a point-mass simulation). But, the center of mass approach only works for nearly circular stable orbits around a single host; for unstable orbits, a body can deviate from its tangential path about the center of mass.

If we consider a binary star system for which both stars are of comparable mass, then *I think that* the ratio of the mass of any single host star to the mass of the most massive planet orbiting this binary star system can decrease; in other words, for each primary host body added to a system, the combined gravitational force at certain points in the orbit required to keep a satellite body in orbit should decrease *if the system is stable*, thereby decreasing the ratio of the mass of any host body to the mass of the most massive satellite body. (I suppose the same logic could be extended to host planets and satellite moons, though I suspect the ratio of masses would decrease; would this logic also apply to unstable orbits?)

Is this line of thinking correct? More importantly, what is the right way to think about this?

**Tags:** star, planet, natural-satellites, binary-star, n-body-simulations

> **Comments:**
> **username_1**: *This is a great question!* You're asking about how some kind of classifier might work that accepts a group of trajectories or state vectors for $N$ bodies over an extended period of time, and identifies orbital hierarchies; i.e. "Who orbits who orbits who?" There are certainly known hierarchical star systems identified, and part of the challenges have been *missing observations* in that only $M<N$ of the bodies are actually observed and the others have to be inferred by the model. But here I think you are asking about perfect observations; all bodies detected with high accuracy?  
> **username_0**: @username_1 Thanks! I think that assuming all bodies are detected with high accuracy is a good starting point and most applicable to my use-case; that said, it could be neat to use a partial observations of trajectories from specific reference points and compare results.  
> **username_1**: If no luck here after a while, I wonder if [Scientific Computing SE](https://scicomp.stackexchange.com/) would be a good place to move this question.  The user base there is more aligned/familliar with abstract numerical mathematical problems. But if there is an astronomical analog that will be great!  

---

## 0 answers

