BalanceAirshipPayload:
--------------------------------------------------------------------------
Determine the x-location of the payload that provides long. balance.
Given the set of components that comprise the airship mass model,
determine the x-location of the payload that provides balance, so that
the CM is beneath the CV when the ballonets are empty.
--------------------------------------------------------------------------
Form:
[body,comp,xPld] = BalanceAirshipPayload( name );
--------------------------------------------------------------------------
------
Inputs
------
name (:) Name of airship design file.
-------
Outputs
-------
body (.) Balanced body mass data structure with fields:
.mass Total mass of the airship
.inertia Moment of inertia about CV
.cM Center of mass position wrt CV
comp (.) Component mass data structures with fields:
.mass Mass of the component
.inertia Inertia of the component about
the local origin
.cM Center of mass position wrt the
origin of the local frame
.r0 Position of the local frame
origin wrt the CV
xPld (1) Required location of payload, measured back
from nose, non-dimensional with hull length.
To be used in airship design script.
--------------------------------------------------------------------------
Children:
Airships: Mass/BuildAirshipMassModel
Airships: Mass/IntegrateMassProps
Airships: Modeling/AirshipCV