A computer-implemented method for determining an optimum assignment of module types to an assembly line selected with regard to an assembly capacity from a predefined set of assembly lines for assembling modules of the module types with components of one or more component types and to at least one remaining assembly line of the set of assembly lines, the method comprising:
- a) ascertaining an expected production time for each module type of the modules to be assembled and for each assembly line, taking into consideration an acquired respective cycle time of the module type on the assembly lines and taking into consideration a parts number of modules to be assembled that is predefined per module type;
- b) assigning a set of module types of the set of module types to a predefined number of fixed-setup setup families containing respectively associated fixed setups, such that a module of a module type of a fixed-setup setup family is able to be assembled on the selected assembly line by way of components of component types of the fixed setup;
- c) optimizing the assignment from b) such that, for all module types that are assigned to the fixed-setup setup families, a sum of differences between the expected production time per module type, if it were to be assembled on one of the at least one remaining assembly lines with the minimum production time out of the at least one remaining assembly line, and the expected production time on the selected assembly line is maximized;
- and
- d) outputting the optimized assignment in a form suitable for controlling and/or regulating the assembly of the modules.