Method and device for measuring water quantity outside sewage main pipe based on water quality and water quantity balance

Through a method based on water quality and water balance, the peak and low peak time periods of the sewage system are determined and the concentration of native sewage is calculated, which solves the complexity and accuracy of the existing technology of water measurement models, and achieves a more accurate measurement of external water.

CN118937615APending Publication Date: 2024-11-12POWERCHINA WATER ENVIRONMENT GOVERANCE +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411012977.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The prior art Chinese and foreign water measurement models are difficult to provide universal solutions, and the model construction is complex, which affects the accuracy and adaptability of the measurement.

Method used

The external water volume measurement method of sewage main pipe based on water quality and water balance is adopted. By determining the peak and low peak time periods of water use, the sewage flow and concentration are obtained, the native sewage concentration is calculated, and the target external water flow is determined to improve the accuracy of external water volume calculation.

Benefits of technology

This method improves the accuracy and applicability of external water measurement, simplifies the model construction process, and is suitable for sewage system management in different regions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118937615A_ABST
    Figure CN118937615A_ABST
Patent Text Reader

Abstract

The invention provides a method and device for measuring the water quantity outside a sewage main pipe based on water quality and water quantity balance, and the method comprises the steps: obtaining the original sewage peak flow and the original sewage low peak flow from a first measurement node, acquiring actual measurement node peak flow, actual measurement node peak concentration, actual measurement node low peak flow and actual measurement node low peak concentration from the second measurement node; the concentration of the raw sewage is determined based on the peak flow of the raw sewage, the actual measurement node peak concentration, the low peak flow of the raw sewage, the low peak flow of the actual measurement node and the low peak concentration of the actual measurement node, and the target external water flow is further determined by combining the reference external water concentration. According to the technical scheme of the embodiment of the invention, on the basis of the principle that the total input water quantity and the water quality components in the closed sewage system are equal to the total output water quantity and the water quality components, the raw sewage concentration and the target external water flow can be calculated according to the water quantity and water quality parameters detected by the two measurement nodes, so that a calculation model of the external water flow has higher applicability; and the calculation accuracy of the external water quantity is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of external water volume measurement, and in particular to a method and a device for measuring external water volume of a sewage main pipe based on water quality and water volume balance. Background Art

[0002] In the management of urban sewage systems, the measurement of external water volume is an important link in determining the system's water supply and sewage treatment volume. External water volume refers to the amount of water that enters the sewage system from the outside, or the amount of water that is sent from the sewage system to the outside of the system. Common sources of external water include groundwater infiltration, rainwater inflow, upstream water, and inflow and outflow of industrial and residential water. Accurately measuring these external water volumes is crucial to the design, operation and management of sewage treatment facilities.

[0003] In related technologies, some water volume models are usually used to simulate and calculate different types of external water. For example, when calculating groundwater infiltration, the MODFLOW model is used to simulate low-lying water flow. For areas with more rain, the SCS model and the Rat ional model are used to predict the runoff after rainfall. Although related models can predict external water volume, the actual conditions in different regions are different. It is difficult for related models to provide universal solutions. Models can only be constructed for each actual project. Model construction is often more complicated and requires professional knowledge and skills to operate and understand. The accuracy and adaptability of the prediction cannot be guaranteed, which affects the accuracy of external water volume measurement. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a method and device for measuring the amount of water outside a sewage main pipe based on water quality and water quantity balance, which can measure the amount of water outside the sewage main pipe using the principle of water quality and water quantity balance and improve the calculation accuracy of the amount of water outside the sewage main pipe.

[0005] In a first aspect, an embodiment of the present invention provides a method for measuring water volume outside a sewage main pipe based on water quality and water volume balance, comprising:

[0006] Identify peak and low water usage periods;

[0007] Based on the peak water consumption period, the peak flow rate of raw sewage is obtained from the first measurement node, and the peak flow rate and peak concentration of the measured node are obtained from the second measurement node, wherein the first measurement node is the confluence of the sewage branch pipe of the discharge subject and the municipal sewage trunk pipe, and the second measurement node is located at the municipal sewage trunk pipe;

[0008] Based on the low-peak water use time period, the low-peak flow of raw sewage is obtained from the first measurement node, and the low-peak flow and low-peak concentration of the measured node are obtained from the second measurement node;

[0009] Determine the raw sewage concentration based on the raw sewage peak flow, the measured node peak concentration, the raw sewage low peak flow, the measured node low peak flow and the measured node low peak concentration;

[0010] The target external water flow rate is determined based on the raw sewage concentration, the measured node low peak flow rate, the measured node low peak flow rate, the raw sewage low peak flow rate and the preset reference external water concentration.

[0011] According to some embodiments of the present invention, determining the peak water usage time period and the low water usage time period includes:

[0012] Determine a plurality of evaluation time periods based on a preset reference duration, wherein the reference duration is used to indicate the duration for a measurement person to move from the first measurement node to the second measurement node;

[0013] For each of the evaluation time periods, obtaining a first evaluation flow of the first measurement node, and obtaining a second evaluation flow of the second measurement node;

[0014] The water consumption peak time period and the water consumption low peak time period are determined based on a plurality of the first evaluation flow rates and a plurality of the second evaluation flow rates.

[0015] According to some embodiments of the present invention, the raw sewage concentration is calculated by the following formula:

[0016] Among them, C 原生污 is the raw sewage concentration, Q 测高峰 is the measured node peak flow, C 测高峰 is the measured node peak concentration, Q 原生高峰 is the peak flow rate of raw sewage, Q 测低峰 is the measured node low peak flow, C 测低峰 is the measured node low peak concentration, Q 原生低峰 This is the low peak flow of the raw sewage.

[0017] According to some embodiments of the present invention, the target external water flow rate is calculated by the following formula:

[0018] Among them, Q 清 is the target external water flow rate, C 清 is the reference external water concentration.

[0019] In a second aspect, an embodiment of the present invention further provides a device for measuring water volume outside a sewage main pipe based on water quality and water volume balance, comprising:

[0020] A high-peak and low-peak determination unit, used to determine the peak water consumption time period and the low water consumption time period;

[0021] A peak measurement unit is used to obtain the peak flow rate of raw sewage from a first measurement node based on the peak water consumption period, and obtain the peak flow rate and peak concentration of the measured node from a second measurement node, wherein the first measurement node is the confluence of the sewage branch pipe of the discharge subject and the municipal sewage trunk pipe, and the second measurement node is located at the municipal sewage trunk pipe;

[0022] A low-peak measurement unit, configured to obtain a low-peak flow rate of raw sewage from the first measurement node based on the low-peak water consumption period, and obtain a low-peak flow rate and a low-peak concentration of a measured node from the second measurement node;

[0023] A raw sewage concentration determination unit, used to determine the raw sewage concentration based on the raw sewage peak flow, the measured node peak concentration, the raw sewage low peak flow, the measured node low peak flow and the measured node low peak concentration;

[0024] An external water flow determination unit is used to determine the target external water flow based on the raw sewage concentration, the measured node low peak flow, the measured node low peak flow, the raw sewage low peak flow and a preset reference external water concentration.

[0025] According to some embodiments of the present invention, the high and low peak determination unit includes:

[0026] a time period division unit, configured to determine a plurality of evaluation time periods based on a preset reference time period, wherein the reference time period is used to indicate the time period for a measurement person to move from the first measurement node to the second measurement node;

[0027] An evaluation flow collection unit, configured to obtain, for each evaluation time period, a first evaluation flow of the first measurement node and a second evaluation flow of the second measurement node;

[0028] A high-peak and low-peak identification unit is used to determine the water consumption peak time period and the water consumption low-peak time period based on multiple first evaluation flow rates and multiple second evaluation flow rates.

[0029] According to some embodiments of the present invention, the raw sewage concentration is calculated by the following formula:

[0030] Among them, C 原生污 is the raw sewage concentration, Q 测高峰 is the measured node peak flow, C 测高峰 is the measured node peak concentration, Q 原生高峰 is the peak flow rate of raw sewage, Q 测低峰is the measured node low peak flow, C 测低峰 is the measured node low peak concentration, Q 原生低峰 This is the low peak flow of the raw sewage.

[0031] According to some embodiments of the present invention, the target external water flow rate is calculated by the following formula:

[0032] Among them, Q 清 is the target external water flow rate, C 清 is the reference external water concentration.

[0033] In a third aspect, an embodiment of the present invention provides an electronic device comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions executable by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the method for measuring the amount of water outside the sewage main pipe based on water quality and water quantity balance as described in the first aspect above.

[0034] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method for measuring the amount of water outside a sewage main pipe based on water quality and water quantity balance as described in the first aspect above.

[0035] According to the method for measuring the amount of water outside the sewage main pipe based on water quality and quantity balance according to the embodiment of the present invention, there are at least the following beneficial effects: based on the peak water use time period, the raw sewage peak flow is obtained from the first measurement node, and the measured node peak flow and the measured node peak concentration are obtained from the second measurement node, wherein the first measurement node is the confluence of the sewage branch pipe of the discharge body and the municipal sewage main pipe, and the second measurement node is located at the municipal sewage main pipe; based on the low water use time period, the raw sewage low peak flow is obtained from the first measurement node, and the measured node low peak flow and the measured node low peak concentration are obtained from the second measurement node; the raw sewage concentration is determined based on the raw sewage peak flow, the measured node peak concentration, the raw sewage low peak flow, the measured node low peak flow and the measured node low peak concentration; the target external water flow is determined based on the raw sewage concentration, the measured node low peak flow, the measured node low peak flow, the raw sewage low peak flow and a preset reference external water concentration. According to the technical solution of the embodiment of the present invention, based on the principle that the total input water volume and water quality components in a closed sewage system are equal to the total output water volume and water quality components, the water volume and water quality parameters detected by the two measurement nodes are used to calculate the original sewage concentration, and then calculate the target external water flow rate, so that the calculation model of the external water flow rate is more applicable and the calculation accuracy of the external water volume is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a schematic diagram of a sewage system provided by an embodiment of the present invention;

[0037] Figure 2 It is a flow chart of a method for measuring water volume outside a sewage main pipe based on water quality and water volume balance provided by another embodiment of the present invention;

[0038] Figure 3 It is a structural diagram of a device for measuring water quantity outside a sewage main pipe based on water quality and water quantity balance provided by another embodiment of the present invention;

[0039] Figure 4 It is a structural diagram of an electronic device provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0040] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0041] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0042] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0043] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0044] An embodiment of the present invention provides a method and device for measuring the amount of water outside a sewage main pipe based on water quality and quantity balance, wherein the method for measuring the amount of water outside a sewage main pipe based on water quality and quantity balance comprises: based on the peak water use time period, obtaining the peak flow of raw sewage from a first measurement node, and obtaining the peak flow of a measured node and the peak concentration of a measured node from a second measurement node, wherein the first measurement node is the confluence of the sewage branch pipe of the discharge subject and the municipal sewage main pipe, and the second measurement node is located at the municipal sewage main pipe; based on the low water use time period, obtaining the low peak flow of raw sewage from the first measurement node, and obtaining the low peak flow of the measured node and the low peak concentration of the measured node from the second measurement node; determining the raw sewage concentration based on the raw sewage peak flow, the measured node peak concentration, the raw sewage low peak flow, the measured node low peak flow and the measured node low peak concentration; determining the target external water flow based on the raw sewage concentration, the measured node low peak flow, the measured node low peak flow, the measured node low peak flow and a preset reference external water concentration. According to the technical solution of the embodiment of the present invention, based on the principle that the total input water volume and water quality components in a closed sewage system are equal to the total output water volume and water quality components, the water volume and water quality parameters detected by the two measurement nodes are used to calculate the original sewage concentration, and then calculate the target external water flow rate, so that the calculation model of the external water flow rate is more applicable and the calculation accuracy of the external water volume is improved.

[0045] First, refer to Figure 1 , Figure 1 A schematic diagram of a sewage system provided in an embodiment of the present invention, wherein the sewage system includes a plurality of discharge entities 10, a municipal sewage trunk pipe 20 and a sewage purification plant 30, wherein the discharge entity 10 is connected to the municipal sewage trunk pipe 20 through a sewage branch pipe 11, and the municipal sewage trunk pipe 20 is connected to the sewage purification plant 30.

[0046] It should be noted that the discharge subject 10 can be a common community, project, etc. Taking a community as an example, the sewage pipes of multiple residential buildings in the community are connected to the sewage branch pipe 11 of the community. The sewage branch pipe 11 of the community collects the sewage of each residential building and discharges it into the municipal sewage trunk pipe 20. In this embodiment, the sewage branch pipe 11 is used as the first measurement node, and the sum of the sewage discharged from each residential building in the community is used as the original sewage. Of course, the sewage system can include multiple discharge subjects 10. In this embodiment, the target external water volume of the sewage system as a whole is calculated by the water quality and water quantity balance principle. Therefore, it is only necessary to select any discharge subject 10 for measurement and calculation, and no further details will be given later.

[0047] It should be noted that the second measurement node 21 may be set at any position of the municipal sewage trunk pipe 20 , and this embodiment does not impose any limitation on this.

[0048] The following is based on Figure 1The sewage system shown is used to further illustrate the technical solution of the embodiment of the present invention.

[0049] Reference Figure 2 , Figure 2 A flow chart of a method for measuring the amount of water outside a sewage main pipe based on water quality and water quantity balance provided in an embodiment of the present invention, the method for measuring the amount of water outside a sewage main pipe based on water quality and water quantity balance includes but is not limited to the following steps:

[0050] S10, determining a water consumption peak time period and a water consumption low peak time period.

[0051] It should be noted that the peak water usage time period and the low water usage time period in this embodiment are for the sewage system, not the peak period or low peak period of a specific discharge entity. This embodiment characterizes the changing pattern of sewage flow and concentration in the sewage system through high and low peak periods. By statistically analyzing the data of high and low peak periods, the operation of the sewage system in different time periods can be understood, including the peak and trough of sewage flow, and the changes in sewage concentration.

[0052] In one embodiment, step S10 specifically includes but is not limited to the following steps:

[0053] Based on a preset reference duration, multiple evaluation time periods are determined, wherein the reference duration is used to indicate the duration for a measurement personnel to move from a first measurement node to a second measurement node; for each evaluation time period, a first evaluation flow of the first measurement node is obtained, and a second evaluation flow of the second measurement node is obtained; based on the multiple first evaluation flows and the multiple second evaluation flows, a water consumption peak time period and a water consumption low peak time period are determined.

[0054] It should be noted that the present embodiment can determine the peak water consumption time period and the low water consumption time period through historical data. Prior to this, it is necessary to divide a day into multiple evaluation time periods according to a reference duration. For example, taking one hour as the reference duration, a day is divided into 24 evaluation time periods. The specific value of the reference duration can be set according to actual needs.

[0055] It should be noted that when setting the reference duration, it is necessary to consider the time it takes for the measurement personnel to move from one measurement node to another, so that the measurement method of this embodiment can be implemented by manual measurement. For example, after the test personnel measure the peak flow of raw sewage at the first measurement node through a manual measuring instrument, it takes 1 hour to go to the second measurement node to measure the peak flow of the measured node and the peak concentration of the measured node. Therefore, the reference duration is at least greater than 1 hour to ensure that the peak flow of raw sewage, the peak flow of the measured node and the peak concentration of the measured node are collected in the same evaluation time period. Of course, remote readings can also be performed through an automated monitoring device, and the corresponding solution can be selected according to actual cost requirements.

[0056] It should be noted that after determining the evaluation time period, this embodiment considers that the water quantity and water quality within the same evaluation time period are equivalent, so the first evaluation flow and the second evaluation flow can be collected at any time, and the water use can be determined by the first evaluation flow and the second evaluation flow. If the first evaluation flow and the second evaluation flow reach the maximum value in the same evaluation time period, the evaluation time period is determined as the peak water use time period. If the first evaluation flow and the second evaluation flow do not reach the maximum value in the same evaluation time period, the evaluation time period corresponding to the maximum value of the second evaluation flow can also be determined as the peak water use time period. The same is true for the local water use time period, which will not be repeated here.

[0057] S20, based on the peak water usage period, obtain the peak flow of raw sewage from the first measurement node, and obtain the peak flow and peak concentration of the measured node from the second measurement node, wherein the first measurement node is the confluence of the sewage branch pipe of the discharge entity and the municipal sewage trunk pipe, and the second measurement node is located at the municipal sewage trunk pipe.

[0058] It should be noted that the peak flow rate and low peak flow rate of raw sewage collected by the first measurement node can truly reflect the flow rate of the first measurement node. However, before the first measurement node, domestic sewage and rainwater may be mixed, and the concentration detected at the first measurement node cannot represent the raw sewage concentration. Based on this, this embodiment does not detect the raw sewage concentration at the first measurement node, but calculates it through a subsequent calculation formula.

[0059] It should be noted that the second measurement node serves as a monitoring point in the municipal sewage trunk pipe. In this embodiment, the water quality and quantity of the second measurement node are used as the sum of the sewage discharge body and the external water volume. Therefore, the water quality and water quantity can be monitored directly at the second measurement node to provide a data basis for the water quality and water quantity balance calculation.

[0060] S30, based on the low-peak water usage period, obtain the low-peak flow of raw sewage from the first measurement node, and obtain the measured node low-peak flow and the measured node low-peak concentration from the second measurement node.

[0061] It should be noted that the collection of relevant data based on the low-peak water usage period can refer to the description of the peak water usage period mentioned above, which will not be repeated here.

[0062] S40, determining the raw sewage concentration based on the raw sewage peak flow, the measured node peak concentration, the raw sewage low peak flow, the measured node low peak flow and the measured node low peak concentration.

[0063] It should be noted that based on the water quality and quantity balance theory, the fluctuation of sewage composition in 24 hours a day is basically within a certain range. To simplify the calculation, this embodiment is based on the premise that the sewage concentration in the area remains unchanged throughout the day and the mixing amount of groundwater and base flow remains basically unchanged throughout the day. Therefore, the water quality and quantity of different monitoring points during the peak water consumption period and the low water consumption period can be determined by the following equation: Q 原生低峰 C 原生污 +Q 清 C 清 =Q 测低峰 C 测低峰 , Q 原生低峰 +Q 清 =Q 测低峰 , Q 原生高峰 C 原生污 +Q 清 C 清 =Q 测高峰 C 测高峰 and Q 原生高峰 +Q 清 =Q 测高峰 , in the above equation, C 原生污 is the original sewage concentration, Q 测高峰 is the measured node peak flow, C 测高峰 is the measured node peak concentration, Q 原生高峰 is the peak flow of raw sewage, Q 测低峰 is the measured low-peak traffic of the node, C 测低峰 is the measured node low peak concentration, Q 原生低峰 is the low peak flow of raw sewage, Q 清 is the target external water flow, C 清 is the reference external water concentration.

[0064] It should be noted that C 清 It is the external water mixing concentration, such as the groundwater and base flow mixing concentration. For an area or a city, this value is usually fixed, so it can be measured in advance and saved as a constant value.

[0065] In one embodiment, the raw sewage concentration is calculated by the following formula:

[0066]

[0067] It should be noted that in the above formula, each variable can be measured in steps S20 and S30, so after substituting them into the formula, C 原生污 The specific value of the original sewage can be calculated.

[0068] S50, determining the target external water flow rate based on the raw sewage concentration, the measured node low peak flow rate, the measured node low peak flow rate, the raw sewage low peak flow rate and the preset reference external water concentration.

[0069] It should be noted that after calculating the raw sewage concentration according to the above formula, it can be determined that the only unknown number in each equation in S40 is the target external water flow rate Q 清 , the calculation can be done using the water quality and quantity balance during peak water usage or low water usage time periods.

[0070] In one embodiment, the target external water flow rate is calculated by the following formula:

[0071]

[0072] It should be noted that in the above formula, C 原生污 It has been calculated according to the above formula, so the total water quality and quantity Q during the low-peak period of water use 测低峰 C 测低峰 Subtract the original sewage water quality and quantity Q 原生低峰 C 原生污 Get the total water quality and quantity of external water through C 清 -C 原生污 Characterize the external water quality, and after division, get the target external water volume Q 清 .

[0073] In addition, refer to Figure 3 The embodiment of the present invention further provides a device for measuring water volume outside a sewage main pipe based on water quality and water volume balance, comprising:

[0074] A high-peak and low-peak determination unit 310 is used to determine a water consumption peak time period and a water consumption low-peak time period;

[0075] The peak measurement unit 320 is used to obtain the peak flow rate of the raw sewage from the first measurement node based on the peak water consumption period, and obtain the peak flow rate and peak concentration of the measured node from the second measurement node, wherein the first measurement node is the confluence of the sewage branch pipe of the discharge subject and the municipal sewage trunk pipe, and the second measurement node is located at the municipal sewage trunk pipe;

[0076] A low-peak measurement unit 330 is used to obtain the low-peak flow of raw sewage from the first measurement node based on the low-peak water use period, and obtain the low-peak flow and low-peak concentration of the measured node from the second measurement node;

[0077] A raw sewage concentration determination unit 340, for determining the raw sewage concentration based on the raw sewage peak flow, the measured node peak concentration, the raw sewage low peak flow, the measured node low peak flow and the measured node low peak concentration;

[0078] The external water flow determination unit 350 is used to determine the target external water flow based on the raw sewage concentration, the measured node low peak flow, the measured node low peak flow, the raw sewage low peak flow and the preset reference external water concentration.

[0079] In addition, in one embodiment, the high and low peak determination unit 310 further includes:

[0080] A time period division unit, used to determine a plurality of evaluation time periods based on a preset reference time period, wherein the reference time period is used to indicate the time period for a measurement person to move from a first measurement node to a second measurement node;

[0081] An evaluation flow collection unit, used to obtain a first evaluation flow of a first measurement node and a second evaluation flow of a second measurement node for each evaluation time period;

[0082] A high-peak and low-peak identification unit is used to determine a water consumption peak time period and a water consumption low-peak time period based on a plurality of first evaluation flows and a plurality of second evaluation flows.

[0083] like Figure 4 As shown, Figure 4 The present invention also provides an electronic device, including:

[0084] The processor 401 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0085] The memory 402 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 402 can store an operating system and other application programs. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 402, and the processor 401 calls and executes the method for measuring the amount of water outside the sewage main pipe based on water quality and water quantity balance in the embodiment of this application;

[0086] Input / output interface 403, used to implement information input and output;

[0087] Communication interface 404, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WI FI, Bluetooth, etc.);

[0088] Bus 405 , which transmits information between various components of the device (e.g., processor 401 , memory 402 , input / output interface 403 , and communication interface 404 );

[0089] The processor 401 , the memory 402 , the input / output interface 403 and the communication interface 404 are connected to each other in communication within the device via the bus 405 .

[0090] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for measuring the amount of water outside the sewage main pipe based on water quality and water quantity balance is implemented.

[0091] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0092] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0093] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.

Claims

1. A method for measuring the amount of water outside a sewage main pipe based on water quality and water quantity balance, characterized in that: include: Identify peak and low water usage periods; Based on the peak water consumption period, the peak flow rate of raw sewage is obtained from the first measurement node, and the peak flow rate and peak concentration of the measured node are obtained from the second measurement node, wherein the first measurement node is the confluence of the sewage branch pipe of the discharge subject and the municipal sewage trunk pipe, and the second measurement node is located at the municipal sewage trunk pipe; Based on the low-peak water use time period, the low-peak flow of raw sewage is obtained from the first measurement node, and the low-peak flow and low-peak concentration of the measured node are obtained from the second measurement node; Determine the raw sewage concentration based on the raw sewage peak flow, the measured node peak concentration, the raw sewage low peak flow, the measured node low peak flow and the measured node low peak concentration; The target external water flow rate is determined based on the raw sewage concentration, the measured node low peak flow rate, the measured node low peak flow rate, the raw sewage low peak flow rate and the preset reference external water concentration.

2. The method for measuring water volume outside the sewage main pipe based on water quality and water volume balance according to claim 1, characterized in that: Determining the peak water consumption time period and the low water consumption time period includes: Determine a plurality of evaluation time periods based on a preset reference duration, wherein the reference duration is used to indicate the duration for a measurement person to move from the first measurement node to the second measurement node; For each of the evaluation time periods, obtaining a first evaluation flow of the first measurement node, and obtaining a second evaluation flow of the second measurement node; The water consumption peak time period and the water consumption low peak time period are determined based on a plurality of the first evaluation flow rates and a plurality of the second evaluation flow rates.

3. The method for measuring water volume outside the sewage main pipe based on water quality and water volume balance according to claim 1, characterized in that: The raw sewage concentration is calculated by the following formula: Among them, C 原生污 is the raw sewage concentration, Q 测高峰 is the measured node peak flow, C 测高峰 is the measured node peak concentration, Q 原生高峰 is the peak flow rate of raw sewage, Q 测低峰 is the measured node low peak flow, C 测低峰 is the measured node low peak concentration, Q 原生低峰 This is the low peak flow of the raw sewage.

4. The method for measuring water volume outside the sewage main pipe based on water quality and water volume balance according to claim 3 is characterized in that: The target external water flow rate is calculated by the following formula: Among them, Q 清 is the target external water flow rate, C 清 is the reference external water concentration.

5. A device for measuring water volume outside a sewage main pipe based on water quality and water volume balance, characterized in that: include: A high-peak and low-peak determination unit, used to determine the peak water consumption time period and the low water consumption time period; A peak measurement unit is used to obtain the peak flow rate of raw sewage from a first measurement node based on the peak water consumption period, and obtain the peak flow rate and peak concentration of the measured node from a second measurement node, wherein the first measurement node is the confluence of the sewage branch pipe of the discharge subject and the municipal sewage trunk pipe, and the second measurement node is located at the municipal sewage trunk pipe; A low-peak measurement unit, configured to obtain a low-peak flow rate of raw sewage from the first measurement node based on the low-peak water consumption period, and obtain a low-peak flow rate and a low-peak concentration of a measured node from the second measurement node; A raw sewage concentration determination unit, used to determine the raw sewage concentration based on the raw sewage peak flow, the measured node peak concentration, the raw sewage low peak flow, the measured node low peak flow and the measured node low peak concentration; An external water flow determination unit is used to determine the target external water flow based on the raw sewage concentration, the measured node low peak flow, the measured node low peak flow, the raw sewage low peak flow and a preset reference external water concentration.

6. The device for measuring water quantity outside the sewage main pipe based on water quality and water quantity balance according to claim 5, characterized in that: The high and low peak determination unit comprises: a time period division unit, configured to determine a plurality of evaluation time periods based on a preset reference time period, wherein the reference time period is used to indicate the time period for a measurement person to move from the first measurement node to the second measurement node; An evaluation flow collection unit, configured to obtain, for each evaluation time period, a first evaluation flow of the first measurement node and a second evaluation flow of the second measurement node; A high-peak and low-peak identification unit is used to determine the water consumption peak time period and the water consumption low-peak time period based on multiple first evaluation flow rates and multiple second evaluation flow rates.

7. The device for measuring water quantity outside a sewage main pipe based on water quality and water quantity balance according to claim 5, characterized in that: The raw sewage concentration is calculated by the following formula: Among them, C 原生污 is the raw sewage concentration, Q 测高峰 is the measured node peak flow, C 测高峰 is the measured node peak concentration, Q 原生高峰 is the peak flow rate of raw sewage, Q 测低峰 is the measured node low peak flow, C 测低峰 is the measured node low peak concentration, Q 原生低峰 This is the low peak flow of the raw sewage.

8. The device for measuring water quantity outside a sewage main pipe based on water quality and water quantity balance according to claim 5, characterized in that: The target external water flow rate is calculated by the following formula: Among them, Q 清 is the target external water flow rate, C 清 is the reference external water concentration.

9. An electronic device, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the method for measuring the amount of water outside the sewage main based on water quality and water quantity balance as described in any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method for measuring the amount of water outside a sewage main pipe based on water quality and water quantity balance as described in any one of claims 1 to 4.