Transition from oil to renewable energy