With the development of computer technology, modeling and simulation have been applied into the field of the optimization more and more widely. Modeling and simulation based on Flexsim has been an important tool in solving optimization problem of the systems that made up of highly discrete events.This paper took scroll air compressor machine production system of W company as research object, and analyzed its processing process. Meanwhile, a new data fitting tools which named ExpertFit was used to analyze and fit the data which collected on the spot, and then Flexsim code was acquired. Then this paper used Petri network to model all processing units of the system. Via preliminary analysis, the order and conflict events were grasped. At last, two-dimensional and three-dimensional models of Flexsim were established based on the Petri network model and ExpertFit's fitting results. After simulation and analysis, this paper found shortcomings and bottlenecks of W company in production systems. One is that the average idle rate of operators is very high, and another is that the Coordinate Measuring Machine (CMM) has a serious bottleneck.With the inadequate and bottlenecks taken in consideration, this paper modified the original model, established the Flexsim experimental tool, and carried out simulation experiments, operator number and CMM number taken as control variables. Meanwhile, evaluation was made base on the experiment after appropriate performance indexes were done. At last, the most optimization of resources configuration scenarios were gained, namely, set three operators and four CMMs.Via improving, on the circumstance of almost the same output of W scroll air compressor, the average idle rate of operators was cut down from71.6%to45.1%, and the average waiting time of temporary entities in the CMM queue was reduced from5459seconds to723seconds. The company's direct labor cost was substantially saved with the elimination of bottlenecks at the same time.The method that combines Petri net modeling with the Flexsim simulation for modeling and analysis in this paper achieved good results, and provided a good idea for the company's rational allocation of resources and some similar research. |