Analysis and simulation of a system connecting batteries of an electric vehicle to the electric grid | IEEE Conference Publication | IEEE Xplore