# Design of a System for Verification of Automatic Guided Vehicle Routes Using Computer Emulation
## 2 Materials and Methods
### Designing a System for Verification of AGV Routes Using Computer Emulation
#### 2.1.4 Design of Simulation Models Using Emulation
If the manufacturing machines and equipment are available, or their virtual images are available in a simulation environment, it is possible to start the process of collecting data from both monitored systems (Block 4.3.5). The same is done for the logistics system (Block 4.3.19). Based on the collected data from the manufacturing system, we can create a virtual model of the manufacturing system (Block 4.3.6), which is used for experimental testing when changing manufacturing plans and the requirements for logistics tasks. The data are stored in the databases of the respective systems for the need to test the systems from manufacturing facilities (Block 4.3.7) for logistics elements (Block 4.3.20). Suppose a model of the manufacturing system is created. In that case, it is necessary to create a communication interface (Block 4.3.8) that, based on impulses from the logistic elements, allows the transfer of the information about the monitored parameter to the simulation model, where this information is processed. Then the impulse is sent with the task from the virtual manufacturing equipment to the logistic element of the system. As a result of this procedure, we have a safe communication flow between actual logistics and a virtual manufacturing system produced in a simulation environment. The creation of an information flow between the two systems enables the testing process of the logistics system (Block 4.3.9). After conducting the tests of the system, the steps of processing the obtained data (Block 4.3.10) and their subsequent analysis follow (Block 4.3.11). Based on the analysis, it is possible to decide whether the existing logistics system can operate in accordance with the requirements of the manufacturing planning and control system (Block 4.3.12). Suppose the logistics system is unable to process the requirements of the manufacturing system. In that case, it is necessary to proceed to optimise the logistics system (Block 4.3.13), modify it (Block 4.3.14), and experimentally verify the proposed changes (Block 4.3.15). Subsequently, the algorithm returns before the data collection process, and the system is retested based on PPC system requirements. If the logistics system meets the requirements of the manufacturing system, it is possible to proceed to the process of purchasing machinery and manufacturing equipment (Block 4.3.16) and installing it in the factory (Block 4.2.19). The installation of the machines and equipment is followed by a decision-making process regarding the need for further data collection (Block 4.2.20). If necessary, further data collection is followed by a decision-making process regarding the ability to collect data (Block 4.3.17). This decision-making process is necessary because when we followed the steps of creating a new logistics system after the initial decision-making process, the process of creating a communication interface between the real logistics elements and the virtual model of the manufacturing system was absent. The communication interface can only be created with the existing logistics system (Block 4.3.18). After creating a communication interface, it is necessary to return to the process of collecting data from the logistics and manufacturing facilities. If the current logistics system is able to cover the requirements of the manufacturing planning and control system, and there is no need for additional modifications to the logistics system, the algorithm can be terminated. Figure 6: The emulation-simulation modelling algorithm.