CN117952281B - User water demand prediction method, device and storage medium - Google Patents
User water demand prediction method, device and storage medium Download PDFInfo
- Publication number
- CN117952281B CN117952281B CN202410346524.XA CN202410346524A CN117952281B CN 117952281 B CN117952281 B CN 117952281B CN 202410346524 A CN202410346524 A CN 202410346524A CN 117952281 B CN117952281 B CN 117952281B
- Authority
- CN
- China
- Prior art keywords
- water
- score
- user
- trend
- water supply
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 423
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000004364 calculation method Methods 0.000 claims abstract description 24
- 238000004590 computer program Methods 0.000 claims description 19
- 238000012549 training Methods 0.000 claims description 8
- 238000004458 analytical method Methods 0.000 claims description 7
- 239000008400 supply water Substances 0.000 claims description 7
- 238000012937 correction Methods 0.000 claims description 4
- 230000003993 interaction Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 8
- 238000003745 diagnosis Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000013145 classification model Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A20/00—Water conservation; Efficient water supply; Efficient water use
- Y02A20/152—Water filtration
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a method, a device and a storage medium for predicting water demand of a user, which are used for predicting the future water demand of the user. According to the user water demand prediction method disclosed by the application, according to the historical water consumption condition, the water supply stability condition and the water supply quality condition of a user, relevant judgment thresholds and parameters are trained according to data of historical records, and then future water demand is predicted according to a preset calculation model. The application also provides a device for predicting the water demand of the user and a storage medium.
Description
Technical Field
The present application relates to the field of computing technologies, and in particular, to a method, an apparatus, and a storage medium for predicting a user's water demand.
Background
IoT water meters are intelligent water meters that use sensors and internet-connected technology to monitor water usage in real-time. The water meter can be connected to a cloud server through a wireless network and provides real-time data such as the use amount of water, water pressure, water quality and the like. Currently water supply companies lack knowledge of future water demand in water resource planning to plan allocation and use of water resources to ensure adequate water resource supply in the future. Therefore, how to predict future water demand is a technical problem to be solved in the prior art.
Disclosure of Invention
In view of the above technical problems, the embodiments of the present application provide a method, an apparatus, and a storage medium for predicting a water demand of a user in the future.
In a first aspect, a method for predicting water demand of a user according to an embodiment of the present application includes:
Determining a water score for a user at day i Water supply stability scoreAnd a water quality score;
According to the water scoreWater supply stability scoreAnd a water quality scoreDetermining user impact scores;
According to the water scoreDetermining water trend scores;
According to the water scoreAnd water trend scoreDetermining water use base score;
According to the water scoreWater supply stability scoreAnd a water quality scoreUser impact scoreTrend score of water consumptionAnd water base scorePredicting a user water demand;
wherein i represents the number of days the water meter is used;
The water consumption score represents the water consumption quantity, the water supply stability score represents the water supply water pressure stability degree, the water supply quality score represents the water supply quality degree, the user influence score represents the influence degree of the water supply condition on the user, the water consumption trend score represents the trend characteristic of the water consumption changing along with the time, and the water basis score represents the predicted value of the water consumption score obtained by trend analysis.
According to the invention, according to the historical water consumption condition, the water supply stability condition and the water supply quality condition of a user, relevant judgment thresholds and parameters are trained according to data of historical records, and then future water consumption requirements are predicted according to a preset calculation model.
Preferably, the determining the water score of the ith day of the userComprising the following steps:
collecting the user accumulated water consumption of n 1 days from the ith day Wherein;
The water score of the ith day of the userThe method comprises the following steps:
。
Preferably, the water supply stability score Is determined by the following means:
Collecting water pressure of n 1 days from the ith day Wherein;
The water supply stability scoreThe method comprises the following steps:
;
Wherein,
;
;
;
;
Wherein,For the set first judgment threshold value,For the set second judgment threshold value,For the third judgment threshold value to be set,Is the set fourth judgment threshold value.
Preferably, the water supply quality scoreIs determined by the following means:
collecting water quality category of n 1 days from the ith day Wherein;
The water supply quality scoreThe method comprises the following steps:
;
;
Wherein, For the fifth judgment threshold value to be set,Is the set sixth judgment threshold.
Preferably, said score is based on said water usageWater supply stability scoreAnd a water quality scoreDetermining user impact scoresComprising the following steps:
User impact score The determination is made according to the following equation:
;
Wherein, The number of days used is accumulated for the current meter.
Preferably, said score is based on said water usageDetermining water trend scoresComprising the following steps:
the water trend score The determination is made according to the following equation:
;
Wherein, The number of days used is accumulated for the current meter.
Preferably, said score is based on said water usageAnd water trend scoreDetermining water use base scoreComprising the following steps:
The water consumption basis score The determination is made according to the following equation:
;
Wherein, The number of days used is accumulated for the current meter.
Preferably, said score is based on said water usageWater supply stability scoreAnd a water quality scoreUser impact scoreTrend score of water consumptionAnd water base scorePredicting the user water demand includes:
water demand after day The method comprises the following steps:
;
;
Wherein, Training the resulting first correction constant based on historical data,Is an integer of 1 or more,The number of days used is accumulated for the current meter.
In a second aspect, an embodiment of the present application further provides a device for predicting a water demand of a user, including:
a first calculation module configured to determine a water score for the user at the ith day Water supply stability scoreAnd a water quality score;
A second calculation module configured to calculate a water score based on the water usageWater supply stability scoreAnd a water quality scoreDetermining user impact scores;
A third calculation module configured to calculate a water score based on the water usageDetermining water trend scores;
A fourth calculation module configured to calculate a water score based on the water usage scoreAnd water trend scoreDetermining water use base score;
A prediction module configured to score according to the water consumptionWater supply stability scoreAnd a water quality scoreUser impact scoreTrend score of water consumptionAnd water base scorePredicting a user water demand;
wherein i represents the number of days the water meter is used;
The water consumption score represents the water consumption quantity, the water supply stability score represents the water supply water pressure stability degree, the water supply quality score represents the water supply quality degree, the user influence score represents the influence degree of the water supply condition on the user, the water consumption trend score represents the trend characteristic of the water consumption changing along with the time, and the water basis score represents the predicted value of the water consumption score obtained by trend analysis.
In a third aspect, an embodiment of the present application further provides a device for predicting a water demand of a user, including: a memory, a processor, and a user interface;
the memory is used for storing a computer program;
the user interface is used for realizing interaction with a user;
The processor is used for reading the computer program in the memory, and when the processor executes the computer program, the method for predicting the water consumption requirement of the user is realized.
In a fourth aspect, an embodiment of the present application further provides a processor readable storage medium, where a computer program is stored, and when the processor executes the computer program, the method for predicting a water demand of a user provided by the present application is implemented.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a user water demand prediction method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a user water demand prediction apparatus according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of another water demand prediction apparatus for users according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Some words appearing hereinafter are explained:
1. In the embodiment of the invention, the term "and/or" describes the association relation of the association objects, which means that three relations can exist, for example, a and/or B can be expressed as follows: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
2. The term "plurality" in embodiments of the present application means two or more, and other adjectives are similar.
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that, the display sequence of the embodiments of the present application only represents the sequence of the embodiments, and does not represent the advantages or disadvantages of the technical solutions provided by the embodiments.
Referring to fig. 1, a schematic diagram of a method for predicting a water demand of a user according to an embodiment of the present application is shown in fig. 1, and the method includes steps S101 to S105:
S101, determining a water score of the user at the ith day Water supply stability scoreAnd a water quality score;
S102, scoring according to the water consumptionWater supply stability scoreAnd a water quality scoreDetermining user impact scores;
S103, scoring according to the water consumptionDetermining water trend scores;
S104, scoring according to the water consumptionAnd water trend scoreDetermining water use base score;
S105, scoring according to the water consumptionWater supply stability scoreAnd a water quality scoreUser impact scoreTrend score of water consumptionAnd water base scoreThe user water demand is predicted.
Where i represents the number of days the meter was used, i.e., the number of days the meter was used since the initial reference date. For example, the reference initial date is 1 month and 1 day of 2000, then 1 month and 1 day of 2000, the number of days of use is 31 days, and the value of i is 31. For another example, the reference starting point is that the date of installation of the water meter is, for example, 1 st 1995, 1 st 1996, the number of days of use of the water meter is 365 days, and the value of i is 365. The reference start date may be predetermined as needed.
The water consumption score represents the water consumption quantity, the water supply stability score represents the water supply water pressure stability degree, the water supply quality score represents the water supply quality degree, the user influence score represents the influence degree of the water supply condition on the user, the water consumption trend score represents the trend characteristic of the water consumption changing along with the time, and the water basis score represents the predicted value of the water consumption score obtained by trend analysis.
As an alternative example, in the present invention, the water meter may be an IoT water meter, or other water meter, but is capable of recording the daily water usage, water pressure, and water quality data of the user.
According to the method for predicting the water consumption demand of the user, according to the historical water consumption, the water pressure and the water quality data of the user, the water consumption score, the water supply stability score, the water supply quality score, the user influence score, the water consumption trend score and the water consumption base score are calculated according to a preset method, the historical record data are input into a preset training model for training, a relevant judgment threshold value and a relevant reference coefficient are obtained, and then the water consumption demand of the user in a future appointed time length is predicted according to a preset prediction rule.
As an alternative example, in the present invention, a water score for the user's ith day is determinedComprising the following steps:
collecting the user accumulated water consumption of n 1 days from the ith day Wherein;
The water score of the ith day of the userThe method comprises the following steps:
. I.e. the water score on the i day The water consumption by the user at day i is indicated.
In the invention, before the prediction starts, the water consumption of a user is acquired from the water meter at fixed time intervals tWater pressureClass of water qualityWhere j is the sequence number of the acquired data,. As an alternative example, the fixed time interval t is 1 day, the forward firstDay is the starting reference day.
For example, n 1 is 365, and i is 1 st year 2000, then the cumulative water consumption of 365 days is collected by 1 st year 2000, i.e. the cumulative water consumption of 1 st year 1999 is collected daily relative to 1 st year 1999 by 1 st year 1999 as the reference starting date, and the total data of 365 days are recorded as: the accumulated water consumption data are as follows:,,,…,, The water pressure data are: ,,,…,, The water quality data are: ,,,…,, I.e. 12/31 in 1999. When water is calculated in 1 month and 1 day of 2000, the calculation formula is as follows: Assume that =3650 Liters of the product,Ascending, then=3650-0=3650 Liters.
As an alternative example, a water supply stability score is determinedComprising the following steps:
Collecting water pressure of n 1 days from the ith day Wherein;
The water supply stability scoreThe method comprises the following steps:
;
Wherein,
;
;
;
;
Wherein,For the set first judgment threshold value,For the set second judgment threshold value,For the third judgment threshold value to be set,Is the set fourth judgment threshold value.
In the present invention, the term "a" is used to refer to,May also be referred to as a hydraulic impact score; may also be referred to as a water pressure fluctuation score; May also be referred to as an impact diagnostic score; May also be referred to as a surge judgment score.
For the set first judgment threshold value,Marking the data as three types of impact, slight impact and no impact according to the collected historical data for setting a second judging threshold value, respectively calculating the impact diagnosis score of each type of data,The average of the sum of the maximum value of the no-impact data impact diagnostic score and the minimum value of the light impact data impact diagnostic score,The average of the sum of the maximum value of the impact diagnostic score for the light impact data and the minimum value of the impact diagnostic score for the impact data.
For the third judgment threshold value to be set,Marking the data as three types of fluctuation, slight fluctuation and no fluctuation according to the collected historical data for setting a fourth judgment threshold value, respectively calculating a fluctuation diagnosis score of each type of data,For the average of the sum of the maximum value of the no-fluctuation data fluctuation diagnostic score and the minimum value of the slight-fluctuation data fluctuation diagnostic score,The average of the sum of the maximum value of the slight fluctuation data fluctuation diagnostic score and the minimum value of the fluctuation data fluctuation diagnostic score.
The classification standards for marking the data as three types of impact, slight impact and no impact can be preset according to the requirement, or can be set according to the historical experience or a preset classification model.
As an alternative example, a water quality score is determinedComprising the following steps:
collecting water quality category of n 1 days from the ith day Wherein;
The water supply quality scoreThe method comprises the following steps:
;
;
Wherein, For the fifth judgment threshold value to be set,Is the set sixth judgment threshold.
In the present invention,May also be referred to as a water quality diagnostic score.
For the fifth judgment threshold value to be set,For the sixth judgment threshold value, marking the data into three categories of good water quality, general water quality and poor water quality according to the collected historical data, respectively calculating the water quality diagnosis score of each category of data,An average value obtained by adding the maximum value of the water quality diagnosis score of the water quality good data and the minimum value of the water quality diagnosis score of the water quality general data,Average value of the sum of the maximum value of the water quality general data water quality diagnosis score and the minimum value of the water quality difference data water quality diagnosis score.
The data is marked as three types of good water quality, general water quality and poor water quality, and the classification standard of the water quality is predetermined according to the need, for example, a national mandatory standard, a recommended standard, a custom classification standard and the like are adopted.
As an alternative example, the water score is based on the water usage scoreWater supply stability scoreAnd a water quality scoreDetermining user impact scoresComprising the following steps:
User impact score The determination is made according to the following equation:
;
Wherein, The number of days used is accumulated for the current meter.
As an alternative example, water trend scoreThe determination is made according to the following equation:
;
Wherein, The number of days used is accumulated for the current meter.
Water use base scoreThe determination is made according to the following equation:
;
Wherein, The number of days used is accumulated for the current meter.
As an alternative example, according to the water scoreWater supply stability scoreAnd a water quality scoreUser impact scoreTrend score of water consumptionAnd water base scorePredicting the user water demand includes:
water demand after day The method comprises the following steps:
;
;
Wherein, Training the resulting first correction constant based on historical data,Is an integer of 1 or more,The number of days used is accumulated for the current meter.
In the invention, the training model for training the historical data can be preset.
It should be noted that the present invention can predictWater demand after dayI.e.The value of (2) is put into the calculation formula, so that the prediction can be performedWater demand after day.
According to the method, the related judgment threshold and parameters are trained according to the historical water consumption condition, the water supply stability condition and the water supply quality condition of the user, and then the future water consumption requirement is predicted according to the calculation steps and the calculation method, so that a water supply company can be helped to better manage water resources, the water consumption condition of the user is known, and a future water supply plan is formulated.
Based on the same inventive concept, the embodiment of the invention also provides a device for predicting the water demand of a user, as shown in fig. 2, the device comprises:
A first calculation module 201 configured to determine a water score for the user at the ith day Water supply stability scoreAnd a water quality score;
A second calculation module 202 configured to calculate a water score based on the water usage scoreWater supply stability scoreAnd a water quality scoreDetermining user impact scores;
A third calculation module 203 configured to calculate a water score based on the water usage scoreDetermining water trend scores;
A fourth calculation module 204 configured to calculate a water score based on the water usage scoreAnd water trend scoreDetermining water use base score;
A prediction module 205 configured to calculate a water score based on the water usage scoreWater supply stability scoreAnd a water quality scoreUser impact scoreTrend score of water consumptionAnd water base scorePredicting a user water demand;
wherein i represents the number of days the water meter is used;
The water consumption score represents the water consumption quantity, the water supply stability score represents the water supply water pressure stability degree, the water supply quality score represents the water supply quality degree, the user influence score represents the influence degree of the water supply condition on the user, the water consumption trend score represents the trend characteristic of the water consumption changing along with the time, and the water basis score represents the predicted value of the water consumption score obtained by trend analysis.
As an alternative example, the first calculation module 201 is further configured to determine a water score for the user on the i-th dayComprising:
collecting the user accumulated water consumption of n 1 days from the ith day Wherein;
The water score of the ith day of the userThe method comprises the following steps:
。
As an alternative example, the first calculation module 201 is further configured to determine a water supply stability score Comprising:
Collecting water pressure of n 1 days from the ith day Wherein;
The water supply stability scoreThe method comprises the following steps:
;
Wherein,
;
;
;
;
Wherein,For the set first judgment threshold value,For the set second judgment threshold value,For the third judgment threshold value to be set,Is the set fourth judgment threshold value.
As an alternative example, the first calculation module 201 is further configured to determine a water quality scoreComprising:
collecting water quality category of n 1 days from the ith day Wherein;
The water supply quality scoreThe method comprises the following steps:
;
;
Wherein, For the fifth judgment threshold value to be set,Is the set sixth judgment threshold.
As an alternative example, the second calculation module 202 is further configured to calculate a water usage score based on the water usage scoreWater supply stability scoreAnd a water quality scoreDetermining user impact scoresComprising:
User impact score The determination is made according to the following equation:
;
Wherein, The number of days used is accumulated for the current meter.
As an alternative example, the third calculation module 203 is further configured to calculate a water score according to the water use scoreDetermining water trend scoresComprising:
the water trend score The determination is made according to the following equation:
;
Wherein, The number of days used is accumulated for the current meter.
As an alternative example, the fourth calculation module 204 is further configured to calculate a water usage score based on the water usage scoreAnd water trend scoreDetermining water use base scoreComprising:
The water consumption basis score The determination is made according to the following equation:
;
Wherein, The number of days used is accumulated for the current meter.
As an alternative example, the prediction module 205 is further configured for said scoring according to said water usageWater supply stability scoreAnd a water quality scoreUser impact scoreTrend score of water consumptionAnd water base scorePredicting a user water demand, comprising:
water demand after day The method comprises the following steps:
;
;
Wherein, Training the resulting first correction constant based on historical data,Is an integer of 1 or more,The number of days used is accumulated for the current meter.
It should be noted that, the device embodiment and the method embodiment of the present invention belong to the same inventive concept, solve the same technical problem, achieve the same technical effect, and the device can implement all the above methods, and the same points are not repeated.
Based on the same inventive concept, the embodiment of the invention also provides a device for predicting the water demand of a user, as shown in fig. 3, the device comprises:
including a memory 502, a processor 501, and a user interface 503;
the memory 502 is used for storing a computer program;
the user interface 503 is configured to interact with a user;
the processor 501 is configured to read a computer program in the memory 502, where the processor 501 implements:
Determining a water score for a user at day i Water supply stability scoreAnd a water quality score;
According to the water scoreWater supply stability scoreAnd a water quality scoreDetermining user impact scores;
According to the water scoreDetermining water trend scores;
According to the water scoreAnd water trend scoreDetermining water use base score;
According to the water scoreWater supply stability scoreAnd a water quality scoreUser impact scoreTrend score of water consumptionAnd water base scorePredicting a user water demand;
wherein i represents the number of days the water meter is used;
The water consumption score represents the water consumption quantity, the water supply stability score represents the water supply water pressure stability degree, the water supply quality score represents the water supply quality degree, the user influence score represents the influence degree of the water supply condition on the user, the water consumption trend score represents the trend characteristic of the water consumption changing along with the time, and the water basis score represents the predicted value of the water consumption score obtained by trend analysis.
Wherein in fig. 3, a bus architecture may comprise any number of interconnected buses and bridges, and in particular one or more processors represented by processor 501 and various circuits of memory represented by memory 502, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The processor 501 is responsible for managing the bus architecture and general processing, and the memory 502 may store data used by the processor 501 in performing operations.
The processor 501 may be CPU, ASIC, FPGA or a CPLD, and the processor 501 may also employ a multi-core architecture.
The processor 501, when executing the computer program stored in the memory 502, implements the water demand prediction method for any user in the first embodiment.
It should be noted that, the device provided in the third embodiment and the method provided in the first embodiment belong to the same inventive concept, solve the same technical problem, achieve the same technical effect, and the device provided in the third embodiment can implement all the methods in the first embodiment, and the same points are not repeated.
The application also proposes a processor readable storage medium. The processor-readable storage medium stores a computer program, and the processor executes the computer program to implement the water demand prediction method for any user in the first embodiment.
It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (3)
1. A method for predicting water demand of a user, comprising:
Determining a water score for a user at day i Water supply stability score/>And water quality score/>;
According to the water scoreWater supply stability score/>And water quality score/>Determining user impact score/>;
According to the water scoreDetermining water trend score/>;
According to the water scoreAnd water trend score/>Determination of Water basis score/>;
According to the water scoreWater supply stability score/>And water quality score/>User impact score/>Score of water trend/>And water basis score/>Predicting a user water demand;
wherein i represents the number of days the water meter is used;
the water consumption score represents the water consumption quantity, the water supply stability score represents the water supply water pressure stability degree, the water supply quality score represents the water supply quality degree, the user influence score represents the influence degree of the water supply condition on the user, the water consumption trend score represents the trend characteristic of the water consumption changing along with the time, and the water basis score represents the predicted value of the water consumption score obtained by trend analysis;
The water score of the ith day of the user is determined Comprising the following steps:
collecting the user accumulated water consumption of n 1 days from the ith day Wherein/>;
The water score of the ith day of the userThe method comprises the following steps:
;
The water supply stability score Is determined by the following means:
Collecting water pressure of n 1 days from the ith day Wherein/>;
The water supply stability scoreThe method comprises the following steps:
;
Wherein,
;
;
;
;
Wherein,For the first judgment threshold value set,/>For the second judgment threshold value set,/>For the third judgment threshold value set,/>A fourth judgment threshold value is set;
The water supply quality score Is determined by the following means:
collecting water quality category of n 1 days from the ith day Wherein/>;
The water supply quality scoreThe method comprises the following steps:
;
;
Wherein, For the fifth judgment threshold value set,/>A sixth judgment threshold value is set;
said scoring according to said water usage Water supply stability score/>And water quality score/>Determining user impact scoresComprising the following steps:
User impact score The determination is made according to the following equation:
;
Wherein, Accumulating the number of days used for the current water meter;
said scoring according to said water usage Determining water trend score/>Comprising the following steps:
the water trend score The determination is made according to the following equation:
;
Wherein, Accumulating the number of days used for the current water meter;
said scoring according to said water usage And water trend score/>Determination of Water basis score/>Comprising the following steps:
The water consumption basis score The determination is made according to the following equation:
;
Wherein, Accumulating the number of days used for the current water meter;
said scoring according to said water usage Water supply stability score/>And water quality score/>User impact score/>Score of water trend/>And water basis score/>Predicting the user water demand includes:
Post-day water demand/> The method comprises the following steps:
;
;
Wherein, Training the obtained first correction constant according to the historical data,/>Is an integer greater than or equal to 1,/>The number of days used is accumulated for the current meter.
2. A user water demand prediction apparatus using the user water demand prediction method according to claim 1, comprising:
a first calculation module configured to determine a water score for the user at the ith day Water supply stability score/>And water quality score/>;
A second calculation module configured to calculate a water score based on the water usageWater supply stability score/>And a water quality scoreDetermining user impact score/>;
A third calculation module configured to calculate a water score based on the water usageDetermining water trend score/>;
A fourth calculation module configured to calculate a water score based on the water usage scoreAnd water trend score/>Determination of Water basis score/>;
A prediction module configured to score according to the water consumptionWater supply stability score/>And water quality score/>User impact score/>Score of water trend/>And water basis score/>Predicting a user water demand;
wherein i represents the number of days the water meter is used;
The water consumption score represents the water consumption quantity, the water supply stability score represents the water supply water pressure stability degree, the water supply quality score represents the water supply quality degree, the user influence score represents the influence degree of the water supply condition on the user, the water consumption trend score represents the trend characteristic of the water consumption changing along with the time, and the water basis score represents the predicted value of the water consumption score obtained by trend analysis.
3. A user water demand prediction device, comprising a memory, a processor and a user interface;
the memory is used for storing a computer program;
the user interface is used for realizing interaction with a user;
the processor is configured to read a computer program in the memory, and when the processor executes the computer program, implement the user water demand prediction method according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410346524.XA CN117952281B (en) | 2024-03-26 | 2024-03-26 | User water demand prediction method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410346524.XA CN117952281B (en) | 2024-03-26 | 2024-03-26 | User water demand prediction method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117952281A CN117952281A (en) | 2024-04-30 |
CN117952281B true CN117952281B (en) | 2024-05-28 |
Family
ID=90796513
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410346524.XA Active CN117952281B (en) | 2024-03-26 | 2024-03-26 | User water demand prediction method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117952281B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112116229A (en) * | 2020-09-08 | 2020-12-22 | 深圳市广汇源环境水务有限公司 | Drainage basin water quality scheduling management method, system and platform |
CN112947611A (en) * | 2021-02-01 | 2021-06-11 | 上海威派格智慧水务股份有限公司 | Scheduling method and system based on pressure monitoring |
CN113205368A (en) * | 2021-05-25 | 2021-08-03 | 合肥供水集团有限公司 | Industrial and commercial customer clustering method based on time sequence water consumption data |
CN116128375A (en) * | 2023-03-29 | 2023-05-16 | 东莞先知大数据有限公司 | User water credit abnormity determination method and device, electronic equipment and medium |
-
2024
- 2024-03-26 CN CN202410346524.XA patent/CN117952281B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112116229A (en) * | 2020-09-08 | 2020-12-22 | 深圳市广汇源环境水务有限公司 | Drainage basin water quality scheduling management method, system and platform |
CN112947611A (en) * | 2021-02-01 | 2021-06-11 | 上海威派格智慧水务股份有限公司 | Scheduling method and system based on pressure monitoring |
CN113205368A (en) * | 2021-05-25 | 2021-08-03 | 合肥供水集团有限公司 | Industrial and commercial customer clustering method based on time sequence water consumption data |
CN116128375A (en) * | 2023-03-29 | 2023-05-16 | 东莞先知大数据有限公司 | User water credit abnormity determination method and device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN117952281A (en) | 2024-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109495318B (en) | Mobile communication network flow prediction method, device and readable storage medium | |
JP5962190B2 (en) | Method and apparatus for predicting short-term power load | |
US8073730B2 (en) | Modeling and forecasting service performance | |
CN104573359A (en) | Method for integrating crowdsource annotation data based on task difficulty and annotator ability | |
CN112633542A (en) | System performance index prediction method, device, server and storage medium | |
CN104407688A (en) | Virtualized cloud platform energy consumption measurement method and system based on tree regression | |
CN111833018A (en) | Patent analysis method and system for science and technology project | |
CN113554350A (en) | Activity evaluation method and apparatus, electronic device and computer readable storage medium | |
CN108984304A (en) | Server expansion calculation method and device based on regression equation | |
CN111080235A (en) | Data processing method and device, electronic equipment and computer readable medium | |
Planchet et al. | Measuring uncertainty of solvency coverage ratio in ORSA for Non-Life Insurance | |
Soorapanth et al. | Towards a framework for evaluating the costs and benefits of simulation modelling in healthcare | |
CN117952281B (en) | User water demand prediction method, device and storage medium | |
Ma et al. | Did the late-2000s financial crisis influence construction labour productivity? | |
CN115860562A (en) | Software workload rationality evaluation method, device and equipment | |
CN110443517A (en) | It is a kind of to influence net Yue Che driver and go out the key index of vehicle enthusiasm to determine method | |
CN112926801B (en) | Load curve combined prediction method and device based on quantile regression | |
CN113869656A (en) | Time planning method and device for cloud modeling, server and storage medium | |
CN115392591A (en) | Task processing method, device, equipment and storage medium | |
CN112215511B (en) | Attendance data calculation method, device and equipment | |
Rafiei et al. | Health manpower forecasting: A systematic review for models and approaches | |
CN109409700B (en) | Configuration data confirmation method, service monitoring method and device | |
CN112381436A (en) | Time-by-time electrical load generation method, device, electronic equipment and storage medium | |
CN108804640A (en) | Based on packet method, apparatus, storage medium and the equipment for maximizing IV | |
CN115081943B (en) | Staff labor intensity calculation method based on product difficulty and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |