Making renewable energy affordable for the local community