OptimalVehicle:

Path: Propulsion/Electric

% Finds an electric thrust propelled mass-optimal vehicle. 
 The routine takes the power-to-mass ratio and finds the constant exhaust
 velocity that minimizes the total mass. Since v11 uses fminbnd to prevent
 singularities due to the structural ratio.

 Type OptimalVehicle for a demo.
--------------------------------------------------------------------------
   Form:
   d = OptimalVehicle( x, doPlot )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x     (.)   Data structure
                       .dV     Total delta V capability (m/sec)
                       .uE     Exhaust velocity (m/sec)
                       .pR     Power to propulsion system mass ratio (W/kg)
                       .sR     Structural mass to fuel ratio
                       .mP     Payload mass (kg)
                       .eff    Conversion efficiency
                       .thrust Thrust (N)
   doPlot (1)  Flag to pretty-print the design

   -------
   Outputs
   -------
   d     (.)   Updated data structure with:
                       .mT     Total mass
                       .mS     Structural mass
                       .mR     Propulsion system mass
                       .mF     Fuel mass
                       .mD     Dry mass
                       .power  Total power (w)

--------------------------------------------------------------------------
  See also: ElectricPropulsionDesign
--------------------------------------------------------------------------

Children:

Propulsion: Electric/ElectricPropulsionDesign
Common: General/IsVersionAfter

Back to the Propulsion Module page