Water flow metering method and water flow metering system
By constructing a water flow model and using temperature and humidity sensors and water quality sensors to collect data in real time, and combining it with a deep learning model to calculate water flow, the problem of inaccurate water consumption calculation due to the fact that the water and electricity conversion factor does not conform to the actual situation in the existing technology is solved, and high-precision water flow measurement is achieved.
Patent Information
- Application Number
- CN202510180945.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-19
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2045-02-19
AI Technical Summary
Existing methods for measuring water consumption by converting electricity to water have problems with inaccurate water consumption calculations when the predicted electricity-water conversion factor does not match the actual complex situation.
By constructing a water flow model, real-time environmental data is collected using temperature and humidity sensors and water quality sensors. A deep learning model is then trained to obtain a real-time electricity-to-water conversion coefficient. Water flow is calculated using electricity meter data, and multiple time period divisions are employed to improve calculation accuracy.
It achieves accuracy and efficiency in water flow calculation under complex environments, reduces calculation difficulty and errors, and improves the accuracy of water consumption records.
Smart Images

Figure CN119915355B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of water resource metering, and particularly relates to a water flow metering method and a water flow metering system. BACKGROUND
[0002] In order to record the water consumption, the water pump flow is generally calculated and recorded to obtain the specific water consumption. Since the traditional mechanical water pump is easily affected by various factors to cause measurement error and result in inaccurate water consumption calculation, the water pump flow is now more widely calculated by means of electricity-to-water conversion, that is, the water consumption is converted by measuring the electricity consumption.
[0003] However, the existing method of measuring water consumption or water flow by means of electricity-to-water conversion has the following problems: only the electricity consumption data of the water pump is collected, and the electricity consumption data is weighted by means of the artificially predicted water-to-electricity conversion coefficient to calculate the water consumption. The problem of this method is that the water consumption calculated by weighting the electricity consumption is only accurate when the actual situation conforms to the predicted water-to-electricity conversion coefficient. However, the actual situation is more complex than the predicted situation. For example, the environment such as rainy day, low temperature, high temperature, or different water quality in different regions will cause different water pump flow under the same electricity consumption, or different water pump electricity consumption in the same time, thereby resulting in a large error of the water consumption calculated by weighting the electricity consumption, and finally causing the problem of inaccurate water consumption calculation.
[0004] At present, there is no effective solution to the problem of inaccurate water consumption calculation when the predicted water-to-electricity conversion coefficient does not conform to the actual complex situation in the existing method of measuring water consumption by means of electricity-to-water conversion. SUMMARY
[0005] The present application provides a water flow metering method and a water flow metering system to solve the problem of inaccurate water consumption calculation when the predicted water-to-electricity conversion coefficient does not conform to the actual complex situation in the existing method of measuring water consumption by means of electricity-to-water conversion.
[0006] In a first aspect, the present application provides a water flow model training method, comprising obtaining a plurality of pre-constructed sample data sets, each sample data set comprising sample temperature data, sample humidity data, sample water quality data, and sample labels; training a deep learning model using the plurality of sample temperature data, sample humidity data, sample water quality data, and corresponding sample labels to obtain a water flow model; wherein the sample data set construction step comprises: building a water flow test channel, installing a target water pump in the water flow test channel, and installing a temperature and humidity sensor and a water quality sensor on the target water pump; providing water with a target flow rate to the water flow test channel, and obtaining sample temperature data, sample humidity data, and sample water quality data through the temperature and humidity sensor and the water quality sensor, respectively; obtaining the power consumption of the target water pump through an electric meter, and obtaining sample labels based on the power consumption of the target water pump and the target flow rate of the water, and the sample temperature data, sample humidity data, and sample water quality data and the sample labels constitute a sample data set.
[0007] In a second aspect, the present application provides a water flow metering method, comprising the following steps: obtaining temperature data, humidity data, and water quality data in a target time period through a temperature and humidity sensor and a water quality sensor as input data of a water flow model; obtaining an electric-to-water conversion coefficient in the target time period through the water flow model; obtaining electric meter data of a target water pump in the target time period, and obtaining water flow data in the target time period based on the electric meter data of the target water pump and the electric-to-water conversion coefficient.
[0008] Furthermore, the target time period comprises a plurality of consecutive sub-time periods, the temperature data in the target time period comprises average temperature in the plurality of sub-time periods, the humidity data in the target time period comprises average humidity in the plurality of sub-time periods, the water quality data in the target time period comprises average water quality in the plurality of sub-time periods, the electric-to-water conversion coefficient in the target time period comprises average electric-to-water conversion coefficient in the plurality of sub-time periods in the target time period, and the electric meter data of the target water pump in the target time period comprises average power consumption of the target water pump in the plurality of sub-time periods in the target time period.
[0009] The water flow data in the target time period obtained based on the electric meter data of the target water pump and the electric-to-water conversion coefficient comprises: substituting the average power consumption of the target water pump in the plurality of sub-time periods in the target time period and the average electric-to-water conversion coefficient into an electric-to-water conversion formula to obtain water flow in the plurality of sub-time periods in the target time period.
[0010] Further, the temperature data in the target time period includes average temperature in the target time period; the humidity data in the target time period includes average humidity in the target time period; the water quality data in the target time period includes average water quality in the target time period; the electrical-to-water conversion factor in the target time period includes average electrical-to-water conversion factor in the target time period; and the electric meter data of the target water pump in the target time period includes average power consumption of the target water pump in the target time period.
[0011] The water flow data in the target time period is obtained in combination with the electric meter data of the target water pump and the electrical-to-water conversion factor, and includes: substituting the average power consumption of the target water pump in the target time period and the average electrical-to-water conversion factor into the electrical-to-water conversion formula to obtain the water flow in the target time period.
[0012] Further, the temperature data in the target time period includes instantaneous temperature at each time in the target time period; the humidity data in the target time period includes instantaneous humidity at each time in the target time period; the water quality data in the target time period includes instantaneous water quality at each time in the target time period; the electrical-to-water conversion factor in the target time period includes instantaneous electrical-to-water conversion factor at each time in the target time period; the electric meter data of the target water pump in the target time period includes instantaneous power of the target water pump at each time in the target time period; and the water flow data in the target time period includes instantaneous water flow rate at each time in the target time period.
[0013] The water flow data in the target time period is obtained in combination with the electric meter data of the target water pump and the electrical-to-water conversion factor, and includes: obtaining instantaneous water flow rate at each time in the target time period according to the instantaneous electrical-to-water conversion factor and the instantaneous power of the target water pump at each time in the target time period, respectively; and integrating the instantaneous water flow rate at each time in the target time period to obtain the water flow in the target time period.
[0014] Further, the electrical-to-water conversion formula is:
[0015] WD = CD × Ed
[0016] wherein CD is a water-to-electricity conversion factor, with a unit of cubic meters per kilowatt-hour (m 3 / kWh), WD is water output in a certain period, with a unit of cubic meters (m 3 ), and Ed is electricity consumption in a certain period, with a unit of kilowatt-hour (kWh).
[0017] In a third aspect, the application provides a water flow metering system, which comprises a water pump, a temperature and humidity sensor, a water quality sensor, an electric meter and a server. The temperature and humidity sensor is installed on the water pump and used to detect the temperature and humidity of the environment around the water pump. The water quality sensor is installed on the water pump and used to detect the water quality of the environment around the water pump. The electric meter is used to detect the power consumption of the water pump. The server carries a water flow model and is used to obtain the data of the temperature and humidity sensor, the water quality sensor and the electric meter and input the data into the water flow model to obtain the electricity-to-water conversion coefficient, and is used to substitute the electricity-to-water conversion coefficient and the power consumption read by the electric meter into the electricity-to-water conversion formula to obtain the predicted water flow.
[0018] Furthermore, the water flow metering system further comprises a data terminal, which is electrically connected to the server and used to input instructions for obtaining sample data and sample labels to the server.
[0019] Compared with the related art, the application has the following beneficial effects:
[0020] 1. The temperature and humidity sensor and the water quality sensor are used to collect the environmental information around the water pump in real time as the input of the water flow model. By inputting the temperature data, humidity data and water quality data into the water flow model, the water flow model outputs the real-time electricity-to-water conversion coefficient, so that the optimal electricity-to-water conversion coefficient can be obtained according to the changes of the complex actual environment in real time, and the predicted more accurate water flow data can be obtained by substituting the power consumption in this period of time and the optimal electricity-to-water conversion coefficient into the water flow calculation formula.
[0021] 2. The plurality of continuous sub-time periods can be understood as sub-time periods with the same length of time or sub-time periods with different lengths of time. The purpose of the target time period comprising a plurality of continuous sub-time periods is that the server can collect multiple data at a time and process them synchronously, and finally output multiple data at the same time, which is beneficial to improve the efficiency of data processing.
[0022] 3. The average temperature in the target time period can be understood as that the temperature value is always a constant that does not change in a certain time period. If the time period for calculating the water flow can be divided into a small number of intervals with uniform data, the final water flow data obtained is simply the sum of the interval water flows, which is beneficial to reduce the calculation difficulty.
[0023] 4. The instantaneous temperature at each time in the target time period can be understood as splitting the target time period into several time units, each time unit corresponding to an instantaneous temperature, and when calculating the water flow under complex conditions, since the temperature and humidity data and water quality data are always in a state of change, it is difficult to accurately calculate the water flow in the way of average value in the time period, at this time, the principle of calculus can be used, the water flow model converts the sample data in each time unit into the corresponding instantaneous electrical water conversion coefficient, the instantaneous water flow rate is obtained through the instantaneous electrical water conversion coefficient and the power consumption rate of each time unit, and the instantaneous water flow rate is integrated on the time axis, so that more accurate water flow can be obtained, which is more conducive to accurately calculating the water flow data under complex conditions.
[0024] 5. According to the changes of different temperature and humidity data and water quality data in different target time periods, one of the three ways can be selected as needed to calculate the water flow, and the combination of the three ways can make the flow calculation process faster and the data more accurate.
[0025] The details of one or more embodiments of the present application are presented in the following drawings and description to make other features, objects and advantages of the present application more clear and easy to understand. BRIEF DESCRIPTION OF DRAWINGS
[0026] Figure 1 is a flow chart of the water flow model training method in the embodiment;
[0027] Figure 2 is a flow chart of the construction step of the sample data set in the embodiment;
[0028] Figure 3 is a flow chart of the water flow metering method in the embodiment. DETAILED DESCRIPTION
[0029] In order to more clearly understand the purposes, technical solutions and advantages of the present application, the present application is described and explained below in combination with the drawings and embodiments.
[0030] Unless otherwise defined, technical terms and scientific terms used in the present application shall have the same meaning as those commonly understood by a person of ordinary skill in the art to which the present application belongs. The terms "one", "a", "an", "the", "these", and similar terms in the present application do not indicate quantity, and they can be singular or plural. The terms "include", "contain", "have", and any variants thereof in the present application are intended to cover non-exclusive inclusion; for example, a process, method, and system, product or device containing a series of steps or modules (units) are not limited to the listed steps or modules (units), but can include steps or modules (units) not listed, or can include other steps or modules (units) inherent to the process, method, product or device. The terms "connect", "connect", "couple" and similar terms in the present application are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The term "multiple" in the present application refers to two or more. The term "and / or" describes the association between the associated objects, which means that there can be three relationships, for example, "A and / or B" can mean that A exists alone, A and B exist together, and B exists alone. In general, the character " / " represents an "or" relationship between the objects before and after. The terms "first", "second", "third" and the like in the present application are only used to distinguish similar objects, and do not represent a specific order of the objects.
[0031] The present embodiment provides a water flow metering method and a water flow metering system, which aims to provide a water flow metering method that can more accurately calculate the water flow of a water pump in a certain period of time by converting electricity into water, so as to realize accurate water flow calculation by changing the electricity-to-water conversion coefficient according to the environment when encountering actual complex situations. The present embodiment comprises a water flow metering method and a water flow metering system. Since the water flow metering method involves a special deep learning model, i.e. a water flow model, the present embodiment also provides a water flow model training method.
[0032] Please refer to Figure 1 In the present embodiment, a water flow model training method is provided, comprising steps S100 and S200.
[0033] S100, obtaining a plurality of pre-constructed sample data sets, each sample data set comprising sample temperature data, sample humidity data, sample water quality data and sample labels.
[0034] S200, training the deep learning model by using the plurality of sample temperature data, sample humidity data, sample water quality data and their corresponding sample labels to obtain a water flow model.
[0035] Each sample data set can be used to train a deep learning model, and after constructing multiple sample data sets, some of them can be taken as the training set and the others as the test set.
[0036] Among them, please refer to Figure 2 The construction steps of the sample data set include steps S110, S120, S130 and S140.
[0037] S110, a water flow test channel is built, and a target water pump is installed in the water flow test channel, and a temperature and humidity sensor and a water quality sensor are installed on the target water pump.
[0038] S120, water with a target flow is provided to the water flow test channel, and sample temperature data, sample humidity data and sample water quality data are obtained through the temperature and humidity sensor and the water quality sensor respectively.
[0039] S130, the power consumption of the target water pump is obtained through the electric meter, and the sample label is obtained according to the power consumption of the target water pump and the target flow of water.
[0040] S140, the sample temperature data, sample humidity data and sample water quality data and the sample label constitute a sample data set.
[0041] It can be understood that, under the condition that the target water pump is at a certain power, the sample temperature data, sample humidity data and sample water quality data obtained through the temperature and humidity sensor and the water quality sensor at this time are in a mapping relationship with the sample label. The sample temperature data, sample humidity data and sample water quality data and the sample label constitute a sample data set, which can be used to train a deep learning model, and the deep learning model can be iterated through a cross-entropy loss function. When the change of the cross-entropy loss function tends to be stable or after a certain number of iterations (such as 30 times), the water flow model can be obtained. The process of iteration of the model belongs to mature prior art, and therefore will not be described in detail.
[0042] In step S130, the sample label is obtained according to the power consumption of the target water pump and the target flow of water. It can be explained that: the power consumption of the target water pump and the target flow of water are substituted into the electricity-to-water conversion coefficient formula to obtain the target electricity-to-water conversion coefficient, which is taken as the sample label. The target flow is the actual water flow through the target water pump.
[0043] The electricity-to-water conversion coefficient formula is:
[0044] CD=WD / Ed
[0045] Wherein, CD is the water-to-electricity conversion coefficient, the unit is cubic meters per kilowatt hour (m 3 / kWh), WD is the water output in a certain period, the unit is cubic meters (m3 ), Ed is the electricity consumption in a certain period, unit is kilowatt-hour (kWh).
[0046] Please refer to Figure 3 In the embodiment, a water flow metering method is also provided, comprising steps S300, S310 and S320.
[0047] S300, acquiring temperature data, humidity data and water quality data in a target time period through a temperature and humidity sensor and a water quality sensor as input data of a water flow model.
[0048] S310, obtaining an electricity-to-water conversion coefficient in the target time period through the water flow model.
[0049] S320, acquiring electricity meter data of a target water pump in the target time period, and obtaining water flow data in the target time period in combination with the electricity meter data of the target water pump and the electricity-to-water conversion coefficient.
[0050] In the above steps, the purpose of step S300 is to collect environmental information around the water pump in real time through the temperature and humidity sensor and the water quality sensor as the input of the water flow model. The purpose of step S310 is to input the temperature data, humidity data and water quality data into the water flow model, and the water flow model outputs a real-time electricity-to-water conversion coefficient, so that the best electricity-to-water conversion coefficient can be obtained in real time according to the change of the complex actual environment. The water flow data predicted more accurately can be obtained by substituting the electricity consumption in this period and the best electricity-to-water conversion coefficient into the water flow calculation formula.
[0051] Different beneficial effects can be brought about due to different division methods of the target time period. Three division methods are introduced as follows.
[0052] In the embodiment, the target time period comprises a plurality of continuous sub-time periods, the temperature data in the target time period comprises average temperatures in the plurality of sub-time periods. The humidity data in the target time period comprises average humidities in the plurality of sub-time periods. The water quality data in the target time period comprises average water qualities in the plurality of sub-time periods. The electricity-to-water conversion coefficient in the target time period comprises average electricity-to-water conversion coefficients in the plurality of sub-time periods in the target time period. The electricity meter data of the target water pump in the target time period comprises average electricity consumptions of the target water pump in the plurality of sub-time periods in the target time period.
[0053] This method can be understood in combination with step S320 as follows: obtaining the water flow data in the target time period in combination with the electricity meter data of the target water pump and the electricity-to-water conversion coefficient comprises substituting the average electricity consumptions of the target water pump in the plurality of sub-time periods in the target time period and the average electricity-to-water conversion coefficients into the electricity-to-water conversion formula to obtain the water flow in the plurality of sub-time periods in the target time period.
[0054] The plurality of continuous sub-time periods can be understood as sub-time periods with the same time length or different time lengths. The target time period includes the plurality of continuous sub-time periods, so that the server can collect and synchronously process multiple data at one time, and finally output the multiple data at the same time, thereby improving the efficiency of data processing.
[0055] In some other embodiments, the temperature data in the target time period includes average temperature in the target time period, the humidity data in the target time period includes average humidity in the target time period, the water quality data in the target time period includes average water quality in the target time period, the electrical-to-water conversion coefficient in the target time period includes average electrical-to-water conversion coefficient in the target time period, and the electric meter data of the target water pump in the target time period includes average power consumption of the target water pump in the target time period.
[0056] In step S320, the water flow data in the target time period is obtained by combining the electric meter data of the target water pump and the electrical-to-water conversion coefficient, including: substituting the average power consumption of the target water pump in the target time period and the average electrical-to-water conversion coefficient into the electrical-to-water conversion formula to obtain the water flow in the target time period.
[0057] The average temperature in the target time period can be understood as a constant that does not change in a certain time period. If the time period for calculating the water flow is divided into a small number of uniform data intervals, the final water flow data is simply the sum of the interval water flow, which is beneficial to reduce the calculation difficulty.
[0058] In some other embodiments, the temperature data in the target time period includes instantaneous temperature at each time in the target time period, the humidity data in the target time period includes instantaneous humidity at each time in the target time period, the water quality data in the target time period includes instantaneous water quality at each time in the target time period, the electrical-to-water conversion coefficient in the target time period includes instantaneous electrical-to-water conversion coefficient at each time in the target time period, the electric meter data of the target water pump in the target time period includes instantaneous power of the target water pump at each time in the target time period, and the water flow data in the target time period includes instantaneous water flow rate at each time in the target time period.
[0059] In step S320, the water flow data in the target time period is obtained by combining the electric meter data of the target water pump and the electrical-to-water conversion coefficient, including: respectively according to the instantaneous electrical-to-water conversion coefficient and the instantaneous power of the target water pump at each time in the target time period, obtaining the instantaneous water flow rate at each time in the target time period; and integrating the instantaneous water flow rate at each time in the target time period to obtain the water flow in the target time period.
[0060] The instantaneous temperature at each time in the target time period can be understood as splitting the target time period into several time units, each time unit corresponding to an instantaneous temperature. When calculating the water flow in complex situations, since the temperature and humidity data and water quality data are always in a state of change, it is difficult to accurately calculate the water flow in the manner of average value in the time period. At this time, the principle of calculus can be used. The water flow model converts the sample data in each time unit into the corresponding instantaneous water-electricity conversion coefficient. The instantaneous water flow rate is obtained by the instantaneous water-electricity conversion coefficient and the power consumption rate of each time unit. The instantaneous water flow rate is integrated on the time axis. In this way, a more accurate water flow can be obtained, which is more conducive to accurately calculating the water flow data in complex situations.
[0061] Further, the water-electricity conversion formula is:
[0062] WD = CD x Ed
[0063] Wherein, CD is the water-electricity conversion coefficient, the unit is cubic meters per kilowatt hour (m 3 / kWh), WD is the water output in a certain period, the unit is cubic meters (m 3 ), and Ed is the electricity consumption in a certain period, the unit is kilowatt hour (kWh).
[0064] In general, the three ways of specifying the target time period provide an effect of increasing the strategic water flow measurement method. According to the changes of different temperature and humidity data and water quality data in different target time periods, one of the three ways can be selected for water flow calculation as needed. The combination of the three ways can make the flow calculation process faster and the data more accurate.
[0065] In addition, the water flow metering system in the embodiment further comprises a water pump, a temperature and humidity sensor, a water quality sensor, an electric meter and a server. The temperature and humidity sensor is installed on the water pump and used to detect the temperature and humidity of the environment around the water pump. The water quality sensor is installed on the water pump and used to detect the water quality of the environment around the water pump. The electric meter is used to detect the power consumption of the water pump. The server carries a water flow model and is used to obtain the data of the temperature and humidity sensor, the water quality sensor and the electric meter and input the data into the water flow model to obtain the electricity-to-water conversion coefficient, and is used to substitute the electricity-to-water conversion coefficient and the power consumption read by the electric meter into the electricity-to-water conversion formula to obtain the predicted water flow. In order to implement the water flow model and the water flow metering method described above, the water flow metering system comprises the water pump, the temperature and humidity sensor, the water quality sensor, the electric meter and the server structure. In the training process of the water flow model, the server receives the instruction of the operator to input the sample data (temperature and humidity, water quality) and the sample label into the deep learning model, and obtains the water flow model after iteration of the deep learning model, wherein the sample data is obtained by the server controlling the temperature and humidity sensor and the water quality sensor. In the process of using the water flow model, the server automatically obtains the temperature data, humidity data and water quality data of the temperature and humidity sensor and the water quality sensor and inputs the data into the water flow model, and the water flow model obtains the current electricity-to-water conversion coefficient according to the input temperature data, humidity data and water quality data. After the server obtains the electricity-to-water conversion coefficient, the server reads the power consumption of the water pump through the electric meter, and calculates the current water flow by combining the electricity-to-water conversion coefficient and the power consumption. The whole operation process is intelligent, which greatly reduces the manual intensity and effectively improves the water flow calculation accuracy.
[0066] Further, the water flow metering system further comprises a data terminal electrically connected with the server and used to input the instruction of obtaining the sample data and the sample label into the server. The data terminal can facilitate the interaction between the operator and the server, for example, the data terminal has the function of human-computer language conversion (such as the conversion of SQL statement and natural language in the prior art), thereby improving the applicability of the system and reducing the operation threshold.
[0067] It should be understood that the specific embodiments described herein are only used to explain the application, but not to limit it. According to the embodiments provided in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor are within the scope of protection of the present application.
[0068] It is apparent that the drawings depict only some of the embodiments or examples of the application and are therefore not to be considered limiting of the scope of the application, for the application can be applied to other similar situations. Moreover, it is to be understood that unless otherwise specifically stated herein, the application can be practiced with other systems, components, materials and the like without resorting to creativity.
Claims
1. A method for measuring water flow rate, characterized in that, include: Temperature, humidity, and water quality data for the target time period are obtained by temperature and humidity sensors and water quality sensors, respectively, and used as input data for the water flow model. The water flow model is obtained through a water flow model training method. This method includes: acquiring multiple pre-constructed sample data sets, each set containing sample temperature data, sample humidity data, sample water quality data, and sample labels; training a deep learning model using these sample temperature data, sample humidity data, sample water quality data, and their corresponding sample labels to obtain the water flow model; and constructing the sample data sets by: building a water flow test channel, installing a target water pump in the channel, and installing temperature and humidity sensors and a water quality sensor on the pump; supplying water at the target flow rate to the test channel, and acquiring sample temperature data, sample humidity data, and sample water quality data through the temperature and humidity sensors and the water quality sensor, respectively; acquiring the power consumption of the target water pump through an electricity meter; obtaining sample labels based on the power consumption of the target water pump and the target water flow rate; and combining the sample temperature data, sample humidity data, sample water quality data, and sample labels to form a sample data set. The electricity-to-water conversion factor for the target time period is obtained using a water flow model. Obtain the electricity meter data of the target water pump within the target time period, and combine the electricity meter data of the target water pump with the electricity-to-water conversion factor to obtain the water flow data within the target time period.
2. The water flow measurement method according to claim 1, characterized in that, The target time period includes multiple consecutive sub-time periods, and the temperature data within the target time period includes the average temperature of the multiple sub-time periods. Humidity data for the target time period includes average humidity over multiple sub-time periods; Water quality data for the target time period includes average water quality over multiple sub-time periods; The electricity-to-water conversion factor for the target time period includes the average electricity-to-water conversion factor for multiple sub-time periods within the target time period. The electricity meter data of the target water pump within the target time period includes the average power consumption of the target water pump in multiple sub-time periods within the target time period; Combining the electricity meter data of the target water pump with the water flow data obtained using the electricity-to-water conversion factor within the target time period includes: Substituting the average power consumption and average electricity-to-water conversion factor of the target water pump into the electricity-to-water conversion formula, the water flow rate of the target water pump in the target time period is obtained.
3. The water flow measurement method according to claim 1, characterized in that, Temperature data for the target time period includes the average temperature for the target time period; Humidity data for the target time period includes the average humidity for the target time period; Water quality data for the target time period includes the average water quality for that time period; The electricity-to-water conversion factor for the target time period includes the average electricity-to-water conversion factor for the target time period; The electricity meter data for the target water pump during the target time period includes the average power consumption of the target water pump during the target time period; Combining the electricity meter data of the target water pump with the water flow data obtained using the electricity-to-water conversion factor within the target time period includes: Substitute the average power consumption of the target water pump and the average electricity-to-water conversion factor within the target time period into the electricity-to-water conversion formula to obtain the water flow rate within the target time period.
4. The water flow measurement method according to claim 1, characterized in that, Temperature data for the target time period includes the instantaneous temperature at each moment within the target time period; Humidity data for the target time period includes instantaneous humidity at each moment within the target time period; Water quality data for the target time period includes instantaneous water quality at each moment within the target time period; The electricity-to-water conversion factor within the target time period includes the instantaneous electricity-to-water conversion factor at each moment within the target time period; The meter data of the target water pump within the target time period includes the instantaneous power of the target water pump at each moment within the target time period; The water flow data within the target time period includes the instantaneous water flow rate at each moment within the target time period; Combining the electricity meter data of the target water pump with the water flow data obtained using the electricity-to-water conversion factor within the target time period includes: The instantaneous water flow rate at each moment within the target time period is obtained based on the instantaneous electro-water conversion coefficient and the instantaneous power of the target water pump. The water flow rate within the target time period is obtained by integrating the instantaneous water flow rate at each moment within the target time period.
5. The water flow measurement method according to claim 2 or 3, characterized in that, The electro-water conversion formula is as follows: WD = CD × Ed; Where CD is the hydropower conversion factor, in cubic meters per kilowatt-hour (m³ / kWh), WD is the water output during a certain period, in cubic meters (m³), and Ed is the electricity consumption during a certain period, in kilowatt-hours (kWh).
6. The water flow measurement method according to claim 1, characterized in that, Sample labels are obtained based on the target pump's power consumption and the target water flow rate, including: Substitute the target power consumption of the water pump and the target water flow rate into the formula for the electricity-to-water conversion factor to obtain the target electricity-to-water conversion factor, and use the target electricity-to-water conversion factor as the sample label.
7. The water flow measurement method according to claim 6, characterized in that, The formula for the electro-water conversion factor is as follows: CD = WD / Ed; Where CD is the hydropower conversion factor, in cubic meters per kilowatt-hour (m3 / kWh), WD is the water output during a certain period, in cubic meters (m3), and Ed is the electricity consumption during a certain period, in kilowatt-hours (kWh).
8. A water flow metering system, characterized in that, include: Water pump; A temperature and humidity sensor is installed on the water pump and is used to detect the temperature and humidity of the environment around the water pump. A water quality sensor is installed on a water pump and is used to detect the water quality in the environment surrounding the water pump. An electricity meter, used to detect the power consumption of a water pump; The server is equipped with a water flow model and is used to acquire data from temperature and humidity sensors, water quality sensors and electricity meters, and input the data into the water flow model to obtain the electricity-to-water conversion factor. The electricity-to-water conversion factor and the electricity consumption read by the electricity meter are then substituted into the electricity-to-water conversion formula to obtain the predicted water flow. The water flow model training method includes: acquiring multiple pre-constructed sample data sets, each including sample temperature data, sample humidity data, sample water quality data, and sample labels; training a deep learning model using multiple sample temperature data, sample humidity data, sample water quality data, and their corresponding sample labels to obtain a water flow model; the sample data set construction steps include: building a water flow test channel, installing a target water pump in the water flow test channel, and installing a temperature and humidity sensor and a water quality sensor on the target water pump; supplying water at the target flow rate to the water flow test channel, and acquiring sample temperature data, sample humidity data, and sample water quality data through the temperature and humidity sensor and the water quality sensor, respectively, and acquiring the power consumption of the target water pump through an electricity meter; obtaining sample labels based on the power consumption of the target water pump and the target water flow rate; and the sample temperature data, sample humidity data, sample water quality data, and sample labels constituting a sample data set.
9. The water flow metering system according to claim 8, characterized in that, The water flow metering system also includes a data terminal, which is electrically connected to the server and used to input instructions to the server to obtain sample data and sample labels.
Citation Information
Patent Citations
Electricity-to-water calculation model construction method and water consumption determination method and device
CN113486594A
Electricity-to-water coefficient determination method and device, electronic equipment and storage medium
CN118094263A