Path: Orbit/StraightLine
% 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 if engine mass mE is empty, it can be computed from these fields: .thrust (1,1) Thrust, N .sigma (1,1) Engine specific power, W/kg .eta (1,1) Efficiency, power to thrust ------- 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 --------------------------------------------------------------------------
AC: ACData/ACTConstants Orbit: StraightLine/SimulateStraightLineTrajectory Orbit: StraightLine/StraightLineDataStructure Orbit: StraightLine/StraightLineOptimalFixedUE Orbit: StraightLine/SwitchTime Orbit: StraightLine/UToMF SC: SCData/sCTConstants Common: CommonData/Constants Common: CommonData/SwooshWatermark Common: CommonData/xSplashSmall Common: Database/Constant Common: General/CellToMat Common: General/DeleteCell Common: General/MatToCell Common: General/Watermark Common: Graphics/DistanceLabel Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/TimeLabl Math: Integration/RK4
Back to the Orbit Module page