Content deleted Content added
{{Nofootnotes|article}} |
Changing short description from "numerical model of the Solar System" to "Equations to predict the position of planets" |
||
(47 intermediate revisions by 34 users not shown) | |||
Line 1:
{{Short description|Equations to predict the position of planets}}
{{
==Older efforts==
The simulations can be done in either [[Cartesian coordinate system|Cartesian]] or in [[Spherical coordinate system|spherical]] coordinates. The former are easier, but extremely calculation intensive, and only
In essence this mathematical simulation of the
Although this method is no longer used for simulations, it is still useful to find an approximate [[ephemeris]] as one can take the relatively simple main solution, perhaps add a few of the largest perturbations, and arrive without too much effort at the wanted planetary position. The disadvantage is that perturbation theory is very advanced mathematics.
==Modern method==
The modern method consists of numerical integration in 3-dimensional space. One starts with a high accuracy value for the position (''x'', ''y'', ''z'') and the velocity (''v<sub>x</sub>'', ''v<sub>y</sub>'', ''v<sub>z</sub>'') for each of the bodies involved. When also the mass of each body is known, the acceleration (''a<sub>x</sub>'', ''a<sub>y</sub>'', ''a<sub>z</sub>'') can be calculated from [[Newton's
The result is a new value for position and velocity for all bodies. Then, using these new values one starts over the whole calculation for the next
The advantage of this method is that for a computer it is a very easy job to do, and it yields highly accurate results for all bodies at the same time, doing away with the complex and difficult procedures for determining perturbations. The disadvantage is that one must start with highly accurate figures in the first place, or the results will drift away from the reality in time; that one gets ''x'', ''y'', ''z'' positions which are often first to be transformed into more practical ecliptical or equatorial coordinates before they can be used; and that it is an all or nothing approach. If one wants to know the position of one planet on one particular time, then all other planets and all intermediate
==Integration==
Line 22 ⟶ 23:
<math>\vec{a}_j = \sum_{i \neq j}^n G \frac{M_i}{|\vec{r}_i - \vec{r}_j|^3} (\vec{r}_i - \vec{r}_j)</math>
This equation
<math>(a_j)_x = \sum_{i \neq j}^n G \frac{M_i}{( (x_i - x_j)^2 + (y_i - y_j)^2 + (z_i - z_j)^2 )^{3/2}} (x_i - x_j)</math>
Line 32 ⟶ 33:
likewise for Y and Z.
The former equation (gravitation) may look
<math>\Delta v_x = a_{x} \Delta t </math>, and: <math>\Delta x = v_{x} \Delta t </math>
Line 49 ⟶ 50:
x.new = x.old + (v.new + v.old) * 0.5 * dt
Of course still better results can be expected by taking intermediate values. This is what happens when using the [[Runge-Kutta]] method, especially the one of grade 4 or 5 are most useful. The most common method used is the [[leapfrog method]] due to its good long term energy conservation.
A
but rather than developing up to some higher derivative in r only, one can develop in r and v (that is r') by writing <math>r = f r_0 + g r'_0</math>and then write out the factors ''f'' and ''g'' in a series.
==Approximations==
Line 62 ⟶ 61:
By far the most important trick is the use of a proper integration method, as already outlined above.
The choice of units is important. Rather than to work in [[SI units]], which would make some values extremely small and some extremely large, all units are to be scaled such that they are in the neighbourhood of 1. For example, for distances in the
If N is large (not so much in
The total amount of [[energy]] and [[angular momentum]] of a closed system are conserved quantities. By calculating these amounts after every time step the simulation can be programmed to increase the stepsize Δt if they do not change significantly, and to reduce it if they start to do so. Combining the bodies in groups as in the previous and apply larger and thus less timesteps on the faraway bodies than on the closer ones, is also possible.
To allow for an excessively rapid change of the acceleration when a particular body is close to the reference body, it is customary to introduce a small
<math>a = \frac{G M}{r^2 + e}</math>
==Complications==
Long term models, going beyond a few tens of millions of years, are not possible due to the lack of [[stability of the Solar System]].
==See also==
*[[Ephemeris]]
*[[VSOP (planets)]]
==References==
*{{
{{Solar System models}}
{{DEFAULTSORT:Numerical Model Of Solar System}}
[[Category:Numerical analysis]]
[[Category:Computational physics]]
[[Category:Dynamical systems]]
[[Category:Dynamics of the Solar System]]
[[Category:Solar System models]]
|