This is a typical BMS . Shown for a 36V battery, It is also shown for a two port BMS, which has a separate charge and discharge. If the battery has a combined charge/discharge, then there is only one transistor circuit,
The BMS is measuring the voltage on all ten cell groups, and expects them...