Fluid hysteresis adaptive flow model construction method, device, equipment and product
By constructing a flow model based on boost, deboost, and double-step operating conditions, and combining dynamic weighting coefficients and opening characteristic models, the problems of hard switching and low fitting accuracy in traditional flow models are solved. Hysteresis-free flow prediction is achieved across the entire operating range, improving flow metering accuracy and control system stability.
Patent Information
- Application Number
- CN202611387794.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-20
AI Technical Summary
Traditional flow models suffer from numerical jumps and high-frequency chattering caused by hard switching when the valve opening is fixed. They also have low accuracy in two-way hysteresis fitting and ignore the modulation effect of pressure difference on the opening characteristics, resulting in insufficient flow prediction accuracy and instability of the control system.
By acquiring operating data under boost, buck, and double-step conditions, basic flow models are constructed respectively. These models are then fused together using dynamic weighting coefficients to construct hysteresis-free basic flow models. Combined with the opening characteristic model, a target flow model is formed, enabling real-time and accurate flow prediction.
It effectively eliminates numerical jumps and calculation chatter caused by traditional hard switching, improves the accuracy of flow prediction under varying pressure conditions, and ensures the stability of the control system and the accuracy of flow measurement.
Smart Images

Figure CN123139844A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of industrial fluid flow modeling and automatic control technology, and in particular to a method, apparatus, equipment and product for constructing a fluid hysteresis adaptive flow model. Background Technology
[0002] In industrial fluid transport and valve throttling systems, the flow rate of the pipeline medium is mainly determined by the driving pressure and the valve opening. Under actual operating conditions, when the valve opening is fixed, the fluid flow rate often exhibits a significant nonlinear difference during the pressure increase and decrease processes of the driving pressure; this phenomenon is called pressure hysteresis. The main causes of this hysteresis include the mechanical clearance between the valve core and the valve seat, the inertial effect of the fluid in the flow channel, and the compressibility of the fluid medium.
[0003] In existing technologies, the construction of flow models for control valves typically employs a single model parameter set. During calculation, the direction of pressure change is determined by a sign function, and switching between different computational logics occurs when the direction changes. Some solutions also establish a forward model describing hysteresis characteristics and derive its inverse model, placing the inverse model before the input for feedforward compensation to counteract the hysteresis effect. Furthermore, existing modeling methods often treat valve opening characteristics as a fixed function independent of pressure.
[0004] Existing traditional modeling methods have the following main drawbacks: Chattering caused by hard switching: the switching of the sign function during the transition range of pressure changes crossing zero or reversing direction can easily lead to numerical jumps and high-frequency chattering in the model output, severely affecting the stability of the control system; Low accuracy of bidirectional hysteresis fitting: a single set of model parameters cannot simultaneously and accurately match the two different hysteresis trajectories of pressure increase and decrease, resulting in insufficient steady-state accuracy and dynamic tracking performance, which in turn affects the accuracy of flow measurement and fault monitoring; Ignoring the modulation effect of pressure difference on opening characteristics: treating the valve opening characteristics as a fixed function significantly reduces prediction accuracy under varying pressure conditions. Summary of the Invention
[0005] This invention provides a method, apparatus, device, and product for constructing a flow model with fluid hysteresis adaptive characteristics, which solves the problems of numerical jumps and calculation chattering caused by traditional hard switching, and accurately captures the physical law of the opening characteristics changing with the total driving pressure, significantly improving the flow prediction accuracy under variable pressure conditions.
[0006] According to one aspect of the present invention, a method for constructing a flow rate model with fluid hysteresis adaptation is provided, comprising: The first operating data, the second operating data, and the third operating data of the regulating valve in the fluid control system are obtained. The first operating data is the operating data of the regulating valve under the pressure increase condition at a preset opening. The second operating data is the operating data of the regulating valve under the pressure decrease condition at a preset opening. The third operating data is the operating data of the regulating valve under the condition of double step change in inlet pressure and valve opening. A first basic flow model is constructed based on the first operating data. The first basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under the pressure boosting condition. A second basic flow model is constructed based on the second operating data. The second basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under pressure reduction conditions. The first basic flow model and the second basic flow model are fused based on dynamic weighting coefficients to obtain a hysteresis-free basic flow model, which is used to determine the maximum flow after hysteresis compensation. An opening characteristic model is constructed based on the third operating data. The opening characteristic model is used to characterize the mapping relationship between the actual flow and the maximum flow under any opening. Based on the hysteresis-free basic flow model and the opening characteristic model, a target flow model is constructed. The target flow model is used to calculate the real-time flow based on the inlet pressure and valve opening of the regulating valve.
[0007] According to another aspect of the present invention, a fluid hysteresis adaptive flow model construction apparatus is provided, the apparatus comprising: The operation data acquisition module is used to acquire the first operation data, the second operation data and the third operation data of the control valve in the fluid control system. The first operation data is the operation data of the control valve under the pressure increase condition at a preset opening. The second operation data is the operation data of the control valve under the pressure decrease condition at a preset opening. The third operation data is the operation data of the control valve under the condition of double step change in inlet pressure and valve opening. The first basic flow model construction module is used to construct a first basic flow model based on the first operating data. The first basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under the pressure boosting condition. The second basic flow model construction module is used to construct a second basic flow model based on the second operating data. The second basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under pressure reduction conditions. The hysteresis-free basic flow model construction module is used to fuse the first basic flow model and the second basic flow model based on dynamic weight coefficients to obtain the hysteresis-free basic flow model, which is used to determine the maximum flow after hysteresis compensation. An opening characteristic model construction module is used to construct an opening characteristic model based on the third operating data. The opening characteristic model is used to characterize the mapping relationship between the actual flow and the maximum flow under any opening. The target flow model acquisition module is used to construct a target flow model based on the hysteresis-free basic flow model and the opening characteristic model. The target flow model is used to calculate the real-time flow based on the inlet pressure and valve opening of the regulating valve.
[0008] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the fluid hysteresis adaptive flow model construction method according to any embodiment of the present invention.
[0009] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the fluid hysteresis adaptive flow model construction method according to any embodiment of the present invention.
[0010] According to another aspect of the present invention, a computer program product is provided, which, when executed by a processor, implements the fluid hysteresis adaptive flow model construction method as described in any of the embodiments of the present invention.
[0011] This invention acquires first, second, and third operating data of a control valve in a fluid control system. The first operating data is the valve's operating data under pressure-increasing conditions at a preset opening degree; the second operating data is the valve's operating data under pressure-decreasing conditions at the preset opening degree; and the third operating data is the valve's operating data under a double-step condition involving both inlet pressure and valve opening degree. By separately collecting operating data under these three conditions (pressure increase, pressure decrease, and double-step), a complete data foundation is provided for subsequent pressure increase / decrease identification, hysteresis elimination, and opening characteristic modeling. A first basic flow model is constructed based on the first operating data. This model is used to calculate the maximum flow rate corresponding to the valve's inlet pressure under pressure-increasing conditions. By independently modeling the pressure-increasing condition, an accurate pressure-increasing data benchmark is provided for subsequent hysteresis elimination. A second basic flow model is constructed based on the second operating data. This model is used to calculate the maximum flow rate corresponding to the valve's inlet pressure under pressure-decreasing conditions. By independently modeling the pressure-decreasing condition, an accurate pressure-decreasing data benchmark is provided for subsequent hysteresis elimination. The first and second basic flow models are fused using dynamic weighting coefficients to obtain a hysteresis-free basic flow model, which is used to determine the maximum flow rate after hysteresis compensation. A smooth transition between the boost and depressurization models is achieved through dynamic weighting coefficients, preserving the high accuracy of independent bidirectional fitting while eliminating chattering in the transition phase. An opening characteristic model is constructed based on the third operating data, representing the mapping relationship between actual flow rate and maximum flow rate at any opening. This expands the applicability from a single fully open condition to all operating conditions at any opening, solving the problem of inaccurate predictions by traditional fixed opening characteristic models under varying pressure conditions. A target flow model is constructed based on the hysteresis-free basic flow model and the opening characteristic model, used to calculate the real-time flow rate based on the inlet pressure and valve opening of the regulating valve. The target flow model is constructed by cascading and encapsulating the hysteresis-free basic flow model and the opening characteristic model. This model integrates parameters under both pressure boosting and depressurization conditions, eliminates the influence of pressure hysteresis on flow calculation, and achieves real-time flow prediction without hysteresis bias across the entire operating range.In summary, the technical solution of this invention establishes a first basic flow model and a second basic flow model using first and second operating data, respectively. A hysteresis-free basic flow model is then established based on the first and second basic flow models and dynamic weighting coefficients. An opening characteristic model is established based on the third operating data. The target flow model is obtained by combining the hysteresis-free basic flow model and the opening characteristic model. This effectively smooths the deviation between boost and deboost data in the transition zone, completely solving the numerical jumps and calculation jitter problems caused by traditional hard switching. Through the opening characteristic model, the physical law of the opening characteristic changing with the total driving pressure is accurately captured, significantly improving the flow prediction accuracy under varying pressure conditions.
[0012] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0013] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a schematic diagram of the structure of a fluid control system according to an embodiment of the present invention. Figure 2 This is a flowchart of a fluid hysteresis adaptive flow model construction method according to an embodiment of the present invention; Figure 3 This is a flowchart of a fluid hysteresis adaptive flow model construction method according to an embodiment of the present invention; Figure 4 This is a schematic diagram of a flow model construction device for fluid hysteresis adaptive flow model in an embodiment of the present invention; Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0015] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0016] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0017] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0018] Among them, the fluid control system provides a hardware execution platform and data acquisition foundation for the fluid hysteresis adaptive flow model construction method. Figure 1 This is a schematic diagram of a fluid control system. Figure 1 As shown, the fluid control system includes a fluid source, a pressure reducing valve 70, a regulating valve 20, a nozzle 30, a pressure transmitter 40, a flow meter 50, and an edge node 60. It is understood that... Figure 1 The bolded arrows indicate pipelines. The fluid starts from the fluid source, passes through the pressure reducing valve 70 and the regulating valve 20 in sequence through the pipeline, and is ejected from the nozzle 30, completing one fluid supply process. The unbolded arrows indicate communication channels. The pressure transmitter 40 and the flow meter 50 collect the relevant data and send it to the edge node 60. After calculation, the edge node 60 sends control commands to the pressure reducing valve 70 and the regulating valve 20 to perform flow control.
[0019] The communication channel can be wired or wireless. The fluid source provides a stable, pulsation-free fluid and ensures the piping system meets the full range of pressure and flow requirements. The pressure reducing valve 70 precisely and stably regulates the inlet pressure of the regulating valve 20, achieving step pressure changes. The regulating valve 20 is the core control element of the fluid control system, equipped with a high-precision valve positioner for precise opening adjustment and feedback. The regulating valve 20, also known as a control valve, is an actuator in industrial process control systems that receives control signals and adjusts the flow rate, pressure, temperature, or level of fluids such as liquids, gases, and steam by changing the valve core opening. Specifically, the regulating valve 20 can be a diaphragm valve, butterfly valve, ball valve, or other regulating valve capable of receiving and executing control commands from edge nodes. The nozzle 30, as the terminal outlet component, is an important component of the system resistance, and its characteristics will be integrated into the global model. The pressure transmitter 40 is used to accurately acquire the inlet pressure of the regulating valve 20. The flow meter 50 is a high-response instantaneous flow meter used for accurate acquisition of pipeline flow. For example, flow meter 50 can be an electromagnetic flow meter.
[0020] The edge node 60 can be a server, specifically a blade server, high-density server, rack server, cabinet server, general-purpose server, graphics processing unit (GPU) server, data processing unit (DPU) server, or artificial intelligence (AI) server, etc. The fluid hysteresis adaptive flow model construction method is executed by the edge node 60.
[0021] In one possible implementation, to ensure data quality, Figure 1 The fluid control system shown must adhere to the following acquisition and control specifications during operation: the sampling period for pressure transmitter 40 and flow meter 50 is 5 seconds to balance dynamic response and data smoothness; after each pressure or opening step, the system must remain stable for at least 1 minute to ensure thermodynamic and fluid dynamic steady state before sampling and the next step; steady-state data is extracted using the median method to resist the influence of random interference pulses and outliers; the effective operating range of the model is defined as an inlet pressure of the control valve greater than or equal to 103 kPa and a valve opening greater than or equal to 2%.
[0022] It should be noted that, in specific implementations, the fluid control system architecture can be any, including... Figure 1 A similar architecture to that in [the text]. This application does not limit the specific composition of the fluid control system architecture. Furthermore, Figure 1 The architectural components shown do not constitute a limitation on the architecture of the fluid control system, except... Figure 1In addition to the devices shown, the architecture of a fluid control system may include more or fewer devices than those illustrated.
[0023] In fluid control systems, due to the significant pressure hysteresis nonlinearity of the regulating valve 20 under both pressure boosting and depressurization conditions, traditional flow model construction methods cannot simultaneously guarantee the prediction accuracy under bidirectional conditions and the output stability of the switching transition section, resulting in prominent flow measurement deviations and control system chattering problems.
[0024] Figure 2 This is a flowchart illustrating a fluid hysteresis adaptive flow model construction method provided in an embodiment of the present invention. This embodiment is applicable to situations in fluid control systems where regulating valves exhibit pressure hysteresis under pressure boosting and depressurization conditions, requiring flow modeling and real-time prediction. This method can be executed by the fluid hysteresis adaptive flow model construction device described in this embodiment. This device can be implemented using software and / or hardware and can be integrated into electronic devices such as computer equipment, servers, mobile terminals, or processors. Figure 2 As shown, the method specifically includes the following steps: S110. Obtain the first operating data, the second operating data, and the third operating data of the regulating valve in the fluid control system. The first operating data is the operating data of the regulating valve under the pressure-increasing condition at a preset opening. The second operating data is the operating data of the regulating valve under the pressure-reducing condition at a preset opening. The third operating data is the operating data of the regulating valve under the condition of a double step change in inlet pressure and valve opening.
[0025] In this embodiment of the invention, the fluid control system can be specifically understood as an industrial fluid system used to regulate and control the flow rate of a medium in a pipeline. The structure of the fluid control system has already been described. Figure 1The details will not be elaborated here. The first operating data can be understood as the operating data of the control valve under pressure-increasing conditions at a preset opening. This first operating data includes the first inlet pressure, the first valve opening, and the first actual flow rate. The first operating data is obtained by performing a pressure-increasing operation when the first inlet pressure is within the first preset pressure range and the first valve opening is at the preset opening. The second operating data can be understood as the operating data of the control valve under pressure-decreasing conditions at a preset opening. This second operating data includes the second inlet pressure, the second valve opening, and the second actual flow rate. The second operating data is obtained by performing a pressure-decreasing operation when the second inlet pressure is within the second preset pressure range and the second valve opening is at the preset opening. The third operating data can be understood as the operating data of the control valve under a double-step change in inlet pressure and valve opening. This third operating data includes the third inlet pressure, the third valve opening, and the third actual flow rate. The third operating data is obtained by simultaneously changing the inlet pressure and valve opening of the control valve, causing both to change stepwise, when the third inlet pressure is within the third preset pressure range and the third valve opening is within the first preset valve opening range. The first, second, and third operating data are all obtained from edge nodes. The preset opening degree can be understood as the fixed valve opening degree pre-set during the model construction process. In this embodiment, the preset opening degree is the opening degree when the regulating valve reaches its maximum flow capacity, i.e., 100% fully open. When the valve is 100% fully open, the valve core of the regulating valve no longer generates additional throttling on the fluid, and the relationship between the inlet pressure and flow rate directly reflects the inherent flow characteristics of the pipeline and valve body. The first and second preset pressure ranges can be pre-set. For example, the first and second preset pressure ranges can be from 103 kPa to 480 kPa, with a preset opening degree of 100%. When the first inlet pressure is within the range of 103 kPa to 480 kPa and the valve opening is 100%, a pressure increase operation is performed to obtain the first operating data when the first inlet pressure is within the range of 103 kPa to 480 kPa and the valve opening is 100% to obtain the second operating data. The third preset pressure range and the first preset valve opening range can also be pre-set. For example, the third preset pressure range can be 430 kPa to 480 kPa, the first preset valve opening range can be 5% to 100%, the third inlet pressure is within the range of 430 kPa to 480 kPa and the third valve opening is within the range of the first preset valve opening range, and the inlet pressure and valve opening of the regulating valve are changed at the same time, so that both of them undergo a step change, to obtain the third operating data.
[0026] Specifically, the opening of the regulating valve is fixed at a preset opening. Complete pressure increase and decrease tests are performed within the first and second preset pressure ranges, respectively, to obtain first and second operating data. Within the third preset pressure range and the first preset valve opening range, the inlet pressure and valve opening are simultaneously varied to simulate complex operating conditions, obtaining third operating data. These three sets of data provide the data foundation for the first basic flow model, the second basic flow model, and the opening characteristic model, respectively.
[0027] Specifically, the pressure increase and decrease operating conditions can be divided based on the pressure difference between the inlet and outlet of the control valve. First and second operating data can be obtained from the historical operating data of the fluid control system based on different operating conditions. Alternatively, the historical operating data or full-condition data can be cleaned, filtered, and anomaly points removed before performing steady-state analysis on the results to extract the median steady-state point. These median steady-state points are then divided into first and second operating data according to the pressure increase and decrease operating conditions.
[0028] S120. Construct a first basic flow model based on the first operating data. The first basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under the pressure boosting condition.
[0029] In this embodiment of the invention, the first basic flow model can be specifically understood as a mathematical model used to describe the mapping relationship between the inlet pressure and the maximum flow rate of the control valve when the valve opening is at a preset opening degree. The first basic flow model is constructed based on the first operating data.
[0030] Specifically, a first basic flow model is constructed based on the initial operating data. This model is used to calculate the maximum flow rate corresponding to the inlet pressure of the control valve under pressure-boosting conditions. By independently modeling the pressure-boosting conditions, an accurate pressure-boosting data benchmark is provided for subsequent fusion and hysteresis elimination.
[0031] Optionally, constructing the first basic flow model based on the first operating data includes: extracting multiple sets of steady-state data of the regulating valve under pressure-boosting conditions based on the first operating data, wherein the steady-state data is the data corresponding to the fluctuation amplitude of the regulating valve's inlet pressure and actual flow being less than or equal to a preset threshold, and the duration being greater than or equal to a continuous preset duration; obtaining the median of the inlet pressure and the median of the actual flow of each set of steady-state data to obtain multiple sets of first steady-state medians; and constructing the first basic flow model based on the multiple sets of first steady-state medians.
[0032] In this embodiment of the invention, steady-state data can be specifically understood as operating data when the inlet pressure and flow rate of the control valve have both reached a relatively stable state. When the fluctuation amplitude of the inlet pressure and actual flow rate in the first operating data is less than or equal to a preset threshold and remains for a continuous preset duration, the control valve is determined to be in a steady-state operating condition, and the inlet pressure and actual flow rate collected in the current period are taken as the steady-state data in the first operating data. For example, the steady-state data can be the inlet pressure and actual flow rate corresponding to the fluctuation amplitude of the inlet pressure and actual flow rate of the control valve being less than or equal to 0.2% and maintained for a duration greater than or equal to 1 minute. The preset thresholds corresponding to the fluctuation amplitudes of the inlet pressure and actual flow rate can be the same or different, and this invention does not limit this. The first steady-state median can be specifically understood as paired data obtained by taking the median of the inlet pressure and the median of the actual flow rate for each set of steady-state data. The first steady-state median includes the median of the inlet pressure and the median of the actual flow rate. The continuous preset duration can be specifically understood as a pre-set duration. The continuous preset duration is a time length threshold used to determine whether the control valve has entered a steady state. The continuous preset duration can be set according to actual needs. For example, the continuous preset duration can be 1 minute.
[0033] Specifically, the first set of operating data is acquired. This data is then filtered to remove high-frequency noise and occasional spikes introduced during the acquisition process. Steady-state data is obtained based on the filtered first operating data, yielding the first steady-state median. Specifically, steady-state data is defined as the inlet pressure and actual flow rate of the control valve in the first operating data when their fluctuation amplitudes are both less than or equal to a preset threshold, and the duration is greater than or equal to a continuously preset duration. Multiple sets of steady-state data for the control valve under pressure-boosting conditions are acquired. Based on these multiple sets of steady-state data, the median inlet pressure and median actual flow rate of each set are obtained, resulting in multiple sets of first steady-state medians. Based on these multiple sets of first steady-state medians and the basic flow equation, a first basic flow model is constructed. The formula for the basic flow equation is shown below: in, Indicates the inlet pressure of the regulating valve Maximum flow rate Represents the flow coefficient. Indicates the starting pressure threshold. Indicates the system drag coefficient. The pressure index is represented by [insert value here]. The flow coefficient, starting pressure threshold, system drag coefficient, and pressure index in the basic flow equation are determined based on multiple sets of first steady-state medians, resulting in the first basic flow model. For example, the flow coefficient, starting pressure threshold, system drag coefficient, and pressure index can be determined by minimizing the sum of squared flow prediction errors as the objective function. The formula for the objective function is shown below: in, This represents the function value of the objective function under boost pressure conditions. This represents the median of the actual flow rate in the first steady-state median. This represents the median inlet pressure in the first steady-state median. The flow coefficient under boosted operating conditions. This refers to the starting pressure threshold under boosted operating conditions. This is the system drag coefficient under boost conditions. The pressure exponent under boosted operating conditions is defined as follows: Under the premise of satisfying constraints and iteration termination conditions, the flow coefficient, starting pressure threshold, system drag coefficient, and pressure exponent under boosted operating conditions are obtained by minimizing the objective function. Based on the flow coefficient, starting pressure threshold, system drag coefficient, and pressure exponent under boosted operating conditions, these are substituted into the basic flow model to obtain the first basic flow model. The constraints include... The iteration terminates when the increments of the flow coefficient, the starting pressure threshold, the system drag coefficient, and the pressure exponent are all less than 1e-6, or the objective function value reaches a certain threshold. The decrease is <1e-9. By eliminating transient interference through steady-state screening and extracting resistance outliers from the median, operating data for boosting conditions is provided, ensuring the accuracy and reliability of the parameters in the first basic flow model.
[0034] S130. Construct a second basic flow model based on the second operating data. The second basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under pressure reduction conditions.
[0035] In this embodiment of the invention, the second basic flow model can be specifically understood as a mathematical model used to describe the mapping relationship between the inlet pressure and the maximum flow rate of the control valve when the valve opening is at a preset opening degree. The second basic flow model is constructed based on the second operating data.
[0036] Specifically, a second basic flow model is constructed based on the second operating data. This model is used to calculate the maximum flow rate corresponding to the inlet pressure of the control valve under pressure reduction conditions. By independently modeling the pressure reduction conditions, an accurate pressure reduction data benchmark is provided for subsequent fusion and hysteresis elimination.
[0037] Optionally, constructing the second basic flow model based on the second operating data includes: extracting multiple sets of steady-state data of the regulating valve under pressure reduction conditions based on the second operating data; the steady-state data is the data corresponding to the fluctuation amplitude of the regulating valve's inlet pressure and actual flow being less than or equal to a preset threshold, and the duration being greater than or equal to a continuous preset duration; obtaining the median of the inlet pressure and the median of the actual flow of each set of steady-state data to obtain multiple sets of second steady-state medians; and constructing the second basic flow model based on the multiple sets of second steady-state medians.
[0038] In this embodiment of the invention, the second steady-state median can be specifically understood as a pair of data obtained by taking the median of the inlet pressure and the median of the actual flow rate for each set of steady-state data in the second operating data. The second steady-state median includes the median inlet pressure and the median actual flow rate.
[0039] Specifically, the second operating data is acquired. This second operating data is then filtered to remove high-frequency noise and occasional spike interference introduced during the acquisition process. Steady-state data is obtained based on the filtered second operating data, yielding the second steady-state median. Specifically, the steady-state data is defined as the inlet pressure and actual flow rate corresponding to a preset threshold value within a continuous preset time period for which the fluctuation amplitude of the regulating valve's inlet pressure and actual flow rate are both less than or equal to the preset threshold. Multiple sets of steady-state data for the regulating valve under pressure reduction conditions are acquired. Based on these multiple sets of steady-state data, the median inlet pressure and median actual flow rate of each set are obtained, resulting in multiple sets of second steady-state medians. Based on these multiple sets of second steady-state medians, the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure exponent in the basic flow equation are determined, resulting in the second basic flow model. For example, minimizing the sum of squared flow prediction errors can be used as the objective function to determine the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure exponent. The formula for the objective function is shown below: in, This represents the function value of the objective function under reduced voltage operating conditions. This represents the median of the actual flow rate in the second steady-state median. This represents the median inlet pressure in the second steady-state median. The flow coefficient under reduced pressure conditions. The starting pressure threshold under reduced pressure conditions. The system drag coefficient under reduced voltage conditions. The pressure exponent is defined as follows: Under reduced pressure conditions, and with the constraints and iteration termination conditions satisfied, the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure exponent are obtained by minimizing the objective function. These parameters are then substituted into the basic flow model to obtain the second basic flow model. The constraints include... The iteration terminates when the increments of the flow coefficient, the starting pressure threshold, the system drag coefficient, and the pressure exponent are all less than 1e-6, or the objective function value reaches a certain threshold. The decrease is <1e-9. By eliminating transient disturbances through steady-state screening and extracting resistance outliers from the median, operating data for the pressure reduction condition is provided, ensuring the accuracy and reliability of the parameters in the second basic flow model.
[0040] Optionally, the first basic flow model includes a first model parameter set, and the second basic flow model includes a second model parameter set; the first model parameter set includes the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure index under the pressure boosting condition; the second model parameter set includes the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure index under the pressure depressurization condition.
[0041] In this embodiment of the invention, the first model parameter set can be specifically understood as a set of parameters obtained after parameter identification of the basic flow equation based on the first operating data. The first model parameter set includes the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure index under boosting conditions. The first model parameter set can be expressed as follows: The second model parameter set can be specifically understood as the set of parameters obtained after parameter identification of the basic flow equation based on the second operating data. The second model parameter set includes the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure exponent under pressure reduction conditions. The second model parameter set can be expressed as follows: .
[0042] The flow coefficient is a proportionality coefficient reflecting the flow capacity of the control valve. It characterizes the flow rate through the control valve per unit pressure difference. The flow coefficient is related to the valve's diameter, flow channel shape, and flow area; a larger value indicates a stronger flow capacity at the same inlet pressure. The starting pressure threshold is the minimum inlet pressure that the control valve must overcome to open from the closed state until the medium begins to flow. It reflects the resistance to valve opening caused by mechanical resistances such as the static sealing pressure between the valve core and seat, the static friction between the valve stem and packing, and the preload of the return spring. The system resistance coefficient characterizes the resistance characteristics of the pipeline system containing the control valve to the fluid. It describes the pressure loss caused by pipe friction, local resistance (such as elbows, reducers, tees, etc.), and changes in the internal flow channel shape of the valve body when fluid flows through the control valve and upstream and downstream pipelines. The pressure index is an exponential parameter characterizing the sensitivity of the nonlinear relationship between the effective pressure difference and flow rate of the control valve.
[0043] S140. The first basic flow model and the second basic flow model are fused based on dynamic weight coefficients to obtain a hysteresis-free basic flow model, which is used to determine the maximum flow after hysteresis compensation.
[0044] In this embodiment of the invention, the dynamic weighting coefficient can be specifically understood as a coefficient used to smoothly transition between the first basic flow model and the second basic flow model. The dynamic weighting coefficient changes in real time with the direction of change of the inlet pressure of the control valve. The hysteresis-free basic flow model can be specifically understood as a flow model obtained by weighted fusion of the first basic flow model and the second basic flow model based on the dynamic weighting coefficient. The hysteresis-free basic flow model eliminates hysteresis deviations in the pressure increase and decrease directions. The hysteresis-free basic flow model is constructed under the condition that the valve opening of the control valve is fixed at a preset opening.
[0045] Specifically, based on dynamic weighting coefficients, the first model parameter set from the first basic flow model and the second model parameter set from the second basic flow model are fused to obtain the third model parameter set. A hysteresis-free basic flow model is then constructed based on this third model parameter set. The dynamic weighting coefficients ensure a smooth and continuous transition between the first and second basic flow models, preserving the high accuracy of independent bidirectional fitting while eliminating chattering at the source during the transition phase.
[0046] S150. Construct an opening characteristic model based on the third operating data. The opening characteristic model is used to characterize the mapping relationship between the actual flow and the maximum flow under any opening.
[0047] In this embodiment of the invention, the opening characteristic model can be specifically understood as a mathematical model used to describe the mapping relationship between the actual flow rate and the maximum flow rate of the control valve at any valve opening. In actual operating conditions, the valve opening of the control valve is not always fixed at the preset opening, but is adjusted according to control requirements. The opening characteristic model is used to represent the degree of attenuation of the actual flow rate relative to the maximum flow rate at different openings.
[0048] Specifically, an opening characteristic model is constructed based on third-party operating data, extending the applicable scope from a single fully open condition to any opening condition. This solves the problem that the prediction accuracy decreases significantly under varying pressure conditions when the valve's opening characteristics are treated as a fixed function.
[0049] Optionally, constructing the opening characteristic model based on the third operating data includes: obtaining the opening characteristic equation, wherein the opening characteristic equation contains a set of opening model parameters to be determined; determining the fused maximum flow based on the hysteresis-free basic flow model and the third operating data; obtaining the opening model parameter set based on the third operating data and the fused maximum flow; and constructing the opening characteristic model based on the opening model parameter set.
[0050] In this embodiment of the invention, the opening model parameter set can be specifically understood as a set of undetermined parameters constituting the opening characteristic equation. The opening model parameter set includes the pressure modulation slope, the reference opening characteristic offset, and the correction coefficient. The fused maximum flow rate can be specifically understood as the maximum flow rate value calculated based on the hysteresis-free basic flow model and the inlet pressure. The fused maximum flow rate is calculated based on the hysteresis-free basic flow model. The fused maximum flow rate has eliminated the hysteresis deviation between the pressure increase and decrease directions. Since the hysteresis-free basic flow model is constructed under the condition that the valve opening of the control valve is fixed at a preset opening, which can be 100%, the hysteresis-free basic flow model outputs the fused maximum flow rate at a given inlet pressure.
[0051] Specifically, obtain the aperture characteristic equation. The expression for the aperture characteristic equation is as follows: in, This refers to the actual traffic volume. To maximize traffic flow; This is a correction factor; Valve opening degree; The opening characteristic varies with the inlet pressure of the control valve. The slope of the changing pressure modulation; For inlet pressure; The offset of the reference opening characteristic; exponential term This represents the opening characteristic term under linear modulation of the driving pressure difference. Multiple sets of steady-state data are obtained from the third operating data. Based on these data, the median inlet pressure, median actual flow rate, and valve opening are obtained for each set, resulting in multiple third steady-state medians. The median inlet pressure of each set is substituted into the hysteresis-free basic flow model to solve for the corresponding maximum combined flow rate. The opening model parameter set is calculated based on the third operating data and the maximum combined flow rate. First, the natural logarithm of both sides of the opening characteristic equation is taken and rearranged to obtain the following formula: ; in, This represents the median of the actual flow rate in the third set of operational data; To maximize traffic flow; This represents the median inlet pressure within the third steady-state median. The linear regression variables are constructed as follows: ; The above formula can be rewritten in the standard form of multiple linear regression, as shown below: ; Based on all steady-state data points in the third set of operational data, the least squares method was used to... Regression fitting is performed to obtain the parameter set of the opening model. The parameter set of the opening model is substituted into the opening characteristic equation to construct the opening characteristic model. Using the fused maximum flow rate output by the hysteresis-free basic flow model as a known constraint, the model is extended from a single opening to the full opening range to achieve full-condition flow prediction capability.
[0052] S160. Based on the hysteresis-free basic flow model and the opening characteristic model, a target flow model is constructed. The target flow model is used to calculate the real-time flow based on the inlet pressure and valve opening of the regulating valve.
[0053] In this embodiment of the invention, the target flow model can be specifically understood as the model obtained by cascading the hysteresis-free basic flow model and the valve opening characteristic model. The target flow model is the final mathematical model used to directly calculate the real-time flow based on the inlet pressure and valve opening of the control valve.
[0054] Specifically, the hysteresis-free basic flow model and the opening characteristic model are combined to construct the target flow model. The specific formula is shown below: in, , , and These are the parameters in the third model parameter set; This refers to the actual traffic volume. To maximize traffic flow; This is a correction factor; Valve opening degree; The opening characteristic varies with the inlet pressure of the control valve. The slope of the changing pressure modulation; For inlet pressure; This is the offset of the baseline opening characteristic.
[0055] By combining the hysteresis-free basic flow model and the opening characteristic model, the maximum combined flow rate can be obtained based on the inlet pressure of the control valve, and the real-time flow rate can be obtained based on the maximum combined flow rate. The target flow model is constructed by cascading and encapsulating the hysteresis-free basic flow model and the opening characteristic model. This model integrates parameters under both pressure boosting and depressurization conditions, eliminates the influence of pressure hysteresis on flow calculation, and achieves real-time flow prediction without hysteresis bias across the entire operating range.
[0056] Optionally, a validation set is obtained to validate the target flow model. The validation set is constructed by randomly selecting a portion of data from the first and second operating data sets. The validation set does not participate in the construction of any flow model; it is only used to validate the target flow model. The validation set includes inlet pressure, valve opening, and actual flow rate.
[0057] Specifically, the inlet pressure and valve opening from the validation set are input into the target flow model to obtain the predicted flow rate for each data point. Validation metrics are calculated based on the predicted and actual flow rates. These metrics include, but are not limited to, the coefficient of determination, root mean square error (RMSE), mean absolute error (MAE), and mean relative error (MRE). The target flow model is considered valid when the coefficient of determination is greater than or equal to a preset threshold, and the RME, MAE, and MRE are all less than or equal to their respective preset error thresholds. A valid target flow model has a reasonable structure and sufficient fit; existing errors mainly originate from field measurement noise rather than inherent defects in the target flow model itself. Validating the target flow model ensures it possesses true prediction accuracy across the entire operating range, enabling accurate flow prediction and hysteresis compensation under all operating conditions.
[0058] The technical solution of this embodiment acquires first, second, and third operating data of the regulating valve in the fluid control system. The first operating data is the operating data of the regulating valve under pressure-increasing conditions at a preset opening degree; the second operating data is the operating data of the regulating valve under pressure-decreasing conditions at a preset opening degree; and the third operating data is the operating data of the regulating valve under a double-step condition of inlet pressure and valve opening degree. By collecting operating data under the three conditions of pressure increase, pressure decrease, and double-step condition, a complete data foundation is provided for subsequent pressure increase / decrease identification, hysteresis elimination, and opening characteristic modeling. Based on the first operating data, a first basic flow model is constructed, which is used to calculate the corresponding maximum flow rate according to the inlet pressure of the regulating valve under the pressure-increasing condition. By independently modeling the pressure-increasing condition, an accurate pressure-increasing data benchmark is provided for subsequent fusion and hysteresis elimination. Based on the second operating data, a second basic flow model is constructed, which is used to calculate the corresponding maximum flow rate according to the inlet pressure of the regulating valve under the pressure-decreasing condition. By independently modeling the pressure-decreasing condition, an accurate pressure-decreasing data benchmark is provided for subsequent fusion and hysteresis elimination. The first and second basic flow models are fused using dynamic weighting coefficients to obtain a hysteresis-free basic flow model, which is used to determine the maximum flow rate after hysteresis compensation. A smooth transition between the boost and depressurization models is achieved through dynamic weighting coefficients, preserving the high accuracy of independent bidirectional fitting while eliminating chattering in the transition phase. An opening characteristic model is constructed based on the third operating data, representing the mapping relationship between actual flow rate and maximum flow rate at any opening. This expands the applicability from a single fully open condition to all operating conditions at any opening, solving the problem of inaccurate predictions by traditional fixed opening characteristic models under varying pressure conditions. A target flow model is constructed based on the hysteresis-free basic flow model and the opening characteristic model, used to calculate the real-time flow rate based on the inlet pressure and valve opening of the regulating valve. The target flow model is constructed by cascading and encapsulating the hysteresis-free basic flow model and the opening characteristic model. This model integrates parameters under both pressure boosting and depressurization conditions, eliminates the influence of pressure hysteresis on flow calculation, and achieves real-time flow prediction without hysteresis bias across the entire operating range.In summary, the technical solution of this invention establishes a first basic flow model and a second basic flow model using first and second operating data, respectively. A hysteresis-free basic flow model is then established based on the first and second basic flow models and dynamic weighting coefficients. An opening characteristic model is established based on the third operating data. The target flow model is obtained by combining the hysteresis-free basic flow model and the opening characteristic model. This effectively smooths the deviation between boost and buck data in the transition zone, completely solving the numerical jumps and calculation jitter problems caused by traditional hard switching. Through the opening characteristic model, the physical law of the opening characteristic changing with the total driving pressure is accurately captured, significantly improving the accuracy of real-time flow prediction.
[0059] Figure 3 This is a flowchart illustrating a fluid hysteresis adaptive flow model construction method provided in this embodiment of the disclosure. This embodiment provides a process for fusing a first basic flow model and a second basic flow model. Figure 3 As shown, the method specifically includes the following steps: S210. Obtain the first operating data, the second operating data, and the third operating data of the regulating valve in the fluid control system. The first operating data is the operating data of the regulating valve under the pressure-increasing condition at a preset opening. The second operating data is the operating data of the regulating valve under the pressure-reducing condition at a preset opening. The third operating data is the operating data of the regulating valve under the condition of a double step change in inlet pressure and valve opening.
[0060] S220. Construct a first basic flow model based on the first operating data. The first basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under the pressure boosting condition.
[0061] S230. Construct a second basic flow model based on the second operating data. The second basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under pressure reduction conditions.
[0062] S240. The first model parameter set and the second model parameter set are fused based on the dynamic weight coefficients to obtain the third model parameter set.
[0063] Specifically, the first and second model parameter sets are fused based on dynamic weighting coefficients to obtain the third model parameter set. By replacing discrete hard switching with dynamic weighting coefficients, the accuracy advantages of bidirectional independent fitting are preserved while completely eliminating commutation chattering.
[0064] Optionally, the step of fusing the first model parameter set and the second model parameter set based on dynamic weighting coefficients to obtain a third model parameter set includes: obtaining the optimal weighting coefficients and the pressure difference change direction indicator to determine the dynamic weighting coefficients; and performing weighted fusion of the first model parameter set and the second model parameter set based on the dynamic weighting coefficients to obtain the third model parameter set.
[0065] In this embodiment of the invention, the optimal weighting coefficient can be specifically understood as a global constant used to control the sensitivity of the dynamic weighting coefficient to changes in the direction indication of pressure difference. The optimal weighting coefficient is obtained by minimizing the error of the switching transition section. The direction indication of pressure difference can be specifically understood as a physical quantity used to characterize the trend of the regulating valve inlet pressure in adjacent steady states. The direction indication of pressure difference is used to determine the dynamic weighting coefficient. The direction indication of pressure difference is calculated by the difference between the median inlet pressure of the current steady-state data and the median inlet pressure of the next steady-state data. The third model parameter set can be specifically understood as a parameter set obtained by weighting and fusing the first model parameter set and the second model parameter set based on the dynamic weighting coefficient. The third model parameter set is used to construct a hysteresis-free basic flow model. The third model parameter set includes the third inlet pressure, the third valve opening, and the third actual flow rate.
[0066] Specifically, the dynamic weighting coefficient is calculated by obtaining the optimal weighting coefficient and the indication of the direction of pressure difference change. The formula for calculating the dynamic weighting coefficient is as follows: in, For dynamic weighting coefficients, The optimal weighting coefficients are... This represents the direction of pressure difference change; the dynamic weighting coefficient is used to adjust the fusion ratio of the first and second model parameter sets. Based on the calculated dynamic weighting coefficient, the first and second model parameter sets are weighted and fused to obtain the third model parameter set. The formula for weighted fusion is shown below: in, For the third model parameter set; This is the parameter set for the first model; This is the second model parameter set. By replacing discrete hard switching with dynamic weight coefficients, the first and second model parameter sets are smoothly merged into a unified parameter set, which retains the accuracy advantage of bidirectional independent fitting while completely eliminating commutation chattering.
[0067] Optionally, the method for determining the optimal weighting coefficient includes: acquiring the operating data of the reversing transition section, wherein the reversing transition section is the stage corresponding to the switching of the inlet pressure of the regulating valve between pressure increase and pressure decrease; constructing a fusion model corresponding to each of the preset multiple candidate weighting coefficients; calculating the error between the predicted flow rate and the actual flow rate of the fusion model in the reversing transition section based on the operating data of the reversing transition section, thereby obtaining the flow prediction error; and determining the optimal weighting coefficient from the multiple candidate weighting coefficients based on the flow prediction error.
[0068] In this embodiment of the invention, the reversing transition section can be specifically understood as an interval traversed by the inlet pressure of the regulating valve when switching between increasing and decreasing pressure. The reversing transition section is a continuous data interval traversed by the inlet pressure of the regulating valve when switching between increasing and decreasing pressure trends, including a point where the differential pressure change direction indicator is 0 and a predetermined number of points on both sides of this critical point. The candidate weighting coefficient can be specifically understood as multiple candidate weighting coefficients used for iterative testing during the determination of the optimal weighting coefficient. By comparing the magnitude of the flow prediction error and the model output jitter corresponding to each candidate weighting coefficient, the candidate value that minimizes the flow prediction error in the reversing transition section and eliminates model output jitter is selected as the optimal weighting coefficient.
[0069] The fusion model can be understood as a temporary flow model constructed by weighting and fusing the parameter sets of the first and second models based on a certain candidate weighting coefficient and then inputting the result into the basic flow equation. The fusion model is a temporary model used in determining the optimal weighting coefficients. Each candidate weighting coefficient corresponds to a fusion model. By comparing the flow prediction errors of each fusion model in the switching transition section, the fusion model with the highest prediction accuracy and no chattering is selected, and its corresponding candidate weighting coefficients are the optimal weighting coefficients. The flow prediction error can be specifically understood as the degree of deviation between the flow prediction value of the fusion model and the actual flow of the control valve. For each fusion model constructed with candidate weighting coefficients, the model is applied to the operating data of the switching transition section, and the difference between the flow prediction value output by the model and the actual collected flow value is calculated; this difference is the flow prediction error.
[0070] Specifically, the operational data of the reversing transition section is acquired. The steady-state data of the reversing transition section is defined as the inlet pressure and actual flow rate of the regulating valve when their fluctuations are both less than or equal to preset thresholds within a continuously preset time period. Multiple candidate weighting coefficients are pre-defined and substituted into the calculation formula for the dynamic weighting coefficients to obtain multiple dynamic weighting coefficients. Based on these dynamic weighting coefficients, the parameter sets of the first and second models are fused to obtain multiple third model parameter sets. These third model parameter sets are then substituted into the basic flow equation to obtain the fusion model corresponding to each candidate weighting coefficient. The predicted flow rate within the reversing transition section is calculated using the fusion model corresponding to each candidate weighting coefficient, and compared with the actual flow rate in the reversing transition section data to calculate the flow prediction error. The optimal weighting coefficient is determined from the multiple candidate weighting coefficients, with the goal of minimizing the flow prediction error of the reversing transition section and ensuring the fusion model output is free of chattering. The method for determining whether the fusion model output is jitter-free can be as follows: During the switching transition section, the traffic prediction sequence output by the fusion model is evaluated. If the number of times the direction of change of the traffic prediction value in the sequence switches back and forth between boost and buck is less than or equal to a preset threshold, and the maximum difference between adjacent traffic prediction values is less than or equal to a preset amplitude threshold, then the fusion model is determined to be jitter-free during the switching transition section. By traversing the candidate weighting coefficients and comparing the prediction error based on the real data during the switching transition section, it is ensured that the dynamic weights simultaneously achieve high accuracy and jitter-free operation during the switching transition section.
[0071] S250. Construct a hysteresis-free basic flow model based on the third model parameter set.
[0072] Specifically, the third model parameter set, obtained by fusing the first and second model parameter sets, is substituted into the basic flow equation to obtain the hysteresis-free basic flow model. The formula for the hysteresis-free basic flow model is shown below: in, The combined flow coefficient; The startup pressure threshold after fusion; The coefficient of resistance of the merged system; The pressure index is the result of fusion. Substituting the fused parameter set into the basic flow equation, a hysteresis-free basic flow model is constructed. This step effectively eliminates parameter uncertainties caused by hysteresis, providing a clean foundation for subsequent extraction of opening characteristics.
[0073] S260. Construct an opening characteristic model based on the third operating data. The opening characteristic model is used to characterize the mapping relationship between the actual flow and the maximum flow under any opening.
[0074] S270. Based on the hysteresis-free basic flow model and the opening characteristic model, a target flow model is constructed. The target flow model is used to calculate the real-time flow based on the inlet pressure and valve opening of the regulating valve.
[0075] The technical solution of this embodiment acquires first, second, and third operating data of the regulating valve in the fluid control system. The first operating data is the operating data of the regulating valve under pressure-increasing conditions at a preset opening degree; the second operating data is the operating data of the regulating valve under pressure-reducing conditions at a preset opening degree; and the third operating data is the operating data of the regulating valve under a double-step condition of inlet pressure and valve opening degree. A first basic flow model is constructed based on the first operating data. This first basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under pressure-increasing conditions. A second basic flow model is constructed based on the second operating data. This second basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under pressure-reducing conditions. The first model parameter set and the second model parameter set are fused based on dynamic weighting coefficients to obtain a third model parameter set. By replacing discrete hard switching with dynamic weighting coefficients, the first model parameter set and the second model parameter set are smoothly fused into unified parameters, retaining the accuracy advantage of bidirectional independent fitting while completely eliminating commutation chattering. A hysteresis-free basic flow model is constructed based on the third model parameter set. By substituting the fused parameter set into the basic flow equation, a hysteresis-free basic flow model is constructed, solving the problem of hard-switching chattering in traditional models. An opening characteristic model is constructed based on the third operating data, which characterizes the mapping relationship between actual flow and maximum flow at any opening. Based on the hysteresis-free basic flow model and the opening characteristic model, a target flow model is constructed, which is used to calculate real-time flow based on the inlet pressure and valve opening of the regulating valve. In summary, the technical solution of this embodiment of the invention establishes a hysteresis-free basic flow model based on a first basic flow model, a second basic flow model, and dynamic weighting coefficients; and constructs a target flow model based on the hysteresis-free basic flow model and the opening characteristic model. This reduces numerical jumps and calculation chattering at the pressure difference reversal time, resulting in stronger dynamic stability for real-time flow prediction.
[0076] Based on the above embodiments, an optional example is provided. First, the first operating data, the second operating data, and the third operating data of the control valve in the fluid control system are acquired. The first operating data is the operating data of the control valve under the pressure-increasing condition when it is 100% open. The second operating data is the operating data of the control valve under the pressure-decreasing condition when it is 100% open. The third operating data is the operating data of the control valve under the condition of a double step change in inlet pressure and valve opening.
[0077] Based on the first operating data, the data corresponding to the fluctuation amplitude of the inlet pressure and actual flow rate of the regulating valve under pressure-boosting conditions being less than or equal to 0.2 and maintained for a time greater than or equal to 1 minute is extracted. The median inlet pressure and median actual flow rate of each set of steady-state data are obtained to obtain multiple sets of first steady-state medians. Based on these multiple sets of first steady-state medians as input data, the corresponding objective function expression includes: in, This represents the function value of the objective function under boost pressure conditions. This represents the median of the actual flow rate in the first steady-state median. This represents the median inlet pressure in the first steady-state median. The flow coefficient under boosted operating conditions. This refers to the starting pressure threshold under boosted operating conditions. This is the system drag coefficient under boost conditions. Let be the pressure index under the boosting condition. Under the premise of satisfying the constraints and iteration termination conditions, and with minimizing the objective function as the optimization objective, the first model parameter set is obtained as follows: The first basic traffic model is constructed based on the first model parameter set.
[0078] Based on the second operating data, the data corresponding to the fluctuation amplitude of the inlet pressure and actual flow rate of the regulating valve under pressure reduction condition is less than or equal to 0.2, and the duration is greater than or equal to 1 minute. The median inlet pressure and median actual flow rate of each set of steady-state data are obtained to obtain multiple sets of second steady-state medians. Based on these multiple sets of second steady-state medians as input data, the corresponding objective function expression includes: in, This represents the function value of the objective function under reduced voltage operating conditions. This represents the median of the actual flow rate in the second steady-state median. This represents the median inlet pressure in the second steady-state median. The flow coefficient under reduced pressure conditions. The starting pressure threshold under reduced pressure conditions. The system drag coefficient under reduced voltage conditions. The pressure index is defined as the pressure exponent under depressurization conditions. Under the premise of satisfying the constraints and iteration termination conditions, the second model parameter set is obtained by minimizing the objective function. A second basic flow model is constructed based on the second model parameter set.
[0079] Obtain operational data for the reversing transition section. Based on multiple preset candidate weighting coefficients (10, 20, 30, 40, 50), construct fusion models corresponding to each candidate weighting coefficient. Based on the operational data of the reversing transition section, calculate the error between the predicted and actual flow rates of the fusion model in the reversing transition section, obtaining the flow prediction error. With the goal of minimizing the flow prediction error and eliminating jitter in the fusion model output, determine the optimal weighting coefficient as 30. Calculate dynamic weighting coefficients based on the optimal weighting coefficients and the pressure difference change direction indicator. Based on the dynamic weighting coefficients, weight and fuse the first and second model parameter sets to obtain the third model parameter set. Construct a hysteresis-free basic flow model based on the third model parameter set.
[0080] Obtain the opening characteristic equation. Determine the fused maximum flow rate based on the hysteresis-free basic flow model and the third operational data. Obtain the opening model parameter set based on the third operational data and the fused maximum flow rate. Substitute the parameter set of the opening model into the opening characteristic equation to construct the opening characteristic model.
[0081] Figure 4 This is a schematic diagram of a fluid hysteresis adaptive flow model construction device provided in an embodiment of the present invention. This embodiment is applicable to situations where pressure hysteresis exists in the regulating valve of a fluid control system under pressure increase and decrease conditions, requiring flow modeling and real-time prediction. This device can be implemented using software and / or hardware, and can be integrated into any device that provides fluid hysteresis adaptive flow model construction functionality, such as… Figure 4 As shown, the device for constructing the fluid hysteresis adaptive flow model specifically includes: an operation data acquisition module 310, a first basic flow model construction module 320, a second basic flow model construction module 330, a hysteresis-free basic flow model construction module 340, an opening characteristic model construction module 350, and a target flow model acquisition module 360.
[0082] The operation data acquisition module 310 is used to acquire the first operation data, the second operation data and the third operation data of the regulating valve in the fluid control system. The first operation data is the operation data of the regulating valve under the pressure increase condition at a preset opening. The second operation data is the operation data of the regulating valve under the pressure decrease condition at a preset opening. The third operation data is the operation data of the regulating valve under the condition of double step change in inlet pressure and valve opening. The first basic flow model construction module 320 is used to construct a first basic flow model based on the first operating data. The first basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under the pressure boosting condition. The second basic flow model construction module 330 is used to construct a second basic flow model based on the second operating data. The second basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under pressure reduction conditions. Hysteresis-free basic flow model construction module 340 is used to fuse the first basic flow model and the second basic flow model based on dynamic weight coefficients to obtain a hysteresis-free basic flow model, which is used to determine the maximum flow after hysteresis compensation. The opening characteristic model construction module 350 is used to construct an opening characteristic model based on the third operating data. The opening characteristic model is used to characterize the mapping relationship between the actual flow and the maximum flow under any opening. The target flow model acquisition module 360 is used to construct a target flow model based on the hysteresis-free basic flow model and the opening characteristic model. The target flow model is used to calculate the real-time flow based on the inlet pressure and valve opening of the regulating valve.
[0083] The technical solution of this embodiment acquires first, second, and third operating data of the regulating valve in the fluid control system. The first operating data is the operating data of the regulating valve under pressure-increasing conditions at a preset opening degree; the second operating data is the operating data of the regulating valve under pressure-decreasing conditions at a preset opening degree; and the third operating data is the operating data of the regulating valve under a double-step condition of inlet pressure and valve opening degree. By collecting operating data under the three conditions of pressure increase, pressure decrease, and double-step condition, a complete data foundation is provided for subsequent pressure increase / decrease identification, hysteresis elimination, and opening characteristic modeling. Based on the first operating data, a first basic flow model is constructed, which is used to calculate the corresponding maximum flow rate according to the inlet pressure of the regulating valve under the pressure-increasing condition. By independently modeling the pressure-increasing condition, an accurate pressure-increasing data benchmark is provided for subsequent fusion and hysteresis elimination. Based on the second operating data, a second basic flow model is constructed, which is used to calculate the corresponding maximum flow rate according to the inlet pressure of the regulating valve under the pressure-decreasing condition. By independently modeling the pressure-decreasing condition, an accurate pressure-decreasing data benchmark is provided for subsequent fusion and hysteresis elimination. The first and second basic flow models are fused using dynamic weighting coefficients to obtain a hysteresis-free basic flow model, which is used to determine the maximum flow rate after hysteresis compensation. A smooth transition between the boost and depressurization models is achieved through dynamic weighting coefficients, preserving the high accuracy of independent bidirectional fitting while eliminating chattering in the transition phase. An opening characteristic model is constructed based on the third operating data, representing the mapping relationship between actual flow rate and maximum flow rate at any opening. This expands the applicability from a single fully open condition to all operating conditions at any opening, solving the problem of inaccurate predictions by traditional fixed opening characteristic models under varying pressure conditions. A target flow model is constructed based on the hysteresis-free basic flow model and the opening characteristic model, used to calculate the real-time flow rate based on the inlet pressure and valve opening of the regulating valve. The target flow model is constructed by cascading and encapsulating the hysteresis-free basic flow model and the opening characteristic model. This model integrates parameters under both pressure boosting and depressurization conditions, eliminates the influence of pressure hysteresis on flow calculation, and achieves real-time flow prediction without hysteresis bias across the entire operating range.In summary, the technical solution of this invention establishes a first basic flow model and a second basic flow model using first and second operating data, respectively. A hysteresis-free basic flow model is then established based on the first and second basic flow models and dynamic weighting coefficients. An opening characteristic model is established based on the third operating data. The target flow model is obtained by combining the hysteresis-free basic flow model and the opening characteristic model. This effectively smooths the deviation between boost and buck data in the transition zone, completely solving the numerical jumps and calculation jitter problems caused by traditional hard switching. Through the opening characteristic model, the physical law of the opening characteristic changing with the total driving pressure is accurately captured, significantly improving the accuracy of real-time flow prediction.
[0084] Based on the above embodiments, optionally, the first basic flow model construction module 320 is used to: extract multiple sets of steady-state data of the regulating valve under pressure-boosting conditions based on the first operating data, wherein the steady-state data is the data corresponding to the fluctuation amplitude of the regulating valve's inlet pressure and actual flow rate being less than or equal to a preset threshold, and the duration being greater than or equal to a continuous preset duration; obtain the median of the inlet pressure and the median of the actual flow rate of each set of the steady-state data to obtain multiple sets of first steady-state medians; and construct the first basic flow model based on the multiple sets of first steady-state medians.
[0085] Based on the above embodiments, optionally, the first basic flow model includes a first model parameter set, and the second basic flow model includes a second model parameter set; the first model parameter set includes the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure index under the boost pressure condition; the second model parameter set includes the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure index under the depressurization condition.
[0086] Based on the above embodiments, optionally, the hysteresis-free basic flow model construction module 340 is used to: fuse the first model parameter set and the second model parameter set based on dynamic weight coefficients to obtain a third model parameter set; and construct a hysteresis-free basic flow model based on the third model parameter set.
[0087] Based on the above embodiments, optionally, the hysteresis-free basic flow model construction module 340 is further configured to: obtain the optimal weighting coefficient and the pressure difference change direction indicator to determine the dynamic weighting coefficient; and perform weighted fusion of the first model parameter set and the second model parameter set based on the dynamic weighting coefficient to obtain the third model parameter set.
[0088] Optionally, based on the above embodiments, the device further includes an optimal weighting coefficient determination module, used for: acquiring operating data of the reversing transition section, wherein the reversing transition section is the stage corresponding to the switching of the inlet pressure of the regulating valve between pressure increase and pressure decrease; constructing a fusion model corresponding to each of the preset multiple candidate weighting coefficients; calculating the error between the predicted flow rate and the actual flow rate of the fusion model in the reversing transition section based on the operating data of the reversing transition section, thereby obtaining the flow prediction error; and determining the optimal weighting coefficient from the multiple candidate weighting coefficients based on the flow prediction error.
[0089] Based on the above embodiments, optionally, the opening characteristic model construction module 350 is used to: obtain the opening characteristic equation, wherein the opening characteristic equation contains an opening model parameter set to be determined; determine the fused maximum flow based on the hysteresis-free basic flow model and the third operating data; obtain the opening model parameter set based on the third operating data and the fused maximum flow; and construct the opening characteristic model based on the opening model parameter set.
[0090] The above-described products can perform the methods provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects for performing the methods.
[0091] Figure 5 A schematic diagram of an electronic device 10, which can be used to implement embodiments 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 processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0092] like Figure 5As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0093] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0094] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the fluid hysteresis adaptive flow model construction method.
[0095] In some embodiments, the fluid hysteresis adaptive flow model construction method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the fluid hysteresis adaptive flow model construction method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the fluid hysteresis adaptive flow model construction method by any other suitable means (e.g., by means of firmware).
[0096] Various embodiments of the systems and techniques described above 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), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0097] Computer programs used to implement 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 executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0098] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0099] 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 provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).
[0100] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0101] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0102] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0103] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the fluid hysteresis adaptive flow model construction method according to any embodiment of the invention.
[0104] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0105] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for constructing an adaptive flow model based on fluid hysteresis, characterized in that, include: The first operating data, the second operating data, and the third operating data of the regulating valve in the fluid control system are obtained. The first operating data is the operating data of the regulating valve under the pressure increase condition at a preset opening. The second operating data is the operating data of the regulating valve under the pressure decrease condition at a preset opening. The third operating data is the operating data of the regulating valve under the condition of double step change in inlet pressure and valve opening. A first basic flow model is constructed based on the first operating data. The first basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under the pressure boosting condition. A second basic flow model is constructed based on the second operating data. The second basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under pressure reduction conditions. The first basic flow model and the second basic flow model are fused based on dynamic weighting coefficients to obtain a hysteresis-free basic flow model, which is used to determine the maximum flow after hysteresis compensation. An opening characteristic model is constructed based on the third operating data. The opening characteristic model is used to characterize the mapping relationship between the actual flow and the maximum flow under any opening. Based on the hysteresis-free basic flow model and the opening characteristic model, a target flow model is constructed. The target flow model is used to calculate the real-time flow based on the inlet pressure and valve opening of the regulating valve.
2. The method according to claim 1, characterized in that, The construction of the first basic traffic model based on the first operational data includes: Based on the first operating data, multiple sets of steady-state data of the regulating valve under pressure boosting conditions are extracted. The steady-state data are the data corresponding to the fluctuation amplitude of the inlet pressure and actual flow of the regulating valve being less than or equal to a preset threshold and the duration being greater than or equal to a continuous preset duration. The median inlet pressure and the median actual flow rate of each group of steady-state data are obtained to obtain multiple groups of first steady-state medians; The first basic flow model is constructed based on multiple sets of the first steady-state median.
3. The method according to claim 1, characterized in that, The first basic flow model includes a first model parameter set, and the second basic flow model includes a second model parameter set; the first model parameter set includes the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure index under the boost pressure condition; the second model parameter set includes the flow coefficient, starting pressure threshold, system resistance coefficient, and pressure index under the depressurization condition.
4. The method according to claim 3, characterized in that, The process of fusing the first basic flow model and the second basic flow model based on dynamic weighting coefficients to obtain a hysteresis-free basic flow model includes: The first model parameter set and the second model parameter set are fused based on dynamic weight coefficients to obtain the third model parameter set; A hysteresis-free basic flow model is constructed based on the parameter set of the third model.
5. The method according to claim 4, characterized in that, The third model parameter set is obtained by fusing the first model parameter set and the second model parameter set based on dynamic weight coefficients, including: The dynamic weighting coefficient is determined by obtaining the optimal weighting coefficient and the indication of the direction of pressure difference change. The first model parameter set and the second model parameter set are weighted and fused based on the dynamic weight coefficients to obtain the third model parameter set.
6. The method according to claim 5, characterized in that, The method for determining the optimal weighting coefficients includes: Obtain the operating data of the reversing transition section, which is the stage corresponding to the switching between pressure increase and pressure decrease of the regulating valve inlet pressure; Based on a number of preset candidate weighting coefficients, a fusion model corresponding to each candidate weighting coefficient is constructed. Based on the operating data of the switching transition section, the error between the predicted flow and the actual flow of the fusion model in the switching transition section is calculated to obtain the flow prediction error. Based on the traffic prediction error, the optimal weighting coefficient is determined from the plurality of candidate weighting coefficients.
7. The method according to claim 1, characterized in that, The construction of the opening characteristic model based on the third operational data includes: Obtain the opening characteristic equation, which contains the opening model parameter set to be determined; The maximum fused flow rate is determined based on the aforementioned hysteresis-free basic flow model and the third operational data. Based on the third operational data and the fused maximum flow, the opening model parameter set is obtained; The opening characteristic model is constructed based on the opening model parameter set.
8. A fluid hysteresis adaptive flow model construction device, characterized in that, include: The operation data acquisition module is used to acquire the first operation data, the second operation data and the third operation data of the control valve in the fluid control system. The first operation data is the operation data of the control valve under the pressure increase condition at a preset opening. The second operation data is the operation data of the control valve under the pressure decrease condition at a preset opening. The third operation data is the operation data of the control valve under the condition of double step change in inlet pressure and valve opening. The first basic flow model construction module is used to construct a first basic flow model based on the first operating data. The first basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under the pressure boosting condition. The second basic flow model construction module is used to construct a second basic flow model based on the second operating data. The second basic flow model is used to calculate the corresponding maximum flow rate based on the inlet pressure of the regulating valve under pressure reduction conditions. The hysteresis-free basic flow model construction module is used to fuse the first basic flow model and the second basic flow model based on dynamic weight coefficients to obtain the hysteresis-free basic flow model, which is used to determine the maximum flow after hysteresis compensation. An opening characteristic model construction module is used to construct an opening characteristic model based on the third operating data. The opening characteristic model is used to characterize the mapping relationship between the actual flow and the maximum flow under any opening. The target flow model acquisition module is used to construct a target flow model based on the hysteresis-free basic flow model and the opening characteristic model. The target flow model is used to calculate the real-time flow based on the inlet pressure and valve opening of the regulating valve.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the fluid hysteresis adaptive flow model construction method according to any one of claims 1-7.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the fluid hysteresis adaptive flow model construction method according to any one of claims 1-7.
