A battery module and an intermediate module for use together in a stack of modules permit flexible electrical configurations of the stack. The battery module has multiple electrically conductive paths extending between its top and bottom sides; one of the paths is connected in series with the…