experience and innovation

Now Hiring!

-------------------------------------------------------------------------------
   Finds the optimal vehicle given various parameters. The routine takes
   the power to mass ratio and minimizes the mass for each value.
-------------------------------------------------------------------------------
   Form:
   x = OptimalVehicle( x )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   x			(:)		Data structure
                       x.dV     Total delta V capability (m/sec)
                       x.uE     Exhaust velocity (m/sec)
                       x.pR     Power to propulsion system mass ratio (w/kg)
                       x.sR     Structural mass to fuel ratio
                       x.mP     Payload mass (kg)
                       x.eff    Conversion efficiency
                       x.thrust Thrust (N)

   -------
   Outputs
   -------
   x             (:)   Data structure additions
                       x.mT     Total mass
                       x.mS     Structural mass
                       x.mR     Propulsion system mass
                       x.mF     Fuel mass
                       x.power  Total power (w)

-------------------------------------------------------------------------------