The control solutions for modern production with a large number of processes performed simultaneously require equal or more computing power than, for example, calculating hashes for bitcoin. Hereinafter the reference is made to the problem of maximizing the production of the quantity of some mechanical units, which include several types of details required to assemble the unit in a certain quantity. The details are assumed to be manufactured and delivered to the assembly shop in a certain set. It is required to ensure the production of details on a specified number of machines for the assembly of maximum units for a fixed time. Any detail is expected to be produced on any machine. The same details can be produced in parallel. The optimization parameters will be provided by number of details of the required nomenclature, as produced with limited machine support used for the time-constraint production of these details. The production of a unit results from the available details of required nomenclature and its assembly from such details. We consider the production simulation model focused on maximizing the output of assemblies and increasing the efficiency of the use of available equipment. To solve the problem, we use the sporadic control mechanism for the number of manufactured details.