GetFuelBudgetDataFromCAD:

Path: Orbit/OrbitMechanics

% Retrieve fuel budget information from a CAD model.
 Obtain data from thruster and fuel tank components as identified by
 fields within deviceInfo.
--------------------------------------------------------------------------
   Form:
   x = GetFuelBudgetDataFromCAD( g )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g         (.) CAD data structure
                 .deviceInfo.uECoefficient  (1,2)  Identifies a thruster
                 .deviceInfo.massPressurant (1,2)  Identifies a tank

   -------
   Outputs
   -------
   x
            .inr          (3,3) Inertia matrix
            .cM           (3,1) Center of mass
            .dryMass      (1,1) Vehicle dry mass
            .thrusterData (.)   Thruster data
                                 .r  (3,:) Thruster position vectors
                                 .u  (3,:) Thruster unit vectors
                                 .iSP    (1,:) Specific impulse coeffs
                                 .thrust (1,:) Thrust coeffs
                                 .systemTemp (1,1) Tank temp
                                 .systemVol  (1,1) Tank volume
                                 .systemMass (1,1) Fuel mass

--------------------------------------------------------------------------
 See also: DeviceProperties
--------------------------------------------------------------------------

Back to the Orbit Module page