Power Flow in Battery Electric Machine