Complications
If the highest possible accuracy is needed, things become much more complex. In the case of comets, nongravitational forces (radiation pressure and gas drag) must be taken into account. In the case of Mercury, relativistic effects cannot be ignored. Then also the total energy is no longer a constant (because the four vector energy with linear momentum is). The finite speed of light also makes it important to allow for light-time effects, both classical and relativistic. Planets can no longer be considered as particles, but their shape and density must also be considered. For example, the flattening of the Earth causes precession, which causes the axial tilt to change, which affects the long-term movements of all planets.
Read more about this topic: Numerical Model Of The Solar System