Pump model construction method, device, electronic device and storage medium

By constructing a sub-model of the pump model based on the energy and mass equations and adjusting the parameters in combination with the momentum equations, the problems of low efficiency and accuracy in the construction of the pump model are solved, and an efficient and accurate dynamic construction process is achieved.

CN118917253BActive Publication Date: 2025-08-22SUZHOU TONGYUAN SOFT CONTROL INFORMATION TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411213095.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2025-08-22
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

In the prior art, the model parameter adjustment speed and low accuracy during the pump model construction process, resulting in insufficient construction efficiency and accuracy, and a large number of repetitive work.

Method used

The current control body sub-model is constructed based on the energy equation and the mass equation, and the current pipe sub-model is constructed based on the momentum equation. By obtaining the pump volume flow rate and shaft speed, determining the pump head and shaft torque, adjusting the model parameters, and forming the target pump model.

Benefits of technology

The construction efficiency and accuracy of the pump model are improved, dynamic construction is realized, repetitive work is reduced, and the adaptability and accuracy of the model is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917253B_ABST
    Figure CN118917253B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a pump model construction method, device, electronic device and storage medium. The method includes: constructing a current control body sub-model based on the energy equation and the mass equation, and constructing a current pipe sub-model based on the momentum equation, the current control body sub-model including: an inlet control body sub-model and an outlet control body sub-model; forming a current pump model based on the current control body sub-model and the current pipe sub-model; obtaining the current pump volume flow and the current pump shaft speed in the current pump model to be adjusted; determining the current pump head and the current pump shaft torque corresponding to the current pump model based on the current pump volume flow, the current pump shaft speed and the preset pump characteristic speed; adjusting the parameter values ​​of the parameters to be adjusted in the current pump model based on the current pump head and the current pump shaft torque to obtain the adjusted target pump model. Through the technical solution of the embodiment of the present invention, the dynamic construction of the pump model can be realized, and the construction efficiency and accuracy of the pump model can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of software engineering technology, and in particular to a pump model construction method, device, electronic device and storage medium. Background Art

[0002] With the development of software engineering technology, Modelica has advanced advantages in model construction. In the process of model construction, most of the engineers' energy is often consumed in the process of adjusting model parameters.

[0003] Currently, manual parameter adjustment is often used to adjust model parameters to achieve model construction. However, during the model construction process, a large number of model parameters need to be adjusted. This manual parameter adjustment method is not only slow and inaccurate, but also requires a lot of repetitive work, which seriously slows down engineers' modeling speed and reduces the accuracy and efficiency of model construction. Summary of the Invention

[0004] Embodiments of the present invention provide a pump model construction method, device, electronic device, and storage medium to achieve dynamic construction of a pump model and improve the construction efficiency and accuracy of the pump model.

[0005] In a first aspect, an embodiment of the present invention provides a method for constructing a pump model, comprising:

[0006] Constructing a current control body sub-model based on the energy equation and the mass equation, and constructing a current pipe sub-model based on the momentum equation, wherein the current control body sub-model includes: an inlet control body sub-model and an outlet control body sub-model;

[0007] forming a current pump model based on the current control body sub-model and the current pipe sub-model;

[0008] Obtaining a current pump volume flow rate and a current pump shaft speed in a current pump model to be adjusted;

[0009] Determining a current pump head and a current pump shaft torque corresponding to a current pump model based on the current pump volume flow, the current pump shaft speed, and a preset pump characteristic speed;

[0010] The parameter values ​​of the parameters to be adjusted in the current pump model are adjusted based on the current pump head and the current pump shaft torque to obtain a target pump model after adjustment.

[0011] Optionally, the method also includes: determining a dimensionless angle based on the current pump volume flow and the current pump shaft speed; determining a preset parameter correspondence table corresponding to the preset pump characteristic speed; and determining the current pump head and current pump shaft torque corresponding to the current pump model based on the dimensionless angle, the preset parameter correspondence table, the current pump volume flow and the current pump shaft speed.

[0012] Optionally, the method also includes: determining the dimensionless head and dimensionless torque corresponding to the dimensionless angle from the preset parameter correspondence table; determining the current pump head corresponding to the current pump model based on the dimensionless head, the current pump volume flow and the current pump shaft speed; and determining the current pump shaft torque corresponding to the current pump model based on the dimensionless torque, the current pump volume flow and the current pump shaft speed.

[0013] Optionally, the method also includes: converting the current pump head into a first adjustment parameter based on a first preset conversion method, and adjusting the volume force source term in the momentum equation based on the first adjustment parameter; determining the current enthalpy value of the fluid outlet in the current pump model based on the current pump head and the current pump shaft torque, and adjusting the dissipation source term in the energy equation based on the current enthalpy value to obtain an adjusted target pump model.

[0014] Optionally, the method further includes: determining the current pump power consumption corresponding to the current pump model based on the current pump head and the current pump shaft torque; and converting the current pump power consumption into the current enthalpy value of the fluid outlet in the current pump model based on a second preset conversion method.

[0015] Optionally, the method also includes: the target pump model is used to simulate a centrifugal pump, a mixed flow pump or an axial flow pump for simulation; when the target pump model is simulated as a centrifugal pump, the target pump model is in a forward water pump operating condition, a forward reverse flow braking operating condition, a forward turbine operating condition, a reverse reverse flow braking operating condition, a reverse water pump operating condition, a reverse forward flow braking operating condition, a reverse turbine operating condition or a forward forward flow braking energy consumption operating condition.

[0016] Optionally, the method also includes: after obtaining the adjusted target pump model, packaging the target pump model into a pump model component; forming a target simulation system based on the pump model component, flow inlet component, pipeline model component, pressure outlet component, pump speed control signal component and global variable component; the target simulation system includes: pre-set pump front and rear inlet pipe inner diameters, initial pressure state, initial temperature state, pump-related structural parameters, initial parameters, characteristic curve parameters, simulation time, simulation output time step and simulation calculation accuracy; performing simulation processing based on the target simulation system and the simulation flow boundary information, simulation pressure boundary information and simulation time input by the user to obtain a simulation result; wherein, the simulation result is the simulation calculation result of the pump model parameters in the target pump model that changes with the simulation time.

[0017] In a second aspect, an embodiment of the present invention further provides a pump model construction device, the device comprising:

[0018] A sub-model construction module is used to construct a current control body sub-model based on the energy equation and the mass equation, and to construct a current pipe sub-model based on the momentum equation, wherein the current control body sub-model includes: an inlet control body sub-model and an outlet control body sub-model;

[0019] A current pump model composition module, configured to compose a current pump model based on the current control body sub-model and the current pipe sub-model;

[0020] A current parameter acquisition module, used to obtain the current pump volume flow and the current pump shaft speed in the current pump model to be adjusted;

[0021] a current parameter determination module, configured to determine a current pump head and a current pump shaft torque corresponding to a current pump model based on the current pump volume flow, the current pump shaft speed, and a preset pump characteristic speed;

[0022] The target pump model determination module is used to adjust the parameter to be adjusted in the current pump model based on the current pump head and the current pump shaft torque to obtain an adjusted target pump model.

[0023] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the pump model construction method as described in any embodiment of the present invention.

[0024] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the pump model construction method as described in any embodiment of the present invention.

[0025] In a fifth aspect, an embodiment of the present invention provides a computer program product, comprising a computer program, which, when executed by a processor, implements the pump model construction method provided by any embodiment of the present invention.

[0026] The technical solution of the embodiment of the present invention is to construct a current control body sub-model based on the energy equation and the mass equation, and to construct a current pipe sub-model based on the momentum equation, thereby constructing targeted sub-models according to different characteristics, and forming a complete current pump model based on the respectively constructed current control body sub-model and the current pipe sub-model, so that targeted sub-models can be constructed according to the characteristics of the sub-models in the complete model, and then the constructed sub-models are used to form a complete model. The current pump volume flow rate and the current pump shaft speed in the current pump model to be adjusted are obtained; based on the current pump volume flow rate, the current pump shaft speed and the preset pump characteristic speed, the current pump head and the current pump shaft torque corresponding to the current pump model are determined; based on the current pump head and the current pump shaft torque, the parameter values ​​of the parameters to be adjusted in the current pump model are adjusted to obtain the adjusted target pump model, so that the dynamic construction of the pump model can be realized according to the difference in pump characteristics, thereby improving the construction efficiency and accuracy of the pump model.

[0027] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0029] Figure 1 This is a flow chart of a pump model construction method provided in Example 1 of the present invention;

[0030] Figure 2 This is an example diagram of a correlation curve involved in the first embodiment of the present invention;

[0031] Figure 3 This is a flow chart of a pump model construction method provided by the second embodiment of the present invention;

[0032] Figure 4 This is an example diagram of a target simulation system involved in the second embodiment of the present invention;

[0033] Figure 5 This is an example diagram of an optional pump model construction method involved in the second embodiment of the present invention;

[0034] Figure 6 This is a schematic structural diagram of a pump model building device provided in the third embodiment of the present invention;

[0035] Figure 7 3 is a schematic diagram of the structure of an electronic device for implementing the pump model construction method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0037] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0038] Example 1

[0039] Figure 1 A flow chart of a pump model construction method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of pump model construction. The method can be executed by a pump model construction device. The pump model construction device can be implemented in the form of hardware and / or software. The pump model construction device can be configured in an electronic device. Figure 1 As shown, the method includes:

[0040] S110 , constructing a current control body sub-model based on the energy equation and the mass equation, and constructing a current pipe sub-model based on the momentum equation.

[0041] Among them, the current control body submodel includes: an inlet control body submodel and an outlet control body submodel. The current control body submodel can refer to a general full-characteristic control body submodel. The inlet control body can refer to the control body at the pump inlet. The outlet control body can refer to the control body at the pump outlet. The current pipe submodel can refer to a general full-characteristic pipe submodel. The pipe can be used to connect the inlet control body and the outlet control body. The current pipe submodel can be used to connect the inlet control body submodel and the outlet control body submodel. The current control body submodel can be used to describe the vapor-liquid phase mass conservation equation and the vapor-liquid phase energy conservation equation of the control domain where the control body is located. The current pipe submodel can be used to describe the vapor-liquid phase momentum conservation equation of the control domain where the pipe is located. The vapor-liquid phase mass conservation equation can refer to the vapor phase mass conservation equation and the liquid phase mass conservation equation. The vapor-liquid phase energy conservation equation can refer to the vapor phase energy conservation equation and the liquid phase energy conservation equation. The vapor-liquid phase momentum conservation equation can refer to the vapor phase momentum conservation equation and the liquid phase momentum conservation equation. The energy equation may refer to the vapor-liquid phase energy conservation equation. The mass equation may refer to the vapor-liquid phase mass conservation equation. The momentum equation may refer to the vapor-liquid phase momentum conservation equation. The vapor-liquid phase mass conservation equation, the vapor-liquid phase energy conservation equation, and the vapor-liquid phase momentum conservation equation may form the theoretical framework of the two-fluid six-equation theory. The two-fluid six-equation theory may be the governing equations used to describe two-phase flow.

[0042] For example, the vapor phase mass conservation equation can be expressed as follows:

[0043]

[0044] The liquid phase mass conservation equation can be expressed as follows:

[0045]

[0046] Where α is the volume fraction, dimensionless; ρ is the fluid density, in kg / m 3 ; t is time, unit is s; A is flow cross-sectional area, unit is m 2 ; v is the fluid velocity, in m / s; z is the axial length, in m; Γ is the phase transition intensity, in kg / (s·m 3 ) ; the subscript g represents the vapor phase, and the subscript f represents the liquid phase. The subscript g represents the vapor phase; the subscript f represents the liquid phase.

[0047] The vapor phase energy conservation equation can be expressed as follows:

[0048]

[0049] The liquid phase energy conservation equation can be expressed as follows:

[0050]

[0051] Where u is the specific internal energy, in J / kg; P is the fluid pressure, in Pa; q is the heat transfer, in W / m 3 DISS is the viscous dissipation intensity, in W / m 3 ; h is the fluid enthalpy, unit is J / kg; subscript w represents the near wall, i represents the interphase; superscript * represents the mainstream area, superscript ' represents the near wall area.

[0052] The vapor phase momentum conservation equation can be expressed as follows:

[0053]

[0054] The liquid phase momentum conservation equation can be expressed as follows:

[0055]

[0056] Among them, B x is the acceleration due to gravity, in m / s 2 ; FWG is the wall friction source term, unit is 1 / s; FIG is the phase friction source term, unit is 1 / s; C is the virtual mass force, dimensionless; the subscript m represents mixing.

[0057] Specifically, before constructing the current pump model, the pump model can be topologically partitioned based on the theoretical framework of two-fluid six equations, transforming it into a staggered grid structure: a control volume-pipeline-control volume structure. From this foundation, the current control volume submodel can be constructed using the Modelica language, along with the energy and mass equations, and the current pipe submodel can be constructed using the momentum equation.

[0058] It should be noted that in a staggered grid, scalar quantities are stored within the current control volume submodel, while each coordinate component of a vector is stored within the current pipe submodel centered at the control volume boundary. Scalars include pressure, temperature, and density, while vectors include velocity.

[0059] S120: compose a current pump model based on the current control body sub-model and the current pipe sub-model.

[0060] The current pump model may refer to a general full-characteristic pump model.

[0061] Specifically, the current control body sub-model and the current pipe sub-model are combined into a current pump model according to the control body-pipe-control body structure, and a mechanical interface is added to the current pump model so that the current pump model can be connected to other mechanical / motor models.

[0062] It should be noted that the current pump model has a fluid inlet and a fluid outlet, which can be connected to other thermal-hydraulic components, such as pipes / boundaries, and can also be connected to other pumps to form parallel or series structures to achieve more complex circuit designs. The current pump model also has a mechanical interface that can be connected to the pump spindle, bearings, motor or steam engine to achieve a variety of complex dynamic modeling forms.

[0063] S130 : Acquire the current pump volume flow and the current pump shaft speed in the current pump model to be adjusted.

[0064] Among them, the current pump volume flow can be expressed as q V The current pump shaft speed can be expressed as n.

[0065] Specifically, the user can fill in the current pump volume flow rate and the current pump shaft speed in the parameter panel of the current pump model.

[0066] S140 : Determine a current pump head and a current pump shaft torque corresponding to the current pump model based on the current pump volume flow rate, the current pump shaft speed, and a preset pump characteristic speed.

[0067] The preset pump characteristic speed may refer to a preset speed corresponding to a specific type of pump. The preset pump characteristic speed may be used to characterize a specific pump by its speed. The preset pump characteristic speed may be expressed as ns. The current pump head may refer to the pump head under steady-state conditions. The current pump head may be expressed as H P The current pump shaft torque may refer to the main shaft torque. The current pump shaft torque may be expressed as M.

[0068] Specifically, relevant pump theory can be used to establish a correlation curve (WH~θ, WT~θ) by fitting experimental data. This curve can be used to calculate the head and torque of the turbopump under various operating conditions. Furthermore, based on the preset pump characteristic speed ns, the dimensionless head WH and dimensionless torque WT can be interpolated using θ under different operating conditions to obtain the pump head and spindle torque under different operating conditions.

[0069] On the basis of the above technical solution, "determining the current pump head and current pump shaft torque corresponding to the current pump model based on the current pump volume flow, the current pump shaft speed and the preset pump characteristic speed" may include: determining the dimensionless angle based on the current pump volume flow and the current pump shaft speed; determining the preset parameter correspondence table corresponding to the preset pump characteristic speed; determining the current pump head and current pump shaft torque corresponding to the current pump model based on the dimensionless angle, the preset parameter correspondence table, the current pump volume flow and the current pump shaft speed.

[0070] The preset parameter correspondence table may be a mapping table showing the correspondence between dimensionless head WH and dimensionless angle θ, and the correspondence between dimensionless torque WT and dimensionless angle θ. The preset parameter correspondence table may be obtained based on the aforementioned WH-θ and WT-θ correlation curves. Figure 2 An example graph of a correlation curve is given. Figure 2 , the horizontal axis is the dimensionless angle θ, and the vertical axis is the dimensionless head WH and dimensionless torque WT.

[0071] For example, the pump theory can be described by the following equation. Considering the inertia of the fluid in the pump, the pump head equation under unsteady conditions is as follows:

[0072]

[0073] Among them, P out 、P in Respectively represent the pump outlet and inlet pressure; H P Indicates the pump head under steady-state conditions; L H Represents the fluid mass translational inertia coefficient; m H represents the mass flow rate of the pump; K represents the moment of inertia of the fluid in the pump; n represents the speed of the pump; ρ = (ρ in +ρ out ) / 2, represents the average value of import and export density; g represents the acceleration of gravity at sea level, which is 9.80665m / s 2 .

[0074] Define the following dimensionless numbers:

[0075]

[0076] Where: h, v, α, β represent the dimensionless numbers of head, volume flow, speed, and torque respectively; q v Indicates volume flow; M indicates torque; the subscript R indicates the rated value of the corresponding characteristic parameter.

[0077] According to the preset pump characteristic speed ns, under different working conditions, use θ interpolation to get WH and WT values, and then get the pump head H under different working conditions P And the spindle torque M. The preset pump characteristic speed ns is calculated as follows:

[0078]

[0079] The Modelica model herein has built-in WH / WT characteristic curves for ns=25 / 147 / 261, corresponding to the operating characteristics of a centrifugal pump / mixed flow pump / axial flow pump, respectively.

[0080] Specifically, the dimensionless number defined is used to match the current pump volume flow rate qv and the current pump shaft speed n, determine the dimensionless angle θ. Determine the preset parameter correspondence table corresponding to the preset pump characteristic speed based on the user input or a pre-built correlation curve. Based on the dimensionless angle θ, the preset parameter correspondence table, and the current pump volume flow q v and the current pump shaft speed n, determine the current pump head H corresponding to the current pump model P And the current pump shaft torque M.

[0081] It should be noted that users can enter an interpolation table for the pump characteristic curve and rated operating state points in the pump model's parameter panel. This interpolation table can include interpolation relationships for the dimensionless parameters WH~θ and WT~θ at different specific speeds, representing the hydraulic and mechanical characteristics of the pump under different operating conditions.

[0082] On the basis of the above technical solution, "determining the current pump head and current pump shaft torque corresponding to the current pump model based on the dimensionless angle, the preset parameter correspondence table, the current pump volume flow rate and the current pump shaft speed" may include: determining the dimensionless head and dimensionless torque corresponding to the dimensionless angle from the preset parameter correspondence table; determining the current pump head corresponding to the current pump model based on the dimensionless head, the current pump volume flow rate and the current pump shaft speed; determining the current pump shaft torque corresponding to the current pump model based on the dimensionless torque, the current pump volume flow rate and the current pump shaft speed.

[0083] Among them, the dimensionless head WH, dimensionless torque WT, and dimensionless angle θ can be calculated by the following formulas.

[0084]

[0085]

[0086]

[0087] Specifically, the dimensionless head WH and dimensionless torque WT corresponding to the dimensionless angle θ are determined from the preset parameter correspondence table; based on the dimensionless head WH, the current pump volume flow rate q v and the current pump shaft speed n, determine the current pump head H corresponding to the current pump model P ; Based on the dimensionless torque WT, the current pump volume flow q v and the current pump shaft speed n to determine the current pump shaft torque M corresponding to the current pump model.

[0088] S150 : Adjust the parameter values ​​of the parameters to be adjusted in the current pump model based on the current pump head and the current pump shaft torque to obtain a target pump model after adjustment.

[0089] The parameters to be adjusted may refer to source terms in the equations used to construct the model. The parameters to be adjusted may include body force source terms and dissipation source terms. The target pump model may refer to a pump model with specific characteristics.

[0090] Specifically, in the current pipe sub-model, the current pump head H P This is converted into a body force source term in the momentum equation. In the control volume submodel, the pump power consumption is read and converted into the theoretical fluid outlet enthalpy, which is then converted into a dissipation source term in the energy equation. After adjusting the body force source term and the dissipation source term, the target pump model is obtained.

[0091] On the basis of the above technical solution, the target pump model is used to simulate a centrifugal pump, a mixed flow pump or an axial flow pump for simulation; when the target pump model is simulated as a centrifugal pump, the target pump model is in a forward water pump operating condition, a forward reverse flow braking operating condition, a forward turbine operating condition, a reverse reverse flow braking operating condition, a reverse water pump operating condition, a reverse forward flow braking operating condition, a reverse turbine operating condition or a forward forward flow braking energy consumption operating condition.

[0092] Specifically, taking a centrifugal pump as an example, in the forward water pump working condition, h, v, α, and β are all positive, the water pump absorbs the power of the power machine and transfers the energy to the water, and the energy obtained by the water flow is greater than 0; in the forward reverse braking working condition, h, α, and β are positive, and v is negative, the power obtained by the water pump shaft is greater than 0, and the power output of the water pump is less than 0, that is, the water pump does not deliver energy to anyone, but the energy of the water decreases after flowing through the pump, and this part of the reduced energy is offset by the energy transferred to the pump by the power machine, and the reverse water flow causes the forward water pump to gradually slow down; in the positive turbine working condition, h and β are positive, and α and v are negative. At this time, the power input from the power machine to the water pump is less than 0 , the power absorbed by the water flow is less than 0, that is, the energy of water is reduced after flowing through the water pump, and the water pump operates like a turbine; in the reverse countercurrent braking condition, h is positive, α, v, and β are negative, the power absorbed by the water flow from the pump is less than 0, that is, the energy of water is reduced after flowing through the pump, the power absorbed by the water pump by the power machine is greater than 0, and the power applied to the pump shaft is consumed in the friction resistance of the water flow through the pump. The impeller consumes the energy applied to the pump shaft like a brake; in the reverse water pump condition, v and h are positive, α and β are negative, the water pump is dragged by the power machine to reverse, generating positive head and flow, the power input to the water pump by the power machine is greater than 0, and the water pump output power is greater than 0. In the reverse forward flow braking condition, v is positive, α, β, and h are negative, the pump inlet pressure is higher than the outlet pressure, and the water flows from the inlet to the outlet. The pump absorbs power greater than 0, and the pump output power is less than 0. Therefore, the power absorbed by the pump from the power machine is consumed by the reduction in water flow, and the pump rotates like a brake without doing useful work; in the reverse turbine condition, α and v are positive, β and h are negative, the pump absorbs power less than 0, and the pump output power is less than 0. The energy of water decreases after flowing through the pump, and the pump outputs power to the power machine; in the forward forward flow braking energy consumption condition, β, α, and v are positive, and h is negative, the pump absorbs power greater than 0, and its output power is less than 0, that is, the energy of water decreases after flowing through the pump, and the power output to the pump by the power machine is consumed by the forward water flow.

[0093] The technical solution of the embodiment of the present invention is to construct a current control body sub-model based on the energy equation and the mass equation, and to construct a current pipe sub-model based on the momentum equation, thereby constructing targeted sub-models according to different characteristics, and forming a complete current pump model based on the respectively constructed current control body sub-model and current pipe sub-model, so that targeted sub-models can be constructed according to the characteristics of the sub-models in the complete model, and then the constructed sub-models are used to form a complete model. The current pump volume flow rate and the current pump shaft speed in the current pump model to be adjusted are obtained; based on the current pump volume flow rate, the current pump shaft speed and the preset pump characteristic speed, the current pump head and the current pump shaft torque corresponding to the current pump model are determined; based on the current pump head and the current pump shaft torque, the parameter values ​​of the parameters to be adjusted in the current pump model are adjusted to obtain the adjusted target pump model, so that the dynamic construction of the pump model can be realized according to the difference in pump characteristics, thereby improving the construction efficiency and accuracy of the pump model.

[0094] For example, after obtaining the adjusted target pump model, the method further includes: solving the six equations for the two fluids to obtain the corresponding pressure, temperature, and velocity fields of the target pump model; reading the shaft torque in the top-level model of the target pump model and interacting with the equations of the mechanical interface. Based on this, the pump head, shaft torque, and fluid temperature rise before and after the pump can be calculated using the pump speed and volume flow through the pump; the shaft torque is then transmitted to the pump's mechanical interface to connect the pump to other mechanical and electrical components.

[0095] Example 2

[0096] Figure 3 This is a flow chart of a pump model construction method provided in the second embodiment of the present invention. Based on the above embodiment, this embodiment describes in detail the process of obtaining the target pump model. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here. Figure 3 As shown, the method includes:

[0097] S310: Construct a current control body sub-model based on the energy equation and the mass equation, and construct a current pipe sub-model based on the momentum equation.

[0098] Among them, the current control body sub-model includes: import control body sub-model and export control body sub-model.

[0099] S320: compose a current pump model based on the current control body sub-model and the current pipe sub-model.

[0100] S330: Obtain the current pump volume flow and the current pump shaft speed in the current pump model to be adjusted.

[0101] S340 : Determine the current pump head and the current pump shaft torque corresponding to the current pump model based on the current pump volume flow rate, the current pump shaft speed, and the preset pump characteristic speed.

[0102] It should be noted that after using the correlation curve to determine the current pump head and the current pump shaft torque, after a certain degree of numerical stability and format processing, the volume force source term of the momentum equation in the constitutive equation and the dissipation source term (DISS term) in the energy equation are modified in the model to make them conform to the momentum and energy changes of the fluid passing through the pump under different working conditions.

[0103] S350: Convert the current pump head into a first adjustment parameter based on a first preset conversion method, and adjust the body force source term in the momentum equation based on the first adjustment parameter.

[0104] The first preset conversion method may refer to a pre-set traditional conversion method.

[0105] S360: Determine the current enthalpy value of the fluid outlet in the current pump model based on the current pump head and the current pump shaft torque, and adjust the dissipation source term in the energy equation based on the current enthalpy value to obtain an adjusted target pump model.

[0106] The current enthalpy value may refer to an enthalpy variable, i.e., a change in the enthalpy of an object. Enthalpy is a thermodynamic energy state of an object.

[0107] Based on the above technical solution, "determining the current enthalpy value of the fluid outlet in the current pump model based on the current pump head and the current pump shaft torque" may include: determining the current pump power consumption corresponding to the current pump model based on the current pump head and the current pump shaft torque; converting the current pump power consumption into the current enthalpy value of the fluid outlet in the current pump model based on a second preset conversion method.

[0108] The calculation formulas for the current pump power consumption and current enthalpy value are as follows:

[0109] P=n·M

[0110] P·η=dp·qv

[0111] dp=ρ·g·H P

[0112] h out =h in +(1-γ+γ / η)·dp / ρ in

[0113] Where P represents the current pump power consumption; η represents the pump efficiency; dp represents the pump inlet and outlet pressure rise; γ represents the portion of the total loss converted into heat, with a value of 0 to 1, where 0 represents no temperature rise; h out Indicates the current enthalpy value of the fluid outlet in the current pump model. in Indicates the current enthalpy value of the fluid inlet in the current pump model.

[0114] Specifically, the above calculation formula is used in conjunction with the current pump head H P The current pump power consumption P corresponding to the current pump model is determined using the current pump shaft torque M. The pump efficiency η and the pump inlet and outlet pressure rise dp are determined using the above calculation formula in conjunction with the existing parameters and the determined current pump power consumption P. The current enthalpy of the fluid outlet in the current pump model is determined using the above calculation formula in conjunction with the existing parameters and the determined pump efficiency η and the pump inlet and outlet pressure rise dp.

[0115] The technical solution of an embodiment of the present invention converts the current pump head into a first adjustment parameter based on a first preset conversion method, and adjusts the volume force source term in the momentum equation based on the first adjustment parameter, thereby realizing adjustment of the current pipe sub-model in the current pump model; determines the current enthalpy value of the fluid outlet in the current pump model based on the current pump head and the current pump shaft torque, and adjusts the dissipation source term in the energy equation based on the current enthalpy value, thereby realizing adjustment of the current control body sub-model in the current pump model, obtaining an adjusted target pump model, and further improving the construction efficiency and accuracy of the pump model.

[0116] On the basis of the above technical solution, after obtaining the adjusted target pump model, the method also includes: packaging the target pump model into a pump model component; forming a target simulation system based on the pump model component, the flow inlet component, the pipeline model component, the pressure outlet component, the pump speed control signal component and the global variable component; the target simulation system includes: pre-set inner diameters of the front and rear inlet pipelines of the pump, the initial pressure state, the initial temperature state, pump-related structural parameters, initial parameters, characteristic curve parameters, simulation time, simulation output time step and simulation calculation accuracy; performing simulation processing based on the target simulation system and the simulation flow boundary information, simulation pressure boundary information and simulation time input by the user to obtain simulation results; wherein, the simulation results are the simulation calculation results of the pump model parameters in the target pump model that change with the simulation time.

[0117] Among them, the constructed target pump model, pipeline model and other components are connected to build a simulation system and perform simulation verification to realize pump design under different working conditions and parameters.

[0118] Specifically, Figure 4 An example diagram of a target simulation system is given. Figure 4A pump model test case, or target simulation system, was built based on the NUMAP platform. The target simulation system consists of a pump model component, a flow inlet component, a pipe model component, a pressure outlet component, a pump speed control signal component, and a global variable component. The user's pump inlet pipes have an inner diameter of 200 mm and a length of 2000 mm. The ratio of the initial pressure state and initial temperature state is 1 MPa / 25 degrees Celsius. Pump-related structural parameters, initial parameters, and characteristic curve parameters are also set. The simulation duration is set to 150 seconds, the simulation output time step is set to 0.01 seconds, and the simulation calculation accuracy is set to 0.0001 (using the Dassl algorithm). The user also sets the simulation flow boundary information and the simulation pressure boundary information. For example, the flow boundary flow rate changes from 1 kg / s to 10 kg / s between 0 and 8 seconds, from 10 kg / s to -10 kg / s between 10 and 30 seconds, and from -10 kg / s to 10 kg / s between 70 and 90 seconds. The pressure boundary is fixed at 1 MPa. The pump speed control signal component is set, and the pump speed is maintained at 157 rad / s in 0-40s, becomes -157 rad / s in 40-60s, and then maintained for 100s and becomes 157 rad / s in 120s. The pump can traverse eight full working conditions within a certain period of time. The obtained simulation results are compared with the calculation results of other commercial thermal hydraulic professional software under the same boundary conditions. It is found that the simulation results of the system model constructed based on the full-characteristic pump of Modelica are almost consistent with the calculation results of other commercial professional thermal hydraulics, with an error range of less than 5%. This shows that the embodiment method of the present invention can be well applied to industrial simulation modeling projects, and can achieve model reuse and expansion by taking advantage of the modular modeling advantages of the Modelica language.

[0119] Optionally, the technical solution of the embodiment of the present invention also provides an optional embodiment. Figure 5 An example diagram showing an alternative method for building a pump model is shown. Figure 5In the top-level model, the pump model is topologically partitioned based on the two-fluid six-equation theoretical framework, transforming it into a staggered grid structure, namely, a control volume-pipeline-control volume structure. Based on this, the main equation layer uses the Modelica language to construct the current control volume submodel with the energy and mass equations, and the current pipeline submodel with the momentum equation. A mechanical interface can also be added to the current pump model at the top-level model, allowing it to connect with other mechanical / motor models. For example, the mechanical interface can be used to connect the parameter panel and the variable panel. The parameter panel is used to input structural parameters, initial operating conditions, and characteristic parameters. The variable panel is used to control the inlet and outlet fluid states, fluid temperature, pump torque, pump head, and pump efficiency. The source term calculation layer obtains key parameters such as the current pump volume flow rate and current pump shaft speed, and calculates torque and head using the interpolation method. After numerical stabilization and format conversion, the parameters to be corrected (equivalent to the parameters to be adjusted), such as the body force source term and the dissipation source term, are obtained. These parameters are used to adjust the equations in the main equation layer, thereby adjusting the pump model at the top-level model.

[0120] The following is an embodiment of a pump model building device provided in an embodiment of the present invention. The device and the pump model building methods of the above-mentioned embodiments belong to the same inventive concept. For details not fully described in the embodiment of the pump model building device, please refer to the embodiment of the above-mentioned pump model building method.

[0121] Example 3

[0122] Figure 6 This is a schematic diagram of the structure of a pump model building device provided in Example 3 of the present invention. Figure 6 As shown, the device includes: a sub-model construction module 610, a current pump model composition module 620, a current parameter acquisition module 630, a current parameter determination module 640 and a target pump model determination module 650.

[0123] Among them, the sub-model construction module 610 is used to construct the current control body sub-model based on the energy equation and the mass equation, and to construct the current pipe sub-model based on the momentum equation. The current control body sub-model includes: an inlet control body sub-model and an outlet control body sub-model; the current pump model composition module 620 is used to compose the current pump model based on the current control body sub-model and the current pipe sub-model; the current parameter acquisition module 630 is used to obtain the current pump volume flow and the current pump shaft speed in the current pump model to be adjusted; the current parameter determination module 640 is used to determine the current pump head and the current pump shaft torque corresponding to the current pump model based on the current pump volume flow, the current pump shaft speed and the preset pump characteristic speed; the target pump model determination module 650 is used to adjust the parameter values ​​of the parameters to be adjusted in the current pump model based on the current pump head and the current pump shaft torque to obtain the adjusted target pump model.

[0124] The technical solution of the embodiment of the present invention is to construct a current control body sub-model based on the energy equation and the mass equation, and to construct a current pipe sub-model based on the momentum equation, thereby constructing targeted sub-models according to different characteristics, and forming a complete current pump model based on the respectively constructed current control body sub-model and current pipe sub-model, so that targeted sub-models can be constructed according to the characteristics of the sub-models in the complete model, and then the constructed sub-models are used to form a complete model. The current pump volume flow rate and the current pump shaft speed in the current pump model to be adjusted are obtained; based on the current pump volume flow rate, the current pump shaft speed and the preset pump characteristic speed, the current pump head and the current pump shaft torque corresponding to the current pump model are determined; based on the current pump head and the current pump shaft torque, the parameter values ​​of the parameters to be adjusted in the current pump model are adjusted to obtain the adjusted target pump model, so that the dynamic construction of the pump model can be realized according to the difference in pump characteristics, thereby improving the construction efficiency and accuracy of the pump model.

[0125] Based on the above technical solution, the current parameter determination module 640 may include:

[0126] a dimensionless angle determination submodule, for determining the dimensionless angle based on a current pump volume flow rate and a current pump shaft speed;

[0127] A preset parameter correspondence table determination submodule is used to determine a preset parameter correspondence table corresponding to a preset pump characteristic speed;

[0128] The current parameter determination submodule is used to determine the current pump head and current pump shaft torque corresponding to the current pump model based on the dimensionless angle, the preset parameter correspondence table, the current pump volume flow rate and the current pump shaft speed.

[0129] Based on the above technical solution, the current parameter determination submodule is specifically used to: determine the dimensionless head and dimensionless torque corresponding to the dimensionless angle from the preset parameter correspondence table; determine the current pump head corresponding to the current pump model based on the dimensionless head, the current pump volume flow rate and the current pump shaft speed; determine the current pump shaft torque corresponding to the current pump model based on the dimensionless torque, the current pump volume flow rate and the current pump shaft speed.

[0130] Based on the above technical solution, the target pump model determination module 650 may include:

[0131] a parameter adjustment submodule, configured to convert the current pump head into a first adjustment parameter based on a first preset conversion method, and adjust the body force source term in the momentum equation based on the first adjustment parameter;

[0132] The target pump model determination submodule is used to determine the current enthalpy value of the fluid outlet in the current pump model based on the current pump head and the current pump shaft torque, and adjust the dissipation source term in the energy equation based on the current enthalpy value to obtain the adjusted target pump model.

[0133] Based on the above technical solution, the target pump model determination submodule is specifically used to: determine the current pump power consumption corresponding to the current pump model based on the current pump head and the current pump shaft torque; and convert the current pump power consumption into the current enthalpy value of the fluid outlet in the current pump model based on the second preset conversion method.

[0134] On the basis of the above technical solution, the target pump model is used to simulate a centrifugal pump, a mixed flow pump or an axial flow pump for simulation; when the target pump model is simulated as a centrifugal pump, the target pump model is in a forward water pump operating condition, a forward reverse flow braking operating condition, a forward turbine operating condition, a reverse reverse flow braking operating condition, a reverse water pump operating condition, a reverse forward flow braking operating condition, a reverse turbine operating condition or a forward forward flow braking energy consumption operating condition.

[0135] On the basis of the above technical solution, the device further includes:

[0136] A pump model component determination module is used to package the target pump model into a pump model component after obtaining the adjusted target pump model;

[0137] The target simulation system component module is used to form the target simulation system based on the pump model component, the flow inlet component, the pipeline model component, the pressure outlet component, the pump speed control signal component, and the global variable component; the target simulation system includes: pre-set inner diameters of the pump front and rear inlet pipelines, initial pressure state, initial temperature state, pump-related structural parameters, initial parameters, characteristic curve parameters, simulation duration, simulation output time step, and simulation calculation accuracy;

[0138] A simulation result determination module is used to perform simulation processing based on the target simulation system and the simulation flow boundary information, simulation pressure boundary information and simulation duration input by the user to obtain the simulation result;

[0139] The simulation results are simulation calculation results of the pump model parameters in the target pump model that change with the simulation time.

[0140] The pump model building device provided in the embodiment of the present invention can execute the pump model building method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the pump model building method.

[0141] It is worth noting that in the embodiment of the above-mentioned pump model construction, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0142] Example 4

[0143] Figure 7 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0144] like Figure 7 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0145] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0146] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the pump model construction method.

[0147] In some embodiments, the pump model building method can be implemented as a computer program that is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the pump model building method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the pump model building method in any other suitable manner (e.g., by means of firmware).

[0148] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0149] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0150] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0151] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0152] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0153] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0154] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the pump model construction method provided in any embodiment of the present application.

[0155] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to write a computer program code for performing the operation of the present invention, and the programming language includes an object-oriented programming language, such as Java, Smalltalk, C++, and also includes a conventional procedural programming language, such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). This program product belongs to the same inventive concept as the pump model construction method disclosed in each embodiment of the application, and is therefore not described in detail here.

[0156] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.

[0157] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A method for constructing a pump model, characterized in that: include: Constructing a current control body sub-model based on the energy equation and the mass equation, and constructing a current pipe sub-model based on the momentum equation, wherein the current control body sub-model includes: an inlet control body sub-model and an outlet control body sub-model; forming a current pump model based on the current control body sub-model and the current pipe sub-model; Obtaining a current pump volume flow rate and a current pump shaft speed in a current pump model to be adjusted; Determining a current pump head and a current pump shaft torque corresponding to a current pump model based on the current pump volume flow, the current pump shaft speed, and a preset pump characteristic speed; converting the current pump head into a first adjustment parameter based on a first preset conversion method, and adjusting the body force source term in the momentum equation based on the first adjustment parameter; The current enthalpy value of the fluid outlet in the current pump model is determined based on the current pump head and the current pump shaft torque, and the dissipation source term in the energy equation is adjusted based on the current enthalpy value to obtain an adjusted target pump model.

2. The method according to claim 1, characterized in that The determining, based on the current pump volume flow, the current pump shaft speed, and the preset pump characteristic speed, the current pump head and the current pump shaft torque corresponding to the current pump model includes: determining a dimensionless angle based on the current pump volume flow and the current pump shaft speed; Determine a preset parameter correspondence table corresponding to a preset pump characteristic speed; Based on the dimensionless angle, the preset parameter correspondence table, the current pump volume flow rate, and the current pump shaft speed, a current pump head and a current pump shaft torque corresponding to the current pump model are determined.

3. The method according to claim 2, characterized in that The determining, based on the dimensionless angle, the preset parameter correspondence table, the current pump volume flow rate, and the current pump shaft speed, of a current pump head and a current pump shaft torque corresponding to a current pump model includes: Determining the dimensionless head and dimensionless torque corresponding to the dimensionless angle from the preset parameter correspondence table; Determining a current pump head corresponding to a current pump model based on the dimensionless head, the current pump volume flow rate, and the current pump shaft speed; A current pump shaft torque corresponding to a current pump model is determined based on the dimensionless torque, the current pump volume flow rate, and the current pump shaft speed.

4. The method according to claim 1, wherein The determining the current enthalpy value of the fluid outlet in the current pump model based on the current pump head and the current pump shaft torque includes: determining a current pump power consumption corresponding to the current pump model based on the current pump head and the current pump shaft torque; The current pump power consumption is converted into a current enthalpy value of the fluid outlet in the current pump model based on a second preset conversion method.

5. The method according to claim 1, characterized in that The target pump model is used to simulate a centrifugal pump, a mixed flow pump or an axial flow pump for simulation; when the target pump model is simulated as a centrifugal pump, the target pump model is in a forward water pump operating condition, a forward reverse flow braking operating condition, a forward turbine operating condition, a reverse reverse flow braking operating condition, a reverse water pump operating condition, a reverse forward flow braking operating condition, a reverse turbine operating condition or a forward forward flow braking energy consumption operating condition.

6. The method according to claim 1, characterized in that After obtaining the adjusted target pump model, the method further includes: Package the target pump model into a pump model component; A target simulation system is formed based on the pump model component, the flow inlet component, the pipeline model component, the pressure outlet component, the pump speed control signal component, and the global variable component; the target simulation system includes: pre-set inner diameters of the front and rear inlet pipelines of the pump, initial pressure state, initial temperature state, pump-related structural parameters, initial parameters, characteristic curve parameters, simulation duration, simulation output time step, and simulation calculation accuracy; Performing simulation processing based on the target simulation system and the simulation flow boundary information, simulation pressure boundary information, and simulation duration input by the user to obtain simulation results; The simulation results are simulation calculation results of pump model parameters in the target pump model that change with the simulation time.

7. A pump model building device, characterized in that, The device comprises: A sub-model construction module is used to construct a current control body sub-model based on the energy equation and the mass equation, and to construct a current pipe sub-model based on the momentum equation, wherein the current control body sub-model includes: an inlet control body sub-model and an outlet control body sub-model; A current pump model composition module, configured to compose a current pump model based on the current control body sub-model and the current pipe sub-model; A current parameter acquisition module, used to obtain the current pump volume flow and the current pump shaft speed in the current pump model to be adjusted; a current parameter determination module, configured to determine a current pump head and a current pump shaft torque corresponding to a current pump model based on the current pump volume flow, the current pump shaft speed, and a preset pump characteristic speed; a target pump model determination module, configured to adjust the parameter to be adjusted in the current pump model based on the current pump head and the current pump shaft torque, to obtain an adjusted target pump model; Wherein, the target pump model determination module includes: a parameter adjustment submodule, configured to convert the current pump head into a first adjustment parameter based on a first preset conversion method, and adjust the body force source term in the momentum equation based on the first adjustment parameter; The target pump model determination submodule is used to determine the current enthalpy value of the fluid outlet in the current pump model based on the current pump head and the current pump shaft torque, and adjust the dissipation source term in the energy equation based on the current enthalpy value to obtain the adjusted target pump model.

8. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the pump model building method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the pump model construction method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Method and system for optimizing energy-saving efficiency of water supply system and control device

    CN116663451A