% Demonstrate combined simulation for a sail in ST9 orbit.
 This is a dawn-dusk sun-synchronous orbit that keeps the sail illuminated at
 all times. The sail is initialized along the LVLH frame.
 Shows the torque produced when sail is pointed along velocity vector. 
 This can be avoided by aligning the sail along LVLH with a small  
 loss in orbit change produced per orbit. You can also test 
 sun-pointing and edge-on attitudes.
 The gravity model includes J2 for sun-synch orbit precession.
 The integration takes about 20 seconds/simulated day on a MacBook.

   Since version 7.
  See also:     FSailCombined     SailEnvironment     SailDisturbance     
  SailEphemEarth     FOrbitSingle     ST9Guidance, QZero, AssignFHandle, 
  Figui, InformDlg, Plot2D, Unit, Date2JD, El2RV, PltOrbit, SunV1, 
  DisturbanceStruct, EnvironmentStruct, DrawSailAttitude, PlotSailForce, 
  PlotSailProfile, DisplaySailProperties
   Copyright (c) 2007, 2010 Princeton Satellite Systems, Inc.
   All rights reserved.


Common: Graphics/Figui
Common: Graphics/InformDlg
Common: Graphics/Plot2D
Common: Quaternion/QZero
Common: Time/Date2JD
Math: Linear/Unit
OrbitMiniToolbox: Support/El2RV
SC: BasicOrbit/PltOrbit
SC: Ephem/SunV1
Sail: Graphics/DrawSailAttitude
Sail: Graphics/PlotSailForce
Sail: Graphics/PlotSailProfile
Sail: OrbitDynamics/FSailCombined
Sail: OrbitDynamics/InitializeSailGravity
Sail: OrbitDynamics/InitializeSailSim