# Optimizing Assembly in Wiring Boxes Using API Technology for Digital Twin
## 6 Conclusions  
Analyzing the state-of-the-art existing research in automation within wiring harness production, this study has led to the following innovative outcomes:  
* The paper proposes a novel approach to automate the insertion of fuses and relays using a robotic arm integrated with API technology for digital twin simulation and optimization. The main scientific contribution is the integration of a digitally real-time monitored, fully adaptive robotic system that ensures precise insertion angles and force application. * This research introduces a novel methodological framework in which a digital twin not only simulates but actively controls the assembly process through real-time data feedback. This reduces reliance on post-production quality checks, thus enhancing both production speed and product reliability. The study also introduces a new scientific framework for real-time process adjustment using digital twin models. * This work significantly contributes to the broader field of smart manufacturing and Industry 4.0. It demonstrates how integrating API technology with robotic systems can yield adaptive, real-time production systems. This paves the way for future studies to apply similar concepts to other complex manual assembly processes, potentially revolutionizing the field. Consequently, based on the objectives achieved so far in automating the assembly of fuses for a specific type of box, here are some suggested areas for future research:  
1. Expand automation to handle diverse box types with adaptable algorithms and robotic systems for increased flexibility and scalability. 2. Predictive maintenance is a key area for further development, as it was not fully implemented in this study but was identified as a promising application of digital twin technology. Future work could focus on integrating predictive maintenance to improve the system's ability to monitor wear and tear on robotic components, predict potential failures, and proactively schedule maintenance tasks. This would help reduce downtime and enhance overall system reliability. 3. Integrate digital twin and IoT for real-time monitoring, optimizing operational efficiency, predictive maintenance, and assembly line optimization. 4. Enhance robotic gripper design to improve delicate component handling, experimenting with materials and designs for better reliability. 5. Implement continuous improvement through iterative testing, refining the automated system based on performance data to meet evolving industry needs. 6. In this study, the robot was programmed offline, using API technology and digital twin integration to simulate and optimize the assembly process before its physical implementation. This approach allowed us to test multiple scenarios and refine the robot's movements without disrupting the production process. While offline programming provided the advantage of optimizing complex operations in a controlled environment, we recognize that online programming, which allows for real-time adjustments directly on the robot, could offer greater flexibility and faster on-site modifications. Although this study did not include a direct comparison between offline and online programming, we acknowledge that such a comparison could offer valuable insights into differences in cycle time, ease of use, and operational flexibility. This is an area of potential exploration in future research, where both approaches could be tested under the same conditions to assess their respective benefits and limitations. The supporting information can be downloaded at: [[https://youtu.be/sTRLN013](https://youtu.be/sTRLN013) qUQ]([https://youtu.be/sTRLN013](https://youtu.be/sTRLN013) qUQ) (accessed on 3 October 2024). Conceptualization, C.-C.C. and I.I. ; methodology, C.-C.C. ; software, C.-C.C. ; validation, C.-C.C., I.I. and R.C.P. ; formal analysis, C.-C.C., I.I., R.C.P. and C.L.P. ; investigation, C.-C.C., I.I. and R.C.P. ; resources, C.-C.C. ; writing--original draft preparation, C.-C.C., I.I. and C.L.P. ; writing--review and editing, C.L.P. and C.E.C.