Haven't updated in awhile
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
# We can get the thrust profile and tof pretty wrong and still be ok
|
||||
phase = Phase(Venus, 1.1v∞_in, v∞_in, 0.9*tof, 0.1*ones(20,3))
|
||||
guess = Mission_Guess(bepi, 3_600., test_leave, 0.9*v∞_out, [phase])
|
||||
m = solve_mission(guess, launch_window, latest_arrival, verbose=true)
|
||||
m = solve_mission(guess, launch_window, latest_arrival, 200., 20., verbose=true)
|
||||
@test typeof(m) == Mission
|
||||
|
||||
# Now we can plot the results to check visually
|
||||
@@ -39,7 +39,7 @@
|
||||
v∞_out, v∞_in, tof = Thesis.lamberts(flybys[end-1], flybys[end], dates[end-1], dates[end])
|
||||
push!(phases, Phase(flybys[end], v∞_in, v∞_in, tof, 0.01*ones(20,3)))
|
||||
guess = Mission_Guess(bepi, 3_600., dates[1], launch_v∞, phases)
|
||||
m = solve_mission(guess, launch_window, latest_arrival, verbose=true)
|
||||
m = solve_mission(guess, launch_window, latest_arrival, 200., 20., verbose=true)
|
||||
@test typeof(m) == Mission
|
||||
p = plot(m, title="NLP Test Solution (2 Phases)")
|
||||
savefig(p,"../plots/nlp_test_2_phase.html")
|
||||
@@ -66,7 +66,7 @@
|
||||
# v∞_out, v∞_in, tof = Thesis.lamberts(flybys[end-1], flybys[end], dates[end-1], dates[end])
|
||||
# push!(phases, Phase(flybys[end], v∞_in, v∞_in, tof, 0.01*ones(20,3)))
|
||||
# guess = Mission_Guess(bepi, 3_600., dates[1], launch_v∞, phases)
|
||||
# m = solve_mission(guess, launch_window, latest_arrival, verbose=true)
|
||||
# m = solve_mission(guess, launch_window, latest_arrival, 200., 20., verbose=true)
|
||||
# @test typeof(m) == Mission
|
||||
# p = plot(m, title="NLP Test Solution (5 Phases)")
|
||||
# savefig(p,"../plots/nlp_test_5_phase.html")
|
||||
|
||||
Reference in New Issue
Block a user