AirshipMassModel:
--------------------------------------------------------------------------
Initialize and update the airship mass model as it changes with alt.
--------------------------------------------------------------------------
Forms:
m = AirshipMassModel( 'initialize', 'yourModelName' );
m = AirshipMassModel( 'initialize', modelDataStructure );
m = AirshipMassModel( 'update', h );
m = AirshipMassModel( 'update' );
--------------------------------------------------------------------------
------
Inputs
------
action (:) 'initilize' or 'update'
data (:) Depends on action.
* With 'initialize', this may be the name of
an airship design script, or the structure
generated from "BuildAirshipModel".
* With 'update', this is a 2 element vector
[h,rho], with altitude (h) in meters and
atmospheric density (rho) in kg/m^3
OPTIONAL:
A 3rd element may also be provided, the
ballonet volume fraction (bvf). If not
provided, it is set to 1.
NOTE: If no data is provided with 'update', the current airship mass
model is returned without being changed.
-------
Outputs
-------
m (.) Airship mass model, a data structure with fields:
.mass Total mass of the airship
.inertia Moment of inertia
.cM Center of mass position
--------------------------------------------------------------------------
Children:
Airships: Mass/BuildAirshipMassModel
Airships: Mass/IntegrateMassProps
Airships: Modeling/AirshipGeometry
Airships: Modeling/BuildAirshipModel
Airships: Modeling/HalfEllipsoid
Common: Atmosphere/StdAtm