Hello again, I'm trying to implement the variational equations. Based on the example provided in read the docs, I should set the Sun as primary when I do the integration. But I get an error when I try to follow the exmaple shown in the docs. Here's what I'm trying and getting the error with: sim.add(primary=sim.particles[0], "Mercury", date=date) or another: sim.add(primary="Sun", "Mercury") with solar_system_objects = ["Sun", "Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"]. thank you for your help!
JonathanHammer2 opened this issue · 2 comments
Environment
Which version of REBOUND are you using and on what operating system?
- REBOUND Version: [e.g. 28.7.0]
- API interface: [C or Python]
- Operating System (including version): [e.g. Linux, Windows, MacOS]
Physics
Describe the physical system you're interested in simulating.
What are the characteristic time and length scales in your problem?
How many particles do you want to simulate?
How long do you need to run the simulation?
Goal
Describe what you're ultimately trying to achieve?
What are the science questions you want to answer?
What quantities do you want to measure with your simulation?
Progress
What have you tried so far?
How is that working out?
What are the stumbling blocks?
What areas would you like to improve?
You don't need to use primary=sim.particles[0]
if you're querying solar system data from NASA Horizons.