GetCADPower:

Path: AerospaceUtils/CAD

% Compute the total and directed solar array power from a CAD model
 The power is computed at 1 AU. Pass in a body vector to compute the area
 in a particular direction as well as the total area. The conversion
 efficiency of each component is used to compute the power as:

   p = area*flux*efficiency

 This finds areas from all components whose names contain 'solar panel' or
 'solar array'. The 
--------------------------------------------------------------------------
   Forms:
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g            (.)   CAD model data structure
   vector      (3,1)  Vector in the body frame to the sun

   -------
   Outputs
   -------
   pAll        (1,1)  Power from all solar area
   pDir        (1,1)  Power from light along vector
   consumption (1,1)  Sum of all components' power.powerOn
   
--------------------------------------------------------------------------

Children:

SC: Environs/SolarFlux
SC: SCModels/NanoSatModel
Common: Graphics/DrawCAD
Common: Transform/Eul2Mat

Back to the AerospaceUtils Module page