Modeling the altitude effect on solar UV radiation