Path: Missions/SpaceStation
% Calculates drag for the LEO space station This drag model uses the scale height atmosphere and a custom data structure of surface data. Type SpaceStationDragDisturbance for a demo. The demo requires you to first run ManufacturingSpaceStationCAD to produce SpaceStationProps.mat. This can be called in batch mode with arrays of time and state. Call without outputs to produce a plot. -------------------------------------------------------------------------- Form: SpaceStationDragDisturbance; % demo SpaceStationDragDisturbance(r,v,q,t,d); % create plots in batch mode [torque,force] = SpaceStationDragDisturbance(r,v,q,t,d) % output mode -------------------------------------------------------------------------- ------ Inputs ------ r (3,:) Position (km ECI) v (3,:) Velocity (km/s ECI) q (4,:) Quaternion ECI to body t (1,:) Time (s) d (.) Data structure .dSurf (.) Surface data structure aB (:,1) Core areas nB (:,3) Core element normals rB (:,3) Position of core areas aW (:,1) Wing areas nW (:,3) Wing element normals rW (:,3) Position of solar wing areas .cD (1,1) Drag coefficient .jD0 (1,1) Start Julian date ------- Outputs ------- torque (3,:) Torque (Nm) force (3,:) Force in the ECI frame (N) --------------------------------------------------------------------------
AerospaceUtils: AtmosphericCalculations/AtmDens2 AerospaceUtils: Coord/QLVLH CubeSat: Visualization/PlotOrbit Demos: SpaceStation/SpaceStationProps Orbit: OrbitSim/RVOrbGen SC: Ephem/SunV1 Common: Graphics/TimeHistory Common: Quaternion/QForm Common: Quaternion/QTForm Common: Time/Date2JD Common: Time/FindSolsticeOrEquinox Math: Linear/Cross Math: Linear/Dot Math: Linear/Mag Math: Linear/Unit
Back to the Missions Module page