A Modeling and Simulation Method for a Ship Pipeline System, a Computer Storage Medium, and a Device
By establishing a parameterized model library of ship pipeline systems and a physical parameter library of working substances, a parameterized method is used to quickly build a system simulation model of ship pipeline systems, which solves the problems of small scope of application and large amount of modification in the existing technology, and realizes efficient and general modeling and simulation of ship pipeline systems.
Patent Information
- Application Number
- CN202210877569.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-25
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2042-07-25
AI Technical Summary
The existing ship pipeline system modeling and simulation software has a small scope of application, making it difficult to quickly adapt to the pipeline system modeling and simulation needs of different ship power plants, and requires a lot of modifications.
By establishing a general parameterized model library for ship pipeline systems and a physical parameter library for working fluids, a parameterized method is used to quickly build a system simulation model for ship pipeline systems, including establishing a topological relationship diagram, setting input and boundary parameters, and performing dynamic characteristic simulation calculations.
It improves the versatility and applicability of modeling and simulation of ship pipeline systems, can quickly adapt to the simulation needs of different complex ship pipeline systems, reduces the amount of modifications, and improves the efficiency of simulation calculation.
Smart Images

Figure CN115146392B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of ships, and in particular, to a method for modeling a ship pipeline system, a computer storage medium, and a device. Background Art
[0002] The description in this part only provides background information related to the present disclosure and may not constitute prior art.
[0003] The ship pipeline system of a ship power plant is complex. The actual ship pipeline system consists of a large number of pipelines and pipeline connectors. During the shipbuilding process, the ship pipeline system accounts for about 20% of the total shipbuilding workload. Most equipment is connected and the working medium is transported through the ship pipeline system. The ship pipeline system needs to undergo complex demonstration, design, construction, commissioning, etc. to meet the actual requirements of the ship power plant. Therefore, it is necessary to conduct demonstration through simulation means. First, model the ship pipeline system at the one-dimensional system level, and on this basis, carry out one-dimensional system flow characteristic operation simulation and calculation, and then fully understand and recognize the dynamic operation characteristics of the ship pipeline system. The pipeline system of a ship power plant is complex, and the actual operation involves multiple working media, multiple physical states, and there are multiple complex heterogeneous components. Some large and complex ship pipeline systems involve three-dimensional space layout, with a long length, a large space width, and a complex orientation. Generally speaking, the pipeline system of a ship power plant needs to be commissioned before it can be operated, and in the actual commissioning and operation stage, it is necessary to use simulation means to fully explore its dynamic operation characteristics. Currently, some commercial software has a small scope of application when performing simulation modeling, and when performing simulation modeling of the pipeline systems of other different ship power plants, a large number of modifications are often required. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide a method for simulating and modeling a ship pipeline system to improve the generality of simulating and modeling the ship pipeline system.
[0005] Another purpose of the embodiments of the present application is also to provide a computer storage medium and a computer device for the above method of simulating and modeling a ship management system.
[0006] In the first aspect, a method for simulating and modeling a ship pipeline system is provided, including the following steps:
[0007] 1) Establish a parametric model library for the ship pipeline system: The pipeline components in the ship pipeline system include pipelines and pipeline connectors. Establish a general simulation model library for pipeline components as the basis for modeling and simulation. For each type of pipeline component in the simulation model library of pipeline components, abstract according to one-dimensional flow characteristics and conduct mathematical modeling based on the physical process of actual one-dimensional flow. After mathematical modeling and abstraction, obtain the parametric models of each pipeline component. The parametric models of each pipeline component form a parametric model library, and each pipeline component forms a graphical module;
[0008] Establish the physical property parameter form of the working medium in the ship pipeline system to form the working medium physical property parameter library of the ship pipeline system, so as to select the required working medium and physical properties for the ship pipeline system that needs to be modeled and simulated;
[0009] 2) According to the connection relationship of pipeline components in the actual ship pipeline system, connect based on the graphical module formed in step 1) to construct a topological relationship diagram and form the system simulation model of the ship pipeline system; Establish the parameter form of the connection relationship between connection components. The parameter form of the connection relationship includes the connection relationship parameters between pipeline components and the transfer relationship parameters between pipeline components;
[0010] 3) For the topological relationship diagram of the ship pipeline system formed in step 2), establish the input parameter form of the system simulation model. The input parameter form includes structural parameters and initial parameters to enable parametric settings for the ship pipeline system;
[0011] 4) Set the boundary parameters of the system simulation model in step 2) according to the attributes of the ship pipeline system. The boundary parameters include flow boundaries and pressure boundaries. The pressure boundary is used to transfer pressure parameters outward, and the flow boundary is used to transfer flow parameters outward;
[0012] 5) After constructing the system simulation model, conduct dynamic characteristic simulation calculations for the ship pipeline system and establish the simulation output parameter form. The simulation output parameter form includes output parameters that change with time.
[0013] In a possible implementation solution, in step 1), the working media of the ship pipeline system include water, oil, and air. Among the physical property parameters of the working media, water has two phases: vapor phase and liquid phase, and oil includes fuel oil and lubricating oil.
[0014] In a possible implementation solution, in step 2), the topological relationship diagram includes the connections between pipelines. The pipeline connectors are represented in the form of connection nodes, and the connection nodes are used to check whether the coordinates of the starting points of the pipelines to be connected are consistent.
[0015] In a possible implementation solution, in step 2), construct the topological relationship diagram based on the three-dimensional space coordinates of the ship pipeline system.
[0016] In a possible implementation, in step 3), the structural parameters include diameter, wall thickness, roughness, and three-dimensional space coordinates, and the initial parameters include initial flow rate and initial pressure.
[0017] In a possible implementation, in step 4), the boundary parameters further include internal boundaries. The internal boundaries include connection nodes between various pipelines, and the internal boundaries are used to transfer parameters required for internal calculations of the ship pipeline system.
[0018] In a possible implementation, the ship pipeline system modeling and simulation method further includes steps of parametric expansion and modification. According to the actual conditions of the ship pipeline system, the model library and parameters are expanded and modified according to the content in steps 1) to 4).
[0019] In a second aspect, a computer storage medium is further provided, which stores a computer program. When the program is executed by a processor, it implements the ship pipeline system modeling and simulation method described in any possible implementation of the first aspect.
[0020] In a third aspect, a computer device is further provided, which is characterized by including a memory and a processor. The memory stores a computer program, and when the program is executed by the processor, it implements the ship pipeline system modeling and simulation method described in any possible implementation of the first aspect.
[0021] The beneficial effects of the ship pipeline system modeling and simulation method in this application are as follows:
[0022] In different stages such as ship pipeline system demonstration, design, construction, and commissioning, facing the specific simulation and calculation requirements for the dynamic operation characteristics of the ship pipeline system, this application quickly establishes a ship pipeline system simulation model by a parametric method. By establishing a model library and a working fluid physical property parameter library, graphical modules in the model library can be selected according to the actual ship pipeline system to form a topological relationship diagram, and then parameter settings and boundary parameter establishment are carried out for the ship pipeline system, and simulation calculations are performed to achieve rapid simulation of complex ship pipeline systems for specific objects. For different complex ship pipeline systems, different models in the model library and corresponding working fluid parameters in the working fluid physical property parameter library can be selected, enhancing the versatility of the ship pipeline system modeling and simulation method and having good and wide applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of this application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative efforts.
[0024] Figure 1 It is a flowchart in an embodiment of a method for modeling and simulating a ship pipeline system according to the present application;
[0025] Figure 2 It is a schematic diagram of the parametric modeling and simulation topological relationship of a ship pipeline system in an embodiment of a method for modeling and simulating a ship pipeline system according to the present application. Detailed implementation manners
[0026] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Usually, the components of the embodiments of the present application described and illustrated herein can be arranged and designed in various different configurations.
[0027] Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but merely represents selected embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts fall within the scope of protection of the present application.
[0028] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be a direct connection or an indirect connection through an intermediate medium, and it may be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific situations.
[0029] According to the first aspect of the present application, first, a method for modeling and simulating a ship pipeline system is provided. Refer to Figure 1 and Figure 2 . In this embodiment, the ship pipeline system of a ship power plant is taken as an example for illustration.
[0030] The method for modeling and simulating a ship pipeline system includes the following steps:
[0031] 1) Establish a parametric model library for the ship pipeline system: The pipeline components in the ship pipeline system include pipelines and pipeline connectors. A general simulation model library for pipeline components is established as the basis for modeling and simulation. For each type of pipeline component in the simulation model library of pipeline components, abstraction is carried out according to one-dimensional flow characteristics, and mathematical modeling is carried out based on the physical process of actual one-dimensional flow. Through mathematical modeling and abstraction, the parametric models of each pipeline component are obtained. The parametric models of each pipeline component form a parametric model library, and each pipeline component forms a graphical module.
[0032] Specifically, the pipelines include round pipes, triangular pipes, rectangular pipes, hexagonal pipes, etc. The pipeline connectors include three-way joints, elbow joints, 90° bent pipes, sudden expansion sections, sudden contraction sections, etc.
[0033] The ship pipeline system in this embodiment is a ship pipeline system with a complex three-dimensional spatial structure, including a certain number of pipelines and pipeline connectors.
[0034] The one-dimensional flow characteristics in this embodiment include the characteristics of pressure and flow rate changing with time along the flow direction of the ship pipeline system. Since there are similarities among various components, the parametric models of each component are obtained through mathematical modeling and abstraction. It involves the parametric characteristics of each component, such as internal parameters, boundary parameters, and process parameters. After mathematical modeling and abstraction, they are classified as a parametric model library. In this step, pipelines and pipeline connectors of different categories and with common points in the complex ship pipeline system are sorted out respectively, and relevant parameters are abstracted based on the structure and actual physical process. A class of components is characterized by a parametric simulation model, rather than a specific physical object. This step is the basis of parameterization and establishes an overall parametric framework.
[0035] Establish the physical property parameter form of the working medium in the ship pipeline system to form a physical property parameter library of the working medium in the ship pipeline system, so that the required working medium and physical properties can be selected for the ship pipeline system that needs to be modeled and simulated. Specifically, the working media in the ship pipeline system include water, oil, and air. Among the physical property parameters of the working medium, water has two phases, vapor phase and liquid phase, and oil includes fuel oil and lubricating oil. For some pipelines and pipeline connectors, there are mixtures of multiple working media. Based on the above-mentioned working media, the physical properties of the mixed working media are set according to the proportions of different working media. For different complex ship pipeline systems, the required working media and physical properties are selected respectively. Through this step, the physical property parameter form of the working medium in the ship pipeline system is established, and the physical property parameter form of the working medium includes physical property parameters of the working medium.
[0036] 2) Based on the connection relationships of pipeline components in the actual ship pipeline system, connect them based on the graphical modules formed in step 1), construct a topological relationship diagram, and form a system simulation model of the ship pipeline system; establish the parameter forms of the connection relationships between the connection components, and the parameter forms of the connection relationships include the connection relationship parameters between pipeline components and the transfer relationship parameters between pipeline components.
[0037] Specifically, the topological relationship diagram includes the connections between pipelines, and the pipeline connectors are represented in the form of connection nodes.
[0038] Such as Figure 2 shown, construct a topological relationship diagram based on the three-dimensional space coordinates of the ship pipeline system.
[0039] 3) For the topological relationship diagram of the ship pipeline system formed in step 2), establish the input parameter forms of the system simulation model, and the input parameter forms include structural parameters and initial parameters, so as to enable parametric setting of the ship pipeline system.
[0040] For the formed topological relationship diagram of the ship pipeline system, perform parametric settings for each pipeline and pipeline connector respectively. The structural parameters of the ship pipeline system include length, diameter, wall thickness, roughness, three-dimensional space coordinates (starting point coordinates, ending point coordinates). The structural parameters of the pipeline connector include diameter, wall thickness, roughness, three-dimensional space coordinates (starting point coordinates, ending point coordinates). The initial parameters in the ship pipeline system include the required input initial flow rate and initial pressure. The connection node is used to check whether the coordinates of the pipeline to be connected and the starting point of the pipeline are consistent. Through this step, the input parameter forms of the system simulation model are established, and the input parameter forms include structural parameters and initial parameters.
[0041] 4) Set the boundary parameters of the system simulation model in step 2) according to the attributes of the ship pipeline system. The boundary parameters include flow boundaries and pressure boundaries. The pressure boundary is used to transfer pressure parameters outward, and the flow boundary is used to transfer flow parameters outward;
[0042] Specifically, the boundaries of the ship pipeline system are divided into two major categories: flow boundaries and pressure boundaries. The complex ship pipeline system is connected to the outside through boundaries, and the required boundaries are set respectively according to the attributes of the simulation model. The pressure boundary is used to transfer pressure parameters outward, and the flow boundary is used to transfer flow parameters outward. The internal boundary, that is, the connection node, is used to transfer the parameters required for internal calculation of the complex ship pipeline system, mainly the pressure and flow rate before and after the connection point. Through this step, the parameter forms of the boundary include boundary parameters.
[0043] 5) After constructing the system simulation model, perform dynamic characteristic simulation calculations on the ship pipeline system, and establish the simulation output parameter forms. The simulation output parameter forms include output parameters that change with time.
[0044] Specifically, the simulation calculation mainly obtains the dynamic response of the parameters of the pipeline and pipeline connectors to be observed over time, so this is used as the output.
[0045] In this embodiment, the method for modeling and simulating a ship pipeline system further includes the step of parametric extension and modification. Before step 5), according to the actual conditions of the ship pipeline system, the model library and parameters are extended and modified according to the content in steps 1) to 4). The modeling and simulation of a complex ship pipeline system are represented in parametric form. Some new components of the ship pipeline system can follow the above steps to add relevant components to the model library in parametric form, and new working fluids can also follow the above steps to add new working fluid property parameter libraries.
[0046] In summary, in the process of modeling and simulating a ship pipeline system in this application, for one-dimensional dynamic characteristic simulation calculation, a parametric modeling and simulation method is adopted. Facing the requirements of the dynamic operation characteristics of a complex ship pipeline system in different stages such as the demonstration, design, construction, and commissioning of the ship pipeline system, in the form of full-process and full-system parameterization, a faster one-dimensional fluid dynamic characteristic modeling is realized, providing a fast, convenient, and effective method for the rapid simulation of the dynamic characteristics of the complex pipeline fluid system of a ship power plant in actual engineering.
[0047] This application quickly establishes a simulation model of a ship pipeline system by a parametric method. By establishing a model library and a working fluid property parameter library, graphical modules in the model library can be selected according to the actual ship pipeline system to form a topological relationship diagram, and then parameter settings and boundary parameter establishment are performed on the ship pipeline system, and then simulation calculation is carried out to realize the rapid simulation of the complex ship pipeline system of a specific object. For different complex ship pipeline systems, different models in the model library and corresponding working fluid parameters in the working fluid property parameter library can be selected, enhancing the versatility of the method for modeling and simulating a ship pipeline system, and having good and wide applicability.
[0048] In a second aspect, a computer storage medium is further provided, which is characterized in that it stores a computer program, and when the program is executed by a processor, it implements the method for modeling and simulating a ship pipeline system described in the first aspect embodiment. Preferably, the storage medium includes various media that can store program codes such as ROM, RAM, magnetic disks, USB flash drives, memory cards, or optical discs.
[0049] In a third aspect, a computer device is further provided, including a memory and a processor, where the memory stores a computer program, and when the program is executed by the processor, it implements the method for modeling and simulating a ship pipeline system described in the first aspect embodiment.
[0050] The memory includes various media that can store program codes, such as ROM, RAM, magnetic disks, USB flash drives, memory cards, or optical discs. The processor is connected to the memory and is configured to execute the computer program stored in the memory.
[0051] Preferably, the processor may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0052] The above are only the preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application.
Claims
1. A method for modeling and simulating a ship pipeline system, characterized in that, it includes the following steps: 1) Establish a parametric model library for the ship pipeline system: The pipeline components in the ship pipeline system include pipelines and pipeline connectors. Establish a general simulation model library for pipeline components as the basis for modeling and simulation. For each type of pipeline component in the simulation model library of pipeline components, abstract according to one-dimensional flow characteristics, and conduct mathematical modeling based on the physical process of actual one-dimensional flow. After mathematical modeling and abstraction, obtain the parametric models of each pipeline component. The parametric models of each pipeline component form a parametric model library, and each pipeline component forms a graphical module; Establish the physical property parameter form of the working medium of the ship pipeline system to form the working medium physical property parameter library of the ship pipeline system, so as to select the required working medium and physical properties for the ship pipeline system that needs to be modeled and simulated; 2) According to the connection relationship of the pipeline components in the actual ship pipeline system, connect based on the graphical modules formed in step 1) to construct a topological relationship diagram and form a system simulation model of the ship pipeline system. Establish the parameter form of the connection relationship between the connection components. The parameter form of the connection relationship includes the connection relationship parameters between pipeline components and the transfer relationship parameters between pipeline components; 3) For the topological relationship diagram of the ship pipeline system formed in step 2), establish the input parameter form of the system simulation model. The input parameter form includes structural parameters and initial parameters to enable parametric setting of each pipeline component; 4) Set the boundary parameters of the system simulation model in step 2) according to the attributes of the ship pipeline system. The boundary parameters include flow boundaries and pressure boundaries. The pressure boundary is used to transmit pressure parameters outward, and the flow boundary is used to transmit flow parameters outward; 5) Construct the system simulation model and conduct dynamic characteristic simulation calculations of the ship pipeline system, and establish the simulation output parameter form. The simulation output parameter form includes output parameters that change with time.
2. The method for modeling and simulating a ship pipeline system according to claim 1, characterized in that, in step 1), the working medium of the ship pipeline system includes water, oil, and air. Among the physical property parameters of the working medium, water has two phase states: vapor phase and liquid phase, and oil includes fuel oil and lubricating oil.
3. The method for modeling and simulating a ship pipeline system according to claim 1, characterized in that, in step 2), the topological relationship diagram includes the connection between pipelines. The pipeline connectors are represented in the form of connection nodes, and the connection nodes are used to check whether the coordinates of the starting points of the pipelines to be connected are consistent.
4. The method for modeling and simulating a ship pipeline system according to claim 1, characterized in that, in step 2), construct the topological relationship diagram based on the three-dimensional space coordinates of the ship pipeline system.
5. The method for modeling and simulating a ship pipeline system according to claim 1, characterized in that, in step 3), the structural parameters include diameter, wall thickness, roughness, and three-dimensional space coordinates, and the initial parameters include initial flow rate and initial pressure.
6. The method for modeling and simulating a ship pipeline system according to claim 1, characterized in that, In step 4), the boundary parameters further include an internal boundary, and the internal boundary includes connection nodes between various pipelines. The internal boundary is used to transfer parameters required for internal calculations of the ship pipeline system.
7. The method for ship pipeline system modeling and simulation according to claim 1, characterized in that the method for ship pipeline system modeling and simulation further includes a step of parametric extension and modification, and according to the actual conditions of the ship pipeline system, the model library and parameters are extended and modified according to the content in steps 1) to 4).
8. A computer storage medium, characterized in that it stores a computer program, and when the program is executed by a processor, it implements the method for ship pipeline system modeling and simulation according to any one of claims 1 to 7.
9. A computer device, characterized in that it includes: a memory and a processor, the memory stores a computer program, and when the program is executed by the processor, it implements the method for ship pipeline system modeling and simulation according to any one of claims 1 to 7.
Citation Information
Patent Citations
System and method for rapidly constructing nuclear power secondary circuit system parametric simulation models
CN108875151A
General simulation software system and simulation method for ship ballast water system
CN111625974A