BESS BMS overvoltage protection