A model for diffuse solar radiation in presence of some environmental parameters