Path: StraightLine/ConstantThrust
% Compute straight line bang-bang trajectory with constant thrust Compute the switch time as a function of thrust, exhaust velocity, initial mass, and flight time. Can account for an initial velocity v0. Type StraightLineConstantThrust for a demo. -------------------------------------------------------------------------- Form: [d,dF] = StraightLineConstantThrust( d0 ) -------------------------------------------------------------------------- ------ Inputs ------ d0 (.) Data structure See StraightLineDataStructure .thrust (1,1) Thrust, N .uE (1,1) Exhaust velocity, km/s .v0 (1,1) Initial velocity, km/s .sigma (1,1) Engine specific power, W/kg .eta (1,1) Efficiency, power to thrust if engine mass mE is empty, it will be computed. ------- Outputs ------- d (.) Data structure with updated fields .p Power .mF Fuel mass .mE Engine mass .mD Dry mass .m0 Initial mass .tS Switch time .vS Switch velocity .dF Final distance See StraightLineDataStructure dF (1,1) Distance achieved --------------------------------------------------------------------------
StraightLine: ConstantThrust/SimulateStraightLineTrajectory StraightLine: ConstantThrust/StraightLineDataStructure StraightLine: ConstantThrust/SwitchTime Common: Database/Constant
Back to the StraightLine Module page