A water quantity and quality prediction method and system for a municipal drainage pipe network
By calculating the predicted total water volume and pollutant concentration of the municipal drainage network under heavy rain, and using a water quality prediction model, the problem of inaccurate water volume and quality prediction in existing technologies has been solved, and accurate prediction under heavy rain has been achieved.
Patent Information
- Application Number
- CN202311067564.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-23
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-08-23
AI Technical Summary
Existing technologies cannot accurately predict the quantity and quality of water in municipal drainage networks during heavy rain, leading to difficulties in data collection, processing, and cleaning, which affects the effectiveness of management measures.
By obtaining the current rainfall and the location information of the drainage network inlet, the total predicted water volume is calculated using the water volume prediction function. Combined with pollutant information and rainwater pollution concentration, the data is input into the water quality prediction model to obtain accurate water quality information.
It improves the accuracy of predicting water quantity and quality in municipal drainage networks during heavy rain, ensuring the effectiveness of management measures.
Smart Images

Figure CN117151925B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of water quantity and quality prediction, and in particular to a method and system for predicting water quantity and quality in municipal drainage networks. Background Technology
[0002] With the gradual improvement of urban construction and development, the requirements for the construction of municipal drainage pipe networks are also gradually increasing. The drainage pipe network is a drainage system composed of all drainage pipes in the city. The city's drainage pipe network is a guarantee for the normal operation of the city. It can carry the drainage work of the entire city, and its operation status is affected by water volume and water quality.
[0003] Currently, existing technologies generally involve first collecting data, including real-time monitoring data and historical data, then processing and cleaning the data, extracting and selecting features, building a model, and finally taking corresponding management measures based on the predictions obtained from the model.
[0004] However, heavy rain greatly increases the operational pressure on municipal drainage networks. Large amounts of rainwater wash pollutants from the ground into the drainage network, making data collection, processing, and cleaning extremely difficult. Therefore, existing water quantity and quality prediction methods cannot accurately predict the water quantity and quality of municipal drainage networks under heavy rainfall conditions. Summary of the Invention
[0005] This application provides a method and system for predicting the water quantity and quality of municipal drainage pipe networks, which is used to improve the accuracy of predicting the water quantity and quality of municipal drainage pipe networks during rainstorms.
[0006] Firstly, this application provides a method for predicting the water quantity and quality of a municipal drainage network. This method obtains the city's rainfall at the current moment and the location information of all inlets of the municipal drainage network. Based on the inlet location information, it obtains all pollutant information within a preset range of the inlets. The rainfall is input into a municipal drainage network water quantity prediction function to obtain the predicted total water volume entering the municipal drainage network within a preset time period. It then determines whether the predicted total water volume is greater than the municipal drainage network's load drainage capacity. The load drainage capacity is the difference between the preset maximum drainage capacity of the municipal drainage network and the original water volume of the municipal drainage network. If the predicted total water volume is greater than the load drainage capacity, all pollutant information and the load drainage capacity are integrated and calculated to obtain the rainwater pollution concentration. The rainwater pollution concentration and the preset maximum drainage capacity are input into a municipal drainage network water quality prediction model to obtain the predicted full-load water quality information.
[0007] By adopting the above technical solution, based on the current rainfall, the predicted total water volume entering the municipal drainage network within a preset time period can be accurately obtained through the calculation of the municipal drainage network water volume prediction function. Then, the rainwater pollution concentration and the preset maximum drainage volume are input into the municipal drainage network water quality prediction model to obtain accurate predicted full-load water quality information, thereby improving the accuracy of water volume and water quality prediction for the municipal drainage network under rainstorm weather.
[0008] In conjunction with some embodiments of the first aspect, in some embodiments, the drainage network water volume prediction function is: In the formula, V represents the predicted total water volume, t1 is the start time of the predicted water volume and quality, t2 is the end time of the predicted water volume and quality, t is the time variable, z is the cloud thickness coefficient, and v a S1 represents the rainfall, S2 represents the absorbent surface area of the city, and S3 represents the area of the city.
[0009] The total precipitation is calculated based on the cloud thickness coefficient and the rainfall amount. This is the probability that the water can enter the municipal drainage network through the inlet.
[0010] By adopting the above technical solution, and substituting some of the data that affect the prediction results into the drainage network water volume prediction function, the predicted total water volume in the municipal drainage network within a preset time period can be accurately calculated.
[0011] In conjunction with some embodiments of the first aspect, in some embodiments, obtaining all pollutant information within a preset range of the water inlet based on the location information of the water inlet specifically includes: obtaining all buildings within the preset range of the current water inlet, wherein the current water inlet is any one of the water inlets; determining the type of pollutants emitted by the current building and the discharge volume corresponding to the type based on the store usage type of the current building, wherein the current building is any one of the buildings; and summing up the types of pollutants emitted by all buildings within the preset range of all water inlets and the discharge volumes corresponding to the types to obtain the total pollutant information.
[0012] By adopting the above technical solution, the pollutant information entering a municipal drainage network inlet is obtained, and the discharge volume of the pollutant is confirmed. Then, the types of pollutants discharged from all buildings entering the network and the corresponding discharge volumes are summarized to obtain the total pollutant information, thus accurately obtaining the total pollutant information entering the municipal drainage network.
[0013] In conjunction with some embodiments of the first aspect, in some embodiments, if the predicted total water volume is greater than the load drainage volume, the rainwater pollution concentration is calculated by integrating all pollutant information and the load drainage volume. Specifically, this includes: obtaining the total rainfall within the preset time period based on the rainfall; obtaining the total amount of rainwater pollutants for the first pollutant based on the washout rate and the total amount corresponding to the first pollutant type in all pollutant information; summing the total amounts of rainwater pollutants for all pollutant types to obtain the total amount of rainwater pollutants; and calculating the rainwater pollution concentration based on the total amount of rainwater pollutants and the total rainfall.
[0014] By adopting the above technical solution, the total amount of pollutants washed away by rainwater is obtained based on the pollutant washout rate, and then the rainwater pollution concentration after the pollutants are mixed with rainwater is calculated. Taking the washout rate into account in the calculation improves the accuracy of water quality prediction for municipal drainage pipe networks.
[0015] In conjunction with some embodiments of the first aspect, in some embodiments, after inputting the rainwater pollution concentration and the preset maximum drainage volume into the municipal drainage network water quality prediction model to obtain the predicted full-load water quality information, the method further includes: if the predicted total water volume is less than the load drainage volume, then the medium-load water volume of the municipal drainage network and the information of all pollutants are integrated and calculated to obtain the concentration of external pollutants, wherein the medium-load water volume is the sum of the predicted total water volume and the original water volume; the concentration of external pollutants and the medium-load water volume are input into the municipal drainage network water quality prediction model to obtain the predicted medium-load water quality information.
[0016] By adopting the above technical solution, when the amount of rainwater entering the municipal drainage network can be carried by the municipal drainage network, the accurate concentration of external pollutants can be obtained based on the amount of rainwater entering the municipal drainage network and the original water volume in the municipal drainage network. Finally, the concentration of external pollutants and the amount of water carried are input into the municipal drainage network water quality prediction model to obtain accurate prediction of the water quality carried by the network, thereby improving the accuracy of water quality prediction for the municipal drainage network.
[0017] In conjunction with some embodiments of the first aspect, in some embodiments, before calculating the concentration of external pollutants by integrating the medium-load water volume of the municipal drainage network with all pollutant information if the predicted total water volume is less than the load drainage volume, the method further includes: obtaining the water flow velocity at the drainage outlet of the municipal drainage network; determining whether the water flow velocity is greater than the normal operating water flow velocity of the drainage outlet; if the water flow velocity is greater than the normal operating water flow velocity of the drainage outlet, then performing the step of calculating the concentration of external pollutants by integrating the medium-load water volume of the municipal drainage network with all pollutant information if the predicted total water volume is less than the load drainage volume.
[0018] By adopting the above technical solution, it is possible to determine whether the water flow velocity at the drainage outlet of the municipal drainage network is normal, and whether the municipal drainage network is blocked. If it is normal, water quality can be predicted. If it is not normal, the predicted water quality information will be inaccurate. By confirming that the municipal drainage network is operating normally, the accuracy of the predicted water quality information can be guaranteed.
[0019] In conjunction with some embodiments of the first aspect, in some embodiments, the preset time period is the next two hours starting from the current time.
[0020] By adopting the above technical solution and limiting the predicted time period, accurate prediction results of water quantity and quality of municipal drainage pipe network can be obtained within the preset time period.
[0021] Secondly, this application provides a water quantity and quality prediction system for a municipal drainage network. The system includes: an acquisition module, used to acquire the city's rainfall at the current moment and the location information of all inlets of the municipal drainage network; and used to acquire all pollutant information within a preset range of the inlets based on the location information of the inlets. The processing module is used to input the rainfall into the municipal drainage network water volume prediction function to obtain the predicted total water volume entering the municipal drainage network within a preset time period. The judgment module is used to determine whether the predicted total water volume is greater than the load drainage capacity of the municipal drainage network. The load drainage capacity is the difference between the preset maximum drainage capacity of the municipal drainage network and the original water volume of the municipal drainage network. The calculation module is used to calculate the rainwater pollution concentration by integrating all pollutant information and the load drainage if the predicted total water volume is greater than the load drainage volume. The prediction module is used to input the rainwater pollution concentration and the preset maximum drainage volume into the municipal drainage network water quality prediction model to obtain the predicted full-load water quality information.
[0022] Thirdly, embodiments of this application provide an electronic device comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, and the one or more processors invoking the computer instructions to cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.
[0023] Fourthly, embodiments of this application provide a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.
[0024] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages: 1. Based on the current rainfall, the total predicted water volume entering the municipal drainage network within a preset time period can be accurately obtained through the calculation of the municipal drainage network water volume prediction function. Then, the rainwater pollution concentration and the preset maximum drainage volume are input into the municipal drainage network water quality prediction model to obtain accurate predicted full-load water quality information, which improves the accuracy of water volume and water quality prediction for the municipal drainage network under rainstorm weather.
[0025] 2. By acquiring information on pollutants entering a municipal drainage network and confirming their discharge volume, the types of pollutants discharged from all buildings entering the network through all inlets and the corresponding discharge volumes can be summarized to obtain information on all pollutants, thereby improving the accuracy of water quality prediction for municipal drainage networks.
[0026] 3. The total amount of pollutants washed away by rainwater is obtained based on the pollutant washout rate. Then, the rainwater pollution concentration after the pollutants are mixed with rainwater is calculated. Taking the washout rate into account in the calculation improves the accuracy of water quality prediction for municipal drainage networks. Attached Figure Description
[0027] Figure 1 This is an exemplary scenario diagram of the water quantity and quality prediction system for municipal drainage networks used in the embodiments of this application.
[0028] Figure 2 This is a flowchart illustrating a method for predicting the water quantity and quality of municipal drainage networks in an embodiment of this application.
[0029] Figure 3 This is a flowchart illustrating a method for obtaining all pollutant information in an embodiment of this application.
[0030] Figure 4 This is a schematic flowchart of a method for obtaining rainwater pollution concentration in an embodiment of this application.
[0031] Figure 5 This is a schematic diagram of the functional module structure of a water quantity and quality prediction system for a municipal drainage network provided in the embodiments of this application.
[0032] Figure 6 This is a schematic diagram of the physical device structure of a water quantity and quality prediction system for a municipal drainage network provided in the embodiments of this application. Detailed Implementation
[0033] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations including one or more of the listed items.
[0034] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0035] Figure 1 This is an exemplary scenario diagram of the water quantity and quality prediction system for municipal drainage networks used in the embodiments of this application.
[0036] Please see Figure 1 During heavy rain, the municipal drainage network has several inlets, and several buildings surround each inlet. Rainwater enters the municipal drainage network through these inlets and is eventually discharged through the outlets. The system obtains the city's rainfall at the current moment and the location information of all inlets in the municipal drainage network. The rainfall is input into the municipal drainage network water volume prediction function to obtain the predicted total water volume entering the municipal drainage network within a preset time period. All pollutant information and the load drainage volume are integrated and calculated to obtain the rainwater pollution concentration. The rainwater pollution concentration and the preset maximum drainage volume are input into the municipal drainage network water quality prediction model to obtain the predicted water quality information.
[0037] The following is combined Figure 2 The method for predicting water quantity and quality in municipal drainage networks in the embodiments of this application is described below: Please see Figure 2 This is a flowchart illustrating a method for predicting the water quantity and quality of municipal drainage networks in an embodiment of this application.
[0038] S201. Obtain the city's rainfall and the location information of all inlets of the municipal drainage network at the current moment; It is currently raining heavily. The system obtains the city's rainfall at the current moment and the location information of all inlets of the municipal drainage network. The rainfall amount represents the rainfall rate at the current moment. For example, suppose the city has three municipal drainage network inlets: Inlet A, Inlet B, and Inlet C. The current rainfall in the city is 20 millimeters per hour.
[0039] It is understandable that the three water inlets mentioned above may not represent all water inlets in the city; there may be more than three water inlets, which is not limited here.
[0040] S202. Obtain all pollutant information within the preset range of the inlet based on the inlet's location information; The system obtains information on all pollutants within a preset range of the inlet based on the location information of the inlet. This preset range is the maximum range within which pollutants, after being washed away by rainwater, can enter the municipal drainage network through the inlet. Here, it is defined as a circular area with a radius of 1 kilometer centered on the inlet.
[0041] It should be noted that this step involves first obtaining all pollutant information within a preset range of one inlet, then repeating this step to obtain all pollutant information within the preset ranges of all inlets, and finally integrating all pollutant information within the preset ranges of all inlets to obtain the total pollutant information.
[0042] Continuing from the previous example, the total amount of pollutants that can be obtained is: Pollutant 1 = 120 kg; Pollutant 2 = 90 kg; Pollutant 3 = 115 kg.
[0043] It is understood that the above-mentioned limitation on the preset range is only in the scheme of this application. In reality, the maximum range that pollutants can enter the municipal drainage network through the inlet after being washed by rainwater should be determined according to the distribution of the local municipal drainage network, and is not limited here.
[0044] S203. Input the rainfall into the municipal drainage network water volume prediction function to obtain the predicted total water volume entering the municipal drainage network within a preset time period. The rainfall data is input into the municipal drainage network water volume prediction function to obtain the predicted total water volume entering the municipal drainage network within a preset time period, which is the next two hours starting from the current time. The water volume prediction function is as follows: In the formula, V represents the predicted total water volume, t1 is the start time of the predicted water volume and quality, t2 is the end time of the predicted water volume and quality, t is the time variable, z is the cloud thickness coefficient, and v a S1 represents the rainfall, S2 represents the absorbent surface area of the city, and S3 represents the area of the city.
[0045] The total precipitation is calculated based on the cloud thickness coefficient and the rainfall amount. This is the probability that the water can enter the municipal drainage network through the inlet.
[0046] It should be noted that soil, green belts, and other absorbent surfaces in the city will absorb some rainwater. The amount of rainwater entering the municipal drainage network through the inlet will be affected by the area of absorbent surfaces in the city. Therefore, the probability of entering the municipal drainage network through the inlet needs to be added to the water volume prediction function to improve the accuracy of water volume prediction for the municipal drainage network.
[0047] Continuing with the example above, we can obtain t2-t1=2, v a =20, S1=2400, S2=8000. Substituting the above data into the water volume prediction function, we get the predicted total water volume V=6325 liters.
[0048] S204. Determine whether the predicted total water volume is greater than the load drainage capacity of the municipal drainage network. The system determines whether the predicted total water volume is greater than the load drainage capacity of the municipal drainage network. The load drainage capacity of the municipal drainage network is the drainage volume after subtracting the original water volume in the municipal drainage network, which is the maximum amount of rainwater that it can bear. The load drainage capacity is specified as 6000 liters.
[0049] S205. If the predicted total water volume is greater than the load drainage volume, then all pollutant information and the load drainage volume will be integrated and calculated to obtain the rainwater pollution concentration. If the system determines that the predicted total water volume is greater than the load drainage volume, it will calculate the rainwater pollution concentration by integrating all pollutant information and the load drainage volume. During heavy rain, if the predicted total water volume is greater than the load drainage volume, the municipal drainage network will not be able to discharge all the rainwater, and some pollutants will remain on the surface. The rainwater pollution concentration will be calculated by integrating all pollutant information and the load drainage volume. The pollutant concentration in the rainwater entering the municipal drainage network is also the above-mentioned rainwater pollution concentration.
[0050] Continuing with the previous example, pollutant 1 = 120 kg; pollutant 2 = 90 kg; pollutant 3 = 115 kg, and the predicted total water volume V = 6325 liters. Therefore, the rainwater pollution concentration is 0.051 kg per liter.
[0051] S206. Input the rainwater pollution concentration and the preset maximum drainage volume into the municipal drainage network water quality prediction model to obtain the predicted full-load water quality information. The rainwater pollution concentration and preset maximum drainage volume obtained from S205 are input into the municipal drainage network water quality prediction model to obtain the predicted full-load water quality information. The preset maximum drainage volume is the maximum water volume that the municipal drainage network can withstand, which is specified as 8000 liters. This municipal drainage network water quality prediction model is a model constructed by fusing water quality algorithms and water quality reference tables based on deep learning algorithms. After inputting the rainwater pollution concentration and preset maximum drainage volume into the municipal drainage network water quality prediction model, the output is the water quality information within the municipal drainage network.
[0052] Continuing with the previous example, the rainwater pollution concentration is 0.051 kg per liter, and the preset maximum drainage volume is 8000 liters. After inputting the above data into the municipal drainage network water quality prediction model, the water quality information in the municipal drainage network is 408 turbidity units, which is greater than 300 turbidity units, and belongs to the category of heavily turbid water.
[0053] S207. If the predicted total water volume is less than the load drainage volume, the concentration of external pollutants will be calculated by integrating the medium load water volume of the municipal drainage network with all pollutant information. If the system determines that the predicted total water volume is less than the load drainage volume, it integrates the medium-load water volume of the municipal drainage network with all pollutant information to calculate the concentration of external pollutants. This medium-load water volume represents the amount of rainwater entering the municipal drainage network. Given that the predicted total water volume is less than the load drainage volume during the current heavy rain, the municipal drainage network can discharge the rainwater. Therefore, the water quality of the rainwater entering the municipal drainage network can be calculated. Continuing the previous example, since the predicted total water volume is less than the load drainage volume, the total amount of pollutants washed away by the rainwater will be less. Assuming pollutant 1 = 100 kg; pollutant 2 = 80 kg; and pollutant 3 = 110 kg, the predicted total water volume in this scenario is V = 5619 liters, then the concentration of external pollutants is 0.052 kg / liter.
[0054] S208. Input the concentration of external pollutants and the medium-load water volume into the municipal drainage network water quality prediction model to obtain the predicted medium-load water quality information.
[0055] The concentration of external pollutants and the medium-load water volume obtained in S207 are input into the municipal drainage network water quality prediction model to obtain the predicted medium-load water quality information. The municipal drainage network water quality prediction model is a model constructed by fusing water quality algorithms and water quality comparison tables based on deep learning algorithms. After inputting the concentration of external pollutants and the medium-load water volume into the municipal drainage network water quality prediction model, the output is the water quality information within the municipal drainage network.
[0056] Continuing with the previous example, the concentration of external pollution is 0.052 kg / L, and the medium-load water volume is 7000 liters. After inputting the above data into the municipal drainage network water quality prediction model, the water quality information in the municipal drainage network is 364 turbidity units, which is classified as heavily turbid water.
[0057] In the above embodiment, based on the rainfall at the current moment, the predicted total water volume entering the municipal drainage network within a preset time period can be accurately obtained through the calculation of the municipal drainage network water volume prediction function. Then, the pollution concentration and the water volume in the municipal drainage network are input into the municipal drainage network water quality prediction model to obtain accurate water quality information, thereby improving the accuracy of water volume and water quality prediction for the municipal drainage network under rainstorm weather.
[0058] In S202 above, all pollutant information within a preset range of the inlet is obtained based on the inlet's location information. The following section combines... Figure 3 The following describes how all pollutant information is obtained in the embodiments of this application: Please see Figure 3 This is a flowchart illustrating a method for obtaining all pollutant information in an embodiment of this application.
[0059] S301. Obtain all buildings within the preset range of the current water inlet, where the current water inlet is any water inlet; The system retrieves all buildings within a preset range of the current inlet. The current inlet is any inlet in the municipal drainage network. This preset range represents the maximum area within which pollutants can be washed into the municipal drainage network by rainwater. Following the example in S201, assuming the current inlet is municipal drainage network inlet B, the preset range is a circular area with a radius of 1 kilometer centered on the inlet. The retrieved buildings are building E, building F, and building G.
[0060] S302. Determine the type of pollutants emitted by the current building and the corresponding emission volume based on the type of store usage in the current building; The system then determines the type of pollutants emitted by the current building and the corresponding discharge volume based on the current store usage type of the building. Continuing from the previous example, we can find that the store usage type of building E is restaurant, the store usage type of building F is school, and the store usage type of building G is hospital. Therefore, the type of pollutants emitted by building E and the corresponding discharge volume are (oil stains, 60 kg), the type of pollutants emitted by building F and the corresponding discharge volume are (feces, 90 kg), and the type of pollutants emitted by building G and the corresponding discharge volume are (disinfection wastewater, 70 kg).
[0061] It is understood that the store usage type and pollutant type of the building illustrated above can be other types, such as store usage type of the building: shopping mall and residential building, etc., and pollutant type: dust, etc., which are not limited here.
[0062] S303. Summarize the types of pollutants discharged by all buildings within the preset range of all water inlets and the corresponding discharge volumes to obtain all pollutant information.
[0063] The system aggregates the types of pollutants emitted by all buildings within the preset range of all inlets and the corresponding discharge volumes to obtain complete pollutant information. Continuing the previous example, the types of pollutants emitted by all buildings within the preset range of the other two inlets and the corresponding discharge volumes are obtained in the same way, resulting in the following complete pollutant information: Pollutant 1 = 120 kg; Pollutant 2 = 90 kg; Pollutant 3 = 115 kg.
[0064] In the above embodiment, the pollutant information entering the municipal drainage network inlet is obtained, and the discharge volume of the pollutant is confirmed. Then, the types of pollutants discharged by all buildings entering the network and the corresponding discharge volumes are summarized to obtain the information of all pollutants, which improves the accuracy of water quality prediction for the municipal drainage network.
[0065] In step S205, all pollutant information and load drainage volume are integrated and calculated to obtain the rainwater pollution concentration. The following section combines... Figure 4 The method for obtaining rainwater pollution concentrations is described below: Please see Figure 4 This is a flowchart illustrating a method for obtaining rainwater pollution concentration in an embodiment of this application.
[0066] S401. Obtain the total rainfall within a preset time period based on the rainfall amount; Based on the rainfall data, the total rainfall within a preset time period is obtained. Continuing from the previous example, the rainfall is v. a =20, the preset time period is t2-t1=2 hours, in the formula, Based on the cloud thickness coefficient and the rainfall, the total precipitation is calculated to be 10,000 liters.
[0067] S402. Based on the scour rate and total amount corresponding to the first pollutant type in all pollutant information, obtain the total amount of sub-rainwater pollutants of the first pollutant. The system obtains the total amount of rainwater pollutants for the first pollutant based on the flushing rate and total amount of the first pollutant type in all pollutant information. Continuing the previous example, the first pollutant corresponds to pollutant 1. Assuming that the flushing rate of pollutant 1 is 50% and the total amount of pollutant 1 is 240 kg, the rainwater pollution amount of pollutant 1 can be obtained as 120 kg.
[0068] S403. The total amount of rainwater pollutants is obtained by summing up the total amount of sub-rainwater pollutants corresponding to all pollutant types. The system sums up the total amount of sub-rainwater pollutants corresponding to all pollutant types to obtain the total amount of rainwater pollutants. Continuing from the previous example, we can deduce the following: the washout rate of pollutant 2 is 80%, the total amount of pollutant 2 is 112.5 kg, and the amount of rainwater pollutant 2 is 90 kg; the washout rate of pollutant 3 is 20%, the total amount of pollutant 3 is 575 kg, and the amount of rainwater pollutant 2 is 115 kg. Therefore, the total amount of rainwater pollutants is 325 kg.
[0069] S404. The rainwater pollution concentration is calculated based on the total amount of rainwater pollutants and the total amount of rainfall.
[0070] The system calculates the rainwater pollution concentration based on the total amount of pollutants in the rainwater and the total rainfall, so the rainwater pollution concentration is 0.051 kg per liter.
[0071] In the above embodiment, the total amount of pollutants washed away by rainwater is obtained based on the pollutant scour rate, and then the rainwater pollution concentration after the pollutants are mixed with rainwater is calculated. Taking the scour rate into account in the calculation improves the accuracy of water quality prediction for municipal drainage networks.
[0072] In municipal drainage network operations, the surge in workload caused by heavy rain may bring about some special situations. In such cases, it is necessary to obtain the water flow velocity at the drainage outlet of the municipal drainage network; determine whether the water flow velocity is greater than the normal operating water flow velocity of the drainage outlet; if the water flow velocity is greater than the normal operating water flow velocity of the drainage outlet, then if the predicted total water volume is less than the load drainage volume, then perform the step of integrating the medium load water volume of the municipal drainage network with all pollutant information to calculate the concentration of external pollutants.
[0073] In the above embodiment, determining whether the water flow velocity at the drainage outlet of the municipal drainage network is normal can indicate whether the municipal drainage network is blocked. If it is normal, water quality can be predicted. If it is not normal, the predicted water quality information will be inaccurate, thus improving the accuracy of water quality prediction for the municipal drainage network.
[0074] The system in this application embodiment is described below from a module perspective: Please see Figure 5 This is a schematic diagram of the functional module structure of a water quantity and quality prediction system for a municipal drainage network provided in this application embodiment.
[0075] The system includes: The acquisition module 501 is used to acquire the city's rainfall and the location information of all inlets of the municipal drainage network at the current moment; it is also used to acquire all pollutant information within a preset range of the inlets based on the inlet location information. Processing module 502 is used to input the rainfall into the municipal drainage network water volume prediction function to obtain the predicted total water volume entering the municipal drainage network within a preset time period; The judgment module 503 is used to determine whether the predicted total water volume is greater than the load drainage volume of the municipal drainage network. The load drainage volume is the difference between the preset maximum drainage volume of the municipal drainage network and the original water volume of the municipal drainage network. The calculation module 504 is used to calculate the rainwater pollution concentration by integrating all pollutant information and the load drainage if the predicted total water volume is greater than the load drainage volume. The prediction module 505 is used to input the rainwater pollution concentration and the preset maximum drainage volume into the municipal drainage network water quality prediction model to obtain the predicted full-load water quality information.
[0076] The system in the embodiments of this application has been described above from the perspective of modular functional entities. The system in the embodiments of this application will now be described below from the perspective of hardware processing. Please refer to [link / reference needed]. Figure 6 This is a schematic diagram of the physical device structure of a system provided in an embodiment of this application.
[0077] It should be noted that, Figure 6 The structure of the system shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.
[0078] like Figure 6 As shown, the system includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes based on a program stored in Read-Only Memory (ROM) 602 or a program loaded from storage portion 608 into Random Access Memory (RAM) 603, such as performing the methods described in the above embodiments. The RAM 603 also stores various programs and data required for system operation. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An Input / Output (I / O) interface 605 is also connected to the bus 604.
[0079] The following components are connected to I / O interface 605: an input section 606 including a camera, infrared sensor, etc.; an output section 607 including a liquid crystal display (LCD) and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card and a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.
[0080] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing computer programs for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs the various functions defined in the present invention.
[0081] It should be noted that the computer-readable medium shown in the embodiments of the present invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. The transmitted data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof.
[0082] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0083] Specifically, the system in this embodiment includes a processor and a memory. The memory stores a computer program, and when the computer program is executed by the processor, it implements the spectral information measurement method provided in the above embodiment.
[0084] In another aspect, the present invention also provides a computer-readable storage medium, which may be included in the system described in the above embodiments; or it may exist independently and not assembled into the system. The storage medium carries one or more computer programs that, when executed by a processor of the system, cause the system to implement the methods provided in the above embodiments.
[0085] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
[0086] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".
[0087] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.
[0088] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A method for predicting water quantity and quality in municipal drainage pipe networks, characterized in that, include: Obtain the city's rainfall and the location information of all inlets of the municipal drainage network at the current moment; Obtain all pollutant information within a preset range of the inlet based on the inlet's location information; The rainfall is input into the municipal drainage network water volume prediction function to obtain the predicted total water volume entering the municipal drainage network within a preset time period. The drainage network water volume prediction function is as follows: ; In the formula, For the predicted total water volume, To predict the start time of water quantity and quality, To predict the end time of water quantity and quality, Time is the independent variable. This is the cloud thickness coefficient. For rainfall, The water-absorbing surface area of the city. The area of the city; The total precipitation is calculated based on the cloud thickness coefficient and the rainfall amount. The probability of water entering the municipal drainage network through the inlet; Determine whether the predicted total water volume is greater than the load drainage capacity of the municipal drainage network, wherein the load drainage capacity is the difference between the preset maximum drainage capacity of the municipal drainage network and the original water volume of the municipal drainage network. If the predicted total water volume is greater than the load drainage volume, then all pollutant information and the load drainage volume are integrated and calculated to obtain the rainwater pollution concentration. The rainwater pollution concentration and the preset maximum drainage volume are input into the municipal drainage network water quality prediction model to obtain the predicted full-load water quality information.
2. The method according to claim 1, characterized in that, The step of obtaining all pollutant information within a preset range of the inlet based on the inlet's location information specifically includes: Obtain all buildings within a preset range of the current water inlet, wherein the current water inlet is any one of the aforementioned water inlets; The type of pollutants emitted by the current building and the corresponding emission volume are determined based on the current building's store usage type, wherein the current building is any of the aforementioned buildings; The pollutant information is obtained by summarizing the types of pollutants emitted by all buildings within the preset range of all water inlets and the corresponding discharge volumes.
3. The method according to claim 2, characterized in that, If the predicted total water volume is greater than the load drainage volume, then the rainwater pollution concentration is calculated by integrating all pollutant information and the load drainage volume, specifically including: The total rainfall within the preset time period is obtained based on the rainfall amount; The total amount of sub-rainwater pollutants of the first pollutant is obtained based on the scour rate and the total amount of the first pollutant type in all the pollutant information. The total amount of rainwater pollutants is obtained by summing up the total amounts of sub-rainwater pollutants corresponding to all pollutant types. The rainwater pollution concentration is calculated based on the total amount of rainwater pollutants and the total rainfall.
4. The method according to claim 1, characterized in that, After inputting the rainwater pollution concentration and the preset maximum drainage volume into the municipal drainage network water quality prediction model to obtain the predicted full-load water quality information, the method further includes: If the predicted total water volume is less than the load drainage volume, the medium-load water volume of the municipal drainage network and all pollutant information are integrated and calculated to obtain the concentration of external pollutants. The medium-load water volume is the sum of the predicted total water volume and the original water volume. The concentration of the external pollutants and the amount of medium-load water are input into the municipal drainage network water quality prediction model to obtain the predicted medium-load water quality information.
5. The method according to claim 4, characterized in that, If the predicted total water volume is less than the load drainage volume, before calculating the concentration of external pollutants by integrating the medium-load water volume of the municipal drainage network with all pollutant information, the method further includes: Obtain the water flow velocity at the drainage outlet of the municipal drainage network; Determine whether the water flow velocity is greater than the normal operating water flow velocity of the drain outlet; If the water flow velocity is greater than the normal operating water flow velocity of the drain outlet, then the step of calculating the concentration of external pollutants by integrating the medium-load water volume of the municipal drainage network with all pollutant information is executed if the predicted total water volume is less than the load drainage volume.
6. The method according to claim 1, characterized in that: The preset time period is the two hours following the current time.
7. A water quantity and quality prediction system for municipal drainage pipe networks, characterized in that, include: The acquisition module is used to obtain the city's rainfall and the location information of all inlets of the municipal drainage network at the current moment; Used to obtain information on all pollutants within a preset range of the inlet based on the inlet's location information; The processing module is used to input the rainfall into the municipal drainage network water volume prediction function to obtain the predicted total water volume entering the municipal drainage network within a preset time period. The drainage network water volume prediction function is as follows: ; In the formula, For the predicted total water volume, To predict the start time of water quantity and quality, To predict the end time of water quantity and quality, Time is the independent variable. This is the cloud thickness coefficient. For rainfall, The water-absorbing surface area of the city. The area of the city; The total precipitation is calculated based on the cloud thickness coefficient and the rainfall amount. The probability of water entering the municipal drainage network through the inlet; The judgment module is used to determine whether the predicted total water volume is greater than the load drainage volume of the municipal drainage network, wherein the load drainage volume is the difference between the preset maximum drainage volume of the municipal drainage network and the original water volume of the municipal drainage network. The calculation module is used to calculate the rainwater pollution concentration by integrating all pollutant information and the load drainage if the predicted total water volume is greater than the load drainage volume. The prediction module is used to input the rainwater pollution concentration and the preset maximum drainage volume into the municipal drainage network water quality prediction model to obtain the predicted full-load water quality information.
8. An electronic device, characterized in that, include: One or more processors and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in any one of claims 1-6.
9. A computer-readable storage medium comprising instructions, characterized in that, When the instructions are executed on an electronic device, the electronic device causes the electronic device to perform the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Urban waterlogging detection method and device
CN114118544A
Urban combined system drainage system water load prediction method based on remote sensing technology
CN114611756A
