Recent content by AWoods
-
A
Undergrad Where is my calculation of sun angle incorrect?
Ah yes, that's just bad spelling on my part, I was using the incorrect spelling but have now corrected all instances to "latitude".- AWoods
- Post #15
- Forum: Astronomy and Astrophysics
-
A
Undergrad Where is my calculation of sun angle incorrect?
It turns out it was me being daft again, and was to do with an incorrect azimuth calculation, the solar morning/night switch does work correctly. I was using sine for latitude where I should have been using cosine, it appears to all work as expected, and quite smoothly too. Error is fairly low...- AWoods
- Post #13
- Forum: Astronomy and Astrophysics
-
A
Undergrad Where is my calculation of sun angle incorrect?
I have one small further question to add. I have an issue where the azimuth jumps around 50 degrees when the solar time reaches 12. This is due to having implemented the fix to the equation suggested earlier, Azimuth = 360° - Azi, for LST > 12 or HRA >0. The azimuth at the point of the switch...- AWoods
- Post #11
- Forum: Astronomy and Astrophysics
-
A
Undergrad Where is my calculation of sun angle incorrect?
That was exactly it! I feel daft now, thank you so much. That does make a lot of sense though, it's just difficult to keep track of what values are in what format. Thanks everyone for the help, I'll maybe post some pictures if I get the whole thing working as intended, no idea how long that...- AWoods
- Post #10
- Forum: Astronomy and Astrophysics
-
A
Undergrad Where is my calculation of sun angle incorrect?
Firstly thanks for all the responses and time you have put into helping me. I haven't managed to get a correct result yet but just want to try and break this down a bit further so I can try and work out what should be happening. I'd like to focus on the elevation calculation as I think I should...- AWoods
- Post #7
- Forum: Astronomy and Astrophysics
-
A
Undergrad Where is my calculation of sun angle incorrect?
Hi there, thanks for responding. So I should have probably included this in my first post, but this is a calculator for the calculations I'm trying to replicate: http://www.pveducation.org/pvcdrom/properties-of-sunlight/sun-position-calculator I've double checked the equations and believe...- AWoods
- Post #3
- Forum: Astronomy and Astrophysics
-
A
Undergrad Where is my calculation of sun angle incorrect?
Hi there, I hope this is the right place for this question and furthermore doesn't appear rude that my first post is a question! If so, I do apologise, I haven't been able to find an appropriate place to ask this. I'm working on calculating the position of the sun at a given day of the year for...- AWoods
- Thread
- Angle Calculation Physics Programming Sun
- Replies: 15
- Forum: Astronomy and Astrophysics