trick/trick_sims/SIM_sun
2016-09-14 17:17:44 -05:00
..
DP_Product Add clarifications and consistency in description and plots. 2015-08-19 12:59:44 -05:00
images Update picture in the SIM_sun README file. REF: #242 2016-05-26 18:37:23 -05:00
models Add comments that explain the coordinate systems and transformations in SunDisplay. Ref #310 2016-09-14 17:16:42 -05:00
Modified_data Revert "Functions with enumerated default arguments cause bad python code to be generated" 2016-02-18 10:59:26 -06:00
RUN_Summer Add clarifications and consistency in description and plots. 2015-08-19 12:59:44 -05:00
RUN_test Convert old units to udunits in test code 2016-06-30 10:03:39 -05:00
RUN_Winter Escaped underscores to make the doc look nicer. Ref #108 2015-08-19 14:01:36 -05:00
Doxyfile Initial commit of everything. 2015-02-26 09:02:31 -06:00
README Initial commit of everything. 2015-02-26 09:02:31 -06:00
README.md Update picture in the SIM_sun README file. REF: #242 2016-05-26 18:37:23 -05:00
S_define mv helios models to SIM_sun/models/Sun 2016-02-22 12:22:27 -06:00
S_overrides.mk mv helios models to SIM_sun/models/Sun 2016-02-22 12:22:27 -06:00
sun.tv Fix tv file which was horked somehow 2016-09-14 17:17:44 -05:00

SIM_sun

Picture of Sun

The Simulation

SIM_sun is a simulation of the Sun's movement across the sky. Given the location (latitude, longitude) of an observer on the Earth, the timezone (offset from UTC), and a starting local time, this simulation calculates the position of the Sun in the sky over time.

Inputs

Variable Type Units
sun_predictor.sun.observer_latitude double d
sun_predictor.sun.observer_longitude double d
sun_predictor.sun.observer_offset_from_UTC int hr
sun_predictor.sun.local_time CALENDAR_DATE --

CALENDAR_DATE

Member Type Units
year int --
month int --
day int day
hour int hour
min int min
sec double s

Outputs

Variable Type Units
sun_predictor.sun.JD double day
sun_predictor.sun.right_ascension double d
sun_predictor.sun.declination double d
sun_predictor.sun.hour_angle double d
sun_predictor.sun.local_sidereal_time double s
sun_predictor.sun.sidereal_time_at_Greenwich double s
sun_predictor.sun.solar_azimuth double d
sun_predictor.sun.solar_elevation double d
sun_predictor.sun.local_time CALENDAR_DATE --
sun_predictor.sun.utc CALENDAR_DATE --

NOTE: 0 <= Solar Azimuth < 360 degrees. North = 0, East = 90, South = 180, West = 270.

###Scenarios

####RUN_Winter

####RUN_Summer

References

Meeus, Jean, (1998) "Astronomical Algorithms", Willmann-Bell, Inc. ISBN 0-943396-61-1.