As of 1 April 2026, the PSJD database will become an archive and will no longer accept new data. Current publications from Polish scientific journals are available through the Library of Science: https://bibliotekanauki.pl
In this paper the problem of building simulation models of discrete manufacturing systems in the Arena is presented. A method of functional analysis of manufacturing system supporting the correct building of simulation models is described. The optimization process of manufacturing system based on computer simulations is presented.