Methods, devices and computer equipment for suppressing pressure peaks in thermal hydraulic systems

By identifying and correcting the control volume of water slugging in thermal-hydraulic systems, calculating the water slugging suppression factor, and updating the pressure equation, the problem of poor pressure peak suppression in existing software in dual-pressure, two-fluid models is solved, achieving more effective pressure fluctuation control.

CN116050294BActive Publication Date: 2026-03-13CHINA NUCLEAR POWER TECH RES INST CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

The existing RELAP5 and TRACE V5.0 software have limited effectiveness in suppressing pressure peaks in thermal hydraulic systems, and are particularly ineffective in applying to two-pressure, two-fluid models.

Method used

By acquiring the parameters of the control body and connected pipes, the control body for water clogging is identified, the water clogging suppression factor is calculated, the partial derivatives of gas and liquid phase velocities with respect to pressure are obtained, the pressure equations are corrected to update the target gas and liquid phase pressures, and the control body pressure is adjusted.

Benefits of technology

It effectively suppressed pressure peaks and improved the control capability of pressure fluctuations in the dual-pressure, two-fluid model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116050294B_ABST
    Figure CN116050294B_ABST
Patent Text Reader

Abstract

This application relates to a method, apparatus, and computer device for suppressing pressure peaks in a thermal-hydraulic system. The method includes: acquiring parameters of a control body and its connected pipes; identifying a control body experiencing water slugging based on the parameters; calculating a water slugging suppression factor for the control body based on its pressure and pressure change; obtaining the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure based on the water slugging suppression factor; calculating and updating target gas phase pressure and target liquid phase pressure based on the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure; and adjusting the gas phase pressure and liquid phase pressure of the control body experiencing water slugging based on the target gas phase pressure and target liquid phase pressure. This method can effectively suppress pressure peaks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of pressure peak suppression technology, and in particular to a method, apparatus, computer equipment, storage medium and computer program product for suppressing pressure peaks in a thermal-hydraulic system. Background Technology

[0002] For software that uses the Eulerian system to describe fluid equations, the control volume boundary may introduce spurious, drastic pressure fluctuations (peaks) similar to water hammer at the end of a pipe due to numerical processing methods. This phenomenon is generally referred to as water packing or numerical water hammer, and water packing treatment methods need to be introduced to suppress these pressure peaks.

[0003] Currently, both RELAP5 and TRACE V5.0 software employ techniques that suppress pressure fluctuations by increasing the weight of the control volume pressure change during the solution rate calculation. RELAP5 uses a water plug model that corrects the pressure term coefficient in the velocity term and sets the explicit velocity part to 0.01 m / s, while TRACE 5.0 uses a water plug model that only corrects the pressure term coefficient in the velocity term.

[0004] The RELAP5 and TRACE V5.0 software mentioned above were developed for single-pressure two-fluid models. Their effect on suppressing pressure peaks is limited, and they cannot be used for dual-pressure two-fluid models. Summary of the Invention

[0005] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for suppressing pressure peaks in a thermal-hydraulic system, which can effectively suppress pressure peaks, in response to the above-mentioned technical problems.

[0006] Firstly, this application provides a method for suppressing pressure peaks in a thermal-hydraulic system. The method includes:

[0007] Acquire the parameters of the control unit and its connected pipes;

[0008] Based on the parameters of the control body and its connected pipe, identify the control body that caused the water blockage phenomenon;

[0009] Based on the control body pressure and pressure change, the water clogging inhibition factor of the control body in which the water clogging phenomenon occurs is calculated.

[0010] Based on the water plug suppression factor, the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure are obtained.

[0011] The target gas phase pressure and the target liquid phase pressure are obtained by solving and updating the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the liquid phase velocity with respect to the liquid phase pressure.

[0012] The gas phase pressure and liquid phase pressure of the water slugging control body are adjusted according to the target gas phase pressure and the target liquid phase pressure. In one embodiment, the step of solving and updating the target gas phase pressure and target liquid phase pressure based on the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the liquid phase velocity with respect to the liquid phase pressure includes:

[0013] The gas phase pressure change term is obtained based on the partial derivative of the gas phase velocity with respect to the gas phase pressure.

[0014] The liquid phase pressure change term is obtained based on the partial derivative of the liquid phase velocity with respect to the liquid phase pressure.

[0015] Based on the gas phase pressure change term and the liquid phase pressure change term, the target gas phase pressure and the target liquid phase pressure are solved and updated.

[0016] In one embodiment, the step of solving and updating the target gas phase pressure and the target liquid phase pressure based on the gas phase pressure change term and the liquid phase pressure change term includes:

[0017] Obtain the system pressure equations from the transient calculation module in the thermal-hydraulic system;

[0018] The gas phase pressure change term and the liquid phase pressure change term are written into the system pressure equation set, and the target gas phase pressure and the target liquid phase pressure are obtained by solving and updating.

[0019] In one embodiment, the control body for identifying the occurrence of water blockage based on the control body and the parameters of the connected pipe thereto includes:

[0020] Determine whether the control body parameters meet the preset control body conditions;

[0021] If the conditions are not met, the control body experiencing water blockage is identified based on the parameters of the connecting pipes connected to the control body and the preset connecting pipe conditions.

[0022] In one embodiment, the pressure peak suppression in the above-mentioned thermal-hydraulic system further includes:

[0023] Obtain the transient calculation module in the thermal hydraulic system;

[0024] Write the identifier of the control body where the water blockage occurs into the transient calculation module.

[0025] In one embodiment, the pressure peak suppression in the above-mentioned thermal-hydraulic system further includes:

[0026] Call the transient calculation module in the thermal-hydraulic system to obtain the current gas phase pressure and the current liquid phase pressure of the control volume;

[0027] Based on the current gas phase pressure and the current liquid phase pressure, identify the control body for the water blockage phenomenon.

[0028] Secondly, this application also provides a pressure peak suppression device in a thermal hydraulic system. The device includes:

[0029] The parameter acquisition module is used to acquire the parameters of the control body and its connected pipes;

[0030] A water blockage control body identification module is used to identify the control body that has caused the water blockage based on the parameters of the control body and the pipe connected to it.

[0031] The water plug inhibition factor solution module is used to solve the water plug inhibition factor of the control body in which the water plug phenomenon occurs, based on the control body pressure and pressure change.

[0032] The partial derivative acquisition module is used to acquire the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure based on the water plug suppression factor.

[0033] The target gas-liquid phase pressure acquisition module is used to solve and update the target gas phase pressure and the target liquid phase pressure based on the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the partial derivatives of the liquid phase velocity with respect to the liquid phase pressure.

[0034] The gas-liquid phase pressure regulation module is used to adjust the gas phase pressure and liquid phase pressure of the water-locking phenomenon control body according to the target gas phase pressure and the target liquid phase pressure.

[0035] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0036] Acquire the parameters of the control unit and its connected pipes;

[0037] Based on the parameters of the control body and its connected pipe, identify the control body that caused the water blockage phenomenon;

[0038] Based on the control body pressure and pressure change, the water clogging inhibition factor of the control body in which the water clogging phenomenon occurs is calculated.

[0039] Based on the water plug suppression factor, the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure are obtained.

[0040] The target gas phase pressure and the target liquid phase pressure are obtained by solving and updating the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the liquid phase velocity with respect to the liquid phase pressure.

[0041] The gas phase pressure and liquid phase pressure of the water clogging control body are adjusted according to the target gas phase pressure and the target liquid phase pressure.

[0042] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0043] Acquire the parameters of the control unit and its connected pipes;

[0044] Based on the parameters of the control body and its connected pipe, identify the control body that caused the water blockage phenomenon;

[0045] Based on the control body pressure and pressure change, the water clogging inhibition factor of the control body in which the water clogging phenomenon occurs is calculated.

[0046] Based on the water plug suppression factor, the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure are obtained.

[0047] The target gas phase pressure and the target liquid phase pressure are obtained by solving and updating the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the liquid phase velocity with respect to the liquid phase pressure.

[0048] The gas phase pressure and liquid phase pressure of the water clogging control body are adjusted according to the target gas phase pressure and the target liquid phase pressure.

[0049] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0050] Acquire the parameters of the control unit and its connected pipes;

[0051] Based on the parameters of the control body and its connected pipe, identify the control body that caused the water blockage phenomenon;

[0052] Based on the control body pressure and pressure change, the water clogging inhibition factor of the control body in which the water clogging phenomenon occurs is calculated.

[0053] Based on the water plug suppression factor, the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure are obtained.

[0054] The target gas phase pressure and the target liquid phase pressure are obtained by solving and updating the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the liquid phase velocity with respect to the liquid phase pressure.

[0055] Based on the target gas phase pressure and the target liquid phase pressure, the gas phase pressure and liquid phase pressure of the control body for inducing water slugging are adjusted. The pressure peak suppression method, apparatus, computer equipment, storage medium, and computer program product in the above-mentioned thermal-hydraulic system acquire the parameters of the control body and its connected pipes; based on the parameters of the control body and its connected pipes, the control body for inducing water slugging is identified; based on the control body pressure and pressure change, the water slugging suppression factor of the control body for inducing water slugging is calculated; based on the water slugging suppression factor, the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure are obtained; based on the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure, the target gas phase pressure and the target liquid phase pressure are calculated and updated; based on the target gas phase pressure and the target liquid phase pressure, the gas phase pressure and the liquid phase pressure of the control body for inducing water slugging are adjusted. In this scheme, the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure are corrected by calculating the water slugging suppression factor of the control body where the water slugging phenomenon occurs. Then, the target gas phase pressure and the target liquid phase pressure are obtained by solving the solution. The gas phase pressure and the liquid phase pressure are adjusted to the target gas phase pressure and the target liquid phase pressure to control the gas phase pressure and the liquid phase pressure of the control body where the water slugging phenomenon occurs at the current moment, so as to effectively suppress the pressure peak. Attached Figure Description

[0056] Figure 1 This is a diagram illustrating the application environment of a pressure peak suppression method in a thermal-hydraulic system, as shown in one embodiment.

[0057] Figure 2 This is a flowchart illustrating a method for suppressing pressure peaks in a thermal-hydraulic system in one embodiment.

[0058] Figure 3 This is a schematic diagram of the water blockage phenomenon;

[0059] Figure 4 This is a flowchart illustrating a method for suppressing pressure peaks in a thermal-hydraulic system in another embodiment;

[0060] Figure 5 A schematic diagram of the main process for suppressing pressure peaks in a thermal-hydraulic system;

[0061] Figure 6 This is a structural block diagram of a pressure peak suppression device in a thermal-hydraulic system in one embodiment;

[0062] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0063] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0064] The pressure peak suppression method in the thermal-hydraulic system provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on a cloud or other network server. Terminal 102 obtains gas phase pressure and liquid phase pressure calculation requests and sends these requests to server 104. Server 104 obtains the parameters of the control body and its connected pipes. Based on these parameters, it identifies the control body experiencing water slugging. Based on the control body pressure and pressure change, it calculates the water slugging suppression factor for the control body experiencing water slugging. Based on the water slugging suppression factor, it obtains the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure. Based on these partial derivatives, it calculates and updates the target gas phase pressure and target liquid phase pressure. Based on the target gas phase pressure and target liquid phase pressure, it adjusts the gas phase pressure and liquid phase pressure of the control body experiencing water slugging. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, etc. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0065] In one embodiment, such as Figure 2 As shown, a method for suppressing pressure peaks in a thermal-hydraulic system is provided, which is then applied to... Figure 1 Taking server 104 as an example, the following steps are included:

[0066] S100, acquire the parameters of the control body and its connected pipes.

[0067] The control volume parameters include parameters such as liquid phase pressure, vertical stratified flow, gas phase fraction, and liquid phase temperature; the nozzle parameters include parameters such as mainstream direction connection, location above the control volume, cavitation fraction of the upper control volume, and critical flow.

[0068] Specifically, before identifying the control body where water blockage occurs, all control body parameters and all pipe parameters connected to the control body are obtained.

[0069] S200 identifies the control body where water blockage occurs based on the parameters of the control body and its connected pipes.

[0070] Among them, the water jam phenomenon is a false and violent pressure fluctuation phenomenon at the boundary of the control volume in a thermal hydraulic system that uses the Eulerian system to describe the fluid equations. Due to the numerical processing method, the water hammer phenomenon at the end of the pipe may occur.

[0071] Specifically, it iterates through all control entities, determines whether the parameters of each control entity meet the preset control entity conditions, and identifies the control entity where water clogging has occurred. Figure 3 The diagram illustrates the water clogging phenomenon. The pipe parameters of the pipes connected to the control body where the water clogging phenomenon occurs are identified. If the pipe parameters of the pipes connected to the control body where the water clogging phenomenon occurs do not meet the preset pipe conditions, the water clogging suppression factor of the control body where the water clogging phenomenon occurs is solved.

[0072] S300, based on the control volume pressure and pressure change, solve for the water clogging inhibition factor of the control volume in which water clogging occurs.

[0073] Among them, the control volume pressure refers to the liquid phase pressure or gas phase pressure of the control volume; the pressure change refers to the change in the liquid phase pressure or gas phase pressure of the control volume.

[0074] Specifically, the water clogging inhibition factor f of the control volume where water clogging occurs is calculated. wp The partial derivatives of gas phase pressure and liquid phase velocity with respect to liquid phase pressure are used for correction. The water plug suppression factor is the pressure (P). f or P g ) and pressure change factor (P) f or P g Divide by its corresponding change δP f or δP g The function has a range of values ​​of 10. 4 ~10 6 The relationship is as follows:

[0075]

[0076] In the formula, P f and P g These are the liquid phase pressure and the gas phase pressure, δP, respectively. f and δP g These represent the pressure changes in the liquid and gas phases, respectively.

[0077] S400, based on the water plug suppression factor, obtains the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure.

[0078] Among them, the partial derivatives of gas phase velocity with respect to gas phase pressure and the partial derivatives of liquid phase velocity with respect to liquid phase pressure are velocity-pressure partial derivatives obtained from the mass and energy equations, which are used to resolve the pressure equations to suppress abnormal pressure fluctuations.

[0079] Specifically, after identifying the control volume where water clogging occurs, its water clogging suppression factor is calculated, and the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure in its mass-energy equation are corrected. The gas phase pressure change term and liquid phase pressure change term are further updated and corrected, while the current gas phase velocity influence term and the current liquid phase velocity influence term are also corrected.

[0080] S500, based on the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure, solves and updates the target gas phase pressure and the target liquid phase pressure.

[0081] Among them, the target gas phase pressure is the gas phase pressure value that the control body needs to reach to suppress the pressure peak when the water slugging phenomenon occurs at the current moment; the target liquid phase pressure is the liquid phase pressure value that the control body needs to reach to suppress the pressure peak when the water slugging phenomenon occurs at the current moment.

[0082] Specifically, after correcting the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure, these partial derivatives are written into the gas phase pressure change term and the liquid phase pressure change term. The gas phase pressure change term and the liquid phase pressure change term are then adjusted back into the system pressure equation set, and the target gas phase pressure and the target liquid phase pressure are obtained by solving.

[0083] S600 adjusts the gas phase pressure and liquid phase pressure of the control body that causes water plugging based on the target gas phase pressure and the target liquid phase pressure.

[0084] Specifically, the gas phase pressure change term and the liquid phase pressure change term are adjusted back to the system pressure equation set, and the target gas phase pressure and the target liquid phase pressure are obtained by solving the equation. The current gas phase pressure is adjusted to the target gas phase pressure, and the current liquid phase pressure is adjusted to the target liquid phase pressure to suppress the pressure peak of the control body that causes water blockage.

[0085] In the aforementioned method for suppressing pressure peaks in a thermal-hydraulic system, the parameters of the control volume and its connected pipes are first obtained. Based on these parameters, the control volume experiencing water slugging is identified. Then, based on the control volume pressure and pressure change, the water slugging suppression factor of the control volume experiencing water slugging is calculated. Based on this factor, the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure are obtained. Finally, based on these partial derivatives, the target gas phase pressure and target liquid phase pressure are calculated and updated. Based on these target pressures, the gas phase pressure and liquid phase pressure of the control volume experiencing water slugging are adjusted. This method effectively controls the gas phase pressure and liquid phase pressure of the control volume experiencing water slugging at the current moment, thus suppressing pressure peaks.

[0086] In one embodiment, such as Figure 4As shown, S500 includes:

[0087] S520: Obtain the gas phase pressure change term based on the partial derivative of gas phase velocity with respect to gas phase pressure.

[0088] S540: Obtain the liquid phase pressure change term based on the partial derivative of liquid phase velocity with respect to liquid phase pressure.

[0089] S560, based on the gas phase pressure change term and the liquid phase pressure change term, the target gas phase pressure and the target liquid phase pressure are obtained by solving.

[0090] Specifically, the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure in the pressure solution are corrected and updated:

[0091]

[0092]

[0093]

[0094]

[0095] In the formula, the subscript L represents the upstream control entity that takes over the control. For the liquid phase velocity v at the pipe connection point f,j Gas phase velocity v g,j The partial derivatives with respect to gas phase pressure and liquid phase pressure, respectively.

[0096] At the same time, the current gas phase velocity influence term and the current liquid phase velocity influence term in the pressure back substitution solution process are corrected:

[0097]

[0098]

[0099] In the formula, and Representing the current gas phase velocity influence term and the current liquid phase velocity influence term respectively, where, and δP represents the parameter influence term at the previous time step. f,K δP g,K δP f,L δP g,L These represent the effects of the upstream and downstream gas-liquid phase pressure changes at the new moment, respectively.

[0100] Correct and update the gas phase pressure change and liquid phase pressure change terms:

[0101]

[0102]

[0103] In the formula, δP g,L and δP f,L These represent the pressure changes in the gas and liquid phases, respectively. and These represent the pressure changes caused by non-convection in the gas and liquid phase pressure change terms, respectively.

[0104] In this embodiment, the gas phase pressure change term is obtained by using the partial derivative of the gas phase velocity with respect to the gas phase pressure, and the liquid phase pressure change term is obtained by using the partial derivative of the liquid phase velocity with respect to the liquid phase pressure. Based on the gas phase pressure change term and the liquid phase pressure change term, the target gas phase pressure and the target liquid phase pressure are solved. This can correct the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the partial derivatives of the liquid phase velocity with respect to the liquid phase pressure in the process of solving the system pressure equations.

[0105] In one embodiment, the process of solving and updating the target gas phase pressure and the target liquid phase pressure based on the gas phase pressure change term and the liquid phase pressure change term includes:

[0106] Obtain the system pressure equations from the transient calculation module in the thermal-hydraulic system; write the gas phase pressure change term and the liquid phase pressure change term into the system pressure equations, solve and update to obtain the target gas phase pressure and the target liquid phase pressure.

[0107] Among them, the transient calculation module is used in thermal-hydraulic systems to establish and solve the system pressure equations, pressure field, and update velocity-based update parameters.

[0108] Specifically, the system pressure equations of the transient calculation module in the thermal-hydraulic system are called. By modifying the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the partial derivatives of the liquid phase velocity with respect to the liquid phase pressure, the gas phase pressure change term and the liquid phase pressure change term are obtained. The gas phase pressure change term and the liquid phase pressure change term are then brought back to the system pressure equations. The system pressure equations are then solved and updated to obtain the target gas phase pressure and the target liquid phase pressure.

[0109] In this embodiment, by obtaining the system pressure equation set of the transient calculation module in the thermal-hydraulic system, the gas phase pressure change term and the liquid phase pressure change term are written into the system pressure equation set, and the target gas phase pressure and the target liquid phase pressure are solved and updated. The gas phase pressure and the liquid phase pressure can be adjusted to the target gas phase pressure and the target liquid phase pressure to effectively suppress pressure peaks.

[0110] In one embodiment, the control body for identifying water clogging based on the parameters of the control body and its connected piping includes:

[0111] Determine whether the control body parameters meet the preset control body conditions; if not, identify the control body where the water blockage occurs based on the pipe parameters connected to the control body and the preset pipe conditions.

[0112] The preset control volume conditions include small changes in liquid phase pressure, non-vertical stratified flow, low gas phase fraction, liquid phase overheating, and no connecting pipes; the preset connecting pipe conditions include not being connected in the mainstream direction, not being located above the control volume, low cavitation fraction in the upper control volume, and being in critical flow.

[0113] Specifically, all control volumes are traversed, and it is determined whether the control volume parameters meet one of the following conditions: small change in liquid phase pressure, non-vertical stratified flow, low gas phase fraction, liquid phase overheating, or no connecting pipes. If not, all connecting pipes connected to the control volume are traversed, and it is determined whether the connecting pipe parameters meet one of the following conditions: not connected in the mainstream direction, not located above the control volume, low cavitation fraction in the upper control volume, or in critical flow. If not, water blockage occurs in the control volume.

[0114] In this embodiment, by determining whether the control body parameters meet the preset control body conditions, if they do not meet the conditions, the control body in which the water blockage occurs is identified based on the pipe parameters connected to the control body and the preset pipe conditions. This facilitates the subsequent calculation of the water blockage suppression factor of the control body in which the water blockage occurs.

[0115] In one embodiment, the method for suppressing pressure peaks in the above-mentioned thermal-hydraulic system further includes:

[0116] Obtain the transient calculation module in the thermal-hydraulic system; write the control body identifier of the water jam phenomenon into the transient calculation module.

[0117] Specifically, the control volume identifier of the water slug phenomenon is written into the transient calculation module. The transient calculation module will re-call the system pressure equations based on the corrected velocity-pressure partial derivatives, solve and update the target gas phase pressure and the target liquid phase pressure.

[0118] In this embodiment, by acquiring the transient calculation module in the thermal-hydraulic system and writing the identifier of the control body that causes water slugging into the transient calculation module, it is convenient to obtain the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the partial derivatives of the liquid phase velocity with respect to the liquid phase pressure of the control body that causes water slugging.

[0119] In one embodiment, the method for suppressing pressure peaks in the above-mentioned thermal-hydraulic system further includes:

[0120] Call the transient calculation module in the thermal-hydraulic system to obtain the current gas phase pressure and current liquid phase pressure of the control body; based on the current gas phase pressure and current liquid phase pressure, identify the control body where water blockage occurs.

[0121] Specifically, when the transient calculation module of the thermal-hydraulic system is invoked, the system pressure equations are automatically solved to obtain the current gas phase pressure and the current liquid phase pressure. At the same time, the velocity-based update parameter module of the thermal-hydraulic system is updated for the next moment of the system equations. Based on the current gas phase pressure and the current liquid phase pressure, it is determined whether water blockage has occurred in the control volume.

[0122] In this embodiment, by calling the transient calculation module in the thermal-hydraulic system, the current gas phase pressure and the current liquid phase pressure of the control body are obtained. Based on the current gas phase pressure and the current liquid phase pressure, the control body where water slugging occurs is identified. It can be determined whether the change in liquid phase pressure in the preset control body conditions is large, and the control body where water slugging occurs is identified.

[0123] To illustrate the technical solution and effectiveness of the pressure peak suppression method in the thermal-hydraulic system described in this application, a specific application example will be used below. In practical application, this solution is used in LOCUST 2.0, a system analysis software developed based on a dual-pressure, two-fluid model. Figure 5 The main process for suppressing pressure peaks in a thermal-hydraulic system includes the following steps:

[0124] 1. After establishing and solving the system pressure equations, solving the pressure field, and updating the velocity-based parameters in the transient calculation module, the water jam phenomenon identification and suppression method is called.

[0125] 2. Traverse all control volumes. If any of the following conditions are met: small change in liquid phase pressure, non-vertical stratified flow, low gas phase fraction, liquid phase overheating, or no pipe connection, then water blockage will not occur, and subsequent processing will be skipped.

[0126] 3. Traverse all pipes connected to the control body. If a pipe meets one of the following conditions: it is not connected in the main flow direction, it is not located above the control body, the cavitation fraction of the control body above it is low, or it is in a critical flow condition, skip the subsequent processing.

[0127] 4. Control bodies that do not skip processing are identified as control bodies experiencing water clogging; calculate their water clogging inhibition factor f. wp This is for use in subsequent parameter adjustments.

[0128] 5. Correct the partial derivatives of velocity and pressure that only appear in the denominator terms of the gas-phase and liquid-phase pressure equations formed by the mass-energy equation.

[0129] 6. When the water plug occurrence identifier is returned to the transient calculation module, the transient calculation module will, based on the corrected velocity-pressure partial derivatives, re-call and solve the system pressure equations to obtain the pressure field at the new moment and update the velocity-based parameters.

[0130] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0131] Based on the same inventive concept, this application also provides a pressure peak suppression device for implementing the pressure peak suppression method in the aforementioned thermal-hydraulic system. The solution provided by this device is similar to the solution described in the above-described method; therefore, the specific limitations of one or more pressure peak suppression device embodiments provided below can be found in the limitations of the pressure peak suppression method in the thermal-hydraulic system described above, and will not be repeated here.

[0132] In one embodiment, such as Figure 6 As shown, a pressure peak suppression device for a thermal-hydraulic system is provided, comprising: a parameter acquisition module 100, a water slugging phenomenon control volume identification module 200, a water slugging suppression factor solution module 300, a partial derivative acquisition module 400, a target gas-liquid phase pressure acquisition module 500, and a gas-liquid phase pressure regulation module 600, wherein:

[0133] The parameter acquisition module 100 is used to acquire the parameters of the control body and its connected pipes.

[0134] The water jam phenomenon control body identification module 200 is used to identify the control body that has caused the water jam phenomenon based on the parameters of the control body and the pipe connected to it.

[0135] The water clogging inhibition factor solution module 300 is used to solve the water clogging inhibition factor of the control body in which the water clogging phenomenon occurs based on the control body pressure and pressure change.

[0136] The partial derivative acquisition module 400 is used to acquire the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure based on the water plug suppression factor.

[0137] The target gas-liquid phase pressure acquisition module 500 is used to solve and update the target gas phase pressure and the target liquid phase pressure based on the partial derivatives of the gas phase velocity with respect to the gas phase pressure and the liquid phase velocity with respect to the liquid phase pressure.

[0138] The gas-liquid phase pressure regulating module 600 is used to regulate the gas phase pressure and liquid phase pressure of the control body that causes water blockage based on the target gas phase pressure and the target liquid phase pressure.

[0139] In one embodiment, the target gas-liquid phase pressure acquisition module 500 is further configured to acquire a gas phase pressure change term based on the partial derivative of the gas phase velocity with respect to the gas phase pressure; acquire a liquid phase pressure change term based on the partial derivative of the liquid phase velocity with respect to the liquid phase pressure; and solve and update the target gas phase pressure and the target liquid phase pressure based on the gas phase pressure change term and the liquid phase pressure change term.

[0140] In one embodiment, the target gas-liquid phase pressure acquisition module 500 is also used to acquire the system pressure equation set of the transient calculation module in the thermal-hydraulic system; write the gas phase pressure change term and the liquid phase pressure change term into the system pressure equation set, solve and update to obtain the target gas phase pressure and the target liquid phase pressure.

[0141] In one embodiment, the water blockage control body identification module 200 is also used to determine whether the control body parameters meet the preset control body conditions; if not, the control body that has experienced water blockage is identified based on the pipe parameters connected to the control body and the preset pipe conditions.

[0142] Each module in the pressure peak suppression device of the aforementioned thermal-hydraulic system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0143] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores gas phase pressure and liquid phase pressure data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a method for suppressing pressure peaks in a thermal-hydraulic system.

[0144] Those skilled in the art will understand that Figure 7The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0145] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0146] Acquire the parameters of the control body and its connected pipes; identify the control body experiencing water clogging based on the parameters; calculate the water clogging suppression factor of the control body experiencing water clogging based on the control body pressure and pressure change; obtain the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure based on the water clogging suppression factor; calculate and update the target gas phase pressure and target liquid phase pressure based on the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure; adjust the gas phase pressure and liquid phase pressure of the control body experiencing water clogging based on the target gas phase pressure and target liquid phase pressure.

[0147] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0148] The gas phase pressure change term is obtained by using the partial derivative of the gas phase velocity with respect to the gas phase pressure; the liquid phase pressure change term is obtained by using the partial derivative of the liquid phase velocity with respect to the liquid phase pressure; and the target gas phase pressure and target liquid phase pressure are obtained by solving and updating based on the gas phase pressure change term and the liquid phase pressure change term.

[0149] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0150] Obtain the system pressure equations from the transient calculation module of the thermal-hydraulic system; write the gas phase pressure change term and the liquid phase pressure change term into the system pressure equations, solve and update to obtain the target gas phase pressure and the target liquid phase pressure. In one embodiment, the processor, when executing the computer program, also performs the following steps:

[0151] Determine whether the control body parameters meet the preset control body conditions; if not, identify the control body where the water blockage occurs based on the pipe parameters connected to the control body and the preset pipe conditions.

[0152] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0153] Obtain the transient calculation module in the thermal-hydraulic system; write the control body identifier of the water jam phenomenon into the transient calculation module.

[0154] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0155] Call the transient calculation module in the thermal-hydraulic system to obtain the current gas phase pressure and current liquid phase pressure of the control body; based on the current gas phase pressure and current liquid phase pressure, identify the control body where water blockage occurs.

[0156] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0157] Acquire the parameters of the control body and its connected pipes; identify the control body experiencing water clogging based on the parameters; calculate the water clogging suppression factor of the control body experiencing water clogging based on the control body pressure and pressure change; obtain the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure based on the water clogging suppression factor; calculate and update the target gas phase pressure and target liquid phase pressure based on the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure; adjust the gas phase pressure and liquid phase pressure of the control body experiencing water clogging based on the target gas phase pressure and target liquid phase pressure.

[0158] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0159] The gas phase pressure change term is obtained by using the partial derivative of the gas phase velocity with respect to the gas phase pressure; the liquid phase pressure change term is obtained by using the partial derivative of the liquid phase velocity with respect to the liquid phase pressure; and the target gas phase pressure and target liquid phase pressure are obtained by solving and updating based on the gas phase pressure change term and the liquid phase pressure change term.

[0160] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0161] Obtain the system pressure equations from the transient calculation module of the thermal-hydraulic system; write the gas phase pressure change term and the liquid phase pressure change term into the system pressure equations, solve and update to obtain the target gas phase pressure and the target liquid phase pressure. In one embodiment, when the computer program is executed by the processor, it also performs the following steps:

[0162] Determine whether the control body parameters meet the preset control body conditions; if not, identify the control body where the water blockage occurs based on the pipe parameters connected to the control body and the preset pipe conditions.

[0163] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0164] Obtain the transient calculation module in the thermal-hydraulic system; write the control body identifier of the water jam phenomenon into the transient calculation module.

[0165] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0166] Call the transient calculation module in the thermal-hydraulic system to obtain the current gas phase pressure and current liquid phase pressure of the control body; based on the current gas phase pressure and current liquid phase pressure, identify the control body where water blockage occurs.

[0167] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0168] Acquire the parameters of the control body and its connected pipes; identify the control body experiencing water clogging based on the parameters; calculate the water clogging suppression factor of the control body experiencing water clogging based on the control body pressure and pressure change; obtain the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure based on the water clogging suppression factor; calculate and update the target gas phase pressure and target liquid phase pressure based on the partial derivatives of gas phase velocity with respect to gas phase pressure and liquid phase velocity with respect to liquid phase pressure; adjust the gas phase pressure and liquid phase pressure of the control body experiencing water clogging based on the target gas phase pressure and target liquid phase pressure.

[0169] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0170] The gas phase pressure change term is obtained by using the partial derivative of the gas phase velocity with respect to the gas phase pressure; the liquid phase pressure change term is obtained by using the partial derivative of the liquid phase velocity with respect to the liquid phase pressure; and the target gas phase pressure and target liquid phase pressure are obtained by solving and updating based on the gas phase pressure change term and the liquid phase pressure change term.

[0171] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0172] Obtain the system pressure equations from the transient calculation module of the thermal-hydraulic system; write the gas phase pressure change term and the liquid phase pressure change term into the system pressure equations, solve and update to obtain the target gas phase pressure and the target liquid phase pressure. In one embodiment, when the computer program is executed by the processor, it also performs the following steps:

[0173] Determine whether the control body parameters meet the preset control body conditions; if not, identify the control body where the water blockage occurs based on the pipe parameters connected to the control body and the preset pipe conditions.

[0174] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0175] Obtain the transient calculation module in the thermal-hydraulic system; write the control body identifier of the water jam phenomenon into the transient calculation module.

[0176] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0177] Call the transient calculation module in the thermal-hydraulic system to obtain the current gas phase pressure and current liquid phase pressure of the control body; based on the current gas phase pressure and current liquid phase pressure, identify the control body where water blockage occurs.

[0178] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0179] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0180] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0181] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for pressure peak suppression in a thermal hydraulic system, characterized by, The method comprises: acquiring a control body and a pipe parameter of a pipe connected to the control body; identifying a water plug phenomenon control body according to the control body and the pipe parameter; solving a water plug suppression factor of the water plug phenomenon control body according to a control body pressure and a pressure change amount; acquiring a partial derivative of a gas phase velocity to a gas phase pressure and a partial derivative of a liquid phase velocity to a liquid phase pressure based on the water plug suppression factor; acquiring a gas phase pressure change term according to the partial derivative of the gas phase velocity to the gas phase pressure; acquiring a liquid phase pressure change term according to the partial derivative of the liquid phase velocity to the liquid phase pressure; acquiring a system pressure equation set of a transient calculation module in a thermal hydraulic system; writing the gas phase pressure change term and the liquid phase pressure change term into the system pressure equation set, solving and updating to obtain a target gas phase pressure and a target liquid phase pressure; adjusting a gas phase pressure and a liquid phase pressure of the water plug phenomenon control body according to the target gas phase pressure and the target liquid phase pressure.

2. The method of claim 1, wherein, The identifying a water plug phenomenon control body according to the control body and the pipe parameter comprises: judging whether a control body parameter satisfies a preset control body condition; if not, identifying a water plug phenomenon control body according to the pipe parameter and a preset pipe condition.

3. The method of claim 1, wherein, Further comprising: acquiring a transient calculation module in a thermal hydraulic system; writing a water plug phenomenon control body identification into the transient calculation module.

4. The method of claim 1, wherein, Further comprising: calling a transient calculation module in a thermal hydraulic system to acquire a current time gas phase pressure and a current time liquid phase pressure corresponding to a control body; identifying a water plug phenomenon control body according to the current time gas phase pressure and the current time liquid phase pressure.

5. A pressure peak suppression device in a thermal hydraulic system, characterized by The device comprises: a parameter acquisition module, configured to acquire a control body and a pipe parameter of a pipe connected to the control body; a water plug phenomenon control body identification module, configured to identify a water plug phenomenon control body according to the control body and the pipe parameter; a water plug suppression factor solving module, configured to solve a water plug suppression factor of the water plug phenomenon control body according to a control body pressure and a pressure change amount; a partial derivative acquisition module, configured to acquire a partial derivative of a gas phase velocity to a gas phase pressure and a partial derivative of a liquid phase velocity to a liquid phase pressure based on the water plug suppression factor; a target gas-liquid phase pressure acquisition module, configured to acquire a gas phase pressure change term according to the partial derivative of the gas phase velocity to the gas phase pressure, acquire a liquid phase pressure change term according to the partial derivative of the liquid phase velocity to the liquid phase pressure, acquire a system pressure equation set of a transient calculation module in a thermal hydraulic system, write the gas phase pressure change term and the liquid phase pressure change term into the system pressure equation set, and solve and update to obtain a target gas phase pressure and a target liquid phase pressure; a gas-liquid phase pressure adjustment module, configured to adjust a gas phase pressure and a liquid phase pressure of the water plug phenomenon control body according to the target gas phase pressure and the target liquid phase pressure. 6.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-5 when the computer program is executed by the processor. The processor executes the computer program to implement the steps of the method in any one of claims 1 to 4.

7. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 4.

8. A computer program product comprising a computer program, characterized in that, The computer program, which when executed by the processor, implements the steps of the method of any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method for analyzing pipeline water hammer

    CN110569541A

  • Adjustable air pressure type pressure relief device and water hammer suppression method based on same

    CN113374907A