ComputeDurationFraction:

Path: StraightLine/ConstantThrust

% Compute the duration from the desired payload fraction
 This is an analytic solution for a straight-line, constant-thrust
 problem. If there are no outputs, will print a report to the command line
 or, for an input array, create a plot as a function of payload fraction.
--------------------------------------------------------------------------
   Form:
   ComputeDurationFraction;   % demo
   ComputeDurationFraction( lambda, d );   % make plot
   [tF,alpha,dV] = ComputeDurationFraction( lambda, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   lambda   (1,:)  Payload fraction, mPL/m0, must be <1
   d        (.)    Engine data structure
                   .uE
                   .eta
                   .sigma
                   .f

   -------
   Outputs
   -------
   tF      (1,:)   Trip duration (s)
   alpha   (1,:)   Payload/power ratio, mPL/P (kg/W)
   dV       (1,1) Total delta-velocity (km/s)

--------------------------------------------------------------------------
   See also: ComputePayloadFraction, ZeroPayloadTime
--------------------------------------------------------------------------

Children:

StraightLine: ConstantThrust/EngineReport
StraightLine: ConstantThrust/Straight2DStructure
Common: Database/Constant
Common: Graphics/Plot2D
Common: Graphics/TimeLabel

Back to the StraightLine Module page