Welcome, Guest

Author Topic: Speeding up time causes to crash the simulation and more  (Read 4497 times)

Quizer9O8

  • *****
  • Posts: 65
Speeding up time causes to crash the simulation and more
« on: June 05, 2014, 12:17:07 PM »
Hi there I'm new here and I've encountered some problems that keeps bugging me out.
When I was setting the steps from 1 day to 1 year all of my planets were been sling shot out of their orbit and as i kept raising the amount of years it started to crash at a certain point like 122445 M years.
Is there a way to prevent this?

Xriqxa

  • *****
  • Posts: 1441
  • 01000011 01101111 01101101 01101101 01110101 01101
Re: Speeding up time causes to crash the simulation and more
« Reply #1 on: June 05, 2014, 12:21:06 PM »
No. The current engine for US2, I have to say, is just a toilet potato.

smjjames

  • *****
  • Posts: 1128
Re: Speeding up time causes to crash the simulation and more
« Reply #2 on: June 07, 2014, 08:33:51 PM »
Might want to distinguish between the current Ubox version and the Ubox alpha (which is also called Ubox2).

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Speeding up time causes to crash the simulation and more
« Reply #3 on: June 09, 2014, 06:30:54 AM »
Hi there I'm new here and I've encountered some problems that keeps bugging me out.
When I was setting the steps from 1 day to 1 year all of my planets were been sling shot out of their orbit and as i kept raising the amount of years it started to crash at a certain point like 122445 M years.
Is there a way to prevent this?
Is it the Steam-version or the older non-Steam version?

Here's an explanation for what's happening in the non-Steam version:
Every time step, the program calculates the positions of all the objects in the simulation. So if you set it to 30 days, the positions are calculated every 30 days.
Mercury has an orbital period of just below 90 days, so this means its position would only be calculated three times every time it orbits the Sun. This makes it very inaccurate, so it flies off.
Earth takes about 365 days to orbit, so it maintains a very unstable orbit with about 12 points for some time before it flies off as well.

So generally, the lower the time step is, the more accurate the simulation is.