TankVolume:

Path: SC/Actuator

% Computes fuel mass from tank volume.
 If gas constant is omitted, Helium will be assumed.
 Typical tank pressures are 300-400 psi BOL and 100 psi EOL.
 This is for a tank that has both fuel and pressurant.
 The default pressurant is helium.

 Type TankVolume for a demo.
-----------------------%---------------------------------------------------
   Form:
   [mF, mP, vP] = TankVolume( vT, rhoF, tNom, pI, pF, rP )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   vT            (1,:)    Total volume available (m^3)
   rhoF          (1,1)    Density of fuel (kg/m^3)
   tNom          (1,1)    Nominal temperature (K)
   pI            (1,1)    Initial pressure (N/m^2)
   pF            (1,1)    Final pressure (N/m^2)
   rP            (1,1)    Gas constant of pressurant

   -------
   Outputs
   -------
   mF            (1,:)    Mass of fuel (kg)
   mP            (1,:)    Mass of pressurant (kg)
   vP            (1,:)    Pressurant volume (m^3)

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

Children:

Common: Graphics/Plot2D

Back to the SC Module page