## 1 Introduction
developed a virtual inspection system for checking the tolerances of standard model mobile mechanical parts based on the digital twin of a CMM as a mirroring process between the physical and virtual measurement systems [12]. [PERSON] et al. used virtual debugging techniques in the field of material control [13]. [PERSON] et al. proposed a method to solve the failures of electromechanical equipment by introducing digital twin technology and establishing a predictive maintenance model for electromechanical equipment [14]. [PERSON] et al. proposed a digital twin model to improve process and product quality [15]. [PERSON] et al. illustrated a digital twin primitive solution for material extrusion three-dimensional (3D) printers, where the twin program is able to directly intervene in the current process in order to pause printing anomalies through the interactive use of print host software [16]. Digital twin technology has been widely used in a variety of fields, such as manufacturing workshops, aerospace, and complex equipment manufacturing [17]. Digital twin technology has shown great potential in a variety of fields, and it can also be used to enhance the operation of automated parking facilities. Simulating debugging by creating virtual models reduces errors and costs in actual operation and increases safety and efficiency. By optimizing the use of urban space, stereo garages significantly increase the vehicle accommodation rate, while the use of steel structures effectively reduces construction costs and has a positive impact on urban development. However, these facilities face a number of challenges in actual operation and have relatively high operating costs, which directly affect the sustainability of the program [18]. This is mainly reflected in the dependence on specialized personnel, which exacerbates the cost of manpower; the frequent discrepancies between the debugging of equipment and the actual situation in the field, which leads to longer deployment cycles and makes maintenance and upgrading complex and cumbersome; the mechanical failures may not only damage the vehicle and cause property loss to the user but also pose a safety risk. Although the concept of stereo garages is forward-looking and has the potential to revolutionize urban mobility, their level of intelligence and safety needs to be further improved in order to ensure their wider acceptance and application, thus unlocking their full potential in urban mobility [19]. Stereo garages, as an advanced solution to the conflict between limited urban space and vehicle growth, need to leverage emerging technologies to enhance their automation and user experience. For this reason, this paper integrates digital twin technology into the design and commissioning of lift-and-transverse stereo garages and realizes the virtual simulation and debugging method based on digital twin. Combined S7-PLCSIM Advanced, Botu TIA Portal, and NX MCD to build a virtual simulation platform. This approach enables developers to perform efficient and safe debugging work without physical parking facilities by building virtual models. In addition, with the help of the digital twin model in MCD, real-time monitoring and control of the entire system is realized, which enables potential security risks and failures to be detected and resolved in a timely manner. Finally, the feasibility of the digital twin-based virtual simulation and debugging scheme in engineering applications is verified by comparing the operation and debugging data of the virtual model and the operation data of the actual stereo garages. This provides a way for the intelligent development of automated stereo garages but also provides a valuable reference for the development of equipment in other fields.