Ship power system virtual and real data model linkage mapping method based on digital twinning

By obtaining the universal unique identification code of the physical tile and building equipment mapping analysis rules, the problem of low mapping efficiency in the existing technology is solved, and more efficient and accurate virtual and real data model linkage mapping is achieved, and the system traceability and transparency are improved.

CN119691986APending Publication Date: 2025-03-25CHINA STATE SHIPBUILDING CORP LTD RESEARCH INSTITUTE 719
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411664952.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In the prior art, the virtual and real data model linkage mapping method of ship power system based on digital twins has the problem of low efficiency of bench mapping.

Method used

By obtaining the universal unique identification code of the physical pedestal, building device mapping analysis rules based on the identification code, creating configuration files, and mapping the physical pedestal to the corresponding simulation pedestal. This method improves the accuracy and efficiency of mapping by managing the mapping relationship between the physical pedal and the simulation pedal through configuration files.

Benefits of technology

Improves the efficiency and accuracy of bench mapping, enhances the traceability and transparency of the system, and simplifies the maintenance and update process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119691986A_ABST
    Figure CN119691986A_ABST
Patent Text Reader

Abstract

The invention provides a virtual and real data model linkage mapping method for a ship power system based on digital twinning, and belongs to the technical field of rack mapping, and the method comprises the steps: obtaining a universal unique identification code of a physical rack; an equipment mapping analysis rule is constructed based on the universal unique identification code, the physical rack comprises a plurality of physical components, and the equipment mapping analysis rule is used for defining mapping logic of the plurality of physical components, component parameters and component behaviors; a configuration file is created based on the equipment mapping analysis rule, and each component in the configuration file comprises a universal unique identification code; and mapping the physical rack to a simulation rack based on the configuration file, the simulation rack being a digital twin model corresponding to the physical rack. According to the linkage mapping method for the virtual and real data models of the ship power system based on the digital twinning, the technical problem that the linkage mapping method for the virtual and real data models of the ship power system based on the digital twinning in the related technology is low in rack mapping efficiency is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of bench mapping technology, and in particular to a method for linking virtual and real data models of a ship power system based on digital twins. Background Art

[0002] The power system refers to a group of equipment and components used to generate, transmit and control power, including engines, power transmission systems, hydraulic systems, etc. The power system can be a ship power system, which includes subsystems such as condensate feed water system, cooling water system, and lubricating oil system. A test bench is a device or platform used to test the power system, usually used to simulate real working conditions to evaluate the performance, reliability and safety of the system. The test bench test can collect various power system test data.

[0003] In the related art, digital twins can be used in the process of bench testing ship power systems to simulate the bench operating conditions through virtual simulation. Before simulating the operating conditions of the physical bench based on the simulation bench, it is also necessary to map the components, parameters, and behaviors of the physical bench to the simulation bench. However, in the related art, when faced with multiple physical benches, it is impossible to accurately map the physical bench to the corresponding simulation bench, resulting in low accuracy and efficiency of the mapping process.

[0004] It can be seen that the method of virtual-real data linkage mapping of ship power system based on digital twin in related technologies has the technical problem of low efficiency of bench mapping. Summary of the invention

[0005] The present invention provides a method for linking virtual and real data models of a ship power system based on digital twins, which is used to solve the technical problem of low efficiency of bench mapping in the method for linking virtual and real data models of a ship power system based on digital twins in the related art.

[0006] The present invention provides a method for linkage mapping of virtual and real data models of a ship power system based on digital twins, comprising the following steps: obtaining a universal unique identification code of a physical test bench; constructing a device mapping parsing rule based on the universal unique identification code, wherein the physical test bench includes multiple physical components, and the device mapping parsing rule is used to define the mapping logic of the multiple physical components, component parameters, and component behaviors; creating a configuration file based on the device mapping parsing rule, wherein each component in the configuration file contains the universal unique identification code; mapping the physical test bench to a simulation test bench based on the configuration file, wherein the simulation test bench is a digital twin model corresponding to the physical test bench.

[0007] According to a method for linkage mapping of virtual and real data models of a ship power system based on digital twins provided by the present invention, the simulation bench includes multiple simulation components, and the mapping of the physical bench to the simulation bench based on the configuration file includes: correspondingly associating the multiple physical components with the multiple simulation components based on the configuration file; synchronously corresponding the component parameters of the multiple physical components with the virtual parameters of the multiple simulation components based on the configuration file; and defining the behavior of the multiple simulation components by the component behavior of the multiple physical components based on the configuration file.

[0008] According to a method for linkage mapping of virtual and real data models of a ship power system based on digital twins provided by the present invention, the configuration file realizes data synchronization between the physical test bench and the simulation test bench through a target communication protocol.

[0009] According to a method for linkage mapping of virtual and real data models of a ship power system based on digital twins provided by the present invention, the target communication protocol includes at least one of the following: TCP Socket transmission protocol and UDP Socket transmission protocol.

[0010] According to a method for linkage mapping of virtual and real data models of a ship power system based on digital twins provided by the present invention, after mapping the physical test bench to the simulation test bench based on the configuration file, the method further includes: acquiring physical test bench operation data and simulation test bench operation data; determining parameters to be corrected of the simulation test bench based on performance curves of the physical test bench operation data and the simulation test bench operation data; and updating parameters of the simulation test bench based on the parameters to be corrected.

[0011] According to a method for linkage mapping of virtual and real data models of a ship power system based on digital twins provided by the present invention, the updating of the parameters of the simulation bench based on the parameters to be corrected includes: acquiring historical stable data of the bench, wherein the historical stable data of the bench is data corresponding to the parameters to be corrected; and updating the flow parameters, speed parameters, head parameters, and valve opening parameters of the simulation bench based on the historical stable data of the bench.

[0012] The present invention also provides a device for linking virtual and real data models of a ship power system based on digital twins, comprising the following modules: an acquisition module for acquiring a universal unique identification code of a physical test bench; a construction module for constructing a device mapping and parsing rule based on the universal unique identification code, wherein the physical test bench comprises a plurality of physical components, and the device mapping and parsing rule is used to define the mapping logic of the plurality of physical components, component parameters and component behaviors; an execution module for creating a configuration file based on the device mapping and parsing rule, wherein each component in the configuration file contains the universal unique identification code; a mapping module for mapping the physical test bench to a simulation test bench based on the configuration file, wherein the simulation test bench is a digital twin model corresponding to the physical test bench.

[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements any of the methods for linkage mapping of virtual and real data models of a ship power system based on digital twins as described above.

[0014] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements the method for linking virtual and real data models of a ship power system based on digital twins as described in any of the above-mentioned methods.

[0015] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for linking virtual and real data models of a ship power system based on digital twins.

[0016] The present invention provides a method for mapping virtual and real data models of a ship power system based on digital twins, which obtains a universal unique identification code of a physical test bench; constructs a device mapping parsing rule based on the universal unique identification code, wherein the physical test bench includes multiple physical components, and the device mapping parsing rule is used to define the mapping logic of multiple physical components, component parameters and component behaviors; creates a configuration file based on the device mapping parsing rule, wherein each component in the configuration file contains a universal unique identification code; maps the physical test bench to a simulation test bench based on the configuration file, wherein the simulation test bench is a digital twin model corresponding to the physical test bench; constructs a device mapping parsing rule based on the universal unique identification code, which can accurately correspond the physical test bench to the simulation test bench, thereby improving the accuracy of the mapping, and manages the mapping relationship between the physical test bench and the simulation test bench by using a configuration file, thereby avoiding a hard-coded method, so that the mapping relationship can be quickly consulted and modified, and is easy to maintain and update, especially in long-term use, which helps to trace and record the implementation method at the time, thereby improving the traceability and transparency of the system, thereby solving the technical problem of low efficiency of test bench mapping in the method for mapping virtual and real data models of a ship power system based on digital twins in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 It is a flow chart of the method for linkage mapping of virtual and real data models of a ship power system based on digital twins provided by the present invention.

[0019] Figure 2 It is a schematic diagram of the virtual-real data model linkage mapping method of the ship power system based on digital twin provided by the present invention.

[0020] Figure 3 It is a structural schematic diagram of the virtual-real data model linkage mapping device of the ship power system based on digital twin provided by the present invention.

[0021] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] It should be noted that in the description of the present invention, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0024] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0025] The power system refers to a group of equipment and components used to generate, transmit and control power, including engines, power transmission systems, hydraulic systems, etc. The power system can be a ship power system, which includes subsystems such as condensate feed water system, cooling water system, and lubricating oil system. A test bench is a device or platform used to test the power system, usually used to simulate real working conditions to evaluate the performance, reliability and safety of the system. The test bench test can collect various power system test data.

[0026] Digital twins make full use of physical models, sensor updates, operation history and other data, integrate multi-disciplinary, multi-physical quantity, multi-scale, and multi-probability simulation processes, complete mapping in virtual space, and thus reflect the entire life cycle of the corresponding physical equipment. Digital twins are a concept that transcends reality and can be regarded as a digital mapping system of one or more important and interdependent equipment systems. Digital twins are a universally adaptable theoretical and technical system that can be applied in many fields. They are widely used in product design, product manufacturing, medical analysis, engineering construction and other fields. The most in-depth application in China is in the field of engineering construction, and the field of intelligent manufacturing has received the highest attention and the hottest research.

[0027] In the related art, digital twins can be used in the process of bench testing of ship power systems to simulate the bench operating conditions through virtual simulation. Before simulating the operating conditions of the physical bench based on the simulation bench, it is also necessary to map the components, parameters, and behaviors of the physical bench to the simulation bench. However, in the related art, when faced with multiple physical benches, it is impossible to accurately map the physical bench to the corresponding simulation bench, resulting in low accuracy and efficiency of the mapping process. It can be seen that the method of linking virtual and real data models of ship power systems based on digital twins in the related art has the technical problem of low efficiency of bench mapping.

[0028] In order to at least solve some of the above problems, the following Figure 1-Figure 4 The present invention describes the method for linking virtual and real data models of a ship power system based on digital twins.

[0029] The digital twin-based bench mapping method provided in this embodiment can be applied to the scenario of mapping a physical bench to a simulated bench built based on digital twin technology.

[0030] Figure 1 It is a flow chart of the method for linking virtual and real data models of a ship power system based on digital twins provided by the present invention, such as Figure 1 As shown, including but not limited to the following steps: Step 101, obtaining a universal unique identification code of a physical rack; Step 102, constructing a device mapping parsing rule based on the universal unique identifier, wherein the physical rack includes a plurality of physical components, and the device mapping parsing rule is used to define a mapping logic of the plurality of physical components, component parameters, and component behaviors; Step 103, creating a configuration file based on the device mapping parsing rule, wherein each component in the configuration file includes a universal unique identifier; Step 104 : Mapping the physical bench to the simulation bench based on the configuration file, wherein the simulation bench is a digital twin model corresponding to the physical bench.

[0031] Optionally, the configuration file implements data synchronization between the physical bench and the simulation bench through a target communication protocol.

[0032] Optionally, the target communication protocol includes at least one of the following: TCP Socket transmission protocol, UDP Socket transmission protocol.

[0033] It should be noted that the physical test bench in this embodiment is a real test bench, which is used to simulate real working conditions to evaluate the performance, reliability and safety of the ship power system; the simulation test bench is a digital twin model corresponding to the physical test bench.

[0034] Figure 2 Schematic diagram of the virtual-real data model linkage mapping method of the ship power system based on digital twin provided by the present invention, such as Figure 2 As shown, the software architecture of the test bench mapping method based on digital twins of this embodiment may include a data middle platform, a test bench adapter, a simulation adapter, a visualization page and a database. The above software architecture may be set in a server. The test bench operating condition simulation method based on digital twins of this embodiment may be executed by a server or by a data middle platform.

[0035] In this embodiment, a universally unique identifier of a physical rack is obtained; here, a universally unique identifier (UUID) is a software-built standard for assigning a unique identifier to information or an entity. The purpose of UUID is to ensure uniqueness in space and time, that is, any two UUID values ​​are different (excluding intentional conflicts), and the same UUID value will not be generated in the future without foresight.

[0036] Furthermore, a device mapping parsing rule is constructed based on a universal unique identification code, wherein the physical bench includes multiple physical components, and the device mapping parsing rule is used to define the mapping logic of multiple physical components, component parameters and component behaviors; specifically, the corresponding element of each physical component (such as sensor, actuator, controller, etc.) in the simulation bench is determined; how the component parameters (such as temperature, pressure, speed, etc.) are represented in the simulation bench is specified; and the mapping logic of the component behavior is formulated, for example, how a certain action on the physical bench is simulated in the simulation bench.

[0037] Furthermore, a configuration file is created based on the device mapping parsing rule, wherein each component in the configuration file includes a universal unique identifier; specifically, the configuration file may be in XML (eXtensible Markup Language), JSON (JavaScript Object Notation) or YAML (YAMLAin't Markup Language) format, which includes mapping rules; in the configuration file, a unique identifier (such as UUID) is assigned to each physical component, and its corresponding virtual element is defined.

[0038] Furthermore, the physical bench is mapped to the simulation bench based on the configuration file, wherein the simulation bench is a digital twin model corresponding to the physical bench.

[0039] Furthermore, the method of this embodiment may also include a data synchronization step, that is, through a real-time data synchronization mechanism, it is ensured that the state change of the physical rack can be reflected in the simulation rack in a timely manner. Appropriate communication protocols (such as TCP, UDP (User Datagram Protocol) etc.) may be used to transmit data, and an application programming interface (API) may be developed and used to facilitate interaction and data exchange between systems.

[0040] After completing the mapping process, the operating conditions of the physical test bench can be simulated based on the mapped simulation test bench. Specifically, the data middle platform, as a data storage and processing center, undertakes the management and analysis of a large amount of data. By processing, analyzing and storing the received data, the data middle platform provides real-time data support and decision-making basis for the system. The data middle platform extracts historical data into the middle platform through extraction, conversion, and loading processes, or stores operation data in the data middle platform through the HyperText Transfer Protocol Interface (HTTP). The data middle platform also classifies, summarizes and aligns the stored data, and provides a data application programming interface (Application Programming Interface, API) for system use.

[0041] The test bench adapter is used to connect the physical test bench with other systems. The test bench adapter can transmit the operation data collected by the sensor (which may include box pressure data, pump speed data, valve opening data, etc.) through the TCP Socket (Transmission Control Protocol Socket) transmission protocol, and serialize and encode the data generated by the sensor of the physical test bench to obtain a byte sequence. The test bench adapter decodes the byte sequence into JSON (JavaScript Object Notation, a lightweight data exchange format) format and stores it in Rabbit MQ and Redis for visualization system calls. In addition, the test bench adapter encodes the control data serialization JSON model in Rabbit MQ into binary format and sends it to the test bench middleware system to perform test bench operations. It also generates JSON data by decoding the test bench data and puts it into the corresponding Rabbit MQ (Rabbit MessageQueue) queue to realize real-time calls with the gateway, synchronizes information such as pressure, speed, opening to the simulation system according to specific test operations, and stores the sensor pressure, speed, and opening data in the test database. Through the relevant queues of Rabbit MQ, the bench adapter obtains control signal data to ensure effective communication and collaborative work between systems. The bench adapter not only realizes data transmission and conversion, but also ensures data quality and communication protocol adaptation, promoting efficient and stable operation of the system.

[0042] It should be noted that RabbitMQ in this embodiment is an open source message queue system that implements the Advanced Message Queuing Protocol and a distributed protocol for message transmission. It is a middleware used to decouple different services or components in a distributed system, allowing them to communicate by sending and receiving messages without directly calling each other or knowing each other's existence.

[0043] The simulation adapter is responsible for connecting the simulation model with other systems in the display system. Its main functions include dynamically adjusting the simulation input parameters through the REST API (Representational State Transfer Application Programming Interface) of the HTTP interface and the JSON format to achieve flexible configuration of simulation parameters. The simulation adapter can dynamically modify the simulation parameters according to the module name and submodule number to meet the needs of real-time changes. The results calculated by the simulation software will be returned to the message queue and database according to the calculation time frame. The simulation parameter feedback data will be placed in the relevant queue of Rabbit MQ. The simulation results in the queue will be extracted and inserted into the database, or directly used by the visualization system to send the simulated PID (Proportional-Integral-Derivative Controller) adjustment parameters to the test bench system. The simulation adapter not only realizes the real-time transmission and conversion of data, but also ensures the adaptation of data quality and communication protocols, and promotes the effective synchronization and sharing between simulation data and systems.

[0044] The visualization page displays the model working conditions and operation data instruments, and provides interactive functions for users. It is a direct window for providing services to users. Through the virtual display interface, users can watch the actual scene on the visualization page and send practical commands to the physical entity, which will be reflected in real time on the physical bench, realizing efficient collaboration between the simulation software and the physical bench. The virtual display interface uses HTTP REST API and simulation input cards in JSON format for interaction: through REST API, users can communicate through standard HTTP requests to achieve data transmission and control with the simulation software and the physical bench; JSON format is used to transfer data between requests and responses, providing a lightweight and easy-to-parse data exchange format. This combined use method makes the interface flexible and scalable, can meet the needs of different scenarios, and improve the smoothness of visualization page display. At the same time, the operation process data is stored in Redis (Remote Dictionary Serve, in-memory database) to speed up the comparison.

[0045] The database records the twin data such as simulation history data, simulation real-time data, test bench operation real-time data, test bench operation history data, control parameters, etc., which is the basis for the digital twin system to conduct data analysis and provide services. In order to optimize data management, the fields in the database have been set up with rules, and simulation data and real data, historical and real-time data, data from different test benches, etc. can be clearly distinguished, recorded, queried, and read.

[0046] Through the embodiments provided in the present application, a universal unique identification code of a physical test bench is obtained; a device mapping parsing rule is constructed based on the universal unique identification code, wherein the physical test bench includes multiple physical components, and the device mapping parsing rule is used to define the mapping logic of multiple physical components, component parameters, and component behaviors; a configuration file is created based on the device mapping parsing rule, wherein each component in the configuration file contains a universal unique identification code; the physical test bench is mapped to a simulation test bench based on the configuration file, wherein the simulation test bench is a digital twin model corresponding to the physical test bench; the technical problem of low efficiency of test bench mapping in the method for linking virtual and real data models of a ship power system based on digital twins in the related art is solved, thereby improving the efficiency of test bench mapping.

[0047] As an optional solution, the simulation bench includes multiple simulation components, which map the physical bench to the simulation bench based on the configuration file, including: S11, correspondingly associating multiple physical components with multiple simulation components based on the configuration file; S12, synchronizing component parameters of multiple physical components with virtual parameters of multiple simulation components based on the configuration file; S13, defining behaviors of multiple simulation components by using component behaviors of multiple physical components based on the configuration file.

[0048] In this embodiment, multiple physical components are associated with multiple simulation components based on the configuration file; that is, each component of the physical bench is associated with its virtual counterpart in the simulation bench, for example, physical sensor A is mapped to virtual sensor a.

[0049] Furthermore, component parameters of multiple physical components are synchronized with virtual parameters of multiple simulation components based on the configuration file; that is, the consistency between the physical parameters and the virtual parameters is ensured. If the physical sensor in the physical test bench measures temperature, the virtual sensor in the simulation test bench should also simulate the same temperature range and accuracy.

[0050] Furthermore, the component behaviors of multiple physical components are defined based on the configuration file to define the behaviors of multiple simulation components; specifically, it is defined how the physical behaviors are simulated in the virtual system, for example, the movement of the physical actuator may need to be converted into corresponding animations or numerical changes in the virtual environment.

[0051] Through this embodiment, the physical test bench is mapped to the simulation test bench based on the configuration file, which can improve the accuracy of the mapping process, thereby improving the reliability of the virtual-real data model linkage mapping method of the digital twin-based ship power system of this embodiment.

[0052] As an optional solution, after mapping the physical bench to the simulation bench based on the configuration file, the method further includes: S21, obtaining physical bench operation data and simulation bench operation data; S22, determining the parameters to be corrected of the simulation bench based on the performance curves of the physical bench operation data and the simulation bench operation data; S23, updating the parameters of the simulation bench based on the parameters to be corrected.

[0053] Optionally, updating the parameters of the simulation bench based on the parameters to be corrected includes: S31, acquiring historical stability data of the test bench, wherein the historical stability data of the test bench is data corresponding to the parameter to be corrected; S32, updating the flow parameters, speed parameters, lift parameters, and valve opening parameters of the simulation test bench based on the historical stability data of the test bench.

[0054] In this embodiment, after the physical bench is mapped to the simulation bench based on the configuration file, data correction may be performed based on the physical bench operation data and the simulation bench operation data.

[0055] Specifically, the step of correcting the data of the simulation bench by the physical bench in this embodiment may include: modifying the scene simulation card, such as the water tank pressure and water level, pump speed and valve opening and other parameters. The specific work of correcting the data mainly involves the establishment of system model simulation cards, data collection and processing, and parameter consistency comparison and analysis. By comparing the consistency of the performance curves of the actual bench system and the simulation model data, the accuracy and reliability of the simulation system model are ensured; the flow rate, pump speed and pump head of the pump under the historical stable state of the bench are obtained, and the data is transmitted to the data mapping module. After the conversion of the data mapping module is completed, the JSON file is output and sent to the simulation adapter, and the simulation adapter then transmits the data to the simulation bench.

[0056] It should be noted that the simulation card is a hardware device, which is usually used to simulate the behavior of a specific system or environment so as to perform testing, training or research without the need for actual physical equipment. In this embodiment, the simulation card is used to build a simulation bench.

[0057] Through this embodiment, by adding a data correction process, the accuracy of the simulation bench parameters can be improved, thereby improving the reliability of the virtual-real data model linkage mapping method of the digital twin-based ship power system of this embodiment.

[0058] As an optional solution, the digital twin-based gantry mapping method in this embodiment may include the following steps: Step 1: Create a new rack entity. The rack entity contains information such as rack name, rack UUID, rack description, etc. The rack UUID is a unique number generated by the system and sent to the visualization module. When the visualization module accesses it through the interface, it must carry the UUID. The integrated system identifies the rack by the UUID. Therefore, the UUID constructed by the rack system can only be pseudo-deleted and cannot be truly deleted. The UUID must follow the given naming conventions.

[0059] Step 2, select the rack built in the first step, fill in the device table, including the database field, field number, field description, label and automatically generated UUID of the device. The device UUID is the unique number of the rack device, which cannot be modified and is used for mapping later.

[0060] Step 3: In the selected rack, enter the name, description, label and other information of the visualization device, and the system will automatically generate a UUID. The twin UUID is the unique number of the twin and cannot be modified. It is used for mapping later.

[0061] Step 4, select the test bench built in the first step, and fill in the device mapping analysis rules, which include changing the simulation card, obtaining simulation data, analysis type, automatically generated unique UUID, description and remarks. The simulation UUID is the unique number of the simulation build, which cannot be modified and is used for mapping later. The main fields are given by the preset list.

[0062] Step 5: The simulation software can theoretically simulate all test bench behaviors, return simulation data based on the simulation construction model, and unify the fields and units of the simulation data into the same sensor fields of the test bench by mapping subscripts and parsing rules.

[0063] Step 6: The power test bench virtual-real mapping table can be used to output the test bench and simulation sensor comparison parameters to achieve flexible test bench simulation comparison.

[0064] Step 7, by binding the test bench sensor parameters to a simulation card data, realize the data synchronization, remote control and automatic control of the test bench sensor physical quantity and the simulation test bench operation parameters, and realize the control of the virtual with the real.

[0065] Step 8, simulate the behavior of the test bench by launching the simulation software multiple times, and send the PID parameters of the best result to the test bench to achieve virtual control of the real.

[0066] Step 9, based on the configured mapping relationship, open service interfaces such as data synchronization, simulation return, data comparison, remote control, automatic control, optimization control, online correction, and historical data playback, and obtain service data by passing the test bench number and simulation card number.

[0067] It can be understood that in this embodiment, the constructed software configuration bench generates a unique number for each bench, which is similar to the user's unique ID. Through this ID, the bench can be given sensor attributes and a mapping relationship with the simulation system can be established. By using a configuration file to manage the mapping relationship between the bench and the virtual system, the hard-coded method is avoided. This method improves the flexibility of the system, enables the mapping relationship to be quickly accessed and modified, and is easy to maintain and update, especially in long-term use, which helps to trace and record the implementation method at the time, thereby improving the traceability and transparency of the system. At the same time, the system supports the ability to configure multiple benches, allowing users to establish a docking relationship with new simulation software through a simple configuration file. This design significantly speeds up the integration process of the new bench, reduces development time, reduces development costs, and improves the scalability of the system and the flexibility to adapt to different project requirements. For the bench that has been docked, the system allows the user to fine-tune the mapping relationship and display fields through the configuration relationship without changing the code. The method of this embodiment not only improves the user's operating experience, but also provides a higher flexibility for the project team, which can quickly respond to changes in demand and optimize data display and interaction effects.

[0068] Figure 3 : is a structural schematic diagram of a virtual-real data model linkage mapping device for a ship power system based on digital twins provided by the present invention, such as Figure 3 As shown, including but not limited to the following modules: An acquisition module 301 is used to acquire a universal unique identification code of a physical rack; A construction module 302 is used to construct a device mapping parsing rule based on the universal unique identifier, wherein the physical rack includes a plurality of physical components, and the device mapping parsing rule is used to define a mapping logic of the plurality of physical components, component parameters, and component behaviors; An execution module 303 is used to create a configuration file based on the device mapping parsing rule, wherein each component in the configuration file includes a universal unique identifier; The mapping module 304 is used to map the physical bench to the simulation bench based on the configuration file, wherein the simulation bench is a digital twin model corresponding to the physical bench.

[0069] Through the embodiments of the present application, a universal unique identification code of a physical test bench is obtained; a device mapping parsing rule is constructed based on the universal unique identification code, wherein the physical test bench includes multiple physical components, and the device mapping parsing rule is used to define the mapping logic of multiple physical components, component parameters, and component behaviors; a configuration file is created based on the device mapping parsing rule, wherein each component in the configuration file contains a universal unique identification code; the physical test bench is mapped to a simulation test bench based on the configuration file, wherein the simulation test bench is a digital twin model corresponding to the physical test bench; the technical problem of low efficiency of test bench mapping in the method for linking virtual and real data models of a ship power system based on digital twins in the related art is solved, thereby improving the efficiency of test bench mapping.

[0070] It should be noted that the device for the linkage mapping of virtual and real data models of a ship power system based on digital twin provided by the present invention can, during specific operation, execute the method for the linkage mapping of virtual and real data models of a ship power system based on digital twin of any of the above-mentioned embodiments, which will not be elaborated in this embodiment.

[0071] Figure 4 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the virtual-real data model linkage mapping method of the ship power system based on the digital twin, the method comprising: obtaining the universal unique identification code of the physical test bench; constructing a device mapping parsing rule based on the universal unique identification code, wherein the physical test bench includes multiple physical components, and the device mapping parsing rule is used to define the mapping logic of multiple physical components, component parameters and component behaviors; creating a configuration file based on the device mapping parsing rule, wherein each component in the configuration file contains a universal unique identification code; mapping the physical test bench to the simulation test bench based on the configuration file, wherein the simulation test bench is a digital twin model corresponding to the physical test bench.

[0072] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0073] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by the computer, the computer can execute the virtual-real data model linkage mapping method of the ship power system based on the digital twin provided in the above-mentioned embodiments, and the method includes: obtaining a universal unique identification code of the physical test bench; constructing a device mapping parsing rule based on the universal unique identification code, wherein the physical test bench includes multiple physical components, and the device mapping parsing rule is used to define the mapping logic of multiple physical components, component parameters and component behaviors; creating a configuration file based on the device mapping parsing rule, wherein each component in the configuration file contains a universal unique identification code; mapping the physical test bench to the simulation test bench based on the configuration file, wherein the simulation test bench is a digital twin model corresponding to the physical test bench.

[0074] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the method for linking virtual and real data models of a ship power system based on a digital twin provided in the above-mentioned embodiments, the method comprising: obtaining a universally unique identification code of a physical test bench; constructing a device mapping parsing rule based on the universally unique identification code, wherein the physical test bench comprises a plurality of physical components, and the device mapping parsing rule is used to define the mapping logic of the plurality of physical components, component parameters and component behaviors; creating a configuration file based on the device mapping parsing rule, wherein each component in the configuration file comprises a universally unique identification code; mapping the physical test bench to a simulation test bench based on the configuration file, wherein the simulation test bench is a digital twin model corresponding to the physical test bench.

[0075] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0076] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0077] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for linking virtual and real data models of a ship power system based on digital twins, characterized in that: include: Get the universal unique identification code of the physical rack; Building a device mapping parsing rule based on the universal unique identifier, wherein the physical rack includes a plurality of physical components, and the device mapping parsing rule is used to define a mapping logic of the plurality of physical components, component parameters, and component behaviors; Creating a configuration file based on the device mapping parsing rule, wherein each component in the configuration file includes the universal unique identifier; The physical bench is mapped to a simulation bench based on the configuration file, wherein the simulation bench is a digital twin model corresponding to the physical bench.

2. The method for linking virtual and real data models of a ship power system based on digital twins according to claim 1 is characterized in that: The simulation bench includes a plurality of simulation components, and mapping the physical bench to the simulation bench based on the configuration file includes: Correspondingly associating the plurality of physical components with the plurality of simulation components based on the configuration file; Synchronously corresponding the component parameters of the plurality of physical components with the virtual parameters of the plurality of simulation components based on the configuration file; The component behaviors of the multiple physical components are defined as behaviors of the multiple simulation components based on the configuration file.

3. The method for linking virtual and real data models of a ship power system based on digital twin according to claim 1 is characterized in that: The configuration file realizes data synchronization between the physical rack and the simulation rack through a target communication protocol.

4. The method for linking virtual and real data models of a ship power system based on digital twins according to claim 3 is characterized in that: The target communication protocol includes at least one of the following: TCP Socket transmission protocol, UDP Socket transmission protocol.

5. The method for linking virtual and real data models of a ship power system based on digital twins according to any one of claims 1 to 4, characterized in that: After mapping the physical rack to the simulation rack based on the configuration file, the method further includes: Obtaining physical bench operation data and simulation bench operation data; Determining the parameters to be corrected of the simulation bench based on the performance curves of the physical bench operation data and the simulation bench operation data; The parameters of the simulation bench are updated based on the parameters to be corrected.

6. The method for linking virtual and real data models of a ship power system based on digital twins according to claim 5 is characterized in that: The updating of the parameters of the simulation bench based on the parameters to be corrected comprises: Acquiring historical stability data of the test bench, wherein the historical stability data of the test bench is data corresponding to the parameter to be corrected; The flow parameters, speed parameters, lift parameters, and valve opening parameters of the simulation test bench are updated based on the historical stability data of the test bench.

7. A device for linking virtual and real data models of a ship power system based on digital twins, characterized in that: include: An acquisition module, used for acquiring a universal unique identification code of a physical rack; A construction module, configured to construct a device mapping parsing rule based on the universal unique identifier, wherein the physical rack includes a plurality of physical components, and the device mapping parsing rule is used to define a mapping logic of the plurality of physical components, component parameters, and component behaviors; An execution module, configured to create a configuration file based on the device mapping parsing rule, wherein each component in the configuration file includes the universal unique identifier; A mapping module is used to map the physical bench to a simulation bench based on the configuration file, wherein the simulation bench is a digital twin model corresponding to the physical bench.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, it implements the method for linkage mapping of virtual and real data models of a ship power system based on digital twins as described in any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the method for linkage mapping of virtual and real data models of a ship power system based on digital twins as described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by the processor, it implements the method for linkage mapping of virtual and real data models of a ship power system based on digital twins as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and system for establishing digital twin of ship equipment

    CN113177263A

  • Algorithm verification system and verification method based on digital twinning

    CN114329779A

  • Energy equipment management method and device based on digital twin technology

    CN114493500A

  • Turbine equipment simulation model evolution method and device, medium and computing equipment

    CN117521528A

  • Substation control method and device based on digital twinborn technology, and medium

    CN118036309A