Public investment in renewable energy