I have GPS obtained UTC time (hours, minutes, seconds), longitude(deg E), latitude (deg N) and date. I have thoroughly search on internet for step-by-step procedure to obtain solar position variables - solar zenith angle, solar azimuth angle, Sun-Earth distance. But every method is different. Some followed geometrical method while most others have some complicated formulae with varying coefficients. I never found a generalized way to obtain solar position variables. Is there any reference which provides step-by-step procedure to obtain them in the most accurate way? Can anyone provide the step-by-step procedure with equations, corresponding explanation for coefficients, accuracy of output and literature references for each equation? Please don't provide me readily available codes / functions or links on internet search.