SystemC-AMS Simulation of Energy Management of Electric Vehicles