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:

Common: Quaternion/QTForm
CubeSat: Utilities/CubeSatAttitude
Math: Linear/Cross
Propulsion: Gas/GasProperties

Back to the CubeSat Module page