Lithium battery conversion to three-phase AC power