How to convert three-phase electricity with battery pack