Path: Orbit/RHSOrbit
% High fidelity orbit model right-hand-side. Includes higher harmonics of the earth's gravitational field and sun and moon accelerations as options. - The drag option = drag coefficient * area / mass where the area is in m^2 - The sun option = area / mass - The moon option is 0 or 1 The gravity model should be unnormalized. -------------------------------------------------------------------------- Form: xDot = FOrbHF( x, t, options, jD, aExt, mu, s, c, j, a ) xDot = FOrbHF( x, t, options, jD, aExt, d ) xDot = FOrbHF( t, x, options, jD, aExt, mu, s, c, j, a ) (for ode113) -------------------------------------------------------------------------- ------ Inputs ------ x (6,1) The state vector [x;y;z;dx/dt;dy/dt;dz/dt] t (1,1) Time options (1,5) [Highest zonal harmonic,Highest tesseral harmonic, Sun,Moon,Drag] jD Julian date aExt (3,1) External acceleration vector [x;y;z] ECI d (.) Gravity model struct, unnormalized - or - mu Spherical gravitational potential s (36,36) S terms c (36,36) C terms j (36) m = 0 terms a Earth radius ------- Outputs ------- xDot (6,1) The derivative of the state state vector -------------------------------------------------------------------------- See also AGravity, APlanet, AtmDens2, SolarF, and FOrb. --------------------------------------------------------------------------
AerospaceUtils: AtmosphericCalculations/AtmDens2 AerospaceUtils: AtmosphericCalculations/AtmJ70 AerospaceUtils: AtmosphericCalculations/BaromExp AerospaceUtils: AtmosphericCalculations/DiffusionExp AerospaceUtils: Coord/ECIToEF Orbit: GravityModels/LoadGEM Orbit: GravityModels/NormalizationMatrix Orbit: GravityModels/UnnormalizeGravity Orbit: OrbitMechanics/AGravity Orbit: OrbitMechanics/APlanet SC: BasicOrbit/FOrbCart SC: Disturbances/SolarF SC: Ephem/Eclipse SC: Ephem/MoonV1 SC: Ephem/SunV1 SC: SCMat/GEMT1 Common: CommonData/SwooshWatermark Common: General/CellToMat Common: General/DeBlankLT Common: General/DispWithTitle Common: General/MatToCell Common: General/Watermark Common: Graphics/Mesh2 Common: Graphics/NPlot Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Time/DTAToDTS Common: Time/DTSToDTA Common: Time/Date2DN Common: Time/Date2JD Common: Time/JD2DN Common: Time/JD2Date Common: Time/JD2T Common: Time/T2JD Math: Analysis/PDAL Math: Analysis/SCHarm Math: Linear/Cross Math: Linear/Dot Math: Linear/DupVect Math: Linear/Factorl Math: Linear/Mag Math: Linear/Unit Math: MathUtils/R2P5 Math: Trigonometry/ACosD Math: Trigonometry/CosD Math: Trigonometry/SinD
Back to the Orbit Module page