Maybe nearing the final commit

This commit is contained in:
Connor
2022-04-18 10:59:25 -06:00
parent 0fb875c777
commit 5b6656a9a6
3598 changed files with 79349 additions and 572 deletions

View File

@@ -16,14 +16,14 @@ function cost_1(m::Union{Mission, Mission_Guess})
norm_mass = (m.start_mass - prop(m)[7]) / m.start_mass
norm_C3 = ( m.launch_v∞ m.launch_v∞ ) / 200.
tof = sum([p.tof for p in m.phases])/(20Thesis.year)
return 2norm_mass + norm_C3 + tof
return 3norm_mass + norm_C3 + tof
end
function cost_2(m::Union{Mission, Mission_Guess})
norm_mass = (m.start_mass - prop(m)[7]) / m.start_mass
norm_C3 = ( m.launch_v∞ m.launch_v∞ ) / 200.
tof = sum([p.tof for p in m.phases])/(20Thesis.year)
return 2norm_mass + norm_C3# + tof
return 3norm_mass + norm_C3# + tof
end
function get_id(m::Mission)
@@ -74,16 +74,16 @@ println(get_id.(sorted_missions2[1:5]))
# camera=((-0.2, 0.1, -0.3),(-2.,-2.,1.))),
# "/home/connor/projects/thesis/LaTeX/fig/EMS_plot_noplanets.png",
# width=850, height=400)
savefig(Thesis.plot(long, title="EMJS Mission Profile", mode="light", planet_colors=false,
phase_colors=["#F00","#F0F","#6AF"], markers=false, legend=false,
camera=((-0.2, -0.3, -0.2),(1.75,-1.75,1.5))),
"/home/connor/projects/thesis/LaTeX/fig/EMJS_plot.png",
width=850, height=400)
savefig(Thesis.plot(long, title="EMJS Mission Profile", mode="light", planet_colors=false,
phase_colors=["#F00","#F0F","#6AF"], markers=false, planets=false, legend=false,
camera=((-0.2, -0.3, -0.2),(2.,-2.,1.5))),
"/home/connor/projects/thesis/LaTeX/fig/EMJS_plot_noplanets.png",
width=850, height=400)
# savefig(Thesis.plot(long, title="EMJS Mission Profile", mode="light", planet_colors=false,
# phase_colors=["#F00","#F0F","#6AF"], markers=false, legend=false,
# camera=((-0.2, -0.3, -0.2),(1.75,-1.75,1.5))),
# "/home/connor/projects/thesis/LaTeX/fig/EMJS_plot.png",
# width=850, height=400)
# savefig(Thesis.plot(long, title="EMJS Mission Profile", mode="light", planet_colors=false,
# phase_colors=["#F00","#F0F","#6AF"], markers=false, planets=false, legend=false,
# camera=((-0.2, -0.3, -0.2),(2.,-2.,1.5))),
# "/home/connor/projects/thesis/LaTeX/fig/EMJS_plot_noplanets.png",
# width=850, height=400)
# Display Thrust Plots
# display(plot_thrust(display_mission, title="Thrust Magnitude vs Time", mode="light"))
# display(plot_thrust_components(display_mission, title="Thrust Components vs Time", mode="light"))