In my game called star system generator, give formula for orbital spacing of next planet, Hill radius of two planets do not touch each other, after deriving Titius–Bode law.
Initial distance from star [i]: 1 AU
Mass of previous planet [m1]: 1 Earth mass
Mass of next planet [m2]: 500 Earth mass
Orbital spacing [o]: i + o
Assistant
To answer this question, we need to determine a suitable orbital separation (o) such that the Hill spheres of the two planets do not overlap. The main idea is to ensure that each planet has enough orbital "room" so as not to significantly influence the other gravitationally. We will start by determining the Hill radius for each planet and then set conditions for acceptable orbital spacing based on these radii.
Step 1: Hill Radius Calculation
The Hill radius (R_H) is a measure of the sphere of influence of a planet in its orbit around the host star. It's defined by the formula below, where a is the semi-major axis (orbital distance) of the planet, M is the mass of the planet, and M_star is the mass of the star (assumed to be 1 solar mass for simplicity):
[ R_H = a \left(\frac{M}{3M_{\text{star}}}\right)^{\frac{1}{3}} ]
Given that,
[ M_{\text{star}} = 1 \text{ solar mass} ]
For the first planet (m1):
[ M = 1 \text{ Earth mass} ]
[ a = 1 \text{ AU} ]
[ R_{H1} = 1 \left(\frac{1 \text{ Earth mass}}{3 \times 1 \text{ solar mass}}\right)^{1/3} ]
Using reasonable approximations where 1 solar mass ≈ (333,000) Earth masses:
[ R_{H1} = 1 \left(\frac{1}{999,000}\right)^{1/3} ]
[ R_{H1} \approx 0.01 \text{ AU} ]
For the next planet (m2):
[ M = 500 \text{ Earth mass} ]
[ a = 1 + o \text{ AU} ]
[ R_{H2} = (1+o) \left(\frac{500}{999,000}\right)^{1/3} ]
Step 2: Calculating Acceptable Orbital Spacing
We need (o) such that the Hill spheres do not overlap. A common criterion for orbital stability is ensuring the neighboring orbits initially do not overlap Hill spheres:
[ \Delta a > R_{H1} + R_{H2} ]
Where ( \Delta a = o ).
Then, set:
[ o > 0.01 + 0.063 \times (1+o) ]
Solve for (o):
[ o - 0.063 \times o > 0.01 + 0.063 ]
[ 0.937 \times o > 0.073 ]
[ o > \frac{0.073}{0.937} ]
[ o \approx 0.078 \text{ AU} ]
This calculation approximates (o) such that the Hill spheres do not overlap significantly, providing a safe region for avoiding gravitational disturbances between the two planets. The derived formula, with approximations and assumptions, gives you an idea to implement in your game further for setting adequate orbits for generated planetary systems.