Ship power system operating condition simulation method based on operation data

By transmitting test bench operation data to the database through RabbitMQ message queue and target communication protocol, and controlling the simulation test bench to perform digital twin simulation, the compatibility problem of different test benches is solved, and efficient simulation of ship power system operating conditions is achieved.

CN119760959BActive Publication Date: 2026-03-31CHINA STATE SHIPBUILDING CORP LTD RESEARCH INSTITUTE 719
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

In existing technologies, digital twin simulation platforms have difficulty adapting to the communication formats of different test benches, resulting in low adaptability for simulation of multiple test benches operating conditions of ship power systems.

Method used

The system transmits test bench operation data to the database via RabbitMQ message queues and target communication protocols (such as TCP Socket and UDP Socket), controls the simulation test bench to perform simulations based on a digital twin model, determines target parameters, and manages and analyzes the data through a visual interface and database.

Benefits of technology

It achieves data transmission adaptability across different test benches and stability of simulation, thereby improving the adaptability and reliability of ship power system operating condition simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119760959B_ABST
    Figure CN119760959B_ABST
Patent Text Reader

Abstract

The application provides a ship power system working condition simulation method based on operation data, and belongs to the technical field of bench working condition simulation, and comprises the following steps: obtaining bench operation data, wherein the bench operation data is operation data collected by a sensor of a physical bench, the bench operation data is byte-serialized from the physical bench to a Rabbit MQ message queue through a target communication protocol, and then the bench operation data is stored in a database by the Rabbit MQ message queue; controlling a simulation bench to call the bench operation data in the database based on the Rabbit MQ message queue, and performing simulation simulation based on real-time storage of the bench operation data in the Redis, and determining a target parameter. The ship power system working condition simulation method based on operation data provided by the application solves the technical problem that the ship power system working condition simulation method based on operation data in the related art has low adaptability for simulation simulation of operation working conditions of different benches.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of bench test simulation technology, and in particular to a method for simulating the operating conditions of a ship's power system based on operational data. Background Technology

[0002] A power system refers to a set of equipment and components used to generate, transmit, and control power, including engines, power transmission systems, hydraulic systems, etc. A power system can be a marine power system, which includes subsystems such as condensate feedwater systems, cooling water systems, and lubrication systems. A test bench is a device or platform used to test a power system, typically to simulate real-world working conditions to evaluate the system's performance, reliability, and safety. Bench testing can collect various test data for power systems.

[0003] In related technologies, digital twins can be applied to the bench testing of marine power systems, simulating the operating conditions of the test benches through virtual simulation. However, because different test benches use different communication methods, a single integrated software is insufficient to meet the communication format requirements of different power system test benches. This results in insufficient adaptability of the digital twin simulation platform to different power system test benches, making it difficult to simulate the operating conditions of multiple test benches of the power system during the simulation process.

[0004] It is evident that the ship power system operating condition simulation method based on operational data in the relevant technologies has a technical problem of low adaptability to the operating conditions of different test benches. Summary of the Invention

[0005] This invention provides a method for simulating the operating conditions of a ship's power system based on operational data, in order to solve the technical problem that the simulation methods for ship's power system based on operational data in related technologies have low adaptability to the operating conditions of different test benches.

[0006] This invention provides a method for simulating the operating conditions of a ship's power system based on operational data, comprising the following steps: acquiring bench operating data, wherein the bench operating data is operating data collected by sensors on a physical bench, the bench operating data is transmitted from the physical bench to a RabbitMQ message queue via a target communication protocol after byte serialization, and then stored in a database by the RabbitMQ message queue; controlling a simulation bench to call the bench operating data in the database based on the RabbitMQ message queue, and performing simulation based on the bench operating data to determine target parameters, wherein the simulation bench is a digital twin model corresponding to the physical bench.

[0007] According to the present invention, a method for simulating the operating conditions of a ship power system based on operational data is provided, wherein the target communication protocol includes at least one of the following: TCP Socket transmission protocol and UDP Socket transmission protocol.

[0008] According to the present invention, a method for simulating the operating conditions of a ship power system based on operational data is provided, wherein the bench operating data is serialized and encoded based on the target communication protocol to obtain a byte sequence, and the byte sequence is parsed into JSON format and then transmitted to the RabbitMQ message queue.

[0009] According to the present invention, a method for simulating the operating conditions of a ship's power system based on operational data is provided, wherein the database includes an in-memory database and a relational database, the data in the relational database is used by the simulation bench, and the data in the in-memory database is used for visualization.

[0010] According to the present invention, a method for simulating the operating conditions of a ship's propulsion system based on operational data is provided. The target parameters include proportional parameters, integral parameters, and differential parameters. The step of determining the target parameters by performing simulation based on the bench operating data includes:

[0011] The simulation test bench is controlled to run multiple preset simulation programs based on the test bench's operating data to obtain multiple performance indicators. Each of the multiple preset simulation programs has a different control strategy. The multiple performance indicators are used to reflect the simulation performance of the simulation test bench under different simulation programs. The proportional parameter, the integral parameter, and the derivative parameter are determined based on the multiple performance indicators.

[0012] According to the present invention, a method for simulating the operating conditions of a ship power system based on operational data, after the control simulation bench calls the bench operating data and performs simulation based on the bench operating data to determine the target parameters, the method further includes: controlling the physical bench to perform tests based on the target parameters.

[0013] The present invention also provides a ship propulsion system operating condition simulation device based on operational data, comprising the following modules: an acquisition module for acquiring bench operating data, wherein the bench operating data is operating data collected by sensors of a physical bench, the bench operating data is transmitted from the physical bench to a RabbitMQ message queue via a target communication protocol after byte serialization, and then stored in a database by the RabbitMQ message queue; and an execution module for controlling the simulation bench to call the bench operating data in the database based on the RabbitMQ message queue, and to perform simulation based on the bench operating data to determine target parameters, wherein the simulation bench is a digital twin model corresponding to the physical bench.

[0014] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the ship power system operating condition simulation method based on operating data as described above.

[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the ship power system operating condition simulation method based on operating data as described above.

[0016] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the ship power system operating condition simulation method based on operating data as described above.

[0017] The present invention provides a method for simulating the operating conditions of a ship's propulsion system based on operational data. This method acquires bench operating data, which is operational data collected by sensors on a physical test bench. The bench operating data is serialized from the physical test bench to a RabbitMQ message queue via a target communication protocol, and then stored in a database by the RabbitMQ message queue. The simulation test bench is controlled to retrieve the bench operating data from the database based on the RabbitMQ message queue and performs simulation based on this data to determine target parameters. The simulation test bench is a digital twin model corresponding to the physical test bench. The serialization of the bench operating data from the physical test bench to the RabbitMQ message queue via the target communication protocol, followed by storage in the database by the RabbitMQ message queue, ensures high-quality data transmission. Furthermore, data transmission based on the RabbitMQ message queue allows for communication protocol adaptation for different test benches and different data communication methods, ensuring efficient and stable simulation. This solves the technical problem of low adaptability to different test bench operating conditions in related data-based ship propulsion system operating condition simulation methods. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0019] Figure 1 This is a flowchart illustrating the ship propulsion system operating condition simulation method based on operational data provided by the present invention.

[0020] Figure 2 This is one of the schematic diagrams of the ship power system operating condition simulation method based on operational data provided by the present invention.

[0021] Figure 3 This is the second schematic diagram of the ship power system operating condition simulation method based on operational data provided by the present invention.

[0022] Figure 4 This is a schematic diagram of the structure of the ship power system operating condition simulation device based on operational data provided by the present invention.

[0023] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0025] It should be noted that in the description of this invention, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. The terms "upper," "lower," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Unless otherwise expressly specified and limited, the terms "installed," "connected," and "linked" should be interpreted broadly, for example, as a fixed connection, a detachable connection, or an integral connection; a mechanical connection or an electrical connection; a direct connection or an indirect connection through an intermediate medium; or a connection within two elements. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0026] The terms "first," "second," etc., used in this invention are used to distinguish similar objects, not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class, without limiting the number of objects; for example, a first object can be one or more. Furthermore, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0027] A power system refers to a set of equipment and components used to generate, transmit, and control power, including engines, power transmission systems, hydraulic systems, etc. A power system can be a marine power system, which includes subsystems such as condensate feedwater systems, cooling water systems, and lubrication systems. A test bench is a device or platform used to test a power system, typically to simulate real-world working conditions to evaluate the system's performance, reliability, and safety. Bench testing can collect various test data for power systems.

[0028] Digital twins fully utilize data such as physical models, sensor updates, and operational history to integrate multi-disciplinary, multi-physical, multi-scale, and multi-probabilistic simulation processes, completing mapping in virtual space to reflect the entire lifecycle of the corresponding physical equipment. Digital twins are a concept that transcends reality and can be viewed as a digital mapping system of one or more important, interdependent equipment systems. Digital twins are a universally applicable theoretical and technological system that can be applied in many fields, including product design, product manufacturing, medical analysis, and engineering construction. In China, the most in-depth application is in the field of engineering construction, while the field of intelligent manufacturing receives the most attention and is the most researched.

[0029] In related technologies, digital twins can be applied to the bench testing of marine power systems, simulating bench operating conditions through virtual simulation. However, because different test benches use different communication methods, a single integrated software cannot meet the communication format requirements of different power system test benches. This results in insufficient adaptability of the digital twin simulation platform to different power system test benches, making it difficult to simulate the operating conditions of multiple test benches of the marine power system during the simulation process. Therefore, the data-based marine power system operating condition simulation methods in related technologies suffer from low adaptability to simulating the operating conditions of different test benches.

[0030] To at least address some of the above problems, the following will combine... Figures 1-5 This invention describes the method for simulating the operating conditions of a ship's power system based on operational data.

[0031] The ship propulsion system operating condition simulation method based on operational data provided in this embodiment can be applied to scenarios where a simulation bench built based on digital twin technology simulates the operating conditions of a physical bench.

[0032] Figure 1 This is a flowchart illustrating the ship propulsion system operating condition simulation method based on operational data provided by the present invention, as shown below. Figure 1 As shown, including but not limited to the following steps:

[0033] Step 101: Obtain bench operation data. The bench operation data is the operation data collected by the sensors of the physical bench. The bench operation data is transmitted from the physical bench to the RabbitMQ message queue through the target communication protocol after being serialized into bytes, and then stored in the database by the RabbitMQ message queue.

[0034] Step 102: Control the simulation bench to call the bench operation data in the database based on the RabbitMQ message queue, and perform simulation based on the bench operation data to determine the target parameters. The simulation bench is a digital twin model corresponding to the physical bench.

[0035] Optionally, the target communication protocol includes at least one of the following: TCP Socket transport protocol and UDP Socket transport protocol.

[0036] Optionally, the bench operation data is serialized and encoded based on the target communication protocol to obtain a byte sequence. The byte sequence is then parsed into JSON format and transmitted to the RabbitMQ message queue.

[0037] Optionally, the database includes an in-memory database and a relational database. Data in the relational database is used by the simulation bench, while data in the in-memory database is used by the visualization.

[0038] Optionally, after controlling the simulation bench to call up the bench operation data and performing simulation based on the bench operation data to determine the target parameters, the method further includes: controlling the physical bench to perform testing based on the target parameters.

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

[0040] Figure 2 This is one of the schematic diagrams of the ship propulsion system operating condition simulation method based on operational data provided by the present invention, such as... Figure 2As shown, the software architecture of the ship power system operating condition simulation method based on operational data in this embodiment may include a data platform, a test bench adapter, a simulation adapter, a visualization page, and a database. The above software architecture can be located on a server. The ship power system operating condition simulation method based on operational data in this embodiment can be executed by the server or by the data platform.

[0041] Specifically, the data platform, as the data storage and processing center, undertakes a large amount of data management and analysis tasks. By processing, analyzing, and storing the received data, the data platform provides the system with real-time data support and decision-making basis. The data platform extracts historical data into the platform through extraction, transformation, and loading processes, or stores operational data into the data platform through the Hypertext Transfer Protocol Interface (HTTP). The data platform also classifies, summarizes, and aligns the stored data, and provides a data application programming interface (API) for the system to use.

[0042] The bench adapter is used to interface with physical benches and other systems. It can transmit byte-serialized operational data collected by sensors (including chamber pressure data, pump speed data, valve opening data, etc.) via TCP Socket (Transmission Control Protocol Socket). It also serializes and encodes the data generated by the sensors on the physical bench into byte sequences, decodes these sequences into JSON (JavaScript Object Notation, a lightweight data exchange format), and stores them in RabbitMQ and Redis (Remote Dictionary Server, an in-memory database) for use by visualization systems. Furthermore, the bench adapter encodes the control data serialized from the RabbitMQ JSON model into binary format and sends it to the bench middleware system to execute bench operations. It also generates JSON data by decoding bench data and places it into the corresponding RabbitMQ (Rabbit Message Queue) queue, enabling real-time communication with the gateway. Based on specific experimental operations, it synchronizes information such as pressure, speed, and opening degree to the simulation system, while simultaneously storing sensor pressure, speed, and opening degree data in the experimental database. Through the relevant queues in RabbitMQ, the bench adapter obtains control signal data, thereby ensuring effective communication and collaborative operation between systems. The bench adapter not only realizes data transmission and conversion but also guarantees data quality and communication protocol compatibility, promoting the efficient and stable operation of the system.

[0043] It should be noted that RabbitMQ in this embodiment is an open-source message queue system that implements an advanced message queue protocol and a distributed protocol for message passing. It is a middleware used in distributed systems to decouple different services or components, allowing them to communicate by sending and receiving messages without directly calling each other or knowing of each other's existence.

[0044] The simulation adapter in the display system is responsible for interfacing the simulation model with other systems. Its main functions include dynamically adjusting simulation input parameters via an HTTP REST API (Representational State Transfer Application Programming Interface) and JSON format, enabling flexible configuration of simulation parameters. The adapter can dynamically modify simulation parameters based on module name and submodule number to meet real-time changes. Simulation software calculations are returned to message queues and databases according to calculation time frames. Simulation parameter feedback data is placed in relevant queues in RabbitMQ. Simulation results in these queues are extracted and inserted into the database or directly used by the visualization system. The simulation's PID (Proportional-Integral-Derivative Controller) adjustment parameters are sent to the bench system. The simulation adapter not only achieves real-time data transmission and conversion but also ensures data quality and communication protocol compatibility, promoting effective synchronization and sharing between simulation data and the system.

[0045] The visualization page displays the model's operating conditions and operational data instruments, providing interactive functions and serving as a direct window for user service. Through the virtual display interface, users can view the actual scene on the visualization page and send practical commands to the physical entity, which are reflected in real-time on the physical test bench, achieving efficient collaboration between the simulation software and the physical test bench. The virtual display interface interacts using an HTTP REST API and a JSON-formatted simulation input card: the REST API allows users to communicate via standard HTTP requests for data transmission and control with the simulation software and the physical test bench; the JSON format is used to transfer data between requests and responses, providing a lightweight and easy-to-parse data exchange format. This combined approach gives the interface good flexibility and scalability, meeting the needs of different scenarios and improving the smoothness of the visualization page display. Simultaneously, the operational data is stored in Redis to accelerate comparison speed.

[0046] The database records digital twin data, including historical simulation data, real-time simulation data, real-time bench operation data, historical bench operation data, and control parameters. This data forms the foundation for the digital twin system to perform data analysis and provide services. To optimize data management, rules have been defined for the fields in the database, ensuring that simulation data can be clearly distinguished from real data, historical data from real-time data, and data from different benches, allowing for easy recording, querying, and retrieval.

[0047] In this embodiment, the test bench operation data refers to the operational data collected by the sensors on the physical test bench, specifically including the test bench's operating conditions and environmental disturbance information. The test bench operation data is transmitted byte-serialized via TCP Socket or UDP Socket (User Datagram Protocol Socket) protocol. First, the test bench serializes and encodes the data generated by the sensors. The test bench adapter then parses the binary data bit-by-bit into JSON format, stores it in the corresponding queue in RabbitMQ, and then stores it uniformly in the database; simultaneously, it stores it in Redis for visualization purposes.

[0048] It's important to note that TCP Socket and UDP Socket are two different types of sockets used in computer network communication. They are based on Transmission Control Protocol (TCP) and User Datagram Protocol (UDP), respectively. TCP Socket is a network communication interface based on the TCP protocol. TCP is a connection-oriented, reliable, byte-stream-based transport layer communication protocol. UDP Socket is a network communication interface based on the UDP protocol. UDP is a connectionless, unreliable, datagram-based transport layer communication protocol.

[0049] Simulation run data is returned according to the calculation time frame. Simulation parameter feedback data is put into the corresponding queue in RabbitMQ and Redis. The simulation result return parameters are extracted from the queue and inserted into the database. The data in Redis is used by the visualization module.

[0050] Furthermore, users can dynamically adjust simulation parameters via HTTP REST API and JSON format. These parameters can be dynamically modified using module name, submodule number, and adjustment parameters. User-sent bench control commands are serialized and encoded into RabbitMQ control data by the bench adapter before being sent to the bench middleware system to perform the corresponding bench operations.

[0051] Optionally, historical data retrieval is primarily used for historical data playback. After the user selects the historical experimental data to be played from the visualization page and initiates the retrieval command, the data platform searches the database for the total number of data entries for that experiment. It sets the query row count condition and encodes the data retrieved in one query if the total number of entries divided by the number of rows equals the number of queries. The selected historical data is encoded into a data stream by the data platform and sent to the visualization module.

[0052] The embodiments provided in this application acquire test bench operation data, which is operation data collected by sensors on a physical test bench. The test bench operation data is transmitted byte-serialized from the physical test bench to a RabbitMQ message queue via a target communication protocol, and then stored in a database by the RabbitMQ message queue. The simulation test bench is controlled to call the test bench operation data from the database based on the RabbitMQ message queue, and performs simulation based on the test bench operation data to determine target parameters. The simulation test bench is a digital twin model corresponding to the physical test bench. This method solves the technical problem in related technologies where the simulation method for ship power system operating conditions based on operation data has low adaptability to the operating conditions of different test benches, thus improving the adaptability of the simulation method for ship power system operating conditions based on operation data to different test benches.

[0053] As an optional approach, the target parameters include proportional parameters, integral parameters, and derivative parameters. Simulations are performed based on bench operation data to determine the target parameters, including:

[0054] S11, the control simulation bench runs multiple preset simulation programs based on the bench operation data to obtain multiple performance indicators. Among them, the control strategies of each of the multiple preset simulation programs are different, and the multiple performance indicators are used to reflect the simulation performance of the simulation bench under different simulation programs.

[0055] S12 determines the proportional parameter, integral parameter, and derivative parameter based on multiple performance indicators.

[0056] In this embodiment, the control simulation bench runs multiple preset simulation programs based on the bench's operating data to obtain multiple performance indicators. Each of the multiple preset simulation programs has a different control strategy, and the multiple performance indicators are used to reflect the simulation performance of the simulation bench under different simulation programs. Based on the multiple performance indicators, proportional parameters, integral parameters, and derivative parameters are determined.

[0057] Figure 3 This is the second schematic diagram of the ship propulsion system operating condition simulation method based on operational data provided by the present invention, as shown below. Figure 3 As shown, during the optimization control process, different simulation programs can be run on the simulation bench through a visual interface. Figure 3 Simulation software 1, simulation software 2, and simulation software 3 correspond to various preset simulation programs in this embodiment. The simulation bench runs these preset simulation programs based on bench operation data, performs strategy judgment based on the running results, and sends the proportional parameters, integral parameters, and differential parameters corresponding to the optimal strategy to the physical bench (corresponding to...). Figure 3 (The bench system in the middle).

[0058] Specifically, the simulation process for optimizing the control strategy may include running simulation programs for three control strategies in parallel and obtaining key result parameters, such as performance indicators like overshoot, rise time, and settling time. Based on these performance indicators, the system will select the optimal PID (proportional-integral-derivative) parameters and apply them to the bench system to improve the system's computational and control performance.

[0059] This embodiment improves the accuracy of the acquired target parameters, thereby enhancing the reliability of the ship power system operating condition simulation method based on operational data.

[0060] As an optional approach, the ship propulsion system operating condition simulation method based on operational data in this embodiment may include the following steps:

[0061] Step 1, Equipment Control Process:

[0062] During device control: The visualization module sends a JSON string containing the bench information (UUID, Universally Unique Identifier), device array object parameters, operating mode, running strategy, etc. At this point, the device control process generally branches into two: one branch sends values ​​to the bench, and the other sends values ​​to the simulation. Sending values ​​to the bench involves data mapping, data stream processing, and real-time transmission to the bench system via the bench adapter module. Sending values ​​to the simulation module, based on different operating mode settings, branches again, selecting different data mappings and function transformations according to the different operating modes to form a new JSON object. This generated new JSON object is then passed to the simulation adapter module, which in turn passes it to the simulation system to complete the device control process.

[0063] Step 2, Data Synchronization Process:

[0064] The parameters of the actual operation of the power test bench will differ from those of the simulation model. Therefore, the simulation test data needs to be synchronized with the actual bench data before starting the simulation test to ensure consistency between the bench environment and the simulation environment. A mapping relationship is established between the power test bench database fields and metadata. Simultaneously, the parameters used by the simulation model also form a mapping relationship with the metadata, enabling data to be effectively stored, exchanged, and interpreted. This achieves uniformity in the format, units, and encoding of the dataset.

[0065] Step 3, Data Correction Process:

[0066] Virtual-real hybrid calibration is a data service that uses a physical test bench to calibrate a simulation model. This includes modifying parameters such as tank pressure and level, pump speed, and valve opening on the scene simulation card. The work primarily involves building the system model simulation card, data acquisition and processing, and parameter consistency comparison analysis. By comparing the consistency of performance curves between the actual test bench system and the simulation model, the accuracy and reliability of the simulation system model are ensured. An algorithm obtains the pump flow rate, pump speed, and pump head under historical stable conditions on the test bench, transmits the data to the data mapping module, and after conversion, outputs a JSON file to the simulation adapter. The simulation adapter then transmits the data to the simulation system.

[0067] Step 4, Bench Data Acquisition Process:

[0068] Data acquisition from test benches refers to collecting and recording data from the intermediate components of industrial control equipment on a test bench to obtain information on parameters such as temperature, pressure, and stress. By analyzing and processing the collected test bench data, potential problems or anomalies can be identified, and predictions and early warnings can be provided.

[0069] Step 5, Simulation data acquisition process:

[0070] When designing the simulation adapter, a REST API using the HTTP protocol was employed for calls. The simulation results data carried the bench UUID and JSON card name. This record was used to map the data into the required JSON string, which was then passed to RabbitMQ and Redis. This message was then consumed by visualization and database processing.

[0071] Step 6, optimize the control process:

[0072] The simulation process for optimizing the control strategy aims to obtain key performance parameters, such as overshoot, rise time, and settling time, by running simulation programs for three control strategies in parallel. Based on these performance indicators, the system will select the optimal PID (proportional-integral-derivative) parameters and apply them to the bench system to improve the system's computational and control performance.

[0073] Step 7, Historical Data Replay:

[0074] After selecting historical test batches from the historical data stored in the data platform for playback, the system will push the historical data stream in real time via WebSocket. This method allows users to view and analyze previously recorded test data in real time, thereby gaining a deeper understanding of key events and data changes during the test process.

[0075] Figure 4 This is a schematic diagram of the structure of the ship propulsion system operating condition simulation device based on operational data provided by the present invention, as shown below. Figure 4 As shown, including but not limited to the following modules:

[0076] The acquisition module 401 is used to acquire bench operation data, wherein the bench operation data is the operation data collected by the sensors of the physical bench. The bench operation data is transmitted from the physical bench to the RabbitMQ message queue through the target communication protocol after being serialized into bytes, and then stored in the database by the RabbitMQ message queue.

[0077] The execution module 402 is used to control the simulation bench to call the bench operation data in the database based on the RabbitMQ message queue, and to perform simulation based on the bench operation data to determine the target parameters. The simulation bench is a digital twin model corresponding to the physical bench.

[0078] Through the embodiments of this application, test bench operation data is obtained. This test bench operation data consists of operational data collected by sensors on a physical test bench. The test bench operation data is transmitted byte-serialized from the physical test bench to a RabbitMQ message queue via a target communication protocol, and then stored in a database by the RabbitMQ message queue. The simulation test bench is controlled to call the test bench operation data from the database based on the RabbitMQ message queue, and performs simulation based on the test bench operation data to determine target parameters. The simulation test bench is a digital twin model corresponding to the physical test bench. This method solves the technical problem in related technologies where the simulation method for ship power system operating conditions based on operational data has low adaptability to the operating conditions of different test benches, thus improving the adaptability of the simulation method for ship power system operating conditions based on operational data to different test benches.

[0079] It should be noted that the ship power system operating condition simulation device based on operating data provided by the present invention can execute the ship power system operating condition simulation method based on operating data of any of the above embodiments during specific operation, which will not be elaborated in this embodiment.

[0080] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 5As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communication bus 540, wherein the processor 510, communications interface 520, and memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a ship power system operating condition simulation method based on operating data. This method includes: acquiring bench operating data, wherein the bench operating data is operating data collected by sensors on a physical bench; the bench operating data is byte-serialized and transmitted from the physical bench to a RabbitMQ message queue via a target communication protocol, and then stored in a database by the RabbitMQ message queue; controlling the simulation bench to call the bench operating data in the database based on the RabbitMQ message queue, and performing simulation based on the bench operating data to determine target parameters, wherein the simulation bench is a digital twin model corresponding to the physical bench.

[0081] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0082] 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. The computer program includes program instructions. When the program instructions are executed by the computer, the computer is able to execute the ship power system operating condition simulation method based on operating data provided in the above embodiments. The method includes: acquiring bench operating data, wherein the bench operating data is operating data collected by sensors of a physical bench. The bench operating data is transmitted from the physical bench to a RabbitMQ message queue via a target communication protocol after being byte-serialized, and then stored in a database by the RabbitMQ message queue; controlling the simulation bench to call the bench operating data in the database based on the RabbitMQ message queue, and performing simulation based on the bench operating data to determine target parameters, wherein the simulation bench is a digital twin model corresponding to the physical bench.

[0083] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program is implemented to perform the ship power system operating condition simulation method based on operating data provided in the above embodiments. The method includes: acquiring bench operating data, wherein the bench operating data is operating data collected by sensors of a physical bench, and the bench operating data is transmitted from the physical bench to a RabbitMQ message queue via a target communication protocol after being byte-serialized, and then stored in a database by the RabbitMQ message queue; controlling the simulation bench to call the bench operating data in the database based on the RabbitMQ message queue, and performing simulation based on the bench operating data to determine target parameters, wherein the simulation bench is a digital twin model corresponding to the physical bench.

[0084] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0085] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.

[0086] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for simulating operating conditions of a marine power system based on operational data, characterized by, The method comprises the following steps: obtaining bench operation data, wherein the bench operation data is operation data collected by a sensor of a physical bench, the bench operation data is transmitted in byte sequence from the physical bench to a Rabbit MQ message queue through a target communication protocol, and then stored in a database by the Rabbit MQ message queue; the bench operation data is obtained in byte sequence after being encoded based on the target communication protocol, the byte sequence is transmitted to the Rabbit MQ message queue after being parsed in JSON format; the database comprises an in-memory database and a relational database, data in the relational database is called by a simulation bench, and data in the in-memory database is called by visualization; controlling the simulation bench to call the bench operation data in the database based on the Rabbit MQ message queue, and performing simulation simulation based on the bench operation data to determine a target parameter, wherein the simulation bench is a digital twin model corresponding to the physical bench; the target parameter comprises a proportional parameter, an integral parameter and a differential parameter, and the simulation simulation based on the bench operation data to determine the target parameter comprises: controlling the simulation bench to run a plurality of preset simulation programs based on the bench operation data to obtain a plurality of performance indicators, wherein the control strategy of each simulation program in the plurality of preset simulation programs is different, and the plurality of performance indicators are used to reflect the simulation performance of the simulation bench under different simulation programs; determining the proportional parameter, the integral parameter and the differential parameter based on the plurality of performance indicators.

2. The method of claim 1, wherein, The target communication protocol comprises at least one of the following: a TCP Socket transmission protocol and a UDP Socket transmission protocol.

3. The method of simulating a ship power system operating condition based on operational data according to any one of claims 1 to 2, characterized in that, After the control of the simulation bench to call the bench operation data and perform simulation simulation based on the bench operation data to determine the target parameter, the method further comprises: controlling the physical bench to perform testing based on the target parameter.

4. A marine power system operating condition simulation device based on operational data, characterized by, The method comprises the following steps: an acquisition module is configured to acquire bench operation data, wherein the bench operation data is operation data collected by a sensor of a physical bench, the bench operation data is transmitted in byte sequence from the physical bench to a Rabbit MQ message queue through a target communication protocol, and then stored in a database by the Rabbit MQ message queue; the bench operation data is obtained in byte sequence after being encoded based on the target communication protocol, the byte sequence is transmitted to the Rabbit MQ message queue after being parsed in JSON format; the database comprises an in-memory database and a relational database, data in the relational database is called by a simulation bench, and data in the in-memory database is called by visualization; An execution module is configured to control the simulation bench to call bench operation data in the database based on the Rabbit MQ message queue, and perform simulation based on the bench operation data to determine target parameters, wherein the simulation bench is a digital twin model corresponding to the physical bench; the target parameters include proportional parameters, integral parameters and differential parameters; the execution module is specifically configured to control the simulation bench to run a plurality of preset simulation programs based on the bench operation data to obtain a plurality of performance indexes, wherein control strategies of each simulation program in the plurality of preset simulation programs are different, and the plurality of performance indexes are used to reflect simulation performance of the simulation bench under different simulation programs; and the proportional parameters, the integral parameters and the differential parameters are determined based on the plurality of performance indexes.

5. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The computer program is executed by the processor to implement the ship power system working condition simulation method based on operation data according to any one of claims 1 to 3. 6.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the ship power system working condition simulation method based on operation data according to any one of claims 1 to 3.

7. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the ship power system working condition simulation method based on operation data according to any one of claims 1 to 3. The computer program is executed by the processor to implement the ship power system working condition simulation method based on operation data according to any one of claims 1 to 3.