The International Energy Agency expects $1.7 trillion to be spent on clean energy this year, with expenditure on solar power exceeding that on upstream oil and gas for the first time. But the best projects will be erected close to the places where their power will be consumed