CN116029535B - Water supply pressure early warning method and device, electronic equipment and storage medium - Google Patents
Water supply pressure early warning method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116029535B CN116029535B CN202310302488.2A CN202310302488A CN116029535B CN 116029535 B CN116029535 B CN 116029535B CN 202310302488 A CN202310302488 A CN 202310302488A CN 116029535 B CN116029535 B CN 116029535B
- Authority
- CN
- China
- Prior art keywords
- water
- resident
- score
- users
- supply pressure
- 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
Images
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
Abstract
The application relates to a water supply pressure early warning method, a device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring non-resident user information and resident user information in the independent metering area partition; clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers; determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting a water use characteristic set; calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set; determining a water demand score from the water trend score, the estimated water score, and the resident water score; determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores; a determination is made as to whether the plurality of non-residential user areas have a water supply pressure based on the water supply pressure score.
Description
Technical Field
The application relates to the technical field of water supply safety, in particular to a water supply pressure early warning method, a device, electronic equipment and a storage medium.
Background
At present, urban population of China is sharply increased, total water demand is greatly increased, but leakage rate of a water supply network is continuously increased, so that consumption of water sources and energy sources is caused, water supply cost is increased, serious potential safety hazards exist for pavement and buildings, and secondary pollution is caused to be high. DMA partition management is one of effective methods for controlling water loss of an urban water supply system, a DMA partition metering management system discovers water supply abnormality of a pipe network, and calculates leakage conditions of an area, but water service data is complex and large in quantity, excavation and analysis based on multi-source historical data are lacking in an original system, water supply pressure problems cannot be effectively analyzed, data are excessively dead and stiff, decision support effect on the current and future is not exerted, and water service work efficiency is low.
Disclosure of Invention
Based on the above problems, the application provides a water supply pressure early warning method, a device, electronic equipment and a storage medium.
In a first aspect, an embodiment of the present application provides a water supply pressure early warning method, including:
acquiring non-resident user information and resident user information in the independent metering area partition;
clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting the water use characteristic sets of all the influence resident users in the non-resident user areas;
calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set;
determining a water demand score from the water trend score, the estimated water score, and the resident water score;
determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores;
determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores;
the areas with water supply pressure in the plurality of non-resident user areas form water supply pressure early warning areas output in the independent metering area areas.
Further, in the water supply pressure early warning method, according to the information of the non-resident user areas and the resident users, the influence resident users in the non-resident user areas are determined, all the influence resident users in the non-resident user areas are obtained, and the water use characteristic set of all the influence resident users in the non-resident user areas is counted, including:
for any one of a plurality of non-residential areasThe radius of the area isFor a resident user information the position isWhen the resident user information satisfies the following conditions:
determining resident user as non-resident user areaIs the influence of the resident user, whereinA first judgment threshold value is set;
a water usage feature set for all affecting residential subscribers for a plurality of non-residential subscriber areas, comprising: counting the sum of daily water consumption of non-resident usersThe sum of the daily water consumption of all the resident usersCorresponding time to start statisticsComponent feature vectorObtaining non-resident user areaIs set of water characteristics of (a)Wherein h is the sequence number of the water feature set element, and the length of the water feature set is。
Further, in the water supply pressure early warning method, the water trend score is calculated according to the water feature set, and the method comprises the following steps:
according to timeWater feature set by yearDividing into a plurality of subsets, each last point of each year being numberedWherein for the number of years to segment,definition of,
The water usage score for each year was calculated by the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,for the serial number of the year,in order to correct the score with water,representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users,Indicating the corresponding time to start statistics, h is the sequence number of the water use feature set element, and the water use feature setLength of the combination is,
according to the score of a large amount of water used each yearCalculating water trend scoreIs calculated by the following formula:
further, in the water supply pressure early warning method, the evaluating water score is obtained by calculating according to the water feature set, and the method comprises the following steps:
the water feature set is expressed asWherein, the method comprises the steps of, wherein,representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users,Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is,
Acquisition timeFront partThe number of the feature vectors in the range isThe sum of the water consumption of non-resident users in the characteristic vectors is counted;
According toThe same date each year before the corresponding date was acquiredFront and backNumber of feature vectors in rangeSum of water consumption of non-resident users in characteristic vectorMaximum water usage in feature vectorsWhereinFor the corresponding sequence number,-1;
further, in the water supply pressure early warning method, the resident water score obtained by calculation according to the water feature set is calculated by the following formula:
wherein the water feature set is expressed as,Representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users,Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is,Indicating the score of the water used by residents,and the first correction constant obtained for the historical data training ensures that the resident water consumption score is closer to the real resident water consumption state.
Further, in the water supply pressure early warning method, the water demand score is determined according to the water trend score, the estimated water score and the resident water score by the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,a score indicating water trend,Represents the score of the water for evaluation,Indicating the score of water used by residents,Indicating the water demand score.
Further, in the water supply pressure early warning method, the water supply pressure scores of the plurality of non-residential user areas are determined according to the water demand scores, and are calculated according to the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,the water demand score is indicated as a function of the water demand score,a water supply pressure score is indicated,for the third judgment threshold value to be set,is the set fourth judgment threshold value.
In a second aspect, an embodiment of the present application further provides a water supply pressure early warning device, including:
the acquisition module is used for: the method is used for acquiring non-resident user information and resident user information in the independent metering area partition;
and a clustering module: the non-resident user information processing system is used for carrying out clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
a first determination module: the method comprises the steps of determining influencing resident users in a plurality of non-resident user areas, acquiring all influencing resident users in the plurality of non-resident user areas, and counting water use feature sets of all influencing resident users in the plurality of non-resident user areas;
the calculation module: for calculating a water use trend score, an estimated water use score, and a resident water use score from the water use feature set;
a second determination module: for determining a water demand score based on the water trend score, the estimated water score, and the resident water score;
and a third determination module: determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores;
a fourth determination module: for determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores;
and an output module: the areas with water supply pressure in the non-resident user areas form water supply pressure early warning area output in the independent metering area partition.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory;
the processor is used for executing the water supply pressure early warning method according to any one of the above by calling the program or the instruction stored in the memory.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing a program or instructions that cause a computer to execute a water supply pressure warning method according to any one of the above.
The embodiment of the application has the advantages that: acquiring non-resident user information and resident user information in the independent metering area partition; clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers; determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting the water use characteristic sets of all the influence resident users in the non-resident user areas; calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set; determining a water demand score from the water trend score, the estimated water score, and the resident water score; determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores; determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores; the areas with water supply pressure in the plurality of non-resident user areas form water supply pressure early warning area output. The water supply pressure score of the method and the system determine whether the plurality of non-resident user areas have water supply pressure or not, and the areas with the water supply pressure form water supply pressure early warning areas to be output, so that potential safety hazards caused by large water supply pressure in the water supply process are eliminated, and water service decision management support is provided for related management departments.
Drawings
In order to more clearly illustrate the technical solutions of embodiments or conventional techniques of the present application, the drawings required for the descriptions of the embodiments or conventional techniques will be briefly described below, and it is apparent 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 of ordinary skill in the art.
Fig. 1 is a schematic diagram of a water supply pressure early warning method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a water supply pressure early warning device according to an embodiment of the present application;
fig. 3 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the above objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is, however, susceptible of embodiment in many other ways than those herein described and similar modifications can be made by those skilled in the art without departing from the spirit of the application, and therefore the application is not limited to the specific embodiments disclosed below.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Fig. 1 is a schematic diagram of a water supply pressure early warning method according to an embodiment of the present application.
In a first aspect, an embodiment of the present application provides a water supply pressure early warning method, in combination with fig. 1, including:
s101: non-resident user information and resident user information in the independent metering area partition are acquired.
Specifically, in the embodiment of the application, non-resident user information in the independent metering area partition DMA is acquired, and then the intelligent analyzer for the water affair secondary scene is uploaded.
S102: clustering is carried out according to the position information in the non-resident user information to obtain a plurality of clustering centers, and the non-resident users are divided into a plurality of non-resident user areas according to the plurality of clustering centers.
Specifically, in the embodiment of the application, the intelligent water service secondary landscape analyzer is based on the position information of the non-resident userClustering by using a clustering module based on K-means to obtainPersonal clustering centerAccording toPersonal clustering centerDividing non-resident users intoAnd a non-residential user area.
S103: and determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting the water use characteristic sets of all the influence resident users in the non-resident user areas.
Specifically, in the embodiment of the present application, according toIndividual non-resident user area and resident user information determinationAffecting resident users in a non-resident user area to obtainAll of the non-residential areas affect the residential users, statisticsThe steps of the overall impact on the water usage profile of the residential subscribers for each non-residential subscriber area are described in detail below.
S104: a water use trend score, an estimated water use score, and a resident water use score are calculated from the water use feature set.
Specifically, in the embodiment of the present application, the water feature set is expressed asWherein, the method comprises the steps of, wherein,representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users,Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set isThe steps of calculating the water use trend score, evaluating the water use score, and the resident water use score from the water use feature set are described in detail below.
S105: a water demand score is determined from the water trend score, the estimated water score, and the resident water score.
Specifically, in the embodiments of the present application, the step of determining the water demand score from the water trend score, the estimated water score, and the resident water score is described in detail below.
S106: water supply pressure scores for a plurality of non-residential user areas are determined based on the water demand scores.
Specifically, in the embodiment of the application, the determination is made according to the water demand scoreThe step of scoring the water supply pressure of the individual non-residential user areas is described in detail below.
S107: a determination is made as to whether the plurality of non-residential user areas have a water supply pressure based on the water supply pressure score.
Specifically, in the embodiment of the present application, determining whether the plurality of non-resident user areas have the water supply pressure according to the water supply pressure score is performed by comparing the water supply pressure score with the set fifth judgment thresholdWhen the water supply pressure score is greater than the set fifth judgment thresholdWhen it is determined that the non-resident user area has water supply pressure。
S108: the areas with water supply pressure in the plurality of non-resident user areas form water supply pressure early warning areas output in the independent metering area areas.
Specifically, in the embodiment of the application, the water service decision management support is provided for the relevant management departments by outputting the water supply pressure early warning areas in the areas with water supply pressure in the plurality of non-resident user areas to form the independent metering area subareas.
Further, in the water supply pressure early warning method, according to the information of the non-resident user areas and the resident users, the influence resident users in the non-resident user areas are determined, all the influence resident users in the non-resident user areas are obtained, and the water use characteristic set of all the influence resident users in the non-resident user areas is counted, including:
for the followingAny one of the non-resident user areasThe radius of the area isFor a resident user information the position isWhen the resident user information satisfies the following conditions:
determining resident user as non-resident user areaIs the influence of the resident user, whereinA first judgment threshold value is set;
statisticsA set of water usage characteristics for all affected residential subscribers of a non-residential subscriber area, comprising: counting the sum of daily water consumption of non-resident usersThe sum of the daily water consumption of all the resident usersCorresponding time to start statisticsComponent feature vectorObtaining non-resident user areaIs set of water characteristics of (a)Wherein h is the sequence number of the water feature set element, and the length of the water feature set is。
Specifically, in the embodiment of the present application, the set first judgment threshold valueFlexibly set according to the actual situation.
Further, in the water supply pressure early warning method, the water trend score is calculated according to the water feature set, and the method comprises the following steps:
according to timeWater feature set by yearDividing into a plurality of subsets, each last point of each year being numberedWherein for the number of years to segment,definition of,
The water usage score for each year was calculated by the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,for the serial number of the year,in order to correct the score with water,representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users,Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is,
according to the score of a large amount of water used each yearCalculating water trend scoreIs calculated by the following formula:
specifically, in the embodiment of the present application, the set second judgment threshold valueFlexibly set according to the actual situation.
Further, in the water supply pressure early warning method, the evaluating water score is obtained by calculating according to the water feature set, and the method comprises the following steps:
the water feature set is expressed asWherein, the method comprises the steps of, wherein,representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users,Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is;
Acquisition timeFront partThe number of the feature vectors in the range isThe sum of the water consumption of non-resident users in the characteristic vectors is counted;
According toThe same date each year before the corresponding date was acquiredFront and backNumber of feature vectors in rangeSum of water consumption of non-resident users in characteristic vectorMaximum water usage in feature vectorsWhereinFor the corresponding sequence number,-1;
further, in the water supply pressure early warning method, the resident water score obtained by calculation according to the water feature set is calculated by the following formula:
wherein the water feature set is expressed as,Representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users,Indicating the corresponding time for starting statistics, h is the sequence number of the water feature set element, and the length of the water feature set is,Indicating the score of the water used by residents,and the first correction constant obtained for the historical data training ensures that the resident water consumption score is closer to the real resident water consumption state.
Further, in the water supply pressure early warning method, the water demand score is determined according to the water trend score, the estimated water score and the resident water score by the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,a score indicating water trend,Represents the score of the water for evaluation,Indicating the score of water used by residents,Indicating the water demand score.
Further, in the water supply pressure early warning method, the water supply pressure scores of the plurality of non-residential user areas are determined according to the water demand scores, and are calculated according to the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,the water demand score is indicated as a function of the water demand score,a water supply pressure score is indicated,for the third judgment threshold value to be set,is the set fourth judgment threshold value.
Specifically, in the embodiment of the present application, the third determination threshold is setA fourth judgment threshold value setFlexibly set according to actual conditionsAnd (5) setting.
Fig. 2 is a schematic diagram of a water supply pressure early warning device according to an embodiment of the present application.
In a second aspect, an embodiment of the present application further provides a water supply pressure early warning device, in combination with fig. 2, including:
the acquisition module 201: the method is used for acquiring non-resident user information and resident user information in the independent metering area partition;
clustering module 202: the non-resident user information processing system is used for carrying out clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
the first determination module 203: the method comprises the steps of determining influencing resident users in a plurality of non-resident user areas, acquiring all influencing resident users in the plurality of non-resident user areas, and counting water use feature sets of all influencing resident users in the plurality of non-resident user areas;
the calculation module 204: for calculating a water use trend score, an estimated water use score, and a resident water use score from the water use feature set;
the second determination module 205: for determining a water demand score based on the water trend score, the estimated water score, and the resident water score;
a third determination module 206: determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores;
a fourth determination module 207: for determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores;
the output module 208: the areas with water supply pressure in the plurality of non-residential user areas form water supply pressure early warning area output.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory;
the processor is used for executing the water supply pressure early warning method according to any one of the above by calling the program or the instruction stored in the memory.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing a program or instructions that cause a computer to execute a water supply pressure warning method according to any one of the above.
Fig. 3 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure.
As shown in fig. 3, the electronic device includes: at least one processor 301, at least one memory 302, and at least one communication interface 303. The various components in the electronic device are coupled together by a bus system 304. A communication interface 303 for information transfer with an external device. It is understood that bus system 304 is used to enable connected communications between these components. The bus system 304 includes a power bus, a control bus, and a status signal bus in addition to the data bus. The various buses are labeled in fig. 3 as bus system 304 for clarity of illustration.
It is to be understood that the memory 302 in this embodiment may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory.
In some implementations, the memory 302 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system and application programs.
The operating system includes various system programs, such as a framework layer, a core library layer, a driving layer, and the like, and is used for realizing various basic services and processing hardware-based tasks. Applications, including various applications such as Media Player (Media Player), browser (Browser), etc., are used to implement various application services. The program for implementing any one of the water supply pressure early warning methods provided in the embodiments of the present application may be included in the application program.
In the embodiment of the present application, the processor 301 is configured to execute the steps of each embodiment of the water supply pressure early warning method provided in the embodiment of the present application by calling a program or an instruction stored in the memory 302, specifically, a program or an instruction stored in an application program.
Acquiring non-resident user information and resident user information in the independent metering area partition;
clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all the influence resident users in the non-resident user areas, and counting the water use characteristic sets of all the influence resident users in the non-resident user areas;
calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set;
determining a water demand score from the water trend score, the estimated water score, and the resident water score;
determining water supply pressure scores for a plurality of non-residential user areas based on the water demand scores;
determining whether the plurality of non-residential user areas have water supply pressure based on the water supply pressure scores;
the areas with water supply pressure in the plurality of non-resident user areas form water supply pressure early warning area output.
Any one of the water supply pressure early warning methods provided in the embodiments of the present application may be applied to the processor 301, or implemented by the processor 301. The processor 301 may be an integrated circuit chip with signal capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry of hardware in the processor 301 or instructions in the form of software. The processor 301 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps of any one of the water supply pressure early warning methods provided in the embodiments of the present application may be directly embodied as execution completion of the hardware decoding processor, or may be executed by a combination of hardware and software units in the decoding processor. The software elements may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 302, and the processor 301 reads the information in the memory 302, and in combination with its hardware, completes the steps of a water supply pressure warning method.
Those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the present application and form different embodiments.
Those skilled in the art will appreciate that the descriptions of the various embodiments are each focused on, and that portions of one embodiment that are not described in detail may be referred to as related descriptions of other embodiments.
The present invention is not limited to the above embodiments, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and these modifications and substitutions are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (4)
1. A water supply pressure early warning method, comprising:
acquiring non-resident user information and resident user information in the independent metering area partition;
clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
determining the influence resident users in the non-resident user areas according to the non-resident user areas and the resident user information, acquiring all influence resident users in the non-resident user areas, and counting the water use characteristic sets of all influence resident users in the non-resident user areas;
calculating a water use trend score, an estimated water use score and a resident water use score according to the water use feature set;
determining a water demand score from the water trend score, the estimated water score, and the resident water score;
determining water supply pressure scores for the plurality of non-residential user areas based on the water demand scores;
determining whether the plurality of non-residential user areas have water supply pressure according to the water supply pressure score;
the areas with water supply pressure in the non-resident user areas form water supply pressure early warning areas in the independent metering area partitions to be output;
wherein the determining the influencing resident users in the non-resident user areas according to the non-resident user areas and the resident user information, obtaining all influencing resident users in the non-resident user areas, and counting the water use feature set of all influencing resident users in the non-resident user areas, includes:
for any one of a plurality of non-residential areasThe area radius is +.>The position in the information is +.>When the resident user information satisfies the following conditions:
determining resident user as non-resident user areaIs a resident user, wherein->A first judgment threshold value is set;
acquiring all the influence resident users in a plurality of non-resident user areas;
counting a set of water usage characteristics of all of the plurality of non-residential user areas affecting residential users, comprising: counting the sum of daily water consumption of non-resident usersSum of water consumption all affecting the residential users every day +.>Time of corresponding start statistics ∈>Component feature vector->Obtaining a water use characteristic set of the non-resident user area>Wherein h is the sequence number of the water feature set element, and the length of the water feature set is +.>;
The calculating the water trend score according to the water feature set comprises the following steps:
according to timeWater use characteristic set according to year>Dividing into a plurality of subsets, and respectively marking the sequence number of the last point every year as +.>Wherein +.f for the number of years divided>Definitions->,
The water usage score for each year was calculated by the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,for the serial number of year,/->To correct the score with water, < >>Representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users>Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>,
according to the annual water consumption scoreCalculate water trend score->Is calculated by the following formula:
the calculating to obtain the water score for evaluation according to the water feature set comprises the following steps:
the water feature set is expressed asWherein->Representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users>Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>,
Acquisition timeFront->Feature vectors in the range, the number of feature vectors is +.>The sum of the water consumption of non-resident users in the characteristic vectors is counted>;
According toThe same date +.annually before the corresponding date was acquired>Front and back->Number of feature vectors in the range +.>Sum of water consumption of non-resident users in characteristic vector +.>And maximum water consumption in the feature vector>WhereinFor the corresponding serial number, ">-1;
the resident water score calculated according to the water feature set is calculated by the following formula:
wherein the water feature set is expressed as,/>Representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users>Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>,/>Indicating a resident water score>The first correction constant obtained for the historical data training ensures that the resident water consumption score is closer to the real resident water consumption state;
the determining the water demand score from the water trend score, the evaluation water score, and the resident water score is calculated by the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,score indicating water trend,/->Representing the evaluation water score>Indicating resident water score>Indicating a water demand score;
the determining of the water supply pressure scores for the plurality of non-residential user areas based on the water demand scores is calculated by the following formula:
2. A water supply pressure early warning device, comprising:
the acquisition module is used for: the method is used for acquiring non-resident user information and resident user information in the independent metering area partition;
and a clustering module: the non-resident user information processing system is used for carrying out clustering according to the position information in the non-resident user information to obtain a plurality of clustering centers, and dividing the non-resident user into a plurality of non-resident user areas according to the plurality of clustering centers;
a first determination module: the method comprises the steps of determining influencing resident users in a plurality of non-resident user areas, acquiring all influencing resident users in the plurality of non-resident user areas, and counting a water use characteristic set of all influencing resident users in the plurality of non-resident user areas;
the calculation module: for calculating a water use trend score, an estimated water use score and a resident water use score from the water use feature set;
a second determination module: for determining a water demand score from the water trend score, the assessment water score, and the resident water score;
and a third determination module: determining water supply pressure scores for the plurality of non-residential user areas based on the water demand scores;
a fourth determination module: for determining whether the plurality of non-residential user areas have a water supply pressure based on the water supply pressure score;
and an output module: the areas with water supply pressure in the non-resident user areas form water supply pressure early warning areas in the independent metering area partitions;
wherein the determining the influencing resident users in the non-resident user areas according to the non-resident user areas and the resident user information, obtaining all influencing resident users in the non-resident user areas, and counting the water use feature set of all influencing resident users in the non-resident user areas, includes:
for any one of a plurality of non-residential areasThe area radius is +.>The position in the information is +.>When the resident user information satisfies the following conditions:
determining resident user as non-resident user areaIs a resident user, wherein->A first judgment threshold value is set;
acquiring all the influence resident users in a plurality of non-resident user areas;
counting a set of water usage characteristics of all of the plurality of non-residential user areas affecting residential users, comprising: counting the sum of daily water consumption of non-resident usersSum of water consumption all affecting the residential users every day +.>Time of corresponding start statistics ∈>Component feature vector->Obtaining a water use characteristic set of the non-resident user area>Wherein h is the sequence number of the water feature set element, and the length of the water feature set is +.>;
The calculating the water trend score according to the water feature set comprises the following steps:
according to timeWater use characteristic set according to year>Dividing into a plurality of subsets, and respectively marking the sequence number of the last point every year as +.>Wherein +.f for the number of years divided>Definitions->,
The water usage score for each year was calculated by the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,for the serial number of year,/->To correct the score with water, < >>Representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users>Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>,
according to the annual water consumption scoreCalculate water trend score->Is calculated by the following formula:
the calculating to obtain the water score for evaluation according to the water feature set comprises the following steps:
the water feature set is expressed asWherein->Representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users>Indicating the corresponding start statistics time, h is the sequence number of the water feature set element, the length of the water feature set is +.>,
Acquisition timeFront->Feature vectors in the range, the number of feature vectors is +.>The sum of the water consumption of non-resident users in the characteristic vectors is counted>;
According toThe same date +.annually before the corresponding date was acquired>Front and back->Number of feature vectors in the range +.>Sum of water consumption of non-resident users in characteristic vector +.>And maximum water consumption in the feature vector>WhereinFor the corresponding serial number, ">-1;
the resident water score calculated according to the water feature set is calculated by the following formula:
wherein the water feature set is expressed as,/>Representing the sum of daily water consumption of non-resident users,Representing the sum of the daily water consumption of all the resident users>Indicating the time corresponding to the start of the statistics,h is the sequence number of the water feature set element, and the length of the water feature set is +.>,/>Indicating a resident water score>The first correction constant obtained for the historical data training ensures that the resident water consumption score is closer to the real resident water consumption state;
the determining the water demand score from the water trend score, the evaluation water score, and the resident water score is calculated by the following formula:
wherein, the liquid crystal display device comprises a liquid crystal display device,score indicating water trend,/->Representing the evaluation water score>Indicating resident water score>Indicating a water demand score;
the determining of the water supply pressure scores for the plurality of non-residential user areas based on the water demand scores is calculated by the following formula:
3. An electronic device, comprising: a processor and a memory;
the processor is used for executing the water supply pressure early warning method according to claim 1 by calling a program or instructions stored in the memory.
4. A computer-readable storage medium storing a program or instructions that cause a computer to execute a water supply pressure warning method according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310302488.2A CN116029535B (en) | 2023-03-27 | 2023-03-27 | Water supply pressure early warning method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310302488.2A CN116029535B (en) | 2023-03-27 | 2023-03-27 | Water supply pressure early warning method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116029535A CN116029535A (en) | 2023-04-28 |
CN116029535B true CN116029535B (en) | 2023-06-30 |
Family
ID=86077897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310302488.2A Active CN116029535B (en) | 2023-03-27 | 2023-03-27 | Water supply pressure early warning method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116029535B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116992385B (en) * | 2023-08-14 | 2024-01-19 | 宁夏隆基宁光仪表股份有限公司 | Abnormal detection method and system for water meter consumption of Internet of things |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105844490A (en) * | 2016-03-22 | 2016-08-10 | 天津大学 | Game theory-based user and power company interaction method |
US11138269B1 (en) * | 2017-03-14 | 2021-10-05 | Wells Fargo Bank, N.A. | Optimizing database query processes with supervised independent autonomy through a dynamically scaling matching and priority engine |
JP2020529092A (en) * | 2017-07-24 | 2020-10-01 | アブデエルサミー,メア,エー. | Methods and systems for environmental credit scoring |
CN107480880A (en) * | 2017-08-10 | 2017-12-15 | 中国水利水电科学研究院 | Resident living needs computational methods, device and the equipment of water |
US11100739B1 (en) * | 2019-01-11 | 2021-08-24 | Securus Technologies, Llc | Two factor identification verification of controlled-environment facility residents and associated non-residents |
CN111598356A (en) * | 2020-05-29 | 2020-08-28 | 中国水利水电科学研究院 | Agricultural water optimized allocation system and method based on water consumption control |
CN112651552A (en) * | 2020-12-22 | 2021-04-13 | 国网浙江玉环市供电有限公司 | Electric power big data based industrial structure optimization method and device and storage medium |
CN112801542A (en) * | 2021-03-09 | 2021-05-14 | 海南电网有限责任公司信息通信分公司 | Credit assessment method for electricity utilization client |
CN113837311B (en) * | 2021-09-30 | 2023-10-10 | 南昌工程学院 | Resident customer clustering method and device based on demand response data |
CN114399212A (en) * | 2022-01-18 | 2022-04-26 | 平安国际智慧城市科技股份有限公司 | Ecological environment quality evaluation method and device, electronic equipment and storage medium |
-
2023
- 2023-03-27 CN CN202310302488.2A patent/CN116029535B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN116029535A (en) | 2023-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116029535B (en) | Water supply pressure early warning method and device, electronic equipment and storage medium | |
CN110751828B (en) | Road congestion measuring method and device, computer equipment and storage medium | |
CN115577861B (en) | Water leakage area recommendation method, electronic equipment and storage medium | |
CN108491122B (en) | Click event response method, computer readable storage medium and terminal equipment | |
CN109357896B (en) | Method and device for detecting running performance of air pre-heater | |
CN111784160A (en) | River hydrological situation change evaluation method and system | |
CN111260147A (en) | Power generation capacity prediction method and device and terminal equipment | |
CN116050946B (en) | Water service user collection management method and device, electronic equipment and storage medium | |
CN111563504B (en) | License plate recognition method and related equipment | |
TWI503780B (en) | Optimizing system for contract demand and optimizing method using for the same | |
CN108830663B (en) | Electric power customer value evaluation method and system and terminal equipment | |
CN110578317B (en) | Hydrological model reservoir discharge capacity simulation method | |
CN112950436A (en) | Method and device for calculating overflow control parameters of combined pipeline | |
CN111835536B (en) | Flow prediction method and device | |
CN109242321B (en) | User power load online analysis method and terminal equipment | |
CN116862106A (en) | Urban construction land updating potential analysis method, device, terminal and medium | |
CN113222245A (en) | Method and system for checking monthly electric quantity and electricity charge abnormity of residential user and storage medium | |
CN104952131A (en) | Method and device for visitor's visit time register of building intercom system | |
CN113157212A (en) | Flash storage method and device, intelligent wearable device and storage medium | |
CN109995551B (en) | Service metering method and device of cloud computing system | |
CN112511503A (en) | Method, system, equipment and storage medium for improving safety of intelligent electric meter | |
CN112241806A (en) | Road damage probability prediction method, device terminal equipment and readable storage medium | |
CN111199345A (en) | Measuring and calculating method for design rainfall of sponge city and terminal equipment | |
CN111062004A (en) | Prediction model adjusting method and device, prediction simulator and storage medium | |
CN117973808A (en) | Method and device for determining leakage maintenance strategy, electronic equipment and storage medium |
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 |