is the sun thermal or radiant energy