# Design of a System for Verification of Automatic Guided Vehicle Routes Using Computer Emulation
## 2 Materials and Methods
### Integrating Modules into a Single Solution  
The individual modules of the proposed system must be incorporated into a comprehensive solution that ensures the overall system's integrity. Figure 1 depicts the structure of the proposed system. The integrated system's idea and functioning are based on incentives from the production planning and control procedures. Based on the manufacturing plan, the system issues a logistical request. The planned Ethernet network transmits data to the logistics system. The logistical aspect is activated upon receipt of the request. During the task's execution, the logistical equipment collects the device's status information and information about the task performed. The device's capacity utilisation, information, and location, are also collected, with the option of supplementing the information that is required for further analysis and optimisation of the process. After performing the logistical task, the collected information is sent to the communication-interface module. In this interface, status information obtained from the internal logistical element database is evaluated. The communication interface also contains a manufacturing database in which information is collected from the enterprise resource planning (ERP) internal manufacturing system. According to the system settings of a particular manufacturing factory, information is collected, such as technological manufacturing parameters, key operating parameters (for example, overall equipment effectiveness (OEE), mean time to repair (MTTR), and mean time between failures (MTBF)), reliability and availability of equipment, and others. At the same time, data from the manufacturing system are also sent to the virtual model of the monitored system. This information can be transformed into a model through an Extensible Markup Language (XML) file. The simulation software converts the values thus obtained into data types, defining the data type for each column of data collected. From the obtained data, it is necessary to filter out data that are not necessary for the simulation model. As a result of using information from the logistics system and working on the basis of a production plan from the manufacturing planning and control system, new logistical demands develop. These tasks need to be compared with the capacity capabilities of the manufacturing plan through a virtual model created by the simulation software. In the simulation model, it is possible to verify the suitability of the current logistical settings. If the manufacturing requirements obtained from the PPC system are not met in capacity, an alternative solution is sought through optimisation methods and experiments in the simulation model, which may consist of, for example, rescheduling logistics routes, changes to individual supply circuits, and the modifications and settings of the manufacturing system. The virtual model module of the system is linked to the human-machine interface (HMI) module. The HMI module is an interface that connects the operator to the system and allows the operator to interact with the process. The task of the HMI module is to enable the operator to easily and comprehensibly use the monitored technology so that it can react quickly on the basis of the received message. The solution to the problem is returned from the virtual model to the communication interface, which transmits changed commands to logistical elements depending on the information collected. This process is cyclically repeated based on input from the manufacturing planning and control system. .2.1 Design of the Communication Interface between Real System Elements and Virtual Emulation Models  
In order to ensure mutual communication between logistics means-of-transport and the simulation software, it is necessary to create an application to bridge the flow of data. The principle of communication is displayed in Figure 7.  
In the first step, it is necessary to define in the control system logistical elements the range of data that is recorded in the internal database.