TerrestrialSolarFlux:

Path: SC/Environs

% Solar flux and direction from the sun with seasonal variation.

 Uses SunV1 to locate the sun in the Eart-centered inertial (ECI) frame. 
 The nominal solar flux at 1 AU is 1367 W/m2.

 The same scaling law is used by SolarFluxDemo, which also returns
 the sun unit vector in the Earth-centered (ECI) frame, but using the 
 PlanetPosition to compute the sun vector instead of Almanac function
 SunV1. The results are therefore slightly different.
--------------------------------------------------------------------------
   Form:
   [flux,u] = TerrestrialSolarFlux( jD )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   jD      (1,:) Julian Date

   -------
   Outputs
   -------
   flux    (1,:) Solar flux (watts/m^2)
   u       (3,:) Sun unit vector

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

Children:

SC: Ephem/SunV1
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2000
Math: Linear/Mag
Math: Linear/Unit
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the SC Module page