(Using the method of multi-agent modeling and simulation, according to the REPAST approach, the mass production system is respectively studied in the closed system where the number of agents cannot be increased, and in the open system where the number of agents can be increased, has a lifetime and the network structure changes dynamically. stability. The analysis results show that in the shutdown system, the number of agents cannot be greatly increased, and external disturbances will expand through the network topology between agents.)