Inter-Planetary Modeling: Our Solar System Simulation

AI Thread Summary
A project in PHYC 2050 involved creating an applet simulating the solar system, which was considered a more advanced choice compared to typical projects like the ideal gas law. The simulation utilized a constant force algorithm to model inter-planetary actions, resulting in some overestimations but offering a practical approach. The project included both a 2D and a 3D version, with the latter developed to visualize the z-coordinate calculations. The team received valuable data from the JPL Horizons system for planetary positions and velocities. Notably, the simulation encountered issues with some planets, particularly with Mercury, which appeared to "shoot out of space." Despite these challenges, the program was deemed successful, achieving a 99% project score, including a bonus for contacting NASA. The main critique was the absence of solar flares in the simulation.
Alkatran
Science Advisor
Homework Helper
Messages
959
Reaction score
0
We had a project in PHYC 2050 to write an applet simulating a scientific model. Me and my partner chose the solar system, which was a step up from the other projects (ideal gas law, refraction :biggrin: ).

We took into account inter-planetary actions and used a simple "assume force is contant for time t and advance the system" algorithm. It appears to overestimate on average, but it had the best usefulness to "we can do this" ratio.

In any case, check it out at:
myweb.dal.ca/cr376499

The 2d version is the project we submitted and the 3d version is just me wanting to make it 3d. It already did all the z coordinate calculations so it was just a matter of drawing them.

Special thanks goes to tony873004 (from here) who told me about the JPL horizons system so we could get our hands on the position and velocities of planets.
 
Physics news on Phys.org
One of the planets shot out of space!

Here is an image:

http://img447.imageshack.us/img447/6930/planetgone7jx.th.png

I don't know if mercury is coming back :cry:

http://img75.imageshack.us/img75/1850/mercurycomingback3li.png

No more problems with the moon
And years are now a lot longer! :smile:

http://img293.imageshack.us/img293/1102/nomoremoonprobs4al.th.png
The program stopped at 14129 years and 308 days :cry:

I am not sure what happened with some of the planets in long periods of time, but the program is still pretty cool! :approve:
 
Last edited by a moderator:
That's because of the inaccuracy involved when the time-step has to be increased to go at 10 simulated years per second. The only reason I let it go that high is because you need 10 yr/s to see pluto move at a decent pace.
 
The thing that surprised me the most after making this was the fact that pluto was so out-of-wack with the other planets. I knew that it had a more elliptical path that sent it closer and further than uranus, but had no idea it was tilted.

http://img59.imageshack.us/img59/4514/solarsys0us.th.png
 
Last edited by a moderator:
Good news! We got 99% on the project, including a "1% bonus for contacting NASA" haha. The main criticism was "where are the solar flares on the sun?" :rolleyes:
 
Similar to the 2024 thread, here I start the 2025 thread. As always it is getting increasingly difficult to predict, so I will make a list based on other article predictions. You can also leave your prediction here. Here are the predictions of 2024 that did not make it: Peter Shor, David Deutsch and all the rest of the quantum computing community (various sources) Pablo Jarrillo Herrero, Allan McDonald and Rafi Bistritzer for magic angle in twisted graphene (various sources) Christoph...
Thread 'My experience as a hostage'
I believe it was the summer of 2001 that I made a trip to Peru for my work. I was a private contractor doing automation engineering and programming for various companies, including Frito Lay. Frito had purchased a snack food plant near Lima, Peru, and sent me down to oversee the upgrades to the systems and the startup. Peru was still suffering the ills of a recent civil war and I knew it was dicey, but the money was too good to pass up. It was a long trip to Lima; about 14 hours of airtime...
Back
Top