Two battery cabinets in series or in parallel