Prediction of Solar Irradiance Based on Artificial Neural Networks