CubeSatPropulsion:

Path: CubeSat/Actuators

% Returns the force, torque and mass flow for a cold gas system.
 Will call CubeSatAttitude for the attitude model if p.q is empty.
--------------------------------------------------------------------------
   Form:
   [force, torque, mDot] = CubeSatPropulsion( mass, p, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   mass     (1,1)   Total system mass
   p         (.)    Data structure
                    .r    (3,1) ECI position
                    .v    (3,1) ECI velocity
                    .q    (4,1) ECI to body quaternion
   d         (.)    Data structure
                    .gas            (1,:) Gas name
                    .throatArea     (1,1) Area of throat (m^2)
                    .volumeTank     (1,1) Tank volume (m^3)
                    .temperature    (1,1) Tank temperature (deg-K)
                    .expansionRatio (1,1) Expansion ratio of nozzle
                    .rNozzle        (3,n) Position of thruster (m)
                    .uNozzle        (3,n) Thrust unit vector
                    .cM             (3,1) Center-of-mass (m)
                    .pulsewidthFraction (1,n)
                    .pRegulator     (1,1) Regulator pressure (N/m^2)
                    .att             (.)  Attitude data structure

   -------
   Outputs
   -------
   force    (3,1)   ECI Force vector (N)
   torque   (3,1)   Torque vector (N)
   mDot     (1,1)   Mass flow rate (kg/s)

--------------------------------------------------------------------------
   See also GasProperties, CubeSatAttitude
--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/QLVLH
CubeSat: Utilities/CubeSatAttitude
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/StrMtch
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Materials/GasProperties
Common: Quaternion/Mat2Q
Common: Quaternion/QMult
Common: Quaternion/QTForm
Math: Linear/Cross
Math: Linear/Unit

Back to the CubeSat Module page