Solar energy has become the most affordable source of new electricity generation in the United States.