The TBM power module is used in conjunction with the lithium battery formation and capacity grading system to provide bidirectional energy flow in the battery formation and capacity grading system and feedback the battery discharge energy to the power grid, greatly saving heating equipment, improving system efficiency and gaining significant energy conservation and emission reduction benefits.