Essays on renewable energy deployment and local preferences