I'm not sure if it does it already, but adjust the calculation based on the height of the location above sea level. It might also be good to adjust the results based on a certain height above the ground too (so when will the sun set if I'm in a hot air balloon at 500 ft).