Analysis of forecast errors for irradiance on the horizontal plane