A Methodology For Development Of Look Ahead Based Energy Management System Using Traffic In Loop Simulation