Prediction of Solar Radiation Intensity for Cost-Effective PV Sizing and Intelligent Energy Buildings