Path: SCPro/Landers
% Computes the optimal acceleration for a fuel/time problem. Type FuelTimeOptimalAccel for a demo This function requires the function fminsearchbnd http://www.mathworks.com/matlabcentral/fileexchange/8277 which is available for free. Since version 2014.1 -------------------------------------------------------------------------- Form: [thrust, uE, mFuel, time] = FuelTimeOptimalAccel( d, uE, thrust ) -------------------------------------------------------------------------- ------ Inputs ------ d (1,1) Data structure .sigmaP (1,1) Specific power .sigmaF (1,1) Structural fraction .eff (1,1) Engine efficiency .massP (1,1) Mass payload .u (1,1) Final velocity .w (1,1) Time weight uE (1,1) Initial guess for uE (km/s) thrust (1,1) Initial guess for thrust (N) ------- Outputs ------- q (1,1) Data structure .uE (1,1) Exhaust velocity .thrust (1,1) Thrust (N) .time (1,1) Acceleration time (s) .massPower (1,1) Power system mass (kg) .massFuel (1,1) Fuel mass (kg) .massTotal (1,1) Total mass (kg) --------------------------------------------------------------------------
Common: Graphics/Plot2D Common: Graphics/TimeLabl
Back to the SCPro Module page