Jump to content

Calculate periapsis velocity based on known values on apoapsis, perapsis and apoapsis velocity *without* the standard gravitational parameter


Recommended Posts

I'd like kOS to calculate the velocity at periapsis for me with the apoapsis height, periapsis height and apoapsis velocity as variables. However, if one is using the specific orbital energy v2/2 - µ/r = constant, you must know the standard gravitational parameter. I could hardcode the values into my script for every celestial body, but I want it to be as general as possible (if you decide to alter the default masses with mods etc). How do I get rid of the dependency of µ in my formula?

Edited by Instresu
Link to comment
Share on other sites

If you know other parameters of your orbit, you could calculate using other orbital equations. For example knowing your orbital period and SMA using Kepler's 3rd law, or the vis-viva equation using your current velocity, position and SMA...

Link to comment
Share on other sites

Angular momentum is conserved.

mass * velocity * radius

If you know the apoapsis velocity and the apoapsis, as well as the periapsis, you can put them into an equation. Mass cancels out( if you haven't lost any) so we get:

apoapsis velocity * apoapsis radius == periapsis velocity * periapsis radius

Solve for periapsis velocity 

Link to comment
Share on other sites

  • 2 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...