Computational Hohmann Transfer on MapleSoft

1 reply · 3K views · last reply
Lane Dillon
Messages
3
Reaction score
0
Hi,

I am trying to recreate an Interplanetary Hohmann transfer orbit from Earth to Mars similar to image A below (the red line). However, Earths orbit is not circular, It is more of an elliptical orbit rather than circular. I was able to successfully plot the orbits of both Earth and Mars correctly using the Verlet Algorithm (Image B), but I am having trouble with the Hohmann transfer. So far I've been trying to use the following equation but have not had any luck:

ΔV = sqrt(2*mu(sun)) * sqrt( R2 / (R1 * (R1+R2) ) )
R1 = radius of Earth orbit around sun (Aphelion)
R2 = radius of Mars orbit around sun (Aphelion)

Does anyone have any other possible equations to describe an interplanetary Hohamnn transfer? How would I use the above equation as a function of both orbits (Mars and Earth)? How could I split the above equation into X and Y components?

Thanks for the help!

Image A:
Diagram of a Hohmann transfer: a black ellipse with a black dot at its focus and a smaller black circle around that dot, with a red arc running from the outer ellipse to the circle and a blue arc from the circle back to the ellipse, with arrows marking velocity directions at the endpoints.

Image B:
Plot of two orbits around a central red sun: a green circular orbit of radius about 1.5 x 10^11 m with a green dot, and a dotted red elliptical orbit reaching about 2.1 x 10^11 m with a red dot on it. Axes labelled in units of 10^11.
 
Attachments
  • Plot of two orbits around a central red sun: a green circular orbit of radius about 1.5 x 10^11 m with a green dot, and a dotted red elliptical orbit reaching about 2.1 x 10^11 m with a red dot on it. Axes labelled in units of 10^11.
    upload_2018-5-7_22-36-50.png
    15.1 KB · Views: 725
  • upload_2018-5-7_22-42-8.png
    upload_2018-5-7_22-42-8.png
    22.6 KB · Views: 645
  • Diagram of a Hohmann transfer: a black ellipse with a black dot at its focus and a smaller black circle around that dot, with a red arc running from the outer ellipse to the circle and a blue arc from the circle back to the ellipse, with arrows marking velocity directions at the endpoints.
    PE4WH.png
    12.5 KB · Views: 901