# snapshot of solar system

I am working on a little project where I want to simulate the solar system to teach myself working with python and OOP.

I want to calculate the orbits "real", from tangential velocities and gravitational accelerations. For this, in order to not only get circular orbits, but the real, eccentric orbits, I need kind of a snapshot of the solar system with positions and tangential velocities at those positions of the planets (and their moons, but I highly doubt that exists).

EDIT: I think something like the velocities at the Apoapsis should be enough to derive a reasonably right orbit from it, right?

I don't even know if something like that exists, or where to get it from. Does anybody happen to know something of this?

• If your goal is to focus on the programing, then using high precision data from some NASA database might be severe overkill. You'll end up wasting more time to read in the snapshot than to learn what you've set out to do. Just take a bunch of ellipses with ellipticities and orientations from wikipedia and start the planets on a random angle on those orbits. Jan 22, 2018 at 12:42
• @AtmosphericPrisonEscape Hm, with the Peri- and Apoapsis known and the average orbital velocity, I should probably be able to calculate an initial startpoint with velocity to an acceptable accuracy. Jan 22, 2018 at 12:50
• Well, there are other things to consider. Namely the time integration method of the orbits. If you don't want to go into the theory of ordinary differential equations, then you'll probably use a solver at very low order, and then all accuracy goes down the toilet after the first time step. Think of it as a literal chain of methods you're using: The weakest accuracy determines the overall accuracy. So if you don't want to improve all the science at once, you might as well stay with everything being very simple. Jan 22, 2018 at 12:57
• @AtmosphericPrisonEscape Yeah I know what you mean, but the corrections to the numerical errors due to the step-size is a problem I will tackle after I know where to start from. I have no problem with working with differential equations ;) Jan 22, 2018 at 13:02
• Perhaps you are able to "dismount" or better extract the data from Cekestia free package. .. just an idea. Jan 22, 2018 at 13:55