Solar energy on clear and cloudy days