logoalt Hacker News

westurner • today at 4:58 PM • 3 replies • view on HN

How do KSP and e.g. JPL SPICE model gravity?

Does KSP model perihelion of Mercury (as measured by MESSENGER after its orbital maneuvers) or orbital resonances like the 1.5PN post-Newtonian expansion of the GR (General Relativity) metric tensor?

KSP could simulate N-body gravity and 2.5PN gravitational waves with any of a number of models: Cachazo's over Witten's SU(4) twistor string theory, QED scattering gravity, GrC(2,4)•GrC(2,4)^V gravity (with the Caret Wedge)

KSP2 unfortunately won't run in WASM in a browser tab with localstorage/sqlite for students without login.


Replies

Sharlin • today at 5:53 PM

KSP's model of orbital mechanics is much simpler than what they use in the real world.

And in the real world, they use a simple Newtonian finite element model that just ignores any less-than-planetary bodies. Any relativistic corrections, never mind corrections from asteroids and so on are infinitesimal relative to the precision needed to move stuff around the Solar System. This is engineering, not science, so you just budget for a few kg of propellant for minor trajectory corrections along the way and call it a day.

CDSlice • today at 5:16 PM

KSP uses a very simplified model where the planets are all on rails and your spacecraft is only affected by the gravity of whatever object you are orbiting. It also doesn’t use the real solar system and instead a much smaller and simpler system that is a lot easier to travel between. There are mods you can install to get the real solar system and N-body physics but I haven’t messed with them very much.

itintheory • today at 5:04 PM

I heard KSP2 wasn't very good unfortunately. But I'm curious about a WASM KSP. Is that a thing?

Thanks,

➕ show 2 replies