Patent attributes
For each cell in a plurality of cells from a same manufacturing run, a first and a second cell characteristic are received in order to obtain a plurality of cell characteristics. For each cell, a batch compatibility number that is associated with a number of compatible cells that that cell is compatible with is determined based at least in part on the plurality of cell characteristics. The plurality of cells is sorted according to the batch compatibility numbers to obtain a sorted list of cells. A plurality of compatible cells to include in a battery is selected from the plurality of cells, including by evaluating the plurality of cells according to the order of the sorted list of cells and beginning with the lowest batch compatibility number.