DisturbanceBatchDemo:

Path: SC/Disturbances

% Run the disturbance model for a spacecraft with two rotating arrays.
 Define the orbit a priori and call the disturbance model in batch. The sun
 vector is held constant. The spacecraft - body 1 - points at the earth while the
 arrays - bodies 2 and 3 - rotate to point at the sun.

 Before the disturbances are calculated, the orientation is visualized in a
 loop using DrawSCPlanPlugIn.

  ------------------------------------------------------------------------
  See also Disturbances, BuildTwoArraySC, Q2Mat, QLVLH, Date2JD, Period, 
  RVFromKepler, SunV1, EarthEnvironment
  ------------------------------------------------------------------------
%
-------------------------------------------------------------------------------
   Copyright (c) 1998-2003, 2022 Princeton Satellite Systems, Inc. 
   All rights reserved.
-------------------------------------------------------------------------------
   Since version 5.5 (2003) 
   2016.1 Add visualization of Earth and Sun vectors with DrawSCPlanPlugIn to 
   verify correct solar panel pointing
   2022.1 Use EarthEnvironment which computes eclipses
   2023.1 Correct Julian date (spring equinox)
-------------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/QLVLH
AerospaceUtils: Visualization/ShowCAD
Orbit: OrbitMechanics/Period
Orbit: OrbitSim/RVFromKepler
SC: Disturbances/Disturbances
SC: Environs/EarthEnvironment
SC: Ephem/QSunPointing
SC: Ephem/SunV1
SC: SCModels/TwoArraySC
Common: GUIs/Figui
Common: Time/FindSolsticeOrEquinox
Common: Time/JD2Array

Back to the SC Module page