from firelab github, based on Meeus;s astronomical algorithms or from PyMeeus step by step by geoastro Modern Almagest from Richard Fitzpatrick NOAA online solar calculator ISRO solar calculator NREL SPA online . Excellent input and output options Almsun from Sybic, Poland Astronomical answers Marsh blog FreeCAD in 3D , wiki Suncalc Suncalc.net online, or look into github, mentioned in stackexchange In which , Moon position is based on Louis Strous astronomical answers