The invention discloses a path optimization control method and device for a
liquid metal battery pack, and belongs to the technical field of
liquid metal battery application, and the method comprises the following steps: S1, building a
graph theory model corresponding to a battery module composed of a plurality of
liquid metal batteries; s2, designing a double-layer
equalization topology corresponding to an
inductor and a multi-winding
transformer in the
graph theory model; s3, calculating the
equalization efficiency and the
equalization speed of the
graph theory model by utilizing the equalization parameter of each section of path in the double-layer equalization
topological graph theory model, and taking the equalization efficiency and the equalization speed as constraint conditions; s4, taking the
index function of the circuit loss and the equalization time added with the weight as a target function to establish an equalization path optimization model; and S5, solving the equilibrium path optimization model by using an
ant colony
algorithm to obtain an optimal equilibrium path meeting the objective function and the constraint condition. According to the invention, the battery equalization problem is converted into a
function optimization problem with constraint conditions, the optimal equalization path is obtained by using the
ant colony
algorithm, and the equalization efficiency and the equalization speed can be improved.