DefaultTankData:

Path: FormationFlying/DefaultData

% Generate a data structure for fuel tank info.
 This is for a blow down system. Each tank has a set of thrusters
 associated with the tank.
--------------------------------------------------------------------------
   Form:
   tank = DefaultTankData( n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   n   	(1,1)   Number of tanks

   -------
   Outputs
   -------
   tank	(.)   Fuel tank data structure
               .nThrusters         	(1,1) Number of thrusters
               .minimumPulsewidth   	(1,1) Minimum width (s)
               .pulsewidthResolution	(1,1) Resolution (s)
               .pressure             (1,1) Pressure (N/m^2)
               .thrustCoefficient    (1,:) N/(N/m^2)
               .massPressurant       (1,1) Mass (kg)
               .densityFuel          (1,1) Density (kg/m^3)
               .volumeTank           (1,1) Volume (m^3)
               .rPress               (1,1) Gas constant
               .temperatureTank      (1,1) Temperature (deg-K)
               .massFuel             (1,1) Mass fuel (kg)
               .uECoefficient        (.)   struct('iSP',{1,:},'pulsewidth',(1,:))
               .r                    (3,:) Position from cm to thruster
               .u                    (3,:) Force unit vector

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

Back to the FormationFlying Module page