Sewage dephosphorization method and device, computer equipment and storage medium

By dynamically adjusting phosphorus removal agent placement and type based on real-time total phosphorus and COD measurements, the method addresses the instability of fixed dosing positions, achieving precise and efficient phosphorus removal in wastewater treatment.

CN120309066APending Publication Date: 2025-07-15HUADIAN WATER TECH CO LTD

Patent Information

Application Number
CN202510337237.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-20
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

In the prior art, the chemical phosphorus removal dosing position is fixed, making it difficult to achieve accurate dosing, resulting in unstable treatment effect.

Method used

By obtaining the actual value of total phosphorus and the actual value of chemical oxygen demand of the wastewater to be treated, the ratio is calculated, the phosphorus removal mode is determined according to the range to which the ratio belongs, the dosing position and type of phosphorus removal agent are dynamically adjusted, and precise dosing is combined with the pH value and biological phosphorus removal amount.

Benefits of technology

The addition position and type of phosphorus removal agent are dynamically adjusted according to the properties of the sewage, which improves the stability and accuracy of the phosphorus removal effect and reduces the waste of phosphorus removal agents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120309066A_ABST
    Figure CN120309066A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of sewage treatment, and discloses a sewage dephosphorization method and device, computer equipment and a storage medium, and the sewage dephosphorization method comprises the following steps: obtaining a total phosphorus actual value and a chemical oxygen demand actual value of to-be-treated sewage, calculating a ratio of the total phosphorus actual value to the chemical oxygen demand actual value, and according to the range of the total phosphorus actual value and the range of the specific value, determining a phosphorus removal mode adopted when the to-be-treated sewage is subjected to phosphorus removal. According to the first PH value of the to-be-treated sewage, determining the type of a phosphorus removal agent selected when the to-be-treated sewage is subjected to phosphorus removal; furthermore, the dosage of the phosphorus removal agent can be dynamically optimized through real-time monitoring and an intelligent control algorithm, efficient and accurate phosphorus control is achieved, consumption of the phosphorus removal agent is remarkably reduced, and it is ensured that the total phosphorus of effluent stably reaches the standard.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sewage treatment, and particularly relates to a method, device, computer equipment and storage medium for phosphorus removal from sewage. Background Art

[0002] With the rapid development of industrialization and urbanization, the sewage discharge has increased sharply. In particular, the excessive discharge of phosphorus has become the main cause of water eutrophication, which not only destroys the balance of the ecosystem but also poses a serious threat to the sustainable utilization of water resources. In sewage treatment processes, the removal of phosphorus mainly relies on biological methods and chemical methods. The biological method degrades organic matter and phosphorus through microorganisms, but its effect is greatly affected by water quality fluctuations and it is difficult to stably meet the discharge standards. As an effective supplement to the biological method, the chemical method removes phosphorus by adding coagulants and flocculants to generate insoluble precipitates, but there are problems such as inaccurate dosing of phosphorus removal agents, high drug consumption, and secondary pollution. Moreover, in the prior art, the dosing position of the phosphorus removal agent is usually fixed, such as only dosing after the primary sedimentation tank or the secondary sedimentation tank, and it cannot be dynamically adjusted according to the influent water quality and treatment requirements, resulting in unstable treatment effects. Summary of the Invention

[0003] In view of this, the present invention provides a method, device, computer equipment and storage medium for phosphorus removal from sewage to solve the problems in the prior art that the dosing position of chemical phosphorus removal is fixed and it is difficult to achieve accurate dosing.

[0004] In a first aspect, the present invention provides a method for phosphorus removal from sewage, including: obtaining the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated; calculating the ratio of the actual total phosphorus value to the actual chemical oxygen demand value; and determining the phosphorus removal mode to be used for the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs.

[0005] The method for phosphorus removal from sewage provided by the present invention can adjust the dosing position of the phosphorus removal agent according to the properties of the sewage to be treated by obtaining the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated, calculating the ratio of the actual total phosphorus value to the actual chemical oxygen demand value, and determining the phosphorus removal mode to be used for the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs, so as to achieve accurate dosing and ensure the phosphorus removal effect.

[0006] In an alternative embodiment, according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs, the phosphorus removal mode adopted for the sewage to be treated includes: when the actual total phosphorus value > 5 mg / L and the ratio ≤ 40, the phosphorus removal mode adopted for the sewage to be treated includes pre-precipitation phosphorus removal and simultaneous phosphorus removal carried out in sequence; when the actual total phosphorus value ≤ 5 mg / L and the ratio > 40, the phosphorus removal mode adopted for the sewage to be treated includes simultaneous phosphorus removal and post-precipitation phosphorus removal carried out in sequence; when the actual total phosphorus value > 5 mg / L and the ratio > 40, the phosphorus removal mode adopted for the sewage to be treated includes pre-precipitation phosphorus removal, simultaneous phosphorus removal and post-precipitation phosphorus removal carried out in sequence; wherein, pre-precipitation phosphorus removal is adding a phosphorus remover before the primary sedimentation tank; simultaneous phosphorus removal is adding a phosphorus remover in the biochemical treatment stage; post-precipitation phosphorus removal is adding a phosphorus remover after the biochemical treatment stage and before the filter tank.

[0007] This is because when the actual total phosphorus value > 5 mg / L and the ratio ≤ 40, it indicates a high phosphorus load. Pre-precipitation phosphorus removal can quickly reduce the phosphorus load, and simultaneous phosphorus removal ensures that the final effluent meets the standards; when the actual total phosphorus value ≤ 5 mg / L and the ratio > 40, it indicates good biological phosphorus removal effect. Simultaneous phosphorus removal combined with post-precipitation phosphorus removal can ensure that the TP in the effluent meets the standards stably; when the actual total phosphorus value > 5 mg / L and the ratio > 40, it indicates that both the phosphorus load and the organic matter load are high. It is necessary to combine pre-precipitation, simultaneous and post-precipitation phosphorus removal to ensure efficient phosphorus removal and stable compliance.

[0008] In an alternative embodiment, after determining the phosphorus removal mode adopted for the sewage to be treated, it further includes: obtaining the first pH value of the sewage to be treated; determining the type of phosphorus remover selected for the sewage to be treated according to the range to which the first pH value belongs, and selecting the first phosphorus remover according to the determined type of phosphorus remover.

[0009] This is because the working principles of different types of phosphorus removers during phosphorus removal are different. The present invention determines the type of phosphorus remover selected for the sewage to be treated according to the first pH value of the sewage to be treated, so as to maximize the phosphorus removal efficiency of the phosphorus remover and reduce the waste of the phosphorus remover.

[0010] In an alternative embodiment, after determining the type of phosphorus remover selected for the sewage to be treated according to the range to which the first pH value belongs, it further includes: after selecting the first phosphorus remover according to the determined type of phosphorus remover and putting the first phosphorus remover into the sewage to be treated, obtaining the second pH value of the sewage to be treated; determining whether it is necessary to change the determined type of phosphorus remover according to the range to which the second pH value belongs; when it is necessary to change the type of phosphorus remover, determining the updated type of phosphorus remover according to the range to which the second pH value belongs after a preset time period, selecting the second phosphorus remover according to the changed type of phosphorus remover, and putting the second phosphorus remover into the sewage to be treated.

[0011] Thus, not only can the appropriate phosphorus remover be selected based on the action principles of different types of phosphorus removers when the pH of the sewage to be treated changes, maximizing the phosphorus removal efficiency and reducing the waste of phosphorus removers, but also the switching frequency of phosphorus removers during phosphorus removal from the sewage to be treated can be reduced, improving the stability of the sewage phosphorus removal method.

[0012] In an alternative embodiment, after selecting the first phosphorus remover according to the determined type of phosphorus remover, the method further includes: obtaining the biological phosphorus removal amount of the sewage to be treated; determining the first remaining phosphorus load according to the biological phosphorus removal amount and the total phosphorus of the sewage to be treated; obtaining the first flow rate of the sewage to be treated, the first phosphorus remover dosing coefficient and the first load distribution coefficient of each phosphorus removal stage in the phosphorus removal mode adopted for treating the sewage to be treated corresponding to the first phosphorus remover; and determining the dosing amount of the first phosphorus remover in each phosphorus removal stage according to the first flow rate of the sewage to be treated, the first remaining phosphorus load, and the first phosphorus remover dosing coefficient and the first load distribution coefficient of each phosphorus removal stage.

[0013] Thus, chemical phosphorus removal can be carried out after deducting the biological phosphorus removal effect.

[0014] In an alternative embodiment, after selecting the second phosphorus remover according to the changed type of phosphorus remover, the method further includes: obtaining the phosphorus concentration in the effluent; determining the second remaining phosphorus load according to the phosphorus concentration in the effluent and the biological phosphorus removal amount; obtaining the second flow rate of the sewage to be treated, the second phosphorus remover dosing coefficient and the second load distribution coefficient of each phosphorus removal stage in the phosphorus removal mode adopted for treating the sewage to be treated corresponding to the second phosphorus remover; and determining the dosing amount of the second phosphorus remover in each phosphorus removal stage according to the second flow rate of the sewage to be treated, the second remaining phosphorus load, and the second phosphorus remover dosing coefficient and the second load distribution coefficient of each phosphorus removal stage.

[0015] Thus, when the phosphorus remover changes, the dosing amount of the phosphorus remover also changes accordingly.

[0016] In a second aspect, the present invention also provides a phosphorus removal device for sewage, the device including an acquisition module, a calculation module, and a phosphorus removal stage calculation module, wherein the acquisition module is used to acquire the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated; the calculation module is used to calculate the ratio of the actual total phosphorus value to the actual chemical oxygen demand value; and the phosphorus removal stage determination module is used to determine the phosphorus removal mode adopted for treating the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs.

[0017] In a third aspect, the present invention provides a computer device, including a memory and a processor, which are communicatively connected to each other, wherein the memory stores computer instructions, and the processor executes the computer instructions to execute the phosphorus removal method for sewage according to the first aspect or any corresponding embodiment thereof.

[0018] Fourthly, the present invention provides a computer-readable storage medium with computer instructions stored thereon, and the computer instructions are used to cause a computer to execute the phosphorus removal method for sewage according to the first aspect or any corresponding embodiment thereof above.

[0019] Fifthly, the present invention provides a computer program product, including computer instructions, and the computer instructions are used to cause a computer to execute the phosphorus removal method for sewage according to the first aspect or any corresponding embodiment thereof above. Description of the Drawings

[0020] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0021] Figure 1 It is a flowchart of the phosphorus removal method for sewage according to an embodiment of the present invention;

[0022] Figure 2 It is a flowchart of another phosphorus removal method for sewage according to an embodiment of the present invention;

[0023] Figure 3 It is a flowchart of yet another phosphorus removal method for sewage according to an embodiment of the present invention;

[0024] Figure 4 It is a schematic diagram of the sewage phosphorus removal system in an embodiment of the present invention;

[0025] Figure 5 It is a schematic flowchart of an example of the phosphorus removal method for sewage in an embodiment of the present invention;

[0026] Figure 6 It is a schematic diagram of the statistical total phosphorus index of sewage treatment according to Example 1 of the embodiment of the present invention;

[0027] Figure 7 It is a schematic diagram of the statistical total phosphorus index of sewage treatment according to Example 2 of the embodiment of the present invention;

[0028] Figure 8 It is a structural block diagram of the intelligent phosphorus control device for treating sewage in an embodiment of the present invention;

[0029] Figure 9 It is a schematic diagram of the hardware structure of the computer device in an embodiment of the present invention. Detailed Embodiments

[0030] The following embodiments are provided to better understand the present invention further. They are not limited to the best mode of implementation and do not limit the content and protection scope of the present invention. Any product identical or similar to the present invention obtained by anyone under the inspiration of the present invention or by combining the features of the present invention with those of other prior arts falls within the protection scope of the present invention.

[0031] According to an embodiment of the present invention, an embodiment of a method for removing phosphorus from sewage is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that here.

[0032] In this embodiment, a method for removing phosphorus from sewage is provided, which can be used in computer equipment. Figure 1 is a flowchart of the method for removing phosphorus from sewage according to an embodiment of the present invention, as Figure 1 shown, the process includes the following steps:

[0033] Step S101: Obtain the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated.

[0034] Specifically, the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated can be detected by a high-precision online phosphorus sensor.

[0035] Step S102: Calculate the ratio of the actual total phosphorus value to the actual chemical oxygen demand value.

[0036] Step S103: Determine the phosphorus removal mode to be used for removing phosphorus from the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs.

[0037] In an alternative embodiment, determining the phosphorus removal mode to be used for removing phosphorus from the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs includes the following steps: When the actual total phosphorus value > 5 mg / L and the ratio ≤ 40, the phosphorus removal mode to be used for removing phosphorus from the sewage to be treated includes pre-precipitation phosphorus removal and synchronous phosphorus removal performed in sequence; when the actual total phosphorus value ≤ 5 mg / L and the ratio > 40, the phosphorus removal mode to be used for removing phosphorus from the sewage to be treated includes synchronous phosphorus removal and post-precipitation phosphorus removal performed in sequence; when the actual total phosphorus value > 5 mg / L and the ratio > 40, the phosphorus removal mode to be used for removing phosphorus from the sewage to be treated includes pre-precipitation phosphorus removal, synchronous phosphorus removal and post-precipitation phosphorus removal performed in sequence; wherein, pre-precipitation phosphorus removal is to add a phosphorus removal agent before the primary sedimentation tank; synchronous phosphorus removal is to add a phosphorus removal agent during the biochemical treatment stage; post-precipitation phosphorus removal is to add a phosphorus removal agent after the biochemical treatment stage and before the filter tank.

[0038] This is because when the actual total phosphorus value > 5 mg / L and the ratio ≤ 40, it indicates a relatively high phosphorus load. Pre - phosphorus removal can rapidly reduce the phosphorus load, and simultaneous phosphorus removal ensures that the final effluent meets the standards; when the actual total phosphorus value ≤ 5 mg / L and the ratio > 40, it indicates good biological phosphorus removal effect. Simultaneous phosphorus removal combined with post - phosphorus removal can ensure stable compliance of the effluent TP; when the actual total phosphorus value > 5 mg / L and the ratio > 40, it indicates both high phosphorus load and high organic matter load, and it is necessary to combine pre - treatment, simultaneous treatment and post - treatment of phosphorus removal to ensure efficient phosphorus removal and stable compliance.

[0039] That is to say, according to the influent water quality, such as the total phosphorus concentration (also known as TP concentration), the ratio of total phosphorus to chemical oxygen demand (also known as COD / P ratio), a single phosphorus removal stage or a combined phosphorus removal stage can be selected.

[0040] Specifically, pre - phosphorus removal is to add a phosphorus - removing agent (such as a coagulant) before the primary sedimentation tank. Through the coagulation reaction, phosphate precipitates (such as iron phosphate, aluminum phosphate) are generated and removed together with suspended solids in the primary sedimentation tank, removing most of the inorganic phosphorus and reducing the phosphorus load of subsequent biochemical treatment. The dosing location can be selected after the lift pump room, after the fine grille, after the grit chamber, before the primary sedimentation tank, etc. Its advantage is good removal effect on inorganic phosphorus and reduction of the dosing amount of phosphorus - removing agent in subsequent processes. Its disadvantage is limited removal effect on organic phosphorus and possible increase in the sludge volume in pretreatment sections such as the grit chamber and the primary sedimentation tank.

[0041] Simultaneous phosphorus removal refers to adding a phosphorus - removing agent (such as a coagulant) during the biochemical treatment stage, and using the synergistic effect of biological treatment and chemical reaction to remove phosphorus in sewage. The dosing location can be to add a coagulant in the biochemical reaction tank (aerobic section) to combine with the biological method to remove phosphorus. 2 For the A / O (anaerobic - anoxic - aerobic) process, it is usually added in the aerobic section. For the SBR (sequencing batch reactor) process, it is usually added during the aeration stage. For the oxidation ditch process, it is usually added in the in - ditch aeration area. Simultaneous phosphorus removal can reduce the dosage of chemical phosphorus removal alone, but the dosing amount needs to be controlled to avoid affecting the microbial activity.

[0042] Post - phosphorus removal refers to adding a phosphorus - removing agent (such as a coagulant) during the advanced treatment stage of sewage treatment, mainly used to further remove the phosphorus that cannot be completely removed by biochemical treatment. The dosing location of post - phosphorus removal is usually after biochemical treatment and before the filter, such as adding in a magnetic coagulation sedimentation system or a high - density sedimentation tank. The dosing amount of post - phosphorus removal is relatively large, which is the ultimate guarantee measure for phosphorus removal from sewage.

[0043] The phosphorus removal method for sewage provided by the present invention calculates the ratio of the actual total phosphorus value to the actual chemical oxygen demand value by obtaining the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated. According to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs, the phosphorus removal mode adopted for the sewage to be treated is determined, and the dosing position of the phosphorus removal agent can be adjusted according to the properties of the sewage to be treated, so as to achieve accurate dosing and ensure the phosphorus removal effect.

[0044] In this embodiment, a phosphorus removal method for sewage is provided, which can be used in computer equipment. Figure 2 It is a flowchart of another phosphorus removal method for sewage according to an embodiment of the present invention, as Figure 2 shown, and the process includes the following steps:

[0045] Step S201: Obtain the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated.

[0046] Step S202: Calculate the ratio of the actual total phosphorus value to the actual chemical oxygen demand value.

[0047] Step S203: Determine the phosphorus removal mode adopted for the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs.

[0048] Step S204: Obtain the first pH value of the sewage to be treated.

[0049] Specifically, a PH sensor can be set at the water inlet, and the PH sensor is used to detect the first pH value of the sewage to be treated.

[0050] Step S205: Determine the type of phosphorus removal agent selected for the sewage to be treated according to the range to which the first pH value belongs, and select the first phosphorus removal agent according to the determined type of phosphorus removal agent.

[0051] This is because the action principles of different types of phosphorus removal agents during phosphorus removal are different. The present invention determines the type of phosphorus removal agent selected for the sewage to be treated according to the first PH value of the sewage to be treated, so as to maximize the phosphorus removal efficiency of the phosphorus removal agent and reduce the waste of the phosphorus removal agent. For example, the type of phosphorus removal agent can be determined according to Table 1.

[0052] Table 1

[0053]

[0054]

[0055] Step S206: After the first phosphorus removal agent is put into the sewage to be treated, obtain the second pH value of the sewage to be treated.

[0056] Specifically, after the first phosphorus removal agent is added to the sewage to be treated, the second pH value of the sewage to be treated can be detected by using a pH sensor provided in front of the primary sedimentation tank. It should be noted that generally, the change in the pH value of the sewage to be treated is small over time. Therefore, the detection frequency of the second pH value of the sewage to be treated can be appropriately reduced.

[0057] Step S207: Determine whether it is necessary to change the determined type of phosphorus removal agent according to the range to which the second pH value belongs.

[0058] Exemplarily, when the second pH < 6.8, the controller automatically switches to adding iron salts; when the second pH > 7.2, the controller automatically switches to adding aluminum salts; when 6.8 ≤ the second pH ≤ 7.2, the current type of phosphorus removal agent remains unchanged. By setting a buffer zone near the pH critical value, the switching frequency can be reduced, and the stability of the sewage phosphorus removal method can be improved.

[0059] In addition, when it is necessary to switch the phosphorus removal agent, a delay time (such as 5 - 10 minutes) is set to filter out instantaneous fluctuations and avoid frequent switching. The coagulant is only switched when the pH value continuously exceeds the threshold for more than the delay time.

[0060] Step S208: When it is necessary to change the type of phosphorus removal agent, determine the updated type of phosphorus removal agent according to the range to which the second pH value belongs after a preset time period, select the second phosphorus removal agent according to the changed type of phosphorus removal agent, and add the second phosphorus removal agent to the sewage to be treated.

[0061] In an alternative embodiment, when the pH exceeds the optimal range of the selected coagulant, the system triggers a pH adjustment unit (such as an acid addition / alkali addition device).

[0062] In an alternative embodiment, if the pH sensor fails, the system defaults to adding iron salts (because it has stronger adaptability to low pH) and issues an alarm signal.

[0063] The phosphorus removal method for sewage provided by the present invention can not only adjust the dosing position of the phosphorus removal agent according to the properties of the sewage to be treated, but also select a suitable phosphorus removal agent based on the action principles of different types of phosphorus removal agents, maximizing the phosphorus removal efficiency and reducing the waste of phosphorus removal agents; further, by determining whether it is necessary to change the determined type of phosphorus removal agent according to the range to which the second pH value belongs, the switching frequency of the phosphorus removal agent during the phosphorus removal of the sewage to be treated can also be reduced, improving the stability of the sewage phosphorus removal method.

[0064] In this embodiment, a phosphorus removal method for sewage is provided, which can be used in computer equipment. Figure 3 It is a flowchart of another phosphorus removal method for sewage according to an embodiment of the present invention. As Figure 3 shown, the process includes the following steps:

[0065] Step S301: Obtain the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated.

[0066] Step S302: Calculate the ratio of the actual total phosphorus value to the actual chemical oxygen demand value.

[0067] Step S303: Determine the phosphorus removal mode to be adopted for the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs.

[0068] Step S304: Obtain the first pH value of the sewage to be treated.

[0069] Specifically, a pH sensor can be set in front of the primary sedimentation tank, and the first pH value of the sewage to be treated is detected by using the pH sensor.

[0070] Step S305: Determine the type of phosphorus removal agent to be selected for phosphorus removal of the sewage to be treated according to the range to which the first pH value belongs, and select the first phosphorus removal agent according to the determined type of phosphorus removal agent.

[0071] Step S306: Obtain the biological phosphorus removal amount of the sewage to be treated.

[0072] Specifically, biological phosphorus removal is mainly achieved through the phosphorus uptake and release of polyphosphate-accumulating organisms (PAOs) under anaerobic-aerobic conditions. Its effect is affected by factors such as influent water quality, process design, and operating conditions. Among them, the influent water quality includes the COD / P ratio, the process design includes processes such as the A 2 O process and the SBR process, and the operating conditions include sludge age, dissolved oxygen (DO), reflux ratio, etc. The contribution of biological phosphorus removal can be estimated through actual operation data or empirical formulas.

[0073] Specifically, the biological phosphorus removal efficiency can be determined according to the formula of the COD / P ratio and the sludge age (SRT), and the biological phosphorus removal amount is obtained by multiplying the biological phosphorus removal efficiency by the total phosphorus.

[0074] Example, the biological phosphorus removal efficiency can be calculated by formula 1:

[0075] Biological phosphorus removal efficiency η = η max× f (COD / P)× f (SRT) Formula 1

[0076] In formula 1, η max represents the maximum biological phosphorus removal efficiency (usually 60% - 80%), f (COD / P) represents the influence function of the COD / P ratio on the biological phosphorus removal efficiency, f (SRT) represents the influence function of the sludge age on the biological phosphorus removal efficiency.

[0077] The influence function of the COD / P ratio on the biological phosphorus removal efficiency can be calculated by Equation 2:

[0078]

[0079] In Equation 2, COD / P min represents the minimum COD / P ratio required for biological phosphorus removal (usually 20), and COD / P max represents the COD / P ratio when the biological phosphorus removal efficiency reaches the maximum value (usually 40).

[0080] The influence function of the sludge age on the biological phosphorus removal efficiency can be calculated by Equation 3:

[0081]

[0082] In Equation 3, SRT min represents the minimum sludge age required for biological phosphorus removal (usually 5 days), SRT opt represents the optimal sludge age when the biological phosphorus removal efficiency reaches the maximum value (usually 15 days), and SRT represents the actual sludge age of biological phosphorus removal.

[0083] The actual sludge age of biological phosphorus removal can be calculated by Equation 4:

[0084]

[0085] In Equation 4, V represents the volume of the biochemical pool, X represents the sludge concentration in the biochemical pool, Qw represents the sludge discharge flow rate, Xw represents the sludge discharge concentration, Qe represents the effluent flow rate, and Xe represents the sludge concentration in the effluent.

[0086] Step S307: Determine the first remaining phosphorus load according to the biological phosphorus removal amount and total phosphorus of the sewage to be treated.

[0087] Specifically, the first remaining phosphorus load = the actual value of the total phosphorus of the sewage to be treated - the total phosphorus of the effluent specified by the treatment requirement - biological phosphorus removal.

[0088] Step S308: Obtain the first flow rate of the sewage to be treated, the first phosphorus removal agent dosing coefficient and the first load distribution coefficient of each phosphorus removal stage in the phosphorus removal mode adopted for phosphorus removal of the sewage to be treated corresponding to the first phosphorus removal agent.

[0089] In an optional implementation manner, the first phosphorus removal agent dosing coefficient and the first load distribution coefficient of each phosphorus removal stage can be obtained by a machine learning algorithm. Exemplarily, the machine learning algorithm can be the random forest method.

[0090] Specifically, when determining the first phosphorus removal agent dosing coefficient and the first load distribution coefficient for each phosphorus removal stage through a machine learning algorithm, two control objectives can be set. Among them, control objective 1 is the effluent phosphorus concentration, and control objective 2 is the lowest phosphorus removal agent dosage.

[0091] Exemplarily, the following is an explanation of control objective 1:

[0092] Online determination of total phosphorus TP and phosphate (PO4 3- ) can be directly converted and uniformly represented by the phosphorus concentration Pi. That is, from a stoichiometric perspective, 1 mol of PO4 3- contains 1 mol of phosphorus (P), and its mass concentration is:

[0093] PO4 3- concentration (mg / L) = TP concentration (mg / L) × 94.97 ÷ 30.97. Among them, 94.97 g / mol is the molar mass of PO4 3- ; 30.97 g / mol is the molar mass of phosphorus (P). The above formula can be simplified to: PO4 3- concentration (mg / L) ≈ TP concentration (mg / L) × 3.066.

[0094] Based on the influent phosphorus concentration P i-in(t-1) at the t - 1 moment and the effluent phosphorus concentration P i-out(t) at the t moment of each stage, as well as the dosing amount Q 药i(t-1) of the phosphorus control drug, the phosphorus control efficiency FE i(t-1) from the t - 1 moment to the t moment and the preset phosphorus control target can be determined.

[0095] Specifically, FE i(t-1) =(P i-in(t-1) -P i-out(t) )×Q i(t-1) / Q 药i(t-1)

[0096] From the above formula, it can be obtained that Q 药i(t) =(P i-in(t) -P i-out )×Q i(t) / FE i(t-1)

[0097] Control objective 1 can be determined based on the following two points: 1. The effluent phosphorus concentration P out(t) of the sewage treatment plant is not higher than the set phosphorus concentration target P out * That is, P out(t) ≤P out * ; 2. The phosphorus control target P out * set by the sewage treatment plantNot higher than the phosphorus concentration P in the implemented emission standard S i.e., P out * ≤P S .

[0098] The following is an explanation of control target 2:

[0099] Specifically, by establishing a dynamic decision-making model for the dosing of phosphorus removal agents, the dosing amount of phosphorus removal agents can be minimized, that is, the control target 2 is minQ 药(t) and Q 药(t) =∑Q 药i(t) .

[0100] Specifically, Q 药i(t) =k i(t) ·ΔP i(t) ·Q i(t)

[0101] In the above formula, k i(t) is the dosing coefficient of phosphorus removal agents at each stage, and different dosing coefficients of phosphorus removal agents correspond to pre-precipitation, simultaneous precipitation, and post-precipitation; ΔP i(t) / ΔP (t) is the load distribution coefficient of pre-precipitation, simultaneous precipitation, and post-precipitation.

[0102] On the basis of setting control target 1 and control target 2, obtain the type of phosphorus removal agent, influent phosphorus concentration, effluent phosphorus concentration, dosing amount of phosphorus removal agent, and flow rate of the sewage to be treated at each stage, and process the obtained data according to a preset machine learning algorithm to obtain the first dosing coefficient and the first load distribution coefficient of phosphorus removal agents for each phosphorus removal stage.

[0103] Specifically, the following core formula is used in the machine learning algorithm:

[0104] Q 药i(t) =k i(t) ·ΔP i(t) ·Q i(t)

[0105] ΔP (t) =P in(t-1) -P out(t)

[0106] ΔP i(t) =P i-in(t-1) -P i-out(t)

[0107] Q 药(t) =∑Q 药i(t)

[0108] ΔP (t) =∑ΔP i(t)

[0109] In the above formula, P in(t-1) represents the influent phosphorus concentration at time t-1; P out(t)表示 represents the effluent phosphorus concentration at time t; i is one of the three phosphorus removal stages: pre-phosphorus removal, simultaneous phosphorus removal, and post-phosphorus removal, and t is different times; Q 药i(t) is the real-time dosing amount of the phosphorus remover for pre-phosphorus removal, simultaneous phosphorus removal, and post-phosphorus removal; Q i(t) is the real-time sewage flow rate at each stage; K i(t) is the dosing coefficient of the phosphorus remover at each stage.

[0110] Step S309: Determine the dosing amount of the first phosphorus remover in each phosphorus removal stage according to the first flow rate of the sewage to be treated, the first remaining phosphorus load, the first dosing coefficient of the phosphorus remover, and the first load distribution coefficient in each phosphorus removal stage.

[0111] Figure 4 is a schematic diagram of the sewage phosphorus removal system in an embodiment of the present invention. As Figure 4 shown, the sewage phosphorus removal system includes pre-phosphorus removal, simultaneous phosphorus removal, and post-phosphorus removal. Before the primary sedimentation tank, it is necessary to obtain the total phosphorus TP, chemical oxygen demand COD, pH value, and the flow rate of the sewage to be treated.

[0112] Among them, according to the total phosphorus TP and chemical oxygen demand COD of the sewage to be treated, determine the phosphorus removal mode adopted for the sewage to be treated; according to the pH value of the sewage to be treated, determine the type of phosphorus remover selected for the sewage to be treated; according to the flow rate of the sewage to be treated, determine the dosing amount of the phosphorus remover.

[0113] In addition, before and after simultaneous phosphorus removal, it is necessary to obtain the flow rate and phosphate concentration of the sewage to be treated; in the post-phosphorus removal stage, obtain the flow rate and phosphate concentration of the sewage to be treated before and after the magnetic coagulation / high-density sedimentation tank, and in the effluent of the sewage phosphorus removal system, it is necessary to obtain the total phosphorus TP, chemical oxygen demand COD, and flow rate. By obtaining the above data, the first dosing coefficient and the first load distribution coefficient of the first phosphorus remover in each phosphorus removal stage can be adjusted in real time, so as to adjust the dosing amount of the first phosphorus remover in each phosphorus removal stage in real time, making the dosing amount of the phosphorus remover the lowest.

[0114] Figure 5 is a schematic flow chart of an example of the sewage phosphorus removal method in an embodiment of the present invention. As Figure 5 shown, the sewage phosphorus removal method of the embodiment of the present invention uses high-precision sensors to monitor water quality parameters (such as total phosphorus, phosphate, pH, flow rate, etc.) in real time, automatically selects the type of coagulant (such as iron salt or aluminum salt) according to the influent pH value, uses machine learning algorithms to predict the change trend of phosphorus concentration, and dynamically adjusts the phosphorus removal mode and the dosing amount of the phosphorus remover according to the influent water quality, realizing efficient and accurate phosphorus control, significantly reducing the consumption of the phosphorus remover, and ensuring that the total phosphorus in the effluent meets the standard stably.

[0115] Step S310: After the first phosphorus remover is put into the sewage to be treated, obtain the second pH value of the sewage to be treated.

[0116] Step S311: Determine whether it is necessary to change the determined type of phosphorus remover according to the range to which the second pH value belongs.

[0117] Step S312: When it is necessary to change the type of phosphorus remover, determine the updated type of phosphorus remover according to the range to which the second pH value belongs, and after a preset time period, select the second phosphorus remover according to the changed type of phosphorus remover.

[0118] Step S313: Obtain the phosphorus concentration in the effluent.

[0119] Step S314: Determine the second remaining phosphorus load according to the phosphorus concentration in the effluent and the biological phosphorus removal amount.

[0120] Step S315: Obtain the second flow rate of the sewage to be treated, the second phosphorus remover dosing coefficient and the second load distribution coefficient for each phosphorus removal stage in the phosphorus removal mode adopted for phosphorus removal of the sewage to be treated corresponding to the second phosphorus remover.

[0121] Step S316: Determine the dosing amount of the second phosphorus remover in each phosphorus removal stage according to the second flow rate of the sewage to be treated, the second remaining phosphorus load, and the second phosphorus remover dosing coefficient and the second load distribution coefficient for each phosphorus removal stage.

[0122] That is to say, when the type of phosphorus remover put into the sewage to be treated needs to be changed, the dosing amount of the phosphorus remover in each phosphorus removal stage also needs to be changed. The determination methods of the second phosphorus remover dosing coefficient and the second load distribution coefficient for each phosphorus removal stage are the same as those of the first phosphorus remover dosing coefficient and the first load distribution coefficient for each phosphorus removal stage, and will not be elaborated here.

[0123] To illustrate the phosphorus removal method of the sewage of the present invention more clearly, two examples are given.

[0124] Example 1:

[0125] The total phosphorus discharge standard for the effluent is that the total phosphorus (TP) in the effluent ≤ 0.5 mg / L, and the total phosphorus discharge target is set to 0.45 mg / L in this embodiment.

[0126] Obtain the actual total phosphorus value TP = 12 mg / L and the actual chemical oxygen demand value COD = 540 mg / L of the sewage to be treated; by calculation, COD / P = 45; TP = 12 mg / L > 5 mg / L and COD / P = 45 > 40. Therefore, the phosphorus removal stages of the sewage to be treated include pre-precipitation phosphorus removal, simultaneous phosphorus removal and post-precipitation phosphorus removal carried out in sequence.

[0127] The pH value of the sewage to be treated is obtained as 7.5, and 7.0 ≤ pH = 7.5 ≤ 8.5. Therefore, the type of phosphorus removal agent for pre - phosphorus removal is aluminum salt.

[0128] Obtain the total phosphorus removed by biological phosphorus removal, f (SRT) =(10 - 5) / (15 - 5)=0.5, f (COD / P) =(45 - 20) / (40 - 20)=1.25, η = η max ×f (COD / P) ×f (SRT) =80% * 1.25 * 0.5 = 50%. Therefore, the total phosphorus removed by biological phosphorus removal is 12 mg / L * 50% = 6 mg / L.

[0129] The total phosphorus to be removed by chemical phosphorus removal = the actual total phosphorus value of the sewage to be treated - the total phosphorus of the effluent specified by the treatment requirement - the biological phosphorus removal amount = 12 mg / L - 0.45 mg / L - 6 mg / L = 5.55 mg / L.

[0130] Collect the sewage influent flow rate Q 水 =10000 m 3 / d. Based on historical data and reinforcement learning optimization, the phosphorus removal agent dosing coefficient and load distribution coefficient at a certain moment are obtained. Phosphorus removal agent dosing coefficient: k1 = 1.5 (pre - phosphorus removal), k2 = 1.2 (simultaneous phosphorus removal), k3 = 1.8 (post - phosphorus removal); load distribution coefficient: 50% for pre - phosphorus removal, 30% for simultaneous phosphorus removal, 20% for post - phosphorus removal.

[0131] Therefore, the phosphorus removal amount in the pre - phosphorus removal stage: ΔP1 = 5.55×50% = 2.775 mg / L.

[0132] The phosphorus removal amount in the simultaneous phosphorus removal stage: ΔP2 = 5.55×30% = 1.665 mg / L.

[0133] The phosphorus removal amount in the post - phosphorus removal stage: ΔP3 = 5.55×20% = 1.11 mg / L.

[0134] The dosing amount of phosphorus removal agent in the pre - stage: Q 药1 =1.5×2.775×10000 = 41625 g / d = 41.625 kg / d.

[0135] The dosing amount of phosphorus removal agent in the simultaneous stage: Q 药2 =1.2×1.665×10000 = 19980 g / d = 19.98 kg / d.

[0136] The dosing amount of phosphorus removal agent in the post - stage: Q 药3 =1.8×1.11×1000 = 19980 g / d = 19.98 kg / d.

[0137] The total dosage of phosphorus removal agent is Q 药1 +Q 药2 +Q 药3 = 81.585 kg / d.

[0138] Figure 6 It is a statistical schematic diagram of the total phosphorus index of sewage treatment according to Example 1 of the embodiments of the present invention. As Figure 6 shown, the phosphorus removal method of the sewage in the embodiments of the present invention can well control the total phosphorus in the effluent. After the treatment is completed, the total phosphorus (TP) in the effluent is tested to be 0.335 mg / L, and the TP removal rate is calculated as (12 - 0.335) / 12 = 97.21%. Compared with the prior art, the TP removal rate is increased from 95.83% to 97.21%. The consumption of phosphorus removal agent is reduced from 120 kg / d to 81.585 kg / d, and the total phosphorus index stably reaches below 0.40 mg / L.

[0139] Example 2

[0140] The discharge standard for total phosphorus in the effluent is that the total phosphorus in the effluent (TP) ≤ 0.5 mg / L, and the target for the total phosphorus in the discharge is set to 0.45 mg / L in this embodiment.

[0141] The actual value of the total phosphorus of the sewage to be treated, TP = 10 mg / L, and the actual value of the chemical oxygen demand, COD = 500 mg / L, are obtained; by calculation, COD / P = 50; TP = 10 mg / L > 5 mg / L and COD / P = 50 > 40. Therefore, the phosphorus removal stage of the sewage to be treated includes pre-precipitation phosphorus removal, simultaneous phosphorus removal, and post-precipitation phosphorus removal carried out in sequence.

[0142] The pH value of the sewage to be treated is obtained as 6.8, and 6.0 ≤ pH = 6.8 < 7.0. Therefore, the types of phosphorus removal agents for pre-precipitation phosphorus removal are iron salts or aluminum salts.

[0143] Obtain the total phosphorus removed by biological phosphorus removal, f (SRT) =(10 - 5) / (15 - 5)= 0.5, f (COD / P) =(50 - 20) / (40 - 20)= 1.5, η = η max ×f (COD / P) ×f (SRT) = 60% * 1.5 * 0.5 = 45%. Therefore, the total phosphorus removed by biological phosphorus removal is 10 mg / L * 45% = 4.5 mg / L.

[0144] The total phosphorus that needs to be removed by chemical phosphorus removal = the actual value of the total phosphorus of the sewage to be treated - the total phosphorus in the effluent specified by the treatment requirements - the total phosphorus removed by biological phosphorus removal = 10 mg / L - 0.45 mg / L - 4.5 mg / L = 5.05 mg / L.

[0145] The sewage influent flow rate Q is collected 水= 8000 m 3 / d, the dosing coefficient and load distribution coefficient of the dephosphorizer at a certain moment are optimized based on historical data and reinforcement learning. Specifically, the dosing coefficient of the dephosphorizer: k1 = 1.4 (pre - treatment dephosphorization), k2 = 1.1 (simultaneous dephosphorization), k3 = 1.6 (post - treatment dephosphorization), and the load distribution coefficient: 50% for pre - treatment dephosphorization, 30% for simultaneous dephosphorization, and 20% for post - treatment dephosphorization.

[0146] Therefore, the phosphorus removal amount in the pre - treatment dephosphorization stage: ΔP1 = 5.05×50% = 2.525 mg / L.

[0147] The phosphorus removal amount in the simultaneous dephosphorization stage: ΔP2 = 5.05×30% = 1.515 mg / L.

[0148] The phosphorus removal amount in the post - treatment dephosphorization stage: ΔP3 = 5.05×20% = 1.01 mg / L.

[0149] The dosing amount of the dephosphorizer in the pre - treatment stage: Q 药1 = 1.4×2.525×8000 = 28280 g / d = 28.28 kg / d.

[0150] The dosing amount of the dephosphorizer in the simultaneous stage: Q 药2 = 1.1×1.515×8000 = 13332 g / d = 13.332 kg / d.

[0151] The dosing amount of the dephosphorizer in the post - treatment stage: Q 药3 = 1.6×1.01×8000 = 12928 g / d = 12.928 kg / d.

[0152] The total dosing amount of the dephosphorizer is Q 药1 + Q 药2 + Q 药3 = 54.54 kg / d.

[0153] Figure 7 It is the statistical schematic diagram of the total phosphorus index of the sewage treatment according to Example 1 of the embodiment of the present invention. As Figure 7 shown, the phosphorus removal method of the sewage in the embodiment of the present invention can well control the total phosphorus in the effluent. After the treatment, the total phosphorus (TP) in the effluent is measured to be 0.45 mg / L, and the calculated TP removal rate = (10 - 0.45) / 10 = 95.5%. Compared with the traditional phosphorus removal method, the consumption of the dephosphorizer in the traditional phosphorus removal method is 80 kg / d, while in this example it is 54.54 kg / d, and the TP in the effluent of this example stably reaches below 0.45 mg / L, meeting the discharge standard.

[0154] In this embodiment, a phosphorus removal device for sewage is further provided. This device is used to implement the above-mentioned embodiments and preferred implementation manners, and those that have been described will not be repeated. As used hereinafter, the term "module" can be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.

[0155] This embodiment provides a phosphorus removal device for sewage, as Figure 8 shown, including:

[0156] An acquisition module 801, configured to acquire the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated;

[0157] A calculation module 802, configured to calculate the ratio of the actual total phosphorus value to the actual chemical oxygen demand value;

[0158] A phosphorus removal mode determination module 803, configured to determine the phosphorus removal mode adopted when performing phosphorus removal on the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs.

[0159] In some alternative implementation manners, the phosphorus removal stage determination module 803 is specifically configured to: when the actual total phosphorus value > 5 mg / L and the ratio ≤ 40, the phosphorus removal mode adopted when performing phosphorus removal on the sewage to be treated includes pre-phosphorus removal and simultaneous phosphorus removal performed in sequence; when the actual total phosphorus value ≤ 5 mg / L and the ratio > 40, the phosphorus removal mode adopted when performing phosphorus removal on the sewage to be treated includes simultaneous phosphorus removal and post-phosphorus removal performed in sequence; when the actual total phosphorus value > 5 mg / L and the ratio > 40, the phosphorus removal mode adopted when performing phosphorus removal on the sewage to be treated includes pre-phosphorus removal, simultaneous phosphorus removal, and post-phosphorus removal performed in sequence; wherein, pre-phosphorus removal is to add a phosphorus removal agent before the primary sedimentation tank; simultaneous phosphorus removal is to add a phosphorus removal agent during the biochemical treatment stage; post-phosphorus removal is to add a phosphorus removal agent after the biochemical treatment stage and before the filter tank.

[0160] In some alternative implementation manners, the phosphorus removal device for sewage further includes a phosphorus removal agent determination module. After determining the phosphorus removal mode adopted when performing phosphorus removal on the sewage to be treated, the phosphorus removal agent determination module is configured to acquire the first pH value of the sewage to be treated; determine the type of phosphorus removal agent selected when performing phosphorus removal on the sewage to be treated according to the range to which the first pH value belongs, and select the first phosphorus removal agent according to the determined type of phosphorus removal agent.

[0161] In some alternative embodiments, after determining the type of phosphorus remover selected for phosphorus removal from the sewage to be treated according to the range to which the first pH value belongs, the phosphorus remover determination module is further configured to: after putting the first phosphorus remover into the sewage to be treated, obtain the second pH value of the sewage to be treated; determine whether it is necessary to change the determined type of phosphorus remover according to the range to which the second pH value belongs; when it is necessary to change the type of phosphorus remover, determine the updated type of phosphorus remover according to the range to which the second pH value belongs, and after a preset time period, select a second phosphorus remover according to the changed type of phosphorus remover and put the second phosphorus remover into the sewage to be treated.

[0162] In some alternative embodiments, the phosphorus removal device for sewage further includes a phosphorus remover dosage determination module. After selecting the first phosphorus remover according to the determined type of phosphorus remover, the phosphorus remover dosage determination module is configured to obtain the biological phosphorus removal amount of the sewage to be treated; determine the first remaining phosphorus load according to the biological phosphorus removal amount and the total phosphorus of the sewage to be treated; obtain the first flow rate of the sewage to be treated, the first phosphorus remover dosing coefficient and the first load distribution coefficient of each phosphorus removal stage in the phosphorus removal mode adopted for phosphorus removal of the sewage to be treated corresponding to the first phosphorus remover; determine the dosing amount of the first phosphorus remover in each phosphorus removal stage according to the first flow rate of the sewage to be treated, the first remaining phosphorus load, and the first phosphorus remover dosing coefficient and the first load distribution coefficient of each phosphorus removal stage.

[0163] In some alternative embodiments, after selecting the second phosphorus remover according to the changed type of phosphorus remover, the phosphorus remover dosage determination module is further configured to: obtain the phosphorus concentration in the effluent; determine the second remaining phosphorus load according to the phosphorus concentration in the effluent and the biological phosphorus removal amount; obtain the second flow rate of the sewage to be treated, the second phosphorus remover dosing coefficient and the second load distribution coefficient of each phosphorus removal stage in the phosphorus removal mode adopted for phosphorus removal of the sewage to be treated corresponding to the second phosphorus remover; determine the dosing amount of the second phosphorus remover in each phosphorus removal stage according to the second flow rate of the sewage to be treated, the second remaining phosphorus load, and the second phosphorus remover dosing coefficient and the second load distribution coefficient of each phosphorus removal stage.

[0164] In some alternative embodiments, the phosphorus remover dosing coefficient and the load distribution coefficient of each phosphorus removal stage are obtained through a machine learning algorithm.

[0165] The phosphorus removal device for sewage in this embodiment is presented in the form of functional units. Here, the unit refers to an ASIC circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0166] The further function descriptions of the above-mentioned various modules and units are the same as those in the corresponding above embodiments, and will not be elaborated here.

[0167] The embodiment of the present invention further provides a computer device having the aboveFigure 8 The phosphorus removal device for sewage shown in the figure.

[0168] Please refer to Figure 9 , Figure 9 which is a schematic structural diagram of a computer device provided by an alternative embodiment of the present invention. As Figure 9 shown, the computer device includes: one or more processors 10, a memory 20, and an interface for connecting each component, including a high-speed interface and a low-speed interface. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some alternative embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a set of blade servers, or a multi-processor system). Figure 9 In

[0169]

[0170] The processor 10 can be a central processing unit, a network processor, or a combination thereof. Among them, the processor 10 can further include a hardware chip. The above-mentioned hardware chip can be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The above-mentioned programmable logic device can be a complex programmable logic device, a field programmable gate array, a general array logic, or any combination thereof.

[0171] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiments.

[0172] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, a hard disk, or a solid state drive; the memory 20 may further include a combination of the above types of memory.

[0173] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30, and the output device 40 may be connected via a bus or other means. Figure 9 Taking connection via a bus as an example.

[0174] The input device 30 can receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED), and a haptic feedback device (e.g., a vibration motor), etc. The above display device includes but is not limited to a liquid crystal display, a light emitting diode, a display, and a plasma display. In some alternative embodiments, the display device may be a touch screen.

[0175] The embodiments of the present invention also provide a computer-readable storage medium. The methods according to the embodiments of the present invention can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented by downloading via a network the original computer code stored in a remote storage medium or a non-transitory machine-readable storage medium and to be stored in a local storage medium, so that the methods described herein can be stored as such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid state drive, etc.; further, the storage medium may further include a combination of the above types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor, or the hardware, the methods shown in the above embodiments are implemented.

[0176] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for removing phosphorus from sewage, characterized in that, Including: Obtaining the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated; Calculating the ratio of the actual total phosphorus value to the actual chemical oxygen demand value; Determining the phosphorus removal mode adopted for the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs.

2. The method according to claim 1, characterized in that, The determining the phosphorus removal mode adopted for the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs includes: When the actual total phosphorus value > 5 mg / L and the ratio ≤ 40, the phosphorus removal mode adopted for the sewage to be treated includes pre - phosphorus removal and simultaneous phosphorus removal carried out in sequence; When the actual total phosphorus value ≤ 5 mg / L and the ratio > 40, the phosphorus removal mode adopted for the sewage to be treated includes simultaneous phosphorus removal and post - phosphorus removal carried out in sequence; When the actual total phosphorus value > 5 mg / L and the ratio > 40, the phosphorus removal mode adopted for the sewage to be treated includes pre - phosphorus removal, simultaneous phosphorus removal and post - phosphorus removal carried out in sequence; Among them, the pre - phosphorus removal is adding a phosphorus removal agent before the primary sedimentation tank; the simultaneous phosphorus removal is adding the phosphorus removal agent in the biochemical treatment stage; the post - phosphorus removal is adding the phosphorus removal agent after the biochemical treatment stage and before the filter tank.

3. The method according to claim 1 or 2, characterized in that, After determining the phosphorus removal mode adopted for the sewage to be treated, it further includes: Obtaining the first pH value of the sewage to be treated; Determining the type of phosphorus removal agent selected for the sewage to be treated according to the range to which the first pH value belongs, and selecting the first phosphorus removal agent according to the determined type of phosphorus removal agent.

4. The method according to claim 3, wherein After determining the type of phosphorus removal agent selected for the sewage to be treated according to the range to which the first pH value belongs, it further includes: After putting the first phosphorus removal agent into the sewage to be treated, obtaining the second pH value of the sewage to be treated; Determining whether it is necessary to change the type of phosphorus removal agent according to the range to which the second pH value belongs; When it is necessary to change the type of phosphorus removal agent, after a preset time period, determining the updated type of phosphorus removal agent according to the range to which the second pH value belongs, selecting the second phosphorus removal agent according to the changed type of phosphorus removal agent, and putting the second phosphorus removal agent into the sewage to be treated.

5. The method according to claim 2, wherein After selecting the first phosphorus removal agent according to the determined type of phosphorus removal agent, it further includes: Obtaining the biological phosphorus removal amount of the sewage to be treated; Determining the first remaining phosphorus load according to the biological phosphorus removal amount and the total phosphorus of the sewage to be treated; Obtaining the first flow rate of the sewage to be treated, the first phosphorus removal agent dosing coefficient and the first load distribution coefficient of each phosphorus removal stage in the phosphorus removal mode adopted for the sewage to be treated corresponding to the first phosphorus removal agent; Determining the dosing amount of the first phosphorus removal agent in each phosphorus removal stage according to the first flow rate of the sewage to be treated, the first remaining phosphorus load and the first phosphorus removal agent dosing coefficient and the first load distribution coefficient of each phosphorus removal stage.

6. The method according to claim 4, wherein After selecting the second phosphorus removal agent according to the changed type of phosphorus removal agent, it further includes: Obtaining the phosphorus concentration in the effluent; Determining the second remaining phosphorus load according to the phosphorus concentration in the effluent and the biological phosphorus removal amount; Obtain the second flow rate of the sewage to be treated, the second phosphorus removal agent dosing coefficient and the second load distribution coefficient for each phosphorus removal stage in the phosphorus removal mode adopted for phosphorus removal of the sewage to be treated corresponding to the second phosphorus removal agent; Determine the dosing amount of the second phosphorus removal agent in each phosphorus removal stage according to the second flow rate of the sewage to be treated, the second remaining phosphorus load, the second phosphorus removal agent dosing coefficient and the second load distribution coefficient for each phosphorus removal stage.

7. A phosphorus removal device for sewage, characterized in that, The device includes: An acquisition module, configured to acquire the actual total phosphorus value and the actual chemical oxygen demand value of the sewage to be treated; A calculation module, configured to calculate the ratio of the actual total phosphorus value to the actual chemical oxygen demand value; A phosphorus removal stage determination module, configured to determine the phosphorus removal mode adopted for phosphorus removal of the sewage to be treated according to the range to which the actual total phosphorus value belongs and the range to which the ratio belongs.

8. A computer device, characterized in that, Including: A memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the phosphorus removal method for sewage according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause a computer to execute the phosphorus removal method for sewage according to any one of claims 1 to 6.

10. A computer program product, characterized in that, Including computer instructions, the computer instructions are used to cause a computer to execute the phosphorus removal method for sewage according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Intelligent adding control method of chemical phosphorus removal agent for municipal wastewater plant and device thereof

    CN102464426A

  • Method for controlling feeding amount of chemical phosphorus removal reagents of water reclamation plants based on fuzzy control

    CN103570190A

  • Method for treating waste water

    JP1994039396A

  • Method for removing phosphorus in waste water

    JP2001038382A

Cited By

  • MET ecological material integrated equipment

    CN120864718A