Global Irradiance is solved with Direct beam intensity which is found by inputting the Air Mass
Air Mass can be calculated with one of the equations below
IG=1.1 · ID
ID=1.353·0.7AM0.678