Battery box current calculation