Maybe nearing the final commit
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user