With the intensification of competition in the manufacturing market and the rapid development of technology,the traditional manufacturing industry is facing the pressure and challenges of digital transformation.Workshop layout and production line simulation in digital factory is an important means to realize the digital transformation of the manufacturing industry.In this simulation analysis,based on the logistics factor,the workshop layout optimization scheme is designed,and the Demo3D simulation software is used to simulate,test and optimize the scheme,and the Delmia/Quest software is used to simulate and test the production line.The optimization scheme of increasing the sand mixer and reducing the production cycle is designed to solve the production bottleneck and process problems of the sand mixer.Practice has proved that the workshop layout optimization scheme and the production line optimization scheme can better solve the problem of low production efficiency in the production workshop.