Regulations for parallel operation of battery packs