AirshipSim:

Path: Airships/Simulation

%  Simulate an airship in flight
--------------------------------------------------------------------------
   Form:
   data = AirshipSim( d, x, T, dT, control );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d              (.)    Aircraft data structure
   x              (:)    Initial state, class "acstate"
   T              (1)    Length of simulation (sec)
   dT             (1)    Optional. Time step (sec). Default is 0.1 sec.
   control        (.)    Optional. Control input data structure with
                         following fields, where integer N > T/dT.
                          - throttle  (1,N) Throttle command (0-1) 
                          - mu        (1,N) Thrust vector angle
                          - dELVL     (1,N) Left elevator deflection
                          - dELVR     (1,N) Right elevator deflection
                          - dRUDT     (1,N) Top rudder deflection
                          - dRUDB     (1,N) Bottom rudder deflection

   -------
   Outputs
   -------
   out            (.)    Recorded state data. Data structure with fields:
                          - t      Time (sec)
                          - lat    Latitude (deg) 
                          - long   Longitude (deg)
                          - alt    Altitude (km)
                          - V      Airspeed velocity (m/s)
                          - alpha  Angle of attack (deg)
                          - beta   Sideslip angle (deg)
                          - phi    Roll angle (deg)
                          - theta  Pitch angle (deg)
                          - psi    Heading angle (deg)
                          - p      Roll rate (deg/s)
                          - q      Pitch rate (deg/s)
                          - r      Yaw rate (deg/s)
                          - mass   Total mass, with all internal gas (kg)
                          - cG     Center of gravity location (m)

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

Children:

AC: ACCoord/AlphBeta
AC: ACCoord/ECIToNED
AC: ACCoord/QECI
AC: ACData/ACTConstants
AC: ACDynamics/AC
AC: ACDynamics/ACInit
AC: Classes/@acstate/abs.m
AC: Classes/@acstate/acstate.m
AC: Classes/@acstate/get.m
AC: Classes/@acstate/length.m
AC: Classes/@acstate/minus.m
AC: Classes/@acstate/mrdivide.m
AC: Classes/@acstate/mtimes.m
AC: Classes/@acstate/plus.m
AC: Classes/@acstate/subsasgn.m
AC: Classes/@acstate/subsref.m
AC: Classes/@acstate/zeros.m
AerospaceUtils: AeroData/AtmData
AerospaceUtils: AtmosphericCalculations/AirData
AerospaceUtils: Coord/CoordinateTransform
AerospaceUtils: Coord/ECIToEF
AerospaceUtils: Coord/EFToLatLonAlt
AerospaceUtils: Coord/LatLonAltToEF
AerospaceUtils: Coord/QIToBDot
Airships: Control/AirshipTrim
Airships: Mass/AirshipMassModel
Airships: Mass/BuildAirshipMassModel
Airships: Mass/IntegrateMassProps
Airships: Modeling/AddedMass
Airships: Modeling/AirshipCV
Airships: Modeling/AirshipCoefficients
Airships: Modeling/AirshipGeometry
Airships: Modeling/AirshipInertiaFactors
Airships: Modeling/AirshipIntegrals
Airships: Modeling/BuildAirshipModel
Airships: Modeling/FinFactors
Airships: Modeling/FinGeometry
Airships: Modeling/GondolaGeometry
Airships: Modeling/HalfEllipsoid
Airships: Simulation/AirshipAero
Airships: Simulation/AirshipInit
SC: Ephem/EOfE
SC: Ephem/EarthNut
SC: Ephem/EarthPre
SC: Ephem/EarthRot
SC: Ephem/GMSTime
SC: Ephem/MSidDay
SC: Ephem/NutDelta
SC: Ephem/ObOfE
SC: Ephem/TruEarth
SC: SCData/sCTConstants
Common: Atmosphere/StdAtm
Common: Classes/@statespace/and.m
Common: Classes/@statespace/close.m
Common: Classes/@statespace/connect.m
Common: Classes/@statespace/eig.m
Common: Classes/@statespace/get.m
Common: Classes/@statespace/getabcd.m
Common: Classes/@statespace/getsub.m
Common: Classes/@statespace/isempty.m
Common: Classes/@statespace/mtimes.m
Common: Classes/@statespace/plus.m
Common: Classes/@statespace/series.m
Common: Classes/@statespace/set.m
Common: Classes/@statespace/statespace.m
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Control/Append
Common: Control/C2DZOH
Common: Control/Parallel
Common: Control/Series
Common: Control/SizeABCD
Common: Database/Constant
Common: GUIs/TimeGUI
Common: General/CellToMat
Common: General/CloseIfHandle
Common: General/DeBlankLT
Common: General/DeleteCell
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/Mat2Q
Common: Quaternion/Q2Eul
Common: Quaternion/Q2Mat
Common: Quaternion/QForm
Common: Quaternion/QMult
Common: Quaternion/QPose
Common: Quaternion/QTForm
Common: Quaternion/QUnit
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2000
Common: Time/JD2T
Common: Time/JDToMidnight
Common: Time/T2JD
Common: Transform/Altitude
Common: Transform/Eul2Q
Common: Transform/IConvP
Common: Transform/Mat2Eul
Math: Linear/Cross
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/SkewSq
Math: Linear/SkewSymm
Math: Linear/Unit
Math: MathUtils/R2P5
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the Airships Module page