Method, apparatus, electronic device, and medium for predicting contaminant concentration
1. A method of predicting a concentration of a contaminant, the method comprising:
determining the reference concentration of pollutants according to the functional area of the city to which the inlet of the main pipeline for sewage discharge belongs; wherein the reference concentration of the pollutants is divided according to the functional area of the city;
determining the variable quantity of confluent pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to a branch pipeline sewage source area for sewage discharge;
determining the variation of the biological pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the variation of the confluence pollutants and the variation ratio of the pollutants;
and predicting the pollutant concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity.
2. The method of claim 1, wherein determining the amount of change in sink contaminant from the main pipe inlet to the main pipe outlet from a branch sewage source area of sewage discharge comprises:
according to a branch pipe sewage source area for sewage discharge, searching a branch pipe pollutant concentration related to the branch pipe sewage source area from a pollutant concentration correlation table;
and determining the variable quantity of the confluence pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the concentration of the branch pipe pollutants.
3. The method of claim 2, wherein prior to determining the change in biological contaminant from the main conduit inlet to the main conduit outlet as a function of the change in sink contaminant and the contaminant change ratio, the method further comprises:
determining the impact level of the branch pipe contaminant concentration and the impact level of biological effects in the sink pipe section; determining the confluence distance between adjacent confluence points;
and determining a pollutant change ratio according to the influence level of the branch pipe pollutant concentration, the confluence distance and the influence level of biological action in the confluence pipe section.
4. The method of claim 1, wherein predicting the contaminant concentration at the main pipe outlet from the reference contaminant concentration, the varying amount of the confluent contaminant, and the varying amount of the biological contaminant comprises:
and predicting the Chemical Oxygen Demand (COD) concentration and the ammonia nitrogen concentration of the outlet of the main pipeline according to the reference concentration of the pollutants, the variable quantity of the confluence pollutants and the variable quantity of the biological pollutants.
5. The method of claim 4, wherein predicting the Chemical Oxygen Demand (COD) concentration at the outlet of the main pipeline from the reference concentration of pollutants, the variation of the confluent pollutants and the variation of the biological pollutants comprises:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the difference between the first value and the variation of the biological pollutants as the Chemical Oxygen Demand (COD) concentration of the outlet of the main pipeline.
6. The method of claim 4, wherein the predicting the ammonia nitrogen concentration at the outlet of the main pipeline according to the reference concentration of the pollutants, the variation of the confluent pollutants and the variation of the biological pollutants comprises:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the sum of the first value and the variation of the biological pollutants as the ammonia nitrogen concentration of the outlet of the main pipeline.
7. The method of claim 1, further comprising:
comparing the pollutant concentration at the outlet of the main pipeline with a pollutant concentration threshold value;
and if the pollutant concentration at the outlet of the main pipeline is detected to be greater than the pollutant concentration threshold value, generating a concentration early warning prompt.
8. An apparatus for predicting a concentration of a contaminant, the apparatus comprising:
the concentration determining module is used for determining the reference concentration of pollutants according to the functional area of the city to which the inlet of the main pipeline for sewage discharge belongs; wherein the reference concentration of the pollutants is divided according to the functional area of the city;
the variable quantity determining module is used for determining the variable quantity of the confluent pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to a branch pipe sewage source area for sewage discharge;
the variable quantity determining module is also used for determining the variable quantity of the biological pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the variable quantity of the confluence pollutants and the pollutant change ratio;
and the concentration prediction module is also used for predicting the pollutant concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of predicting a concentration of a contaminant as set forth in any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of predicting a concentration of a contaminant as set forth in any one of claims 1 to 7.
Background
After sewage is discharged from a sewage source, the sewage firstly enters into sewage branch pipe pipelines at all levels, and then enters into a main pipe and a main pipe through multiple confluence, the confluence can generate impact action on the sewage, meanwhile, pollutants carried in the sewage have fluctuation transformation rules of shapes and contents, and the contents are rich, thereby providing a good foundation for the reproduction and metabolism of microorganisms in a biomembrane of a sewage pipe network, and enabling the sewage to carry out complex biochemical reaction so as to lead the quality of the sewage to be further changed, therefore, the confluence action and the biological action are two reasons for influencing the quality of the sewage of the urban sewage pipe network to be changed.
The change of the concentration of the pollutants in the sewage pipe network plays a crucial role in the inlet water concentration of a subsequent sewage treatment plant, so that the detection of the concentration of the pollutants at the outlet of the sewage pipe network is very necessary; however, in an actual detection scenario, if the detection conditions are not allowable, it is difficult to effectively detect the concentration of the contaminant at the outlet of the sewage pipe network.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a method, an apparatus, an electronic device, and a medium for predicting a contaminant concentration.
In a first aspect, the present disclosure provides a method of predicting a concentration of a contaminant, the method comprising:
determining the reference concentration of pollutants according to the functional area of the city to which the inlet of the main pipeline for sewage discharge belongs; wherein the reference concentration of the pollutants is divided according to the functional area of the city;
determining the variable quantity of confluent pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to a branch pipeline sewage source area for sewage discharge;
determining the variation of the biological pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the variation of the confluence pollutants and the variation ratio of the pollutants;
and predicting the pollutant concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity.
Optionally, the determining a variation of the confluent pollutant from the inlet of the main pipe to the outlet of the main pipe according to the sewage source area of the branch pipe for sewage discharge includes:
according to a branch pipe sewage source area for sewage discharge, searching a branch pipe pollutant concentration related to the branch pipe sewage source area from a pollutant concentration correlation table;
and determining the variable quantity of the confluence pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the concentration of the branch pipe pollutants.
Optionally, before determining the variation of the biological contaminant from the main pipe inlet to the main pipe outlet according to the variation of the confluence contaminant and the contaminant variation ratio, the method further includes:
determining the impact level of the branch pipe contaminant concentration and the impact level of biological effects in the sink pipe section; determining the confluence distance between adjacent confluence points;
and determining a pollutant change ratio according to the influence level of the branch pipe pollutant concentration, the confluence distance and the influence level of biological action in the confluence pipe section.
Optionally, the predicting the pollutant concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variation and the biological pollutant variation comprises:
and predicting the Chemical Oxygen Demand (COD) concentration and the ammonia nitrogen concentration of the outlet of the main pipeline according to the reference concentration of the pollutants, the variable quantity of the confluence pollutants and the variable quantity of the biological pollutants.
Optionally, predicting the Chemical Oxygen Demand (COD) concentration of the outlet of the main pipeline according to the reference concentration of the pollutants, the variation of the confluent pollutants and the variation of the biological pollutants, and including:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the difference between the first value and the variation of the biological pollutants as the Chemical Oxygen Demand (COD) concentration of the outlet of the main pipeline.
Optionally, the predicting the ammonia nitrogen concentration at the outlet of the main pipeline according to the reference concentration of the pollutants, the variable quantity of the confluent pollutants and the variable quantity of the biological pollutants comprises:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the sum of the first value and the variation of the biological pollutants as the ammonia nitrogen concentration of the outlet of the main pipeline.
Optionally, the method further includes:
comparing the pollutant concentration at the outlet of the main pipeline with a pollutant concentration threshold value;
and if the pollutant concentration at the outlet of the main pipeline is detected to be greater than the pollutant concentration threshold value, generating a concentration early warning prompt.
In a second aspect, the present disclosure also provides a device for predicting a concentration of a pollutant, including:
the concentration determining module is used for determining the reference concentration of pollutants according to the functional area of the city to which the inlet of the main pipeline for sewage discharge belongs; wherein the reference concentration of the pollutants is divided according to the functional area of the city;
the variable quantity determining module is used for determining the variable quantity of the confluent pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to a branch pipe sewage source area for sewage discharge;
the variable quantity determining module is also used for determining the variable quantity of the biological pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the variable quantity of the confluence pollutants and the pollutant change ratio;
and the concentration prediction module is also used for predicting the pollutant concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity.
Optionally, the variation determining module is specifically configured to:
according to a branch pipe sewage source area for sewage discharge, searching a branch pipe pollutant concentration related to the branch pipe sewage source area from a pollutant concentration correlation table;
and determining the variable quantity of the confluence pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the concentration of the branch pipe pollutants.
Optionally, the method further includes: an influence level and confluence distance determining unit and a ratio determining unit;
an influence level and confluence distance determination unit for determining an influence level of the branch pipe contaminant concentration and an influence level of biological action in a confluence pipe section; determining the confluence distance between adjacent confluence points;
and the ratio determining unit is used for determining the pollutant change ratio according to the influence level of the branch pipe pollutant concentration, the confluence distance and the influence level of biological action in the confluence pipe section.
Optionally, the concentration prediction module includes a first concentration prediction unit and a second concentration prediction unit;
the first concentration prediction unit is used for predicting the Chemical Oxygen Demand (COD) concentration of the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity;
and the second concentration prediction unit is used for predicting the ammonia nitrogen concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity.
Optionally, the first concentration prediction unit is specifically configured to:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the difference between the first value and the variation of the biological pollutants as the Chemical Oxygen Demand (COD) concentration of the outlet of the main pipeline.
Optionally, the second concentration prediction unit is specifically configured to:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the sum of the first value and the variation of the biological pollutants as the ammonia nitrogen concentration of the outlet of the main pipeline.
Optionally, the method further includes: the concentration comparison module and the early warning prompt generation module;
the concentration comparison module is used for comparing the pollutant concentration at the outlet of the main pipeline with a pollutant concentration threshold value;
and the early warning prompt generation module is used for generating a concentration early warning prompt if the concentration of the pollutants at the outlet of the main pipeline is detected to be greater than the threshold value of the concentration of the pollutants.
In a third aspect, the present disclosure also provides an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method for predicting a concentration of a contaminant as described in any of the embodiments of the present invention.
In a fourth aspect, the present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of predicting the concentration of a contaminant according to any one of the embodiments of the present invention.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: the concentration of the pollutants at the outlet of the main pipeline can be determined according to the inlet of the main pipeline for sewage discharge and the branch pipeline through which sewage flows together under the condition that the detection condition is not allowed, so that the concentration of the pollutants at the outlet of the sewage pipe network can be accurately predicted.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart diagram of a method for predicting a contaminant concentration provided by an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram of another method for predicting contaminant concentration provided by an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of another method for predicting contaminant concentration provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a device for predicting a contaminant concentration provided by an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is a schematic flow chart of a method for predicting a contaminant concentration according to an embodiment of the present disclosure. The embodiment can be applied to the condition of accurately predicting the sewage concentration. The method of the present embodiment may be performed by a device for predicting the concentration of the pollutant, which may be implemented in hardware and/or software and may be configured in an electronic device. The method of predicting the concentration of a contaminant of any of the embodiments of the present application may be implemented.
The sewage is discharged from a sewage source to a sewage treatment plant, and sewage flows in through sewage branch pipes and main pipes at different levels; namely, sewage flows into sewage branch pipes at different levels from a sewage source, flows into a main pipe after multiple times of confluence in the branch pipes at different levels, and finally flows into a sewage treatment plant after being merged into a main pipe from the main pipe.
As shown in fig. 1, the method specifically includes the following steps:
s110, determining the reference concentration of pollutants according to the functional area of the city to which the inlet of the main pipeline for sewage discharge belongs; wherein the reference concentration of the pollutants is divided according to the functional area of the city.
In this embodiment, the inlet of the main pipe for discharging sewage is the inlet of sewage from each branch pipe into the main pipe. The functional area of the city to which the inlet of the main pipeline belongs can be effectively reflected according to the position coordinate set at the inlet of the main pipeline; wherein, the functional areas of the city comprise an industrial area, a residential area and a commercial area.
Specifically, the functional area of each city has an association relationship with the reference concentration of the pollutants thereof, the association relationship between the functional area of the city and the reference concentration of the pollutants can be collected and summarized according to the field, and an association table (see the following table 1) is established; the reference concentration of the pollutants is the initial concentration of the pollutants when the pollutants flow through each branch pipeline after being discharged from the pollution source and flow to the inlet of the main pipeline through each branch pipeline, and the reference concentration of the pollutants can comprise COD concentration and ammonia nitrogen concentration.
TABLE 1 contaminant concentration-functional area correlation Table
And S120, determining the variable quantity of the confluent pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the sewage source area of the branch pipeline for sewage discharge.
In the present embodiment, the amount of contaminant variation caused by the confluence operation can be the amount of contaminant variation caused by the confluence operation; the branch sewage source area for sewage discharge is the area where sewage flows before entering the branch pipeline confluence point, and can comprise an industrial area, a residential area and a commercial area; the pollutant variable quantity of converging from the main pipe inlet to the main pipe outlet is the pollutant variable quantity generated due to the converging effect in the process from the main pipe inlet to the main pipe outlet.
The outlet of the main pipeline referred to in this embodiment may be a sewage treatment plant.
And S130, determining the variation of the biological pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the variation of the confluence pollutants and the variation ratio of the pollutants.
In this embodiment, the amount of change in biological contaminants may be the amount of change in contaminants generated by biological action; the pollutant variation ratio is the ratio of convergence pollutant variation and biological pollutant variation determined according to the branch pipe pollutant concentration, the convergence point distance and the biological action; that is, the corresponding confluence point in the confluence process enables the absolute value ratio of the pollutant concentration variation of the pipeline section between the corresponding confluence points due to the confluence effect and the main pipeline pollutant concentration variation and the biological effect.
And S140, predicting the pollutant concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity.
In this embodiment, the contaminant concentration may include a COD concentration and an ammonia nitrogen concentration; wherein COD refers to the quantity of oxidant consumed when the reducing substances in water are subjected to oxidative decomposition under the action of an additional strong oxidant under certain strict conditions, and is expressed by mg/L of oxygen; ammonia nitrogen refers to nitrogen existing in the form of free ammonia (NH3) and ammonium ions (NH4+) in water, and when the content of ammonia nitrogen in water is increased, the content of compound nitrogen existing in the form of ammonia or ammonium ions is increased.
The method and the device for determining the pollutant reference concentration determine the pollutant reference concentration according to the functional area of the city to which the main pipeline inlet for sewage discharge belongs; wherein, the reference concentration of the pollutants is divided according to the functional areas of the city; determining the variable quantity of confluent pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to a sewage source area of a branch pipeline for sewage discharge; determining the variation of the biological pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the variation of the confluence pollutants and the variation ratio of the pollutants; and predicting the pollutant concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity. The embodiment of the disclosure can determine the pollutant concentration at the outlet of the main pipeline according to the inlet of the main pipeline for sewage discharge and the branch pipeline through which sewage flows together under the condition that the detection condition is not allowed, so as to realize accurate prediction of the pollutant concentration at the outlet of the sewage pipe network.
Fig. 2 is a schematic flow chart of another method for predicting the concentration of a contaminant according to an embodiment of the disclosure. The embodiment is further expanded and optimized on the basis of the embodiment, and can be combined with any optional alternative in the technical scheme. As shown in fig. 2, the method includes:
s210, determining the reference concentration of pollutants according to the functional area of the city to which the inlet of the main pipeline for sewage discharge belongs; wherein the reference concentration of the pollutants is divided according to the functional area of the city.
S220, according to the branch pipe sewage source area of sewage discharge, the branch pipe pollutant concentration related to the branch pipe sewage source area is searched from the pollutant concentration correlation table.
In this embodiment, the correlation between the branch pipe sewage source area and the branch pipe pollutant concentration is stored in the pollutant concentration correlation table, and can be obtained according to actual sampling and gathering. The contaminant concentration correlation table can be seen in table 2 below.
Table 2 pollutant concentration correlation table
And S230, determining the variable quantity of the confluence pollutant from the inlet of the main pipeline to the outlet of the main pipeline according to the pollutant concentration of the branch pipeline.
In this embodiment, the amount of change of the confluent pollutant is the amount of change of the pollutant generated by the confluent action of each branch pipe, and is related to the concentration of the pollutant in the branch pipe. Referring specifically to table 2 above, the amount of change in the confluent contaminant is obtained.
The branch pipe pollutant concentration that this embodiment is through finding out branch pipe sewage source area relevance to according to the proportional relation between branch pipe pollutant concentration and the pollutant variable quantity that converges, the pollutant variable quantity that converges is accurately determined.
And S240, determining the variation of the biological pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the variation of the confluence pollutants and the variation ratio of the pollutants.
And S250, predicting the Chemical Oxygen Demand (COD) concentration and the ammonia nitrogen concentration of the outlet of the main pipeline according to the reference concentration of the pollutants, the variable quantity of the confluence pollutants and the variable quantity of the biological pollutants.
In this embodiment, the Chemical Oxygen Demand (COD) concentration and the ammonia nitrogen concentration can effectively represent the content of the main factors of the pollutant concentration in the sewage, so that the pollutant concentration in the sewage can be accurately reflected.
In this embodiment, optionally, predicting the chemical oxygen demand COD concentration at the outlet of the main pipeline according to the reference pollutant concentration, the variable amount of the confluent pollutant and the variable amount of the biological pollutant, includes:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the difference between the first value and the variation of the biological pollutants as the Chemical Oxygen Demand (COD) concentration of the outlet of the main pipeline.
The convergence pollutant variable quantity is total pollutant variable quantity generated from the inlet of the main pipeline to the outlet of the main pipeline due to the convergence effect, sectional calculation can be carried out according to convergence points, and then the sum of the pollutant variable quantities of each convergence section is used as the total pollutant variable quantity; specifically, the amount of change in total contaminants can be seen in the following formula (1).
Wherein n is the number of confluence points; delta Cn3Is the pollutant concentration variation generated by the confluence at the nth confluence point.
Accordingly, the variation of the biological contaminant can be determined according to the variation ratio u and the variation of the confluent contaminant, which can be seen in the following formula (2).
In the formula (2), the first and second groups,the amount of contaminant concentration change due to biological action at the (n-1) th confluence point to the nth confluence point.
The Chemical Oxygen Demand (COD) concentration at the outlet of the main conduit can be seen in the following equation (3).
C=C1+ΔCi3-ΔCi4 (3)
The embodiment can quickly and effectively determine the Chemical Oxygen Demand (COD) concentration of the outlet of the main pipeline according to the summarized mathematical relationship among the reference concentration of the pollutants, the variable quantity of the confluence pollutants and the variable quantity of the biological pollutants.
In this embodiment, optionally, according to pollutant reference concentration, conflux pollutant variation and biological pollutant variation, the ammonia nitrogen concentration of prediction trunk line export includes:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the sum of the first value and the variable quantity of the biological pollutants as the ammonia nitrogen concentration of the outlet of the main pipeline.
Wherein, the ammonia nitrogen concentration at the outlet of the main pipeline can be seen in the following formula (4).
C=C1+ΔCi3+ΔCi4 (4)
Because the ammonia nitrogen concentration can change according to the influence of biological action, the ammonia nitrogen concentration at the outlet of the main pipeline is accurately calculated by summing the variable quantity of the biological pollutants and the sum of the reference concentration of the pollutants and the variable quantity of the confluence pollutants.
Fig. 3 is a schematic flow chart of another method for predicting the concentration of a contaminant according to an embodiment of the disclosure. The embodiment is further expanded and optimized on the basis of the embodiment, and can be combined with any optional alternative in the technical scheme. As shown in fig. 3, the method includes:
s310, determining the reference concentration of pollutants according to the functional area of the city to which the inlet of the main pipeline for sewage discharge belongs; wherein the reference concentration of the pollutants is divided according to the functional area of the city.
S320, determining the variable quantity of the confluent pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the sewage source area of the branch pipeline for sewage discharge.
S330, determining the influence level of the pollutant concentration of the branch pipe and the influence level of biological action in the confluence pipe section; and determines a convergence distance between adjacent convergence points.
In this embodiment, the influence level of the branch pipe contaminant concentration may be divided according to the branch pipe sewage source area, for example, the industrial zone is set to have a high influence level, the residential zone is set to have a medium influence level, and the commercial zone is set to have a low influence level.
S340, determining a pollutant change ratio according to the influence level of the branch pipe pollutant concentration, the confluence distance and the influence level of biological action in the confluence pipe section.
In the embodiment, the influence level of biological action in the confluence pipe section can be distinguished according to the confluence distance between adjacent confluence points; for example, the influence level of biological action in the bus duct section having the confluence distance of less than 500m is set to be weak, and the influence level of biological action in the bus duct section having the confluence distance of more than or equal to 500m is set to be strong; and analyzing the influence level according to the pollutant concentration of the branch pipe, the confluence distance and the influence level of biological action in the confluence pipe section so as to obtain accurate division of the pollutant change ratio.
The contaminant change ratio can be seen in table 3 below.
Level of influence of branch pipe contaminant concentration
Distance of convergence
Grade of influence of biological action
u
Height of
Long and long
High strength
2:3
In
Long and long
High strength
1:2
Is low in
Long and long
High strength
1:3
Height of
Short length
Weak (weak)
4:3
In
Short length
Weak (weak)
1:1
Is low in
Short length
Weak (weak)
2:3
And S350, determining the variation of the biological pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the variation of the confluence pollutants and the variation ratio of the pollutants.
And S360, predicting the pollutant concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity.
S370, comparing the pollutant concentration at the outlet of the main pipeline with a pollutant concentration threshold value; and if the pollutant concentration at the outlet of the main pipeline is detected to be greater than the pollutant concentration threshold value, generating a concentration early warning prompt.
In this embodiment, can set up pollutant concentration threshold value according to actual demand to carry out the detection that exceeds standard to the pollutant concentration who determines, and generate concentration early warning suggestion when detecting that pollutant concentration is greater than pollutant concentration threshold value, be used for instructing measurement personnel to carry out effective processing to the pollutant of inflow sewage, with the realization to the real-time supervision and the accurate response of sewage.
Fig. 4 is a schematic structural diagram of a device for predicting a contaminant concentration provided by an embodiment of the present disclosure; the device is configured in electronic equipment, and can realize the method for predicting the pollutant concentration in any embodiment of the application. The device specifically comprises the following steps:
the concentration determining module 410 is used for determining the reference concentration of pollutants according to the functional area of the city to which the inlet of the main pipeline for sewage discharge belongs; wherein the reference concentration of the pollutants is divided according to the functional area of the city;
a variation determining module 420, configured to determine a variation of a confluent contaminant from the main pipe inlet to the main pipe outlet according to a branch pipe sewage source area of sewage discharge;
a variation determining module 420, configured to determine, according to the confluence contaminant variation and the contaminant variation ratio, a variation of a biological contaminant from the main pipe inlet to the main pipe outlet;
and the concentration prediction module 430 is further configured to predict the pollutant concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variation and the biological pollutant variation.
In this embodiment, optionally, the variation determining module 420 is specifically configured to:
according to a branch pipe sewage source area for sewage discharge, searching a branch pipe pollutant concentration related to the branch pipe sewage source area from a pollutant concentration correlation table;
and determining the variable quantity of the confluence pollutants from the inlet of the main pipeline to the outlet of the main pipeline according to the concentration of the branch pipe pollutants.
In this embodiment, optionally, the apparatus of this embodiment further includes: an influence level and confluence distance determining unit and a ratio determining unit;
an influence level and confluence distance determination unit for determining an influence level of the branch pipe contaminant concentration and an influence level of biological action in a confluence pipe section; determining the confluence distance between adjacent confluence points;
and the ratio determining unit is used for determining the pollutant change ratio according to the influence level of the branch pipe pollutant concentration, the confluence distance and the influence level of biological action in the confluence pipe section.
In this embodiment, optionally, the density prediction module 430 includes a first density prediction unit and a second density prediction unit;
the first concentration prediction unit is used for predicting the Chemical Oxygen Demand (COD) concentration of the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity;
and the second concentration prediction unit is used for predicting the ammonia nitrogen concentration at the outlet of the main pipeline according to the pollutant reference concentration, the confluence pollutant variable quantity and the biological pollutant variable quantity.
In this embodiment, optionally, the first concentration prediction unit is specifically configured to:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the difference between the first value and the variation of the biological pollutants as the Chemical Oxygen Demand (COD) concentration of the outlet of the main pipeline.
In this embodiment, optionally, the second concentration prediction unit is specifically configured to:
calculating the sum of the reference concentration of the pollutants and the variable quantity of the confluent pollutants to obtain a first numerical value;
and taking the sum of the first value and the variation of the biological pollutants as the ammonia nitrogen concentration of the outlet of the main pipeline.
In this embodiment, optionally, the apparatus of this embodiment further includes: the concentration comparison module and the early warning prompt generation module;
the concentration comparison module is used for comparing the pollutant concentration at the outlet of the main pipeline with a pollutant concentration threshold value;
and the early warning prompt generation module is used for generating a concentration early warning prompt if the concentration of the pollutants at the outlet of the main pipeline is detected to be greater than the threshold value of the concentration of the pollutants.
According to the pollutant concentration prediction device provided by the embodiment of the invention, the pollutant concentration of the outlet of the main pipeline can be determined according to the inlet of the main pipeline for sewage discharge and the branch pipeline through which sewage flows together under the condition that the detection condition is not allowed, so that the pollutant concentration of the outlet of the sewage pipe network can be accurately predicted.
The pollutant concentration prediction device provided by the embodiment of the invention can execute the pollutant concentration prediction method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. As shown in fig. 5, the electronic device includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processors 510 in the electronic device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530 and the output device 540 in the electronic apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 520 is a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for predicting the pollutant concentration in the embodiment of the present invention. The processor 510 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 520, so as to implement the method for predicting the pollutant concentration provided by the embodiment of the present invention.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to an electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus, and may include a keyboard, a mouse, and the like. The output device 540 may include a display device such as a display screen.
The disclosed embodiments also provide a storage medium containing computer-executable instructions for implementing the method for predicting the concentration of a contaminant provided by an embodiment of the present invention when executed by a computer processor.
Of course, the embodiments of the present invention provide a storage medium containing computer-executable instructions, which are not limited to the operations of the method described above, but can also perform related operations in the method for predicting the pollutant concentration provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.