Abstract: A method for providing a voltage V which includes calculating a number R of energy elements required to provide a desired voltage V, assigning each of the total number of energy elements M a number from zero to M-1, selecting a number S from zero to M-1, connecting the energy elements in a set of groups of R energy elements in series starting with the first energy element assigned the number S, and connecting in parallel the set of groups of the R energy elements. The parallel connection of the set of groups is applied to the load as the desired voltage V and the steps are reiterated following termination of a predetermined assignment period.