PropellantMass:

Path: SC/Actuator

% Compute the propellant mass and pressurant mass for a tank.

	 The following equation is used:
		p = R*( mPressurant*T )/(V-mFuel/rhoFuel )

   where p is the pressure, R is the gas constant of the pressurant, V is the 
   tank volume, and rhoFuel is the density of the fuel.  
   
   The mass of the pressurant is found by setting p=pMin and mFuel=0. 
   The total mass of the fuel is then found by solving the above equation 
   for "mFuel".

   Helium gas constant:		2079 J/(kg*K)
   Hydrazine density:   		1010 kg/m^3
   Convert PSI-to-metric: 	1 PSI = 6895 N/m^2
--------------------------------------------------------------------------
   Form:
   [mFuel,mPressurant] = PropellantMass( V, R, T, rhoF, pMax, pMin );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   V             (1,1) Tank volume (m^3)
   R             (1,1)	Gas constant of pressurant (J/kg/K) 
   T             (1,1) Temperature (K)
   rhoFuel       (1,1) Density of fuel (kg/m^3)
   pMax          (1,1) Maximum pressure (N/m^2)
   pMin          (1,1) Minimum pressure (N/m^2)

   -------
   Outputs
   -------
   mFuel         (1,1) Mass of the propellant (kg)
   mPressurant   (1,1)	Mass of the pressurant (kg)

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

Back to the SC Module page