Energy Management System for Autonomous Vehicle