ChristopherRabotin / smd

Space Mission Design - A SPICE-enhanced continuous thrust interplanetary mission propagator and vizualizer
MIT License
27 stars 5 forks source link

IMD: Lab 4 - Contour plots #72

Closed ChristopherRabotin closed 7 years ago

ChristopherRabotin commented 7 years ago

Pseudocode:

Departure_Dates = vector of departure dates // In days, must be plottable
Arrival_Dates = vector of arrival dates // In days, must be plottable
Loop Departure_Dates
    Loop Arrival_Dates
        [R_Earth, V_Earth] = Earth_RV(JD_Depart)
        [R_Mars,  V_Mars]  = Mars_RV(JD_Arrive)
        [V_initial, V_final] = Lambert(R_Earth, R_Mars, dt)
        Find mission design parameters and stick them into their appropriate arrays
    End Loop
End Loop
Plot contours in a figure with C3, TOF and V_{\infty}
ChristopherRabotin commented 7 years ago

Closed in #74 Plots are generated in Matlab.