Succesful MBH runs, with some improvements
This commit is contained in:
@@ -24,7 +24,7 @@ function prop_one(ΔV_unit::Vector{<:Real},
|
||||
ΔV = max_ΔV(craft.duty_cycle, craft.num_thrusters, craft.max_thrust, time, 0., state[7]) * ΔV_unit
|
||||
halfway = laguerre_conway(state, time/2, primary) + [zeros(3); ΔV]
|
||||
final = laguerre_conway(halfway, time/2, primary)
|
||||
return [final; state[7] - craft.mass_flow_rate*norm(ΔV_unit)*time]
|
||||
return [final; state[7] - mfr(craft)*norm(ΔV_unit)*time]
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user