Proportional valve simulation method, device, equipment, storage medium and program product
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- WUHU MIDEA KITCHEN & BATH APPLIANCES MFG CO LTD
- Filing Date
- 2024-12-03
- Publication Date
- 2026-06-05
AI Technical Summary
The product development efficiency of proportional valves in existing gas water heaters is low, and traditional experimental methods are technically difficult and require complex and precise experimental equipment and materials.
By determining the fluid interface and fluid parameters of the target proportional valve, a control volume model is constructed, and a proportional valve twin model is built to simulate the correspondence between fluid parameters in the input and output, thereby achieving accurate simulation of the proportional valve's characteristic scenarios.
This improved the product development efficiency of proportional valves, enabled accurate simulation of proportional valve application scenarios, and reduced experimental costs and equipment complexity.
Smart Images

Figure CN122154511A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of water heater technology, and in particular to a proportional valve simulation method, device, equipment, storage medium, and program product. Background Technology
[0002] Gas water heaters are an important type of hot water supply equipment in modern households. Among the core components of gas water heaters, the proportional valve plays a crucial role. Its function is to regulate the proportion of gas supplied to the combustion chamber, thereby controlling the heating efficiency of the water heater.
[0003] However, the working environment of proportional valves is quite complex. Although traditional experimental research methods can provide relatively intuitive and accurate data, they are not only technically difficult to conduct experiments using gas as the working medium, but also require complex and precise experimental equipment and a large amount of experimental materials, resulting in low product development efficiency for proportional valves. Summary of the Invention
[0004] The main purpose of this application is to provide a proportional valve simulation method, device, equipment, storage medium, and program product, aiming to solve the technical problem of low product development efficiency of proportional valves in existing water heaters.
[0005] To achieve the above objectives, this application proposes a proportional valve simulation method, the method comprising: Determine the fluid interface of the target proportional valve, and the fluid parameters corresponding to the fluid interface; Based on the fluid parameters, a control volume model of the target proportional valve is constructed, wherein the control volume model is used to describe the correspondence between the fluid parameters input to the target proportional valve and the output of the target proportional valve; Based on the fluid interface and the control body model, a proportional valve twin model corresponding to the target proportional valve is constructed.
[0006] In one embodiment, the step of determining the fluid interface of the target proportional valve includes: Obtain interaction scenario information between the target proportional valve and the outside world; Based on the interaction scenario information, the data interface corresponding to the inlet parameter of the target proportional valve into which the gas flows is selected as the fluid inlet interface, and the data interface corresponding to the inlet parameter of the target proportional valve into which the gas flows out is selected as the fluid outlet interface. The fluid inlet interface and the fluid outlet interface are used as fluid interfaces.
[0007] In one embodiment, the step of constructing a control volume model of the target proportional valve based on the fluid parameters includes: Obtain the proportional valve characteristic curve corresponding to the target proportional valve and the parameter input values corresponding to the fluid parameters; Based on the parameter input values and the proportional valve characteristic curve, the parameter output values of the target proportional valve are calculated. Based on the mapping relationship between the parameter input values and the parameter output values, a control body model of the target proportional valve is constructed.
[0008] In one embodiment, the step of obtaining the proportional valve characteristic curve corresponding to the fluid parameters includes: Obtain the opening characteristic data of the target proportional valve, wherein the opening characteristic data includes the valve flow rate and valve pressure drop corresponding to the fluid parameters of the target proportional valve at each opening degree; Create an original mapping table based on the valve flow rate and valve pressure drop at each of the described opening degrees; The original mapping table is interpolated to obtain the corresponding proportional valve characteristic curve.
[0009] In one embodiment, the step of calculating the parameter output value of the target proportional valve based on the parameter input value and the proportional valve characteristic curve includes: Based on the valve opening value in the parameter input value, the proportional valve characteristic curve is queried to obtain the valve flow rate and valve pressure drop, and the inlet flow rate and outlet flow rate are determined based on the valve flow rate; The total enthalpy at the outlet is calculated based on the total inlet enthalpy, the inlet flow rate, and the outlet flow rate in the parameter input values. The outlet pressure is calculated based on the inlet pressure and valve pressure drop in the parameter input values. The outlet flow rate, the outlet total enthalpy, and the outlet pressure are used as the parameter output values. In one embodiment, after the step of building a proportional valve twin model corresponding to the target proportional valve based on the fluid interface and the control volume model, the proportional valve simulation method further includes: Obtain target scene information, wherein the target scene information includes the connection relationship between the target proportional valve and the water heater components; Based on the connection relationship, the proportional valve twin model is connected to the component twin model of the water heater component to achieve simulation of the target scenario.
[0010] Furthermore, to achieve the above objectives, this application also proposes a proportional valve simulation device, which includes: The determination module is used to determine the fluid interface of the target proportional valve and the fluid parameters corresponding to the fluid interface; A construction module is used to construct a control body model of the target proportional valve based on the fluid parameters, wherein the control body model is used to describe the correspondence between the fluid parameters input to the target proportional valve and the output of the target proportional valve; A module is used to build a proportional valve twin model corresponding to the target proportional valve based on the fluid interface and the control body model.
[0011] In addition, to achieve the above objectives, this application also proposes a proportional valve simulation device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the proportional valve simulation method as described above.
[0012] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the proportional valve simulation method described above.
[0013] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the proportional valve simulation method described above.
[0014] One or more technical solutions proposed in this application have at least the following technical effects: This application identifies the fluid interface of a target proportional valve and the corresponding fluid parameters. Based on these fluid parameters, a control body model of the target proportional valve is constructed, whereby the control body model describes the correspondence between the fluid parameters input to and output of the target proportional valve. Based on the fluid interface and the control body model, a proportional valve twin model is built to perform proportional valve simulation operations. Thus, by describing the correspondence between the fluid parameters of the gas flowing through the target proportional valve and their input to and output, this application constructs a proportional valve twin model. This allows for the determination of changes in fluid parameters before and after the gas flows through the target proportional valve, achieving accurate simulation of proportional valve usage scenarios and effectively improving the product development efficiency of proportional valves in water heaters. Attached Figure Description
[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart illustrating the proportional valve simulation method of this application in Embodiment 1. Figure 2 This is a schematic diagram of the structure of the proportional valve twin model involved in the embodiments of this application; Figure 3 This is a flowchart illustrating Embodiment 2 of the proportional valve simulation method of this application; Figure 4 This is a scenario diagram illustrating the construction of the proportional valve characteristic curve involved in the embodiments of this application; Figure 5 This is a flowchart illustrating Embodiment 3 of the proportional valve simulation method of this application; Figure 6 This is a simulation scene diagram of the proportional valve twin model involved in the embodiments of this application; Figure 7 This is a schematic diagram of the module structure of the proportional valve simulation device according to an embodiment of this application; Figure 8 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the proportional valve simulation method in this application embodiment.
[0018] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0019] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0020] To better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0021] It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative positional relationships and movement of the components in a specific posture (as shown in the attached figures). If the specific posture changes, the directional indicators will also change accordingly. It should be understood that although the steps in the flowcharts of the embodiments of this application are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders.
[0022] While existing experimental research methods for proportional valves in water heaters can provide relatively intuitive and accurate data, they are technically challenging because they directly use gas as the working fluid. They also require complex and precise experimental equipment and a large amount of experimental materials, resulting in low product development efficiency for proportional valves.
[0023] This application provides a proportional valve simulation method. It involves determining the fluid interface of a target proportional valve and the corresponding fluid parameters. Based on these fluid parameters, a control volume model of the target proportional valve is constructed, whereby the control volume model describes the correspondence between the fluid parameters input to and output of the target proportional valve. Based on the fluid interface and the control volume model, a proportional valve twin model corresponding to the target proportional valve is built. Thus, this application describes the correspondence between the fluid parameters involved in the interaction between the target proportional valve and the external environment, and constructs a proportional valve twin model for building the proportional valve twin model. This allows for the accurate simulation of fluid changes before and after passing through the target proportional valve, achieving accurate simulation of proportional valve characteristic scenarios and effectively improving the product development efficiency of proportional valves in water heaters.
[0024] Based on this, the embodiments of this application provide a proportional valve simulation method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the proportional valve simulation method of this application.
[0025] In this embodiment, the proportional valve simulation method includes steps S10 to S30: Step S10: Determine the fluid interface of the target proportional valve and the fluid parameters corresponding to the fluid interface; It should be noted that the fluid interface is the data interface corresponding to the interaction between the target proportional valve and the external environment. The fluid interface is used to transmit fluid parameters of the gas flowing through the target proportional valve, such as the composition, pressure, mass flow rate, specific enthalpy, and other fluid parameters of the gas.
[0026] In this embodiment, the fluid interface of the target proportional valve can be determined according to the simulation scenario requirements of the target proportional valve. The parameters included in the fluid interface can be selected according to different specific requirements. For example, if only the changes in parameters such as pressure and flow rate of the target proportional valve are considered, then pressure and mass flow rate can be used as fluid parameters. Of course, it is understood that the fluid parameters can include more or fewer parameters. For example, the fluid interface is shown in the table below: Table 1 Fluid Interface
[0027] In one feasible implementation, step S10 may include steps S11 to S13: Step S11: Obtain interaction scenario information between the target proportional valve and the outside world; Step S12: Based on the interaction scenario information, select the data interface corresponding to the inlet parameter of the target proportional valve into which the gas flows as the fluid inlet interface, and the data interface corresponding to the inlet parameter of the target proportional valve outflowing as the fluid outlet interface. Step S13: Use the fluid inlet interface and the fluid outlet interface as fluid interfaces.
[0028] It should be noted that the interactive scenario information may include relevant parameters of the gas flowing through the target proportional valve in the interactive scenario, such as temperature, pressure, flow rate, composition, specific enthalpy, etc.
[0029] This embodiment can filter out the fluid interfaces required for modeling from the relevant parameters involved in the real-world interaction between the target proportional valve and the external environment, based on the interaction scenario information. This embodiment can obtain the interaction scenario information between the target proportional valve and the external environment, and then filter out the data interface corresponding to the inlet parameters for inputting gas into the target proportional valve as the fluid inlet interface, and the data interface corresponding to the inlet parameters for outputting gas out of the target proportional valve as the fluid outlet interface. Thus, the fluid inlet interface and the fluid outlet interface can be used as fluid interfaces. The inlet parameters may include parameters such as the inlet flow rate, inlet pressure, and inlet temperature of the gas at the input of the target proportional valve, and the outlet parameters may include parameters such as the outlet flow rate, outlet pressure, and outlet temperature of the gas at the output of the target proportional valve.
[0030] In this embodiment, the data interface corresponding to the inlet parameters of the target proportional valve for inputting gas into the interactive scenario information is selected as the fluid inlet interface, and the data interface corresponding to the inlet parameters of the target proportional valve for outputting gas out of the target proportional valve is selected as the fluid outlet interface, thus constructing the fluid interface of the target proportional valve.
[0031] Step S20: Based on the fluid parameters, construct a control volume model of the target proportional valve, wherein the control volume model is used to describe the correspondence between the fluid parameters input to the target proportional valve and the output of the target proportional valve; It should be noted that the control volume model is used to describe the correspondence between the fluid parameters at the input target proportional valve and the output of the target proportional valve.
[0032] In this embodiment, a control volume model of the target proportional valve can be constructed based on the correspondence between fluid parameters in terms of mass, energy, and momentum between the input and output of the target proportional valve. Furthermore, since the correspondence between fluid parameters between the inlet and outlet of the target proportional valve changes with different opening degrees, this embodiment can obtain the proportional valve characteristic curve corresponding to the target proportional valve and the parameter input values of the fluid parameters at the fluid inlet interface of the target proportional valve. Then, based on the parameter input values and the proportional valve characteristic curve, the parameter output values corresponding to the fluid outlet interface of the target proportional valve are calculated. Therefore, a control volume model of the target proportional valve can be constructed based on the mapping relationship between the parameter input values and the parameter output values, thereby describing the correspondence between the fluid parameters input to and output of the target proportional valve.
[0033] Step S30: Based on the fluid interface and control volume model, build a proportional valve twin model corresponding to the target proportional valve for performing proportional valve simulation operations.
[0034] In this embodiment, the fluid interface can be used as a data interface for interaction between the control body model corresponding to the target proportional valve and the outside world, thereby obtaining a proportional valve twin model corresponding to the target proportional valve for performing proportional valve simulation operations. Figure 2 As shown, after inputting the corresponding opening degree of the proportional valve twin model, the fluid inlet in the fluid interface yields the parameter input value corresponding to the fluid parameters that can be input into the control volume model. Then, the control volume model calculates the parameter input value to obtain the corresponding parameter output value, which is output through the fluid outlet interface in the fluid interface. Therefore, this embodiment uses a proportional valve twin model to describe the changes in gas flow before and after passing through the target proportional valve under different control conditions, thus enabling accurate simulation of scenarios with different proportional valve characteristics.
[0035] The first embodiment of this application provides a proportional valve simulation method. This method involves determining the fluid interface of a target proportional valve and the corresponding fluid parameters. Based on these fluid parameters, a control body model of the target proportional valve is constructed. This control body model describes the correspondence between the fluid parameters input to and output of the target proportional valve. Based on the fluid interface and the control body model, a proportional valve twin model corresponding to the target proportional valve is built. Therefore, this embodiment describes the correspondence between the fluid parameters of the gas flowing through the target proportional valve and their input to and output, thus constructing a proportional valve twin model. This allows for the determination of changes in fluid parameters before and after the gas flows through the target proportional valve, achieving accurate simulation of proportional valve usage scenarios and effectively improving the product development efficiency of proportional valves in water heaters.
[0036] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 Step S20 also includes steps S21 to S23: Step S21: Obtain the proportional valve characteristic curve and the parameter input values corresponding to the fluid parameters for the target proportional valve; Step S22: Based on the parameter input values and the proportional valve characteristic curve, calculate the parameter output values of the target proportional valve; Step S23: Based on the mapping relationship between parameter input values and parameter output values, construct the control body model of the target proportional valve.
[0037] It should be noted that the proportional valve characteristic curve represents the numerical values of the fluid parameters corresponding to the target proportional valve at different opening degrees, such as valve flow rate and valve pressure drop. The proportional valve characteristic curve can be described in the form of a graph, function, mapping table, etc.
[0038] Because the relationship between the fluid parameters between the inlet and outlet of the target proportional valve changes with different opening degrees, this embodiment can obtain the proportional valve characteristic curve corresponding to the target proportional valve to the fluid parameters at different opening degrees, thus aligning with the actual operating state of the target proportional valve. The embodiment also obtains the parameter input values corresponding to the fluid parameters. These parameter input values are the parameter values input from components connected to the input side of the target proportional valve, such as the valve opening degree, fluid temperature, pressure, and flow rate. Based on these parameter input values and the proportional valve characteristic curve, the parameter output values of the target proportional valve can be calculated. For example, this embodiment can substitute the proportional valve opening degree into the proportional valve characteristic curve to obtain the valve flow rate and valve pressure drop of the gas flowing through the target proportional valve. Since the proportional valve does not store air, the valve flow rate is the inlet and outlet flow rate of the target proportional valve. Since the target proportional valve may have multiple inlets on the fluid inlet side and multiple outlets on the fluid outlet side, the inlet sub-flow rate and outlet sub-flow rate of each inlet can be determined based on the cross-sectional area of each inlet and outlet. Then, based on the mapping relationship between the parameter input values and the parameter output values, a control volume model of the target proportional valve can be constructed. Therefore, the control volume model of the target proportional valve more closely describes the relationship between fluid parameters between the fluid inlet and outlet interfaces, better reflecting the actual operating curve of the target proportional valve and effectively improving the accuracy of the control volume model.
[0039] In some embodiments, step S21 includes steps A10 to A30: Step A10: Obtain the opening characteristic data of the target proportional valve, wherein the opening characteristic data includes the valve flow rate and valve pressure drop corresponding to the interaction parameters of the target proportional valve at each opening degree; Step A20: Create the original mapping table based on the valve flow rate and valve pressure drop at each opening degree; Step A30: Interpolate the original mapping table to obtain the corresponding proportional valve characteristic curve.
[0040] It should be noted that the opening characteristic data includes the valve flow rate and valve pressure drop corresponding to the fluid parameters of the target proportional valve at each opening degree. The valve flow rate is the fluid flow rate through the target proportional valve, the proportional valve pressure ratio is the ratio between the outlet pressure and the inlet pressure of the target proportional valve, and the proportional valve power is the power output by the target proportional valve.
[0041] This embodiment can collect the valve flow rate and valve pressure drop of the target proportional valve at various opening degrees in advance to obtain the opening characteristic data of the target proportional valve. This embodiment can create an original mapping table based on the valve flow rate and valve pressure drop at each opening degree. Since the input inlet flow rate in actual scenarios has more detailed breakdowns, this embodiment can also obtain the corresponding proportional valve characteristic curve by interpolating the original mapping table. Figure 4 As shown, the interpolation process can be based on the achievable opening degree k and the corresponding pressure drop dp in the actual scenario. After substituting the achievable opening degree k and the corresponding pressure drop dp into the original mapping table, the opening characteristic data adjacent to the achievable opening degree k and the corresponding pressure drop dp are obtained. The valve flow rate mflow in the adjacent opening characteristic data is linearly interpolated to obtain the interpolation result, that is, the valve flow rate mflow corresponding to the achievable opening degree k. The interpolation result is added to the original mapping table to obtain the proportional valve characteristic curve. Thus, this embodiment realizes the construction of the proportional valve characteristic curve of the target proportional valve.
[0042] In some embodiments, step S22 includes steps B10 to B40: Step B10: Query the proportional valve characteristic curve based on the valve opening value in the parameter input value to obtain the valve flow rate and valve pressure drop, and determine the inlet flow rate and outlet flow rate based on the valve flow rate; Step B20: Calculate the total enthalpy at the outlet based on the total inlet enthalpy, inlet flow rate, and outlet flow rate from the parameter input values; Step B30: Calculate the outlet pressure based on the inlet pressure and valve pressure drop in the parameter input values; Step B40 outputs the outlet flow rate, total outlet enthalpy, and outlet pressure as parameters.
[0043] In this embodiment, the valve opening value from the parameter input can be substituted into the proportional valve characteristic curve to obtain the valve flow rate and valve pressure drop corresponding to the valve opening. Based on the valve flow rate, the inlet and outlet flow rates are determined. It is understood that since the proportional valve does not store fuel gas, according to the law of conservation of mass, the sum of the inlet and outlet flow rates of the target proportional valve is zero. When there are multiple outlets on the fluid outlet side of the target proportional valve, the outlet sub-flow rate of each outlet can be determined based on the cross-sectional area of each outlet. The outlet sub-flow rate is positively correlated with the cross-sectional area of the outlet, and the sum of the outlet sub-flow rates is the outlet flow rate. When there are multiple inlets on the fluid inlet side of the target proportional valve, the inlet sub-flow rate of each inlet can be determined based on the cross-sectional area of each inlet. The inlet sub-flow rate is positively correlated with the cross-sectional area of the inlet, and the sum of the inlet sub-flow rates is the inlet flow rate.
[0044] Therefore, this embodiment can follow the law of conservation of energy and calculate the total outlet enthalpy based on the inlet total enthalpy, the inlet flow rate, and the outlet flow rate in the parameter input values. For example, the sum of the product of the inlet total enthalpy and the inlet flow rate and the product of the outlet total enthalpy and the outlet flow rate is zero. Since the valve pressure drop at the valve opening in the proportional valve characteristic curve describes the pressure loss caused by the local resistance of the valve when the fluid flows through it, this embodiment can calculate the outlet pressure based on the inlet pressure and the valve pressure drop in the parameter input values. The outlet pressure is the difference between the inlet pressure and the valve pressure drop. Furthermore, this embodiment can use the outlet flow rate, the outlet total enthalpy, and the outlet pressure as the parameter output values. Thus, this embodiment constructs the corresponding relationship between the parameter input values and the proportional valve characteristic curve to establish the parameter output values that the fluid outlet of the target proportional valve needs to output. This embodiment establishes a correspondence between input values of parameters such as valve opening, inlet total enthalpy, and inlet pressure, and output values of parameters such as outlet flow rate, outlet total enthalpy, and outlet pressure, which facilitates more precise simulation of the target proportional valve.
[0045] In the second embodiment of this application, the proportional valve characteristic curve corresponding to the target proportional valve and the parameter input values corresponding to the fluid parameters are obtained; based on the parameter input values and the proportional valve characteristic curve, the parameter output values of the target proportional valve are calculated; and based on the mapping relationship between the parameter input values and the parameter output values, a control volume model of the target proportional valve is constructed. Therefore, in this embodiment, the control volume model more closely describes the relationship between fluid parameters between the fluid inlet and outlet, matching the actual operating curve of the target proportional valve, effectively improving the accuracy of the control volume model.
[0046] Based on the first embodiment of this application, in the third embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 5 The proportional valve simulation method described after S30 further includes steps C10 to C20: Step C10: Obtain target scene information, including the connection relationship between the target proportional valve and the water heater components; Step C20: Based on the connection relationship, connect the proportional valve twin model with the component twin model of the water heater component to achieve simulation of the target scenario.
[0047] It should be noted that the water heater components are the parts that are expected to be connected to the target proportional valve in the target scenario, such as gas pipes, burners, etc.
[0048] like Figure 6As shown, in the proportional valve twin model, the fluid inlet of the fluid interface is connected to the environment P via a gas pipeline, while the fluid outlet of the fluid interface is connected to another gas pipeline and then to the environment P. It can be understood that the actuator of the target proportional valve (i.e., the mechanism for operating the valve disc movement) can be connected to a controller for electric control or manual control. The controller connected to the actuator queries the proportional valve characteristic curve based on the opening degree N to obtain the corresponding valve flow rate and valve pressure drop. This embodiment can achieve simulation of the target scene by acquiring target scene information, including the connection relationship between the target proportional valve and the water heater component; based on the connection relationship, the proportional valve twin model is connected to the component twin model of the water heater component. Since the proportional valve twin model in this embodiment does not perform the modeling of the entire device as in traditional twin models, but rather independently models a single component within the overall device, the connection of the water heater component required by the proportional valve twin model can be adjusted according to specific needs, thus making it applicable to more different simulation scenarios and more widely applicable.
[0049] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the proportional valve simulation method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0050] This application also provides a proportional valve simulation device; please refer to... Figure 7 The proportional valve simulation device includes: The determination module 10 is used to determine the fluid interface of the target proportional valve and the fluid parameters corresponding to the fluid interface; Construction module 20 is used to construct a control body model of the target proportional valve based on the fluid parameters, wherein the control body model is used to describe the correspondence between the fluid parameters input to the target proportional valve and the output of the target proportional valve; The module 30 is used to build a proportional valve twin model corresponding to the target proportional valve based on the fluid interface and the control body model, and to perform proportional valve simulation operations.
[0051] In some embodiments, the determining module 10 is further configured to: Obtain interaction scenario information between the target proportional valve and the outside world; Based on the interaction scenario information, the data interface corresponding to the inlet parameter of the target proportional valve into which the gas flows is selected as the fluid inlet interface, and the data interface corresponding to the inlet parameter of the target proportional valve into which the gas flows out is selected as the fluid outlet interface. The fluid inlet interface and the fluid outlet interface are used as fluid interfaces.
[0052] In some embodiments, the construction module 20 is further configured to: Obtain the proportional valve characteristic curve corresponding to the target proportional valve and the parameter input values corresponding to the fluid parameters; Based on the parameter input values and the proportional valve characteristic curve, the parameter output values of the target proportional valve are calculated. Based on the mapping relationship between the parameter input values and the parameter output values, a control body model of the target proportional valve is constructed.
[0053] In some embodiments, the construction module 20 is further configured to: Obtain the opening characteristic data of the target proportional valve, wherein the opening characteristic data includes the valve flow rate and valve pressure drop corresponding to the fluid parameters of the target proportional valve at each opening degree; Create an original mapping table based on the valve flow rate and valve pressure drop at each of the described opening degrees; The original mapping table is interpolated to obtain the corresponding proportional valve characteristic curve.
[0054] In some embodiments, the construction module 20 is further configured to: Based on the valve opening value in the parameter input value, the proportional valve characteristic curve is queried to obtain the valve flow rate and valve pressure drop, and the inlet flow rate and outlet flow rate are determined based on the valve flow rate; The total enthalpy at the outlet is calculated based on the total inlet enthalpy, the inlet flow rate, and the outlet flow rate in the parameter input values. The outlet pressure is calculated based on the inlet pressure and valve pressure drop in the parameter input values. The outlet flow rate, the outlet total enthalpy, and the outlet pressure are output as the parameters. In some embodiments, the proportional valve simulation device further includes a simulation module for: Obtain target scene information, wherein the target scene information includes the connection relationship between the target proportional valve and the water heater components; Based on the connection relationship, the proportional valve twin model is connected to the component twin model of the water heater component to achieve simulation of the target scenario.
[0055] The proportional valve simulation device provided in this application, employing the proportional valve simulation method described in the above embodiments, can solve the technical problem of low product development efficiency for proportional valves in existing water heaters. Compared with the prior art, the beneficial effects of the proportional valve simulation device provided in this application are the same as those of the proportional valve simulation method described in the above embodiments, and other technical features in the proportional valve simulation device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0056] This application provides a proportional valve simulation device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the proportional valve simulation method in Embodiment 1 above.
[0057] The following is for reference. Figure 8 The diagram illustrates a structural schematic of a proportional valve simulation device suitable for implementing embodiments of this application. The proportional valve simulation device in the embodiments of this application may include, but is not limited to, terminal devices such as laptops, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), desktop computers, and servers. Figure 8 The proportional valve simulation device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0058] like Figure 8 As shown, the proportional valve simulation device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the proportional valve simulation device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007, such as touchscreens, touchpads, keyboards, mice, and image sensors; output devices 1008, such as liquid crystal displays (LCDs), speakers, and vibrators; storage devices 1003, such as magnetic tapes and hard disks; and communication devices 1009. Communication device 1009 allows the proportional valve simulation device to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows a proportional valve simulation device with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0059] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0060] The proportional valve simulation device provided in this application, employing the proportional valve simulation method described in the above embodiments, can solve the technical problem of low product development efficiency for proportional valves in existing water heaters. Compared with the prior art, the beneficial effects of the proportional valve simulation device provided in this application are the same as those of the proportional valve simulation method described in the above embodiments, and other technical features of this proportional valve simulation device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0061] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0062] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0063] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the proportional valve simulation method in the above embodiments.
[0064] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having 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 fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0065] The aforementioned computer-readable storage medium may be included in the proportional valve simulation device; or it may exist independently and not assembled into the proportional valve simulation device.
[0066] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the proportional valve simulation device, the proportional valve simulation device causes the following: the fluid interface of the target proportional valve and the fluid parameters corresponding to the fluid interface; the control body model of the target proportional valve based on the fluid parameters, wherein the control body model is used to describe the correspondence between the fluid parameters input to the target proportional valve and the output of the target proportional valve; and the proportional valve twin model corresponding to the target proportional valve is built based on the fluid interface and the control body model.
[0067] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming 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).
[0068] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0069] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0070] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-described proportional valve simulation method, thereby solving the technical problem of low product development efficiency of proportional valves in existing water heaters. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the proportional valve simulation method provided in the above embodiments, and will not be repeated here.
[0071] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the proportional valve simulation method described above.
[0072] The computer program product provided in this application can solve the technical problem of low product development efficiency of proportional valves in existing water heaters. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the proportional valve simulation method provided in the above embodiments, and will not be repeated here.
[0073] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A proportional valve simulation method, characterized in that, The proportional valve simulation method includes: Determine the fluid interface of the target proportional valve, and the fluid parameters corresponding to the fluid interface; Based on the fluid parameters, a control volume model of the target proportional valve is constructed, wherein the control volume model is used to describe the correspondence between the fluid parameters input to the target proportional valve and the output of the target proportional valve; Based on the fluid interface and the control body model, a proportional valve twin model corresponding to the target proportional valve is built for performing proportional valve simulation operations.
2. The proportional valve simulation method as described in claim 1, characterized in that, The step of determining the fluid interface of the target proportional valve includes: Obtain interaction scenario information between the target proportional valve and the outside world; Based on the interaction scenario information, the data interface corresponding to the inlet parameter of the target proportional valve into which the gas flows is selected as the fluid inlet interface, and the data interface corresponding to the inlet parameter of the target proportional valve into which the gas flows out is selected as the fluid outlet interface. The fluid inlet interface and the fluid outlet interface are used as fluid interfaces.
3. The proportional valve simulation method as described in claim 1, characterized in that, The step of constructing the control volume model of the target proportional valve based on the fluid parameters includes: Obtain the proportional valve characteristic curve corresponding to the target proportional valve and the parameter input values corresponding to the fluid parameters; Based on the parameter input values and the proportional valve characteristic curve, the parameter output values of the target proportional valve are calculated. Based on the mapping relationship between the parameter input values and the parameter output values, a control body model of the target proportional valve is constructed.
4. The proportional valve simulation method as described in claim 3, characterized in that, The step of obtaining the proportional valve characteristic curve corresponding to the fluid parameters includes: Obtain the opening characteristic data of the target proportional valve, wherein the opening characteristic data includes the valve flow rate and valve pressure drop corresponding to the fluid parameters of the target proportional valve at each opening degree; Create an original mapping table based on the valve flow rate and valve pressure drop at each of the described opening degrees; The original mapping table is interpolated to obtain the corresponding proportional valve characteristic curve.
5. The proportional valve simulation method as described in claim 3, characterized in that, The step of calculating the parameter output value of the target proportional valve based on the parameter input value and the proportional valve characteristic curve includes: Based on the valve opening value in the parameter input value, the proportional valve characteristic curve is queried to obtain the valve flow rate and valve pressure drop, and the inlet flow rate and outlet flow rate are determined based on the valve flow rate; The total enthalpy at the outlet is calculated based on the total inlet enthalpy, the inlet flow rate, and the outlet flow rate in the parameter input values. The outlet pressure is calculated based on the inlet pressure and valve pressure drop in the parameter input values. The outlet flow rate, the outlet total enthalpy, and the outlet pressure are output as the parameters.
6. The proportional valve simulation method according to any one of claims 1 to 5, characterized in that, After the step of building a proportional valve twin model corresponding to the target proportional valve based on the fluid interface and the control volume model, the proportional valve simulation method further includes: Obtain target scene information, wherein the target scene information includes the connection relationship between the target proportional valve and the water heater components; Based on the connection relationship, the proportional valve twin model is connected to the component twin model of the water heater component to achieve simulation of the target scenario.
7. A proportional valve simulation device, characterized in that, The proportional valve simulation device includes: The determination module is used to determine the fluid interface of the target proportional valve and the fluid parameters corresponding to the fluid interface; A construction module is used to construct a control body model of the target proportional valve based on the fluid parameters, wherein the control body model is used to describe the correspondence between the fluid parameters input to the target proportional valve and the output of the target proportional valve; A module is used to build a proportional valve twin model corresponding to the target proportional valve based on the fluid interface and the control body model.
8. A proportional valve simulation device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the proportional valve simulation method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the proportional valve simulation method as described in any one of claims 1 to 6.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the proportional valve simulation method as described in any one of claims 1 to 6.