(42S/DM42) Solar Declination, Zenith, and Sunrise
|
12-09-2019, 08:40 PM
Post: #1
|
|||
|
|||
(42S/DM42) Solar Declination, Zenith, and Sunrise
Blog Link: http://edspi31415.blogspot.com/2019/12/h...ation.html
Introduction The program SUNS will calculate: 1. Approximation declination given month and day. A 365-year is assumed. δ ≈ 23.45° sin(.9863 * (284 + n)) where n is the nth day of the year: If month = 1 or month = 2, then: n = IP(30.6 * month + 368.8) + day - 399 If month ≥ 3 then: n = IP(30.6 * month + 1.6) + day - 34 2. Zenith angle θ: θ ≈ acos(sin δ * sin ϕ + cos δ * cos ϕ * cos hour_angle) where: ϕ = latitude, north is positive hour_angle = (12 - number of hours before noon) * 15 3. Approximate time of sunrise: ω ≈ acos(-tan ϕ * tan δ) Sunrise time ≈ (12 - ω/15) converted to HMS The program was entered on a HP 42S, and should work for the Free42 and Swiss Micros DM42. HP 42S/DM42 Program SUNS Code: 00 {206-Byte Prgm} Variables: R01 = month R02 = day R03 = hours before moon R04 = latitude R11 = n, nth day of the year R12 = δ, declination R13 = hour_angle R14 = θ, zenith R15 = ω, approximate sunrise Example March 15, 8:00 AM (4 hours before noon), latitude is 40° Results: DEC = -2.8191 (-2.8191°) ZENITH = 114.4672 SUNRISE = 6.0928 (around 6:09:28) Remember, these results are approximate! Source: Hewlett Packard. "Solar-Beam Irradiation" Hewlett Packard User's Library Solution: Solar Engineering. HP 41C January 1984. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)