Simulation method, device, equipment, medium and product of water supply and empty drainage system

By constructing a collaborative flow simulation method using one-dimensional and multi-dimensional simulation models, the problem of balancing simulation accuracy and efficiency in water supply and drainage systems is solved, achieving high-precision and high-efficiency simulation results, which are applicable to the design and simulation of ship propulsion systems.

CN121835467APending Publication Date: 2026-04-10CHINA STATE SHIPBUILDING CORP LTD RESEARCH INSTITUTE 719
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-14
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In existing technologies, simulation methods for water supply and drainage systems struggle to balance simulation accuracy and efficiency. This is especially true in marine power system design, where 3D simulation is costly and ignores the dynamic coupling effects between components, while 1D simulation methods, though efficient, are difficult to capture complex flow details.

Method used

A one-dimensional simulation model of the water supply and drainage system is constructed, key areas are identified and multi-dimensional simulation models are built, and collaborative flow simulation of the one-dimensional and multi-dimensional models is realized through a data interaction interface. Data interaction and iterative calculation are performed by combining the one-dimensional and multi-dimensional models to ensure high accuracy of key areas and efficient simulation of the overall system.

Benefits of technology

This method achieves real-time bidirectional coupling between the macroscopic characteristics of the water supply and drainage system and the microscopic flow of its components, improving the simulation effect, ensuring the simulation accuracy of key areas, and enhancing the overall system simulation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121835467A_ABST
    Figure CN121835467A_ABST
Patent Text Reader

Abstract

The invention provides a simulation method, device, equipment, medium and product of a water supply and air discharge system. The method comprises the following steps: constructing a one-dimensional simulation model of the water supply and air discharge system; performing flow simulation on the one-dimensional simulation model, and identifying a key area in the one-dimensional simulation model based on a flow simulation result; constructing a multi-dimensional simulation model of the key area; updating a key area in the one-dimensional simulation model into a data interaction interface, wherein the data interaction interface is used for data interaction between the one-dimensional simulation model and the multi-dimensional simulation model; and based on the updated one-dimensional simulation model and the multi-dimensional simulation model, carrying out collaborative flow simulation on the water supply and air drainage system. According to the method, the one-dimensional simulation model and the multi-dimensional simulation model can be used for carrying out collaborative flow simulation on the water supply and air drainage system, so that the simulation precision of a key area is ensured, the simulation efficiency of the whole system is also considered, and the simulation effect of the water supply and air drainage system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of simulation technology, and more specifically, to a simulation method, apparatus, equipment, medium, and product for a water supply and drainage system. Background Technology

[0002] In the design and simulation of marine propulsion systems, one-dimensional or three-dimensional simulation methods are commonly used to analyze feedwater and exhaust systems. While one-dimensional simulation methods offer high computational efficiency, they simplify components and struggle to accurately capture complex flow details. Three-dimensional simulation methods, while highly accurate, incur enormous computational costs and typically neglect the dynamic coupling effects between components, making them unsuitable for multi-condition analysis of the entire system.

[0003] Therefore, how to balance the simulation accuracy and efficiency of water supply and drainage systems has become a technical problem that the industry urgently needs to solve. Summary of the Invention

[0004] This application provides a simulation method, apparatus, equipment, medium, and product for a water supply and drainage system, in order to solve the technical problem of how to balance the simulation accuracy and efficiency of the water supply and drainage system in the prior art.

[0005] Firstly, this application provides a simulation method for a water supply and drainage system, including: Construct a one-dimensional simulation model of the water supply and drainage system; Flow simulation is performed on the one-dimensional simulation model, and key regions in the one-dimensional simulation model are identified based on the flow simulation results. Construct a multi-dimensional simulation model of the key region; The key regions in the one-dimensional simulation model are updated to data interaction interfaces, which are used for data interaction between the one-dimensional simulation model and the multi-dimensional simulation model. The water supply and drainage system is simulated in a coordinated flow manner based on the updated one-dimensional simulation model and the multi-dimensional simulation model.

[0006] In some embodiments, the water supply air drain system includes a water supply pump and an air drain valve; constructing a one-dimensional simulation model of the water supply air drain system includes: The pump model constructed based on the measured performance curves characterizes the water pump, and the measured performance curves include at least one of the head-flow curve, efficiency-flow curve, and required net positive suction head (NPSH) curve. The vent valve is characterized based on a control valve model that includes on / off curves.

[0007] In some embodiments, performing flow simulation on the one-dimensional simulation model and identifying key regions in the one-dimensional simulation model based on the flow simulation results includes: Identify the regions in the flow simulation results where the flow data matches a preset abnormal flow type, cavitation, and / or wave pulsation. The region is designated as the key region.

[0008] In some embodiments, the key area includes an air vent valve and a feedwater pump impeller; constructing a multidimensional simulation model of the key area includes: The valve core movement of the air drain valve and the impeller rotation of the water pump impeller are simulated based on a moving mesh or a sliding mesh.

[0009] In some embodiments, the coordinated flow simulation of the water supply and drainage system based on the updated one-dimensional simulation model and the multi-dimensional simulation model includes: The current first flow data generated by the one-dimensional simulation model based on the flow simulation is sent to the multi-dimensional simulation model through the data interaction interface. The multidimensional simulation model performs multidimensional flow field simulation on the key region based on the first flow data, and generates regional data for the key region. The one-dimensional simulation model receives the regional data sent by the multi-dimensional simulation model based on the data interaction interface, and recalculates the first flow data based on the regional data to obtain the second flow data. If the difference between the first flow data and the second flow data is greater than a preset difference, the current first flow data is updated based on the latest first flow data until the difference between the first flow data and the second flow data is less than or equal to the preset difference. Then, the calculation is determined to be converged, and the data calculation proceeds to the next time step.

[0010] In some embodiments, after performing coordinated flow simulation of the water supply and drainage system based on the updated one-dimensional simulation model and the multi-dimensional simulation model, the method further includes: Obtain the cooperative flow simulation results, which include at least one of the following: system flow rate, pressure fluctuation, pump operating point trajectory, pressure distribution, velocity distribution, cavitation distribution inside the vent valve, fluid force on the valve core, and pressure pulsation spectrum of the pipeline. Based on the cooperative flow simulation results, the system analysis results of the water supply air drain system are generated. The system analysis results include the stability of the water supply air drain system, the rationality of the air drain valve operation, and / or the cavitation risk level. Based on the analysis results, the model parameters of the one-dimensional simulation model and / or the multi-dimensional simulation model are optimized.

[0011] Secondly, this application provides a simulation device for a water supply and drainage system, comprising: The first construction module is used to construct a one-dimensional simulation model of the water supply and drainage system. The first simulation module is used to perform flow simulation on the one-dimensional simulation model and identify key regions in the one-dimensional simulation model based on the flow simulation results. The second construction module is used to construct a multi-dimensional simulation model of the key area; An interaction module is used to update the key areas in the one-dimensional simulation model to a data interaction interface, which is used for data interaction between the one-dimensional simulation model and the multi-dimensional simulation model. The second simulation module is used to perform coordinated flow simulation of the water supply and drainage system based on the updated one-dimensional simulation model and the multi-dimensional simulation model.

[0012] Thirdly, embodiments of this application provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to implement the above-described method when executing the program through the computer program.

[0013] Fourthly, embodiments of this application provide a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described method.

[0014] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0015] The simulation method, apparatus, equipment, medium, and product for water supply and drainage systems provided in this application construct a one-dimensional simulation model of the water supply and drainage system and a multi-dimensional simulation model of key areas within the one-dimensional simulation model. The key areas in the one-dimensional simulation model are then updated as data interaction interfaces. This allows for collaborative flow simulation of the water supply and drainage system using both the one-dimensional and multi-dimensional simulation models. This ensures the simulation accuracy of key areas while also considering the overall system simulation efficiency. It enables real-time, bidirectional coupling of the macroscopic characteristics of the water supply and drainage system with the microscopic flow of its components, thereby improving the simulation effect of the water supply and drainage system. Attached Figure Description

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

[0017] Figure 1This is one of the flowcharts illustrating the simulation method for the water supply and drainage system provided in the embodiments of this application.

[0018] Figure 2 This is the second flowchart illustrating the simulation method for the water supply and drainage system provided in the embodiments of this application.

[0019] Figure 3 A schematic diagram of the structure of the simulation device for the water supply and drainage system provided in the embodiments of this application.

[0020] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

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

[0022] It should be noted that the terms "first," "second," etc., used in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to such processes, methods, products, or devices.

[0023] The simulation method for the water supply and drainage system provided in this application is applicable to terminals, which can be various electronic devices with displays and web browsing capabilities, including servers, smartphones, tablets, laptops, and desktop computers.

[0024] Figure 1 This is one of the flowcharts illustrating the simulation method for the water supply and drainage system provided in the embodiments of this application, such as... Figure 1 As shown, the method includes steps 110, 120, 130, 140, and 150. These method steps are merely one possible implementation of this application.

[0025] Step 110: Construct a one-dimensional simulation model of the water supply and drainage system.

[0026] Specifically, the simulation method for the water supply and drainage system provided in this application is executed by a simulation device for the water supply and drainage system. This device can be a hardware device independently set in the terminal, or it can be a software program running in the terminal.

[0027] The feedwater venting system consists of components such as feedwater pumps, venting valves, connecting pipelines, deaerators, and boilers, and is used to ensure a stable water supply to the ship's power system.

[0028] A one-dimensional simulation model simplifies the pipes and components in a water supply and drainage system into a network of nodes and solves the problem based on one-dimensional flow theory.

[0029] One-dimensional system simulation software such as Flowmaster or AFT Fathom can be used to construct one-dimensional simulation models of the main components of the water supply and air venting system, including pumps, air venting valves, connecting pipelines, deaerators, and boilers.

[0030] Step 120: Perform flow simulation on the one-dimensional simulation model and identify the key regions in the one-dimensional simulation model based on the flow simulation results.

[0031] Specifically, flow simulation is a method of simulating the flow process of fluids in a system or device through numerical calculation. Flow simulation results can include a series of fluid physical quantity data, such as pressure, flow rate, and temperature, at each node in the one-dimensional simulation model at different times. Critical regions refer to local areas in the one-dimensional simulation model of a feedwater and air vent system where the flow phenomena are complex, the physical quantities change drastically, and / or the impact on the overall performance of the feedwater and air vent system is significant.

[0032] A one-dimensional simulation model can be run to obtain flow simulation results for the water supply and drainage system. Based on these flow simulation results, key regions in the flow simulation that are complex and prone to cavitation and pulsation are identified.

[0033] Step 130: Construct a multi-dimensional simulation model of the key areas.

[0034] Specifically, a multidimensional simulation model can be a three-dimensional simulation model. For example, a multidimensional simulation model can be a computational fluid dynamics (CFD) model based on a three-dimensional mesh, which accurately describes the details of fluid flow in three-dimensional space by solving the Navier-Stokes equations.

[0035] This application's embodiments perform high-precision multi-dimensional geometric modeling of key areas and generate high-quality multi-dimensional simulation models. These multi-dimensional simulation models can accurately capture complex flow phenomena such as turbulence, vortices, and cavitation within the key areas.

[0036] Step 140: Update the key areas in the one-dimensional simulation model to data interaction interfaces. The data interaction interfaces are used for data interaction between the one-dimensional simulation model and the multi-dimensional simulation model.

[0037] Specifically, the data interaction interface is a software module used to support real-time, bidirectional transfer of data required for coupled calculations between one-dimensional and multi-dimensional simulation models.

[0038] In the one-dimensional simulation model, key areas are replaced with data interaction interfaces to enable data interaction between the one-dimensional simulation model and the multi-dimensional simulation model.

[0039] Step 150: Perform coordinated flow simulation of the water supply and drainage system based on the updated one-dimensional simulation model and multi-dimensional simulation model.

[0040] Specifically, collaborative flow simulation combines one-dimensional and multi-dimensional simulation models, and uses data interaction interfaces to jointly simulate the dynamic characteristics of the entire water supply and drainage system.

[0041] At each coupled time step, the one-dimensional simulation model transmits boundary condition data to the multi-dimensional simulation model through a data interaction interface. The multi-dimensional simulation model then returns the obtained data to the one-dimensional simulation model through the boundary condition data. This iterative calculation is repeated to complete the calculation for each coupled time step until the simulation is complete.

[0042] The simulation method for the water supply and drainage system provided in this application constructs a one-dimensional simulation model of the water supply and drainage system and a multi-dimensional simulation model of the key areas in the one-dimensional simulation model. The key areas in the one-dimensional simulation model are then updated as data interaction interfaces. The one-dimensional simulation model and the multi-dimensional simulation model can be used to perform collaborative flow simulation of the water supply and drainage system. This ensures the simulation accuracy of the key areas while also taking into account the simulation efficiency of the overall system. It can achieve real-time, bidirectional coupling between the macroscopic characteristics of the water supply and drainage system and the microscopic flow of its components, thereby improving the simulation effect of the water supply and drainage system.

[0043] It should be noted that each implementation method of this application can be freely combined, rearranged, or executed individually, and does not need to rely on or depend on a fixed execution order.

[0044] In some embodiments, the water supply air drain system includes a water supply pump and an air drain valve; step 110 includes: The pump model constructed based on the measured performance curves characterizes the feedwater pump. The measured performance curves include at least one of the head-flow curve, efficiency-flow curve, and required net positive suction head (NPSH) curve. The vent valve is characterized based on a control valve model that includes on / off curves.

[0045] Step 120 includes: Identify regions in the flow simulation results where the flow data matches the preset abnormal flow type, cavitation, and / or wave pulsation. The region is considered a key region.

[0046] Specifically, Figure 2 The second schematic flowchart of the simulation method for the water supply and drainage system provided in the embodiments of this application is as follows: Figure 2 As shown, a one-dimensional simulation model of the water supply and drainage system can be constructed using one-dimensional system simulation software.

[0047] The head-flow curve represents the change in head of a feedwater pump with flow rate at a specific speed; the efficiency-flow curve represents the change in efficiency of a feedwater pump with flow rate; and the required net positive suction head (NPSH) curve represents the change in flow rate of the minimum margin required for the liquid pressure at the feedwater pump inlet to exceed the saturated vapor pressure in order to prevent cavitation.

[0048] The feed pump of the water supply air drainage system can be characterized by a pump model constructed based on measured performance curves, which include at least one of the head-flow curve, efficiency-flow curve, and required net positive suction head (NPSH) curve.

[0049] The air vent valve of a water supply air vent system can be characterized using a regulating valve model with precise opening / closing characteristic curves. The opening / closing characteristic curves describe the performance of a valve, such as the air vent valve, as a function of time or a control signal.

[0050] After constructing a one-dimensional simulation model of the water supply air drainage system, the one-dimensional simulation model was run to identify areas in the water supply air drainage system with complex flow and prone to cavitation and wave pulsation.

[0051] Complex flow refers to the various non-ideal and non-simple physical phenomena exhibited by a fluid during its motion, such as turbulence, vortices, or eddies. The flow data conforms to the preset abnormal flow type, that is, the flow data conforms to the preset abnormal flow type such as turbulence, vortices, or eddies. Cavitation refers to the boiling and generation of a large number of tiny vapor bubbles in a liquid when the pressure in a local area drops below the saturated vapor pressure of the liquid at that temperature during the liquid flow process. Pulsation, or high-pressure pulsation, refers to the phenomenon that the pressure in the feedwater air vent system is not a stable value, but fluctuates rapidly, periodically or non-periodically around the average value.

[0052] These identified areas are designated as critical regions for further, more detailed multidimensional simulation analysis. Critical regions typically include the interior of the vent valve and the piping near its outlet, as well as the feedwater pump impeller.

[0053] The simulation method for the water supply and drainage system provided in this application, by constructing a one-dimensional simulation model and identifying key areas, can ensure the accuracy of the system model and the precision of key area positioning in the early stage of simulation, laying a solid foundation for subsequent high-efficiency and high-precision collaborative simulation.

[0054] In some embodiments, the critical areas include the air vent valve and the feedwater pump impeller; step 130 includes: Simulate the valve core movement of the air vent valve and the impeller rotation of the water pump impeller based on moving or sliding meshes.

[0055] Step 150 includes: The current first flow data generated by the one-dimensional simulation model based on the flow simulation is sent to the multi-dimensional simulation model through the data interaction interface. The multidimensional simulation model performs multidimensional flow field simulation on key areas based on the first flow data and generates regional data for the key areas; The one-dimensional simulation model receives regional data sent by the multi-dimensional simulation model through a data interaction interface, and recalculates the first flow data based on the regional data to obtain the second flow data. If the difference between the first flow data and the second flow data is greater than a preset difference, the current first flow data is updated based on the latest first flow data until the difference between the first flow data and the second flow data is less than or equal to the preset difference. Once the calculation is confirmed to be converged, the data calculation for the next time step is initiated.

[0056] Specifically, dynamic meshing is a technique where the mesh topology changes over time to simulate flow fields with large boundary deformations. Sliding meshing is a technique that divides the computational domain into multiple sub-regions, which move relative to each other through interfaces. Valve core motion refers to the movement of the moving parts inside a valve used to control fluid flow or its magnitude.

[0057] If the identified critical areas include the air vent valve and the feedwater pump impeller, a high-precision three-dimensional geometric model is performed on the identified critical areas when constructing the multi-dimensional simulation model. This generates a high-quality CFD computational mesh, and the valve core movement of the air vent valve and the impeller rotation of the feedwater pump are simulated using a moving mesh or a sliding mesh.

[0058] In the cooperative flow simulation, the stable operating condition of the system is used as the initial condition for the simulation, and the one-dimensional system simulation software acts as the master solver to advance the system-level time steps. In each coupled time step, the one-dimensional simulation model sends the current first flow data generated by the flow simulation, i.e., the boundary condition physical quantity data driving the calculation of the multi-dimensional model, such as the inlet total pressure and the outlet static pressure, to the multi-dimensional simulation model through the data interaction interface.

[0059] The multidimensional simulation model performs multidimensional flow field simulation on key regions based on the received initial flow data, generating regional data for these key regions. Multidimensional flow field simulation refers to the numerical calculation process performed within a multidimensional simulation model to solve for the detailed flow field distribution within the key regions. Regional data refers to data calculated by the multidimensional flow field simulation that characterizes the macroscopic flow properties of the key regions, such as flow resistance coefficient, pressure drop, and cavitation volume fraction.

[0060] The one-dimensional simulation model receives regional data returned from the multi-dimensional model and recalculates the second flow data based on this regional data. This method of using regional data, such as the vapor phase volume fraction characterizing the degree of cavitation development, as one of the feedback parameters, and returning it from the three-dimensional simulation model to the one-dimensional simulation model, enables the one-dimensional simulation model to dynamically perceive the changes in flow resistance caused by cavitation, thereby achieving quantitative analysis of the impact on system-level performance.

[0061] By comparing the difference between the first and second flow data with a preset difference, the convergence of the calculation is determined. If convergence is not achieved, iterative calculations are performed until convergence is achieved. Then, the one-dimensional master solver updates the state of the entire feedwater venting system based on the returned final region data and proceeds to the next time step. This process focuses on simulating the transient processes of the venting valve from opening to closing and from closing to opening, as well as the feedwater pump startup and low-flow operation conditions.

[0062] The simulation method for the water supply and drainage system provided in this application improves the simulation effect through dynamic interaction between a one-dimensional simulation system and a multi-dimensional simulation system.

[0063] In some embodiments, after step 150, the method further includes: Obtain the cooperative flow simulation results, which include at least one of the following: system flow rate, pressure fluctuation, pump operating point trajectory, pressure distribution, velocity distribution, cavitation distribution inside the vent valve, fluid force on the valve core, and pressure pulsation spectrum of the pipeline. The system analysis results of the feedwater air drain system are generated based on the results of the collaborative flow simulation. The system analysis results include the stability of the feedwater air drain system, the rationality of the air drain valve operation and / or the cavitation risk level. The model parameters of the one-dimensional simulation model and / or multi-dimensional simulation model are optimized based on the analysis results.

[0064] Specifically, the stability of a water supply air drainage system refers to its ability to resist interference and maintain key operating parameters such as flow rate and pressure within a preset range during operation.

[0065] The rationality of the air vent valve's operation refers to evaluating the dynamic process of the air vent valve's opening / closing, such as the timing and speed, to determine whether it can effectively prevent water pump cavitation while avoiding drastic fluctuations in system pressure.

[0066] Cavitation risk level refers to a quantitative classification assessment of the likelihood of cavitation occurring in a system and the potential degree of damage, based on data such as the location, range, and vapor volume fraction of cavitation occurrence obtained from simulation.

[0067] Extract at least one of the following data from the cooperative flow simulation results: system flow rate, pressure fluctuations, and pump operating point trajectory at the macroscopic system level; and internal pressure distribution of the vent valve at the microscopic flow field level in key areas, such as pressure cloud maps, velocity distribution (such as velocity vector maps), cavitation distribution (such as cavitation distribution cloud maps), fluid forces acting on the valve core, and pressure pulsation spectrum of the pipeline. This data can then be visualized.

[0068] The extracted data is used to conduct a comprehensive and quantitative assessment of the stability of the water supply venting system, the rationality of the venting valve operation, and / or the cavitation risk level.

[0069] If the analysis results do not meet the design requirements, the model parameters of the one-dimensional simulation model and / or the three-dimensional simulation model can be modified, such as adjusting the opening and closing speed of the air drain valve, optimizing the pipeline routing and diameter, etc., and the above-mentioned collaborative flow simulation and result analysis process can be repeated to achieve rapid iteration and optimization of the water supply air drain system design.

[0070] The simulation method for the water supply air drainage system provided in this application embodiment can achieve a balance between high precision and high efficiency, accurately simulate the dynamic coupling process of the system, and improve the accuracy of cavitation prediction. Through the analysis and feedback of simulation results, a closed-loop design process from simulation to optimization is constructed, realizing rapid iteration and performance improvement of the water supply air drainage system design.

[0071] The simulation device for the water supply and drainage system provided in the embodiments of this application is described below. The simulation device for the water supply and drainage system described below can be referred to in correspondence with the simulation method for the water supply and drainage system described above.

[0072] Figure 3 This is a schematic diagram of the structure of the simulation device for the water supply and drainage system provided in the embodiments of this application, as shown below. Figure 3 As shown, the device includes a first building module 310, a first simulation module 320, a second building module 330, an interaction module 340, and a second simulation module 350.

[0073] The first building module is used to build a one-dimensional simulation model of the water supply and drainage system. The first simulation module is used to perform flow simulation on a one-dimensional simulation model and identify key regions in the one-dimensional simulation model based on the flow simulation results. The second building module is used to construct multi-dimensional simulation models of key areas; The interaction module is used to update key areas in the one-dimensional simulation model to data interaction interfaces. The data interaction interfaces are used for data interaction between the one-dimensional simulation model and the multi-dimensional simulation model. The second simulation module is used to perform coordinated flow simulation of the water supply and drainage system based on the updated one-dimensional simulation model and multi-dimensional simulation model.

[0074] Specifically, according to the embodiments of this application, any and multiple modules among the first building module, first simulation module, second building module, interaction module and second simulation module can be merged into one module, or any one of the modules can be split into multiple modules.

[0075] Alternatively, at least some of the functionality of one or more of these modules can be combined with at least some of the functionality of other modules and implemented in a single module.

[0076] According to embodiments of this application, at least one of the first building module, the first simulation module, the second building module, the interaction module, and the second simulation module can be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a System-on-a-Chip, a System-on-a-Substrate, a System-on-a-Package, an Application Specific Integrated Circuit (ASIC), or any other reasonable means of integrating or packaging the circuit, or implemented in hardware or firmware, or in any one of the three implementation methods of software, hardware, and firmware, or in a suitable combination of any of them.

[0077] Alternatively, at least one of the first building module, the first simulation module, the second building module, the interaction module, and the second simulation module can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0078] In some embodiments, the first building module is specifically used for: The pump model constructed based on the measured performance curves characterizes the feedwater pump. The measured performance curves include at least one of the head-flow curve, efficiency-flow curve, and required net positive suction head (NPSH) curve. The vent valve is characterized based on a control valve model that includes on / off curves.

[0079] In some embodiments, the first simulation module is specifically used for: Identify regions in the flow simulation results where the flow data matches the preset abnormal flow type, cavitation, and / or wave pulsation. The region is considered a key region.

[0080] In some embodiments, the second building module is specifically used for: Simulate the valve core movement of the air vent valve and the impeller rotation of the water pump impeller based on moving or sliding meshes.

[0081] In some embodiments, the second simulation module is specifically used for: The current first flow data generated by the one-dimensional simulation model based on the flow simulation is sent to the multi-dimensional simulation model through the data interaction interface. The multidimensional simulation model performs multidimensional flow field simulation on key areas based on the first flow data and generates regional data for the key areas; The one-dimensional simulation model receives regional data sent by the multi-dimensional simulation model through a data interaction interface, and recalculates the first flow data based on the regional data to obtain the second flow data. If the difference between the first flow data and the second flow data is greater than a preset difference, the current first flow data is updated based on the latest first flow data until the difference between the first flow data and the second flow data is less than or equal to the preset difference. Once the calculation is confirmed to be converged, the data calculation for the next time step is initiated.

[0082] In some embodiments, the apparatus further includes an optimization model, wherein the optimization module is specifically used for: Obtain the cooperative flow simulation results, which include at least one of the following: system flow rate, pressure fluctuation, pump operating point trajectory, pressure distribution, velocity distribution, cavitation distribution inside the vent valve, fluid force on the valve core, and pressure pulsation spectrum of the pipeline. The system analysis results of the feedwater air drain system are generated based on the results of the collaborative flow simulation. The system analysis results include the stability of the feedwater air drain system, the rationality of the air drain valve operation and / or the cavitation risk level. The model parameters of the one-dimensional simulation model and / or multi-dimensional simulation model are optimized based on the analysis results.

[0083] It should be noted that the simulation device for the water supply and drainage system provided in this application embodiment can implement all the method steps implemented in the above-mentioned simulation method embodiment for the water supply and drainage system, and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.

[0084] Figure 4This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application, 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 can call the computer program in the memory 430 to execute the above-described method.

[0085] Furthermore, the logical instructions in the aforementioned memory can be implemented as software functional modules and sold or used as independent products, and can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or 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 this application. 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.

[0086] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the methods provided in the above embodiments.

[0087] On the other hand, embodiments of this application also provide a processor-readable storage medium storing a computer program for causing the processor to execute the methods provided in the above embodiments.

[0088] The processor-readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic memory (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO)), optical memory (e.g., CD, DVD, BD, HVD), and semiconductor memory (e.g., ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)).

[0089] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. 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.

[0090] 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., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application 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. Such 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 this application.

Claims

1. A simulation method for a water supply and drainage system, characterized in that, include: Construct a one-dimensional simulation model of the water supply and drainage system; Flow simulation is performed on the one-dimensional simulation model, and key regions in the one-dimensional simulation model are identified based on the flow simulation results. Construct a multi-dimensional simulation model of the key region; The key regions in the one-dimensional simulation model are updated to data interaction interfaces, which are used for data interaction between the one-dimensional simulation model and the multi-dimensional simulation model. The water supply and drainage system is simulated in a coordinated flow manner based on the updated one-dimensional simulation model and the multi-dimensional simulation model.

2. The simulation method for the water supply and drainage system according to claim 1, characterized in that, The water supply and air drain system includes a water supply pump and an air drain valve; the construction of a one-dimensional simulation model of the water supply and air drain system includes: The pump model constructed based on the measured performance curves characterizes the water pump, and the measured performance curves include at least one of the head-flow curve, efficiency-flow curve, and required net positive suction head (NPSH) curve. The vent valve is characterized based on a control valve model that includes on / off curves.

3. The simulation method for a water supply and drainage system according to claim 1, characterized in that, The step of performing flow simulation on the one-dimensional simulation model and identifying key regions in the one-dimensional simulation model based on the flow simulation results includes: Identify the regions in the flow simulation results where the flow data matches a preset abnormal flow type, cavitation, and / or wave pulsation. The region is designated as the key region.

4. The simulation method for the water supply and drainage system according to claim 1, characterized in that, The key areas include the air vent valve and the feedwater pump impeller; the construction of the multi-dimensional simulation model of the key areas includes: The valve core movement of the air drain valve and the impeller rotation of the water pump impeller are simulated based on a moving mesh or a sliding mesh.

5. The simulation method for a water supply and drainage system according to claim 1, characterized in that, The coordinated flow simulation of the water supply and drainage system based on the updated one-dimensional simulation model and the multi-dimensional simulation model includes: The current first flow data generated by the one-dimensional simulation model based on the flow simulation is sent to the multi-dimensional simulation model through the data interaction interface. The multidimensional simulation model performs multidimensional flow field simulation on the key region based on the first flow data, and generates regional data for the key region. The one-dimensional simulation model receives the regional data sent by the multi-dimensional simulation model based on the data interaction interface, and recalculates the first flow data based on the regional data to obtain the second flow data. If the difference between the first flow data and the second flow data is greater than a preset difference, the current first flow data is updated based on the latest first flow data until the difference between the first flow data and the second flow data is less than or equal to the preset difference. Then, the calculation is determined to be converged, and the data calculation proceeds to the next time step.

6. The simulation method for a water supply and drainage system according to claim 1, characterized in that, After performing coordinated flow simulation of the water supply and drainage system based on the updated one-dimensional simulation model and the multi-dimensional simulation model, the method further includes: Obtain the cooperative flow simulation results, which include at least one of the following: system flow rate, pressure fluctuation, pump operating point trajectory, pressure distribution, velocity distribution, cavitation distribution inside the vent valve, fluid force on the valve core, and pressure pulsation spectrum of the pipeline. Based on the cooperative flow simulation results, the system analysis results of the water supply air drain system are generated. The system analysis results include the stability of the water supply air drain system, the rationality of the air drain valve operation, and / or the cavitation risk level. Based on the analysis results, the model parameters of the one-dimensional simulation model and / or the multi-dimensional simulation model are optimized.

7. A simulation device for a water supply and drainage system, characterized in that, include: The first construction module is used to construct a one-dimensional simulation model of the water supply and drainage system. The first simulation module is used to perform flow simulation on the one-dimensional simulation model and identify key regions in the one-dimensional simulation model based on the flow simulation results. The second construction module is used to construct a multi-dimensional simulation model of the key area; An interaction module is used to update the key areas in the one-dimensional simulation model to a data interaction interface, which is used for data interaction between the one-dimensional simulation model and the multi-dimensional simulation model. The second simulation module is used to perform coordinated flow simulation of the water supply and drainage system based on the updated one-dimensional simulation model and the multi-dimensional simulation model.

8. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the simulation method of the water supply and air discharge system according to any one of claims 1 to 6 through the computer program.

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 simulation method of the water supply and drainage system 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 simulation method of the water supply and drainage system as described in any one of claims 1 to 6.