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.