Search these forums for something called “SkyControl” - I think it might be able to do the math of calculating the sun postion.