Comparison study on the battery models used for the energy management of batteries in electric vehicles