ACCURATE CALCULATION OF SOLAR POWER GENERATION