closed

Loginbox

Please enter your username and password into the following fields to log in.


  • Username:
  • Password:
  •  
  • Auto log in on every visit.


  •  

Sun Position Calculator



jboavida
 
Avatar
Subject: Sun Position Calculator  -  Posted: 22.05.2010 - 12:44   -  
Hi All,

Does anyone knows an algoritmh to calculate the sun position given the GPS coordinates and date?

The goal is build a solar tracker, the input is GPS (coordinates and date time). From this I can calculate the azimuth and inclination of solar panel. Using a electronic compass and a tilt sensor I can position the solar panel with precison. I have a C source with the algorithm, but since I dont have a lot o time to implement I ask if anyone have / know a pascal source.

Thanks in advance

Joaquim
go down go up
Avra hidden
Schreiberling
Avatar
Gender: male
Location: SERBIA  Belgrade, Serbia
Age: 51
Posts: 651
Registered: 07 / 2002
Homepage Private message
Subject: Re: Sun Position Calculator  -  Posted: 24.05.2010 - 16:56   -  
Have you tried googling around? This is the 2nd result when entered "sun position" pascal:
http://celestrak.com/columns/v03n01
go down go up
jboavida
 
Avatar
Subject: Re: Sun Position Calculator  -  Posted: 25.05.2010 - 09:50   -  
Hi Avra,
Thanks for your awnser. I did google around. And I did misss this one. This is not quite what I want, because it lacks the coordinates (latitude and logitude), but is a good starting point.

Joaquim
go down go up
Avra hidden
Schreiberling
Avatar
Gender: male
Location: SERBIA  Belgrade, Serbia
Age: 51
Posts: 651
Registered: 07 / 2002
Homepage Private message
Subject: Re: Sun Position Calculator  -  Posted: 26.05.2010 - 08:53   -  
This is where you can find visual explanation of Latitude to ECI Conversion and Longitude to ECI Conversion:
http://celestrak.com/columns/v02n01

Code can be found here:
http://celestrak.com/software/satellite/sgp4-plb26a.zip

I hope that this will be enough for your task. =)
go down go up
Avra hidden
Schreiberling
Avatar
Gender: male
Location: SERBIA  Belgrade, Serbia
Age: 51
Posts: 651
Registered: 07 / 2002
Homepage Private message
Subject: Re: Sun Position Calculator  -  Posted: 06.10.2010 - 08:04   -  
I have just poped up on this code. It can't be simpler then this:
http://www.avrfreaks.net/index...showinfo=1
go down go up
jboavida
 
Avatar
Subject: Re: Sun Position Calculator  -  Posted: 06.10.2010 - 17:50   -  
Thanks Avra. :-)
go down go up
Avra hidden
Schreiberling
Avatar
Gender: male
Location: SERBIA  Belgrade, Serbia
Age: 51
Posts: 651
Registered: 07 / 2002
Homepage Private message
Subject: Re: Sun Position Calculator  -  Posted: 21.07.2011 - 12:13   -  
This post has been edited 1-times. Last edit: 21.07.2011 - 16:01 by Avra.
go down go up
jboavida
 
Avatar
Subject: Re: Sun Position Calculator  -  Posted: 22.07.2011 - 19:10   -  
Thanks AVRA !
go down go up
 


Registered users in this topic
Currently no registered users in this section

Delete cookies of this forum  •  FAQ / Help  •  Team page  •  Imprint   |  Local time: 06.07.2022 - 02:38