Modeling Of Solar And Atmospheric Radiation Transfer With Cloud And Aerosol Variability For Solar Energy Applications