Method, device and equipment for calculating limit concentration of secondary sedimentation tank and medium
Calculating the limit concentration of the second sedimentation tank through linear fitting and interpolation methods, solving the problems of complex calculation and low accuracy in the existing technology, realizing accurate regulation and intelligent control of the second sedimentation tank, and improving the operating efficiency of the water treatment system.
Patent Information
- Application Number
- CN202411290585.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2024-11-26
Smart Images

Figure CN119015757A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of wastewater treatment, and in particular to a method, device, equipment and medium for calculating the limiting concentration of a secondary sedimentation tank. Background Art
[0002] In the field of wastewater treatment, aerobic biological treatment processes are widely used in the treatment of municipal sewage, industrial wastewater and various types of recycled water. The secondary sedimentation tank is an important component of the aerobic biological treatment process. It effectively separates the liquid and solid in the mud-water mixture through gravity sedimentation, so that the separated clear liquid enters the subsequent treatment unit, and part of the separated sludge returns to the aerobic tank to participate in the biochemical reaction again, and the other part is discharged from the treatment system. In the operation of the water treatment process, effective control of the return and sludge discharge of the secondary sedimentation tank is crucial to whether the treated effluent can meet the standards.
[0003] The total solid flux is a composite value of the gravity flux and the bottom flow flux, which changes in real time with the changes in the inflow, return flow, and sludge concentration of the secondary sedimentation tank. The flux curve cannot be fitted by conventional mathematical methods, so it is difficult to directly determine the limit flux value. The current methods include: 1. Relying on manual drawing of the flux curve and observation to determine. However, manual observation requires complex calculations first. First, the amount of calculation is large, and human bias or misjudgment may occur; second, the timeliness is poor. Any change in any indicator will cause a change in the flux curve, making it difficult to achieve real-time regulation of the secondary sedimentation tank. 2. Use the flux model to solve. By deriving the flux from the sludge concentration, the limit flux and the corresponding sludge concentration can be obtained. However, this method cannot determine whether the limit flux exists, and there may be two or more limit points, which require further resolution. 3. In order to avoid simulation distortion, the prior art proposes that a 30-layer model can be used to obtain ideal simulation results. That is, the sludge layer is divided into 30 layers, but the premise of this method is that the flux can be calculated differentially. The method has similar characteristics to the above-mentioned method of differentiating the sludge concentration by flux. Even if the sludge layer is divided into 30 layers, it cannot be guaranteed that a certain layer can make the derivative equal to zero. 4. Computational Fluid Dynamics (CFD) is the most powerful tool for studying fluid dynamics. In the future, more and more researchers will use numerical model simulation to optimize the design of secondary sedimentation tanks. The existing drag (interphase resistance) equation is based on the gas-solid two-phase flow theory, which is mostly limited to describing the free or disturbed sedimentation motion in the dilute phase and cannot be used for resistance calculation under dense phase conditions (sludge sedimentation). Therefore, further research is needed to propose a drag equation suitable for describing the sludge sedimentation process. In summary, the existing methods for calculating the limiting concentration of secondary sedimentation tanks have certain disadvantages. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method, device, equipment and medium for calculating the limiting concentration of a secondary sedimentation tank to solve the above technical problem.
[0005] The technical solution of the present invention to solve the above technical problems is as follows: a method for calculating the limiting concentration of a secondary sedimentation tank, comprising: obtaining the working parameters of the secondary sedimentation tank to be analyzed and a preset upper limit value of the sludge concentration; generating an initial sample according to the working parameters of the secondary sedimentation tank to be analyzed and the upper limit value of the sludge concentration, wherein the initial sample includes sample data consisting of sludge concentration and a total solid flux corresponding to the sludge concentration, and the sludge concentration is less than or equal to the upper limit value of the sludge concentration; according to the initial sample, judging by a linear fitting method whether the change trend of the sample data in the initial sample conforms to the change trend of the total solid flux curve with a limiting concentration, if not, determining that the secondary sedimentation tank to be analyzed has no limiting concentration; if conforming, obtaining first limit interval data, and calculating the limiting concentration of the secondary sedimentation tank to be analyzed based on the first limit interval data based on the interpolation method and the linear fitting method.
[0006] The beneficial effects of the present invention are as follows: the present method first determines whether there is a limiting concentration by linear fitting in combination with the characteristics of the total solid flux curve with the limiting concentration. If there is, the data range is narrowed, and then the numerical value of the specific limiting concentration is determined by combining the interpolation method and the linear fitting method. The present method can accurately determine and calculate the limiting concentration, and, by the interpolation method, the calculation accuracy can be greatly improved. Compared with other methods, the calculation results of the present method are reliable, which is of great significance for realizing the prediction, early warning and intelligent control of the operation of the secondary sedimentation tank.
[0007] Based on the above technical solution, the present invention can also be improved as follows.
[0008] Furthermore, the working parameters of the secondary sedimentation tank to be analyzed include injected sludge concentration, return flow rate and cross-sectional area. The injected sludge concentration characterizes the concentration of the sludge injected into the secondary sedimentation tank, the return flow rate characterizes the flow rate of the sludge returned to the secondary sedimentation tank, and the cross-sectional area characterizes the area of the horizontal section of the secondary sedimentation tank used for solid particle precipitation.
[0009] Furthermore, the initial sample is generated according to the working parameters of the secondary sedimentation tank to be analyzed and the upper limit of the sludge concentration, including: taking the sludge concentrations corresponding to each positive integer less than or equal to the upper limit of the sludge concentration as each sludge concentration in the initial sample; obtaining the sedimentation velocity corresponding to the injected sludge concentration; calculating the gravity flux corresponding to each sludge concentration according to the sedimentation velocity, the gravity flux characterizing the mass of solids passing through a unit area caused by gravity sedimentation per unit time; calculating the bottom flow rate corresponding to each sludge concentration according to the reflux flow and the cross-sectional area, the bottom flow rate characterizing the mass of solids passing through a unit area caused by volume flow per unit time; calculating the total solid flux corresponding to each sludge concentration according to the gravity flux and the bottom flow rate corresponding to each sludge concentration; generating the initial sample according to each sludge concentration and the total solid flux corresponding to each sludge concentration.
[0010] Further, judging whether the variation trend of the sample data in the initial sample conforms to the variation trend of the total solid flux curve with the existence of the limiting concentration by a linear fitting method according to the initial sample includes:
[0011] S11, according to the initial sample, sorting each sample data from small to large according to the sludge concentration to obtain a first sorting result;
[0012] S12. According to the first sorting result, at least three sample data are taken in descending order of sludge concentration to form a first sample;
[0013] S13, performing linear fitting on the sample data in the first sample to obtain a first straight line;
[0014] S14, determining whether the slope of the first straight line is less than zero, if so, determining that the change trend of the sample data in the initial sample does not conform to the change trend of the total solid flux curve with a limit concentration; otherwise, executing S15;
[0015] S15. Determine whether there is an inflection point in the changing trend of the sample data in the initial sample. If so, determine that the changing trend of the sample data in the initial sample is consistent with the changing trend of the total solid flux curve with a limiting concentration. Otherwise, determine that the changing trend of the sample data in the initial sample is not consistent with the changing trend of the total solid flux curve with a limiting concentration.
[0016] Further, the determining whether there is an inflection point in the variation trend of the sample data in the initial sample includes:
[0017] S21, generating a second sample according to the first sorting result and the first sample; the second sample includes all sample data in the first sample except the last sample data in the first sample, and the previous sample data of the first sample data in the first sample;
[0018] S22, performing linear fitting on the sample data in the second sample to obtain a second straight line;
[0019] S23, determining whether the slope of the second straight line is greater than or equal to zero, if so, executing S24; otherwise, determining whether there is an inflection point in the change trend of the sample data in the initial sample:
[0020] S24, judging whether there is sample data before the first sample data in the second sample according to the first sorting result, and if so, executing S25; otherwise, judging that there is no inflection point in the change trend of the sample data in the initial sample;
[0021] S25. According to the first sorting result, the last sample data in the second sample is removed from the second sample, and the sample data before the first sample data in the second sample is added to the second sample to generate a new second sample, and the new second sample is used as the second sample in S22, and S22 is executed until there is no sample data before the first sample data in the second sample.
[0022] Further, the obtaining of the first extreme interval data includes: obtaining a second sample corresponding to when it is determined that there is an inflection point in the change trend of the sample data in the initial sample, and recording it as the sample to be merged; and according to the first sorting result, adding the next sample data of the last sample data in the sample to be merged to the sample to be merged to generate the first extreme interval data.
[0023] Further, the calculating the limit concentration of the secondary sedimentation tank to be analyzed based on the first limit interval data and the interpolation method and the linear fitting method includes:
[0024] S31, performing interpolation processing on the first limit interval data to obtain interpolation data;
[0025] S32, according to the interpolation data, sorting each of the sample data in the interpolation data from small to large according to the sludge concentration to obtain a second sorting result;
[0026] S33, according to the second sorting result, taking at least three sample data in descending order of sludge concentration to form a third sample;
[0027] S34, performing linear fitting on the sample data in the third sample to obtain a third straight line;
[0028] S35, determining whether the slope of the third straight line is less than zero, if so, executing S37 to S38; otherwise, executing S36;
[0029] S36. According to the second sorting result, remove the last sample data in the third sample from the third sample, and add the sample data before the first sample data in the third sample to the third sample to generate a new third sample, and use the new third sample as the third sample in S34, and execute S34 until there is no sample data before the first sample data in the third sample;
[0030] S37, adding the next sample data of the last sample data in the third sample to the third sample to generate second limit interval data;
[0031] S38. Calculate the average value of each sludge concentration in the second limit interval data to obtain the limit concentration of the secondary sedimentation tank to be analyzed.
[0032] In order to solve the above technical problems, the present invention also provides a secondary sedimentation tank limit concentration calculation device, comprising:
[0033] A data acquisition module is used to obtain the working parameters of the secondary sedimentation tank to be analyzed and the preset upper limit value of sludge concentration;
[0034] A sample generation module, for generating an initial sample according to the working parameters of the secondary sedimentation tank to be analyzed and the upper limit of the sludge concentration, wherein the initial sample includes sample data consisting of the sludge concentration and the total solid flux corresponding to the sludge concentration, and the sludge concentration is less than or equal to the upper limit of the sludge concentration;
[0035] The limit concentration determination module is used to determine whether the change trend of the sample data in the initial sample conforms to the change trend of the total solid flux curve with the existence of a limit concentration through a linear fitting method based on the initial sample. If not, it is determined that there is no limit concentration in the secondary sedimentation tank to be analyzed; if it is consistent, the first limit interval data is obtained, and the limit concentration of the secondary sedimentation tank to be analyzed is calculated based on the interpolation method and the linear fitting method according to the first limit interval data.
[0036] To solve the above technical problems, the present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a method for calculating the limiting concentration of a secondary sedimentation tank as described above is implemented.
[0037] In order to solve the above technical problems, the present invention also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute a secondary sedimentation tank limit concentration calculation method as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a schematic diagram of the secondary sedimentation tank model;
[0039] Figure 2 It is a schematic diagram of gravity flux curve;
[0040] Figure 3 is a schematic diagram of the bottom flux curve;
[0041] Figure 4 It is a schematic diagram of the total solid flux curve;
[0042] Figure 5 A flow chart of a method for calculating the limiting concentration of a secondary sedimentation tank according to the present invention;
[0043] Figure 6 The return flow is 150m 3 Schematic diagram of flux curve at / h;
[0044] Figure 7 The return flow is 150m 3 / h when the limit concentration is located at a magnified position;
[0045] Figure 8 It is a schematic diagram of a limiting concentration calculation device for a secondary sedimentation tank according to the present invention. DETAILED DESCRIPTION
[0046] The principles and features of the present invention are described below. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0047] Common secondary sedimentation tank processes can be roughly divided into radial flow sedimentation tanks and horizontal flow sedimentation tanks. Regardless of the configuration, the basic principle is to use the fact that the density of sludge is greater than that of water. Under the action of self-flocculation of extracellular secretions of microorganisms, the sludge is settled to the bottom of the sedimentation tank by gravity, and the concentrated sludge is discharged by mechanical action, and the clear liquid on the top overflows from the tank body, thereby achieving the purpose of clarification.
[0048] Simulating and regulating the secondary sedimentation tank based on mathematical models is a reliable technical means to improve the operation level of sewage treatment plants and an important part of smart water services. Like biological process models, international acceptability is the primary criterion for selecting secondary sedimentation models.
[0049] like Figure 1As shown in the BSM benchmark model prepared by the International Water Association, a 10-layer system is assumed for the secondary clarifier implementation, and the settling behavior in any layer is calculated as the net effect of settling plus the solid movement caused by liquid flow. The layers are numbered from the bottom (layer 1), with layer 6 designated as the inflow layer and layer 10 as the clear liquid outflow layer. In each layer, the mass balance of the sludge takes into account the solid flux due to settling and the transport of solids into and out of the layer due to liquid flow. Above the feed layer (layers 7-9), the upward flow carries the solids upward (from the layer below to the layer above), while settling carries the solids downward (from the top to the bottom). Below the feed layer, both liquid flow and particle settling contribute to the downward movement of solids. The feed layer is a special case where solids enter the layer from the feed and leave the layer upward and downward due to the flow. Solids in both layer 1 (RAS) and layer 10 (effluent) are removed from the clarifier, ensuring a solid mass balance in the entire clarifier.
[0050] Solid flux is a special form of mass flow rate, which is defined as the mass of solid passing through a unit area per unit time. The unit can be expressed in kg / (m 2 ·h). The flux theory describes the various solid fluxes that affect the solid transport in the clarifier. It represents the solid-liquid separation capability of the sedimentation tank. Since the secondary sedimentation tank has the function of sludge return, the mixed liquor entering the secondary sedimentation tank includes the flow of the front aerobic tank and the underflow flow generated by the return. Therefore, the total solid flux of the secondary sedimentation tank includes two parts: gravity flux and underflow flux.
[0051] In the secondary sedimentation tank stratification model, the gravity flux is defined as the sedimentation velocity V S (m / h) and the solid concentration X in this layer sc (g / L or kg / m 3 ), that is: J S =V S *X sc The curve formed by the gravity flux is as follows Figure 2 shown.
[0052] The underflow rate is defined as the product of the underflow velocity and the solid concentration in the layer, specifically:
[0053] Among them, Q R is the sludge return flow rate (m 3 / h), A is the effective surface area of the secondary sedimentation tank (m 2 ). The curve formed by the bottom flux is as follows Figure 3 shown.
[0054] The total flux of the secondary sedimentation tank is the sum of the gravity flux and the bottom flux, so the total flux J L For: J L =JS +J B The curve formed by the total flux is as follows Figure 4 shown.
[0055] For a specific underflow rate, the total flux has a minimum value at a certain concentration, called the "limiting concentration", X L . If the concentration is below the limiting concentration, the increase in settling flux more than compensates for the decrease in total flux (i.e., the solids entering the sedimentation tank can be precipitated), while at higher concentrations, the increase in total solid flux more than compensates for the decrease in settling flux (i.e., only part of the solids entering the sedimentation tank can be precipitated, and those that are not precipitated may cause local accumulation and lead to a decrease in sedimentation efficiency). The layer at the limiting concentration in the settler will become a bottleneck because it delivers the lowest total solid flux to the bottom over the entire concentration range. The concentration range is from low concentrations of feed concentration to high concentrations of return sludge. When the applied flux (the mass of solids applied per unit settler area) exactly matches the limiting flux, the clarifier is at a critical load or failure point. When it is greater than the limiting flux, either the sludge return rate is reduced or part of the sludge is discharged from the system to reduce the total solid flux returned to the system. After finding the limiting concentration from the minimum of the total flux curve, the minimum or limiting flux can be determined.
[0056] Based on the above analysis, it can be seen that accurately determining the flux limit value and its influent sludge concentration is beneficial to the regulation of secondary sedimentation tank return and sludge discharge. Implementing autonomous calculations through algorithms is beneficial to the intelligent control of the secondary sedimentation tank, which has important practical significance and application value for smart management and control in the water sector.
[0057] Based on this, Figure 5 As shown, the present embodiment provides a method for calculating the limiting concentration of a secondary sedimentation tank, including: obtaining the working parameters of the secondary sedimentation tank to be analyzed and a preset upper limit value of the sludge concentration; generating an initial sample according to the working parameters of the secondary sedimentation tank to be analyzed and the upper limit value of the sludge concentration, wherein the initial sample includes sample data consisting of a sludge concentration and a total solid flux corresponding to the sludge concentration, and the sludge concentration is less than or equal to the upper limit value of the sludge concentration; judging according to the initial sample by a linear fitting method whether a change trend of the sample data in the initial sample conforms to a change trend of a total solid flux curve with a limiting concentration, if not, determining that the secondary sedimentation tank to be analyzed has no limiting concentration; if conforming, obtaining first limit interval data, and calculating the limiting concentration of the secondary sedimentation tank to be analyzed based on the interpolation method and the linear fitting method according to the first limit interval data.
[0058] This method first uses a linear fitting method to combine the characteristics of the total solid flux curve with the existence of a limiting concentration to determine whether there is a limiting concentration. If it does exist, the data range is narrowed, and then the interpolation method and the linear fitting method are combined to determine the specific value of the limiting concentration. This method can accurately determine and calculate the limiting concentration, and, through the interpolation method, the calculation accuracy can be greatly improved. Compared with other methods, the calculation results of this method are reliable, which is of great significance for realizing the prediction, early warning and intelligent control of the operation of the secondary sedimentation tank.
[0059] Optionally, in an embodiment, the working parameters of the secondary sedimentation tank to be analyzed include injected sludge concentration, return flow rate and cross-sectional area, the injected sludge concentration characterizes the concentration of the sludge injected into the secondary sedimentation tank, the return flow rate characterizes the flow rate of the sludge returned to the secondary sedimentation tank, and the cross-sectional area characterizes the area of the horizontal section of the secondary sedimentation tank used for solid particle precipitation.
[0060] The upper limit of sludge concentration and cross-sectional area are both manually set values and can remain unchanged after setting. The injected sludge concentration and return flow rate are both real-time reading values. The injected sludge concentration comes from the online sludge concentration meter. In order to avoid accidental deviations in online MLSS testing, the MLSS data should be preprocessed, and the data samples within a certain period of time should be averaged after removing noise data. This step can be achieved through data preprocessing technology. The return flow rate comes from the liquid flow meter on the sludge return pipe. In order to avoid accidental deviations in online instruments, the flow data should be preprocessed, and the data samples within a certain period of time should be averaged after removing noise data. This step can be achieved through data preprocessing technology.
[0061] Optionally, in an embodiment, generating an initial sample according to the working parameters of the secondary sedimentation tank to be analyzed and the upper limit of the sludge concentration includes: taking the sludge concentrations corresponding to each positive integer less than or equal to the upper limit of the sludge concentration as each sludge concentration in the initial sample; obtaining the sedimentation velocity corresponding to the injected sludge concentration; calculating the gravity flux corresponding to each sludge concentration according to the sedimentation velocity, the gravity flux characterizing the mass of solids passing through a unit area caused by gravity sedimentation per unit time; calculating the bottom flow rate corresponding to each sludge concentration according to the reflux flow and the cross-sectional area, the bottom flow rate characterizing the mass of solids passing through a unit area caused by the volume flow per unit time; calculating the total solid flux corresponding to each sludge concentration according to the gravity flux and the bottom flow rate corresponding to each sludge concentration; generating an initial sample according to each sludge concentration and the total solid flux corresponding to each sludge concentration.
[0062] In order to ensure the integrity of the curve (no misjudgment), the upper limit of sludge concentration should be as large as possible, such as not less than 20kg / m 3The upper limit of sludge concentration is 20kg / m 3 For example, the sludge concentration is 1kg / m 3 , 2kg / m 3 , 3kg / m 3 ,……,19kg / m 3 , 20kg / m 3 .
[0063] For the settling velocity, it is necessary to compare the injected sludge concentration with the preset settling velocity curve to obtain the settling velocity corresponding to the injected sludge concentration. The method for generating the settling velocity curve is: perform a settling test on the sludge sample in a 1L measuring cylinder, record the height of the sludge interface in the measuring cylinder at different times (1min, 2min, 4min, 6min, 8min, 10min, 45min), draw a height curve, find the linear sedimentation part, and then the zone settling velocity (ZSV) at the sludge concentration can be calculated. Using sludge samples with different MLSS concentrations, the ZSV can be obtained in a 1L measuring cylinder according to the above method, and the ZSV curve of sludge with different MLSS concentrations can be drawn. Sludge samples of different concentrations can be obtained in the following way: take the bottom flow sludge from the sludge return port of the secondary sedimentation tank (this part of the sludge is the high-concentration sludge after sedimentation), measure its MLSS value, and then dilute it with water in different proportions to obtain sludge samples of different concentrations. The regional sedimentation velocity obtained from the above series of tests can be plotted as a function of MLSS concentration, thus obtaining an approximate curve that can be well expressed by an exponential function, namely the Wessling curve.
[0064] Optionally, in an embodiment, judging whether the variation trend of the sample data in the initial sample conforms to the variation trend of the total solid flux curve with the existence of the limiting concentration by a linear fitting method according to the initial sample includes:
[0065] S11, according to the initial sample, sorting each sample data from small to large according to the sludge concentration to obtain a first sorting result;
[0066] S12. According to the first sorting result, at least three sample data are taken in descending order of sludge concentration to form a first sample;
[0067] S13, performing linear fitting on the sample data in the first sample to obtain a first straight line;
[0068] S14, determining whether the slope of the first straight line is less than zero, if so, determining that the change trend of the sample data in the initial sample does not conform to the change trend of the total solid flux curve with a limit concentration; otherwise, executing S15;
[0069] S15. Determine whether there is an inflection point in the changing trend of the sample data in the initial sample. If so, determine that the changing trend of the sample data in the initial sample is consistent with the changing trend of the total solid flux curve with a limiting concentration. Otherwise, determine that the changing trend of the sample data in the initial sample is not consistent with the changing trend of the total solid flux curve with a limiting concentration.
[0070] The number of sample data in the first sample is equal to the preset number of samples. The number of samples is a manually set value and can remain unchanged after setting. For the number of samples, it is recommended to set it to 3, 4 or 5. The upper limit of sludge concentration is 20kg / m 3 , the number of samples is set to 3 as an example, the first sample formed in step S12 is (18, y 18 )、(19,y 19 ) and (20, y 20 ). 20 ,y 19 ,y 18 The sludge concentration is 20kg / m 3 , 19kg / m 3 , 18kg / m 3 The first straight line is expressed using the general formula of the straight line equation.
[0071] Optionally, in an embodiment, the determining whether there is an inflection point in the change trend of the sample data in the initial sample includes:
[0072] S21, generating a second sample according to the first sorting result and the first sample; the second sample includes all sample data in the first sample except the last sample data in the first sample, and the previous sample data of the first sample data in the first sample;
[0073] S22, performing linear fitting on the sample data in the second sample to obtain a second straight line;
[0074] S23, determining whether the slope of the second straight line is greater than or equal to zero, if so, executing S24; otherwise, determining whether there is an inflection point in the change trend of the sample data in the initial sample;
[0075] S24, judging whether there is sample data before the first sample data in the second sample according to the first sorting result, and if so, executing S25; otherwise, judging that there is no inflection point in the change trend of the sample data in the initial sample;
[0076] S25. According to the first sorting result, the last sample data in the second sample is removed from the second sample, and the sample data before the first sample data in the second sample is added to the second sample to generate a new second sample, and the new second sample is used as the second sample in S22, and S22 is executed until there is no sample data before the first sample data in the second sample.
[0077] The second samples generated in step S21 are (17, y17), (18, y18) and (19, y19). The expression of the second straight line is expressed using the general formula of the straight line equation. The second samples are updated using the decreasing moving sampling method. For example, the new samples generated based on the last second sample are (16, y16), (17, y17) and (18, y18).
[0078] Optionally, in an embodiment, obtaining the first extreme interval data includes: obtaining a second sample corresponding to when it is determined that there is an inflection point in the change trend of the sample data in the initial sample, and recording it as the sample to be merged; according to the first sorting result, adding the next sample data of the last sample data in the sample to be merged to the sample to be merged to generate the first extreme interval data.
[0079] For example, when the second samples are (16, y16), (17, y17) and (18, y18), it is determined that the change trend of the sample data in the initial sample has an inflection point, that is, the slope of the second straight line fitted by the second sample is less than zero. Then the sample data in the second sample is combined with the sample data in the previous second sample to obtain the first limit interval data, that is, (16, y16), (17, y17), (18, y18) and (19, y19).
[0080] Optionally, in an embodiment, the calculating the limit concentration of the secondary sedimentation tank to be analyzed based on the first limit interval data and the interpolation method and the linear fitting method includes:
[0081] S31, performing interpolation processing on the first limit interval data to obtain interpolation data;
[0082] S32, according to the interpolation data, sorting each of the sample data in the interpolation data from small to large according to the sludge concentration to obtain a second sorting result;
[0083] S33, according to the second sorting result, taking at least three sample data in descending order of sludge concentration to form a third sample;
[0084] S34, performing linear fitting on the sample data in the third sample to obtain a third straight line;
[0085] S35, determining whether the slope of the third straight line is less than zero, if so, executing S37 to S38; otherwise, executing S36;
[0086] S36. According to the second sorting result, remove the last sample data in the third sample from the third sample, and add the sample data before the first sample data in the third sample to the third sample to generate a new third sample, and use the new third sample as the third sample in S34, and execute S34 until there is no sample data before the first sample data in the third sample;
[0087] S37, adding the next sample data of the last sample data in the third sample to the third sample to generate second limit interval data;
[0088] S38. Calculate the average value of each sludge concentration in the second limit interval data to obtain the limit concentration of the secondary sedimentation tank to be analyzed.
[0089] When performing interpolation processing, the sludge concentration in the first limit interval data is generally interpolated with an interpolation accuracy of 0.1 or 0.01, and the total solid flux corresponding to each newly added sludge concentration after interpolation is calculated to form interpolation data. When the interpolation accuracy is 0.1, the accuracy of the sludge concentration is increased by 10 times; when the interpolation accuracy is 0.01, the accuracy of the sludge concentration is increased by 100 times. The above interpolation process can illustrate that the interpolation calculation described in this method is equivalent to a more detailed division of the sludge layer, which is much higher than the accuracy of dividing the sludge layer into 30 layers in the prior art.
[0090] For example, the first limit interval data is (16, y 16 )、(17,y 17 )、(18,y 18 ) and (19, y 19 ), when the sludge concentration in the first limit interval data is interpolated with an interpolation accuracy of 0.1, the interpolation data can be obtained as (16, y 16 )、(16.1,y 16.1 )、(16.2,y 16.2 ),……,(16.8,y 16.8 )、(16.9,y 16.9 )、(17,y 17 )、(17.1,y 17.1 )、······、(17.9,y 17.9 )、(18,y 18 )、(18.1,y 18.1 ),……,(18.9,y 18.9 )、(19,y19 ). In step S33, the number of sample data in the third sample is equal to the preset number of samples. The expression of the third straight line is expressed using the general formula of the straight line equation.
[0091] After the limiting concentration is calculated, the total solid flux corresponding to the limiting concentration is the limiting flux. At this point, the calculation cycle of the limiting concentration of this cycle is completed.
[0092] The number of samples is set to 3, and the return flow rate of the secondary sedimentation tank is 0 and 50m 3 / h、100m 3 / h、150m 3 / h、200m 3 / h、250m 3 / h, the cross-sectional area of the secondary sedimentation tank is 100m 2 The maximum sludge concentration is 20kg / m 3 , calculate the theoretical value of the limiting flux and the corresponding sludge concentration and the value calculated by the method of the present invention. 3 / h as an example, the interpolation calculation process is as follows Figure 6 and Figure 7 The calculation results are shown in the following table:
[0093] Table 1 Comparison of solutions to limiting flux under different circumstances
[0094]
[0095] From the above results, we can know that: 1. When there is no reflux (reflux flow = 0) or the reflux flow is extremely large (reflux flow = 250m 3 / h), neither the theoretical method nor the algorithm found the limiting flux.
[0096] 2. According to the method provided by the present invention, the calculated limiting flux is basically consistent with the theoretical value, and the deviation is almost 0 when the interpolation accuracy is 0.1. It can be seen that when the interpolation accuracy is 0.01, the deviation will be even smaller.
[0097] 3. According to the method provided by the present invention, when the difference accuracy is 0.1, the deviation of the calculated limit sludge concentration compared with the theoretical value is less than 0.5%, while the detection accuracy of the existing sludge concentration meter is between ±5% .FS and ±10% .FS. The error of this method is much lower than the detection deviation of the instrument, indicating that the calculation result is reliable in actual operation.
[0098] 4. According to the method provided by the present invention, the deviations of the calculated limit sludge concentration are all positive deviations, that is, the output value is slightly larger than the theoretical value, which is conducive to the operation management personnel to take control measures in advance to avoid the effluent from the secondary sedimentation tank exceeding the standard.
[0099] In summary, this method can calculate the limiting flux and its corresponding sludge concentration online in real time through computer programming. Compared with other methods, this calculation method has clear principles and calculation processes, reliable results, simple and convenient programming, and low computer resource consumption during the calculation process, which is of great significance for realizing the prediction, early warning and intelligent control of the secondary sedimentation tank operation.
[0100] Embodiment 2
[0101] like Figure 8 As shown, this embodiment provides a secondary sedimentation tank limit concentration calculation device, including:
[0102] A data acquisition module is used to obtain the working parameters of the secondary sedimentation tank to be analyzed and the preset upper limit value of sludge concentration;
[0103] A sample generation module, for generating an initial sample according to the working parameters of the secondary sedimentation tank to be analyzed and the upper limit of the sludge concentration, wherein the initial sample includes sample data consisting of the sludge concentration and the total solid flux corresponding to the sludge concentration, and the sludge concentration is less than or equal to the upper limit of the sludge concentration;
[0104] The limit concentration determination module is used to determine whether the change trend of the sample data in the initial sample conforms to the change trend of the total solid flux curve with the existence of a limit concentration through a linear fitting method based on the initial sample. If not, it is determined that there is no limit concentration in the secondary sedimentation tank to be analyzed; if it is consistent, the first limit interval data is obtained, and the limit concentration of the secondary sedimentation tank to be analyzed is calculated based on the interpolation method and the linear fitting method according to the first limit interval data.
[0105] Optionally, in an embodiment, the working parameters of the secondary sedimentation tank to be analyzed include injected sludge concentration, return flow rate and cross-sectional area, the injected sludge concentration characterizes the concentration of the sludge injected into the secondary sedimentation tank, the return flow rate characterizes the flow rate of the sludge returned to the secondary sedimentation tank, and the cross-sectional area characterizes the area of the horizontal section of the secondary sedimentation tank used for solid particle precipitation.
[0106] Optionally, in an embodiment, the sample generation module includes:
[0107] A sludge concentration determination unit, used to take sludge concentrations corresponding to each positive integer less than or equal to the sludge concentration upper limit as each sludge concentration in the initial sample;
[0108] A sedimentation velocity acquisition unit, used to acquire a sedimentation velocity corresponding to the injected sludge concentration;
[0109] A first calculation unit is used to calculate the gravity flux corresponding to each of the sludge concentrations according to the settling velocity, wherein the gravity flux represents the mass of solid matter passing through a unit area caused by gravity settling in a unit time;
[0110] A second calculation unit is used to calculate the bottom flux corresponding to each of the sludge concentrations according to the return flow rate and the cross-sectional area, wherein the bottom flux represents the mass of solid matter passing through a unit area caused by the volume flow rate per unit time;
[0111] A third calculation unit is used to calculate the total solid flux corresponding to each of the sludge concentrations according to the gravity flux and the bottom flow flux corresponding to each of the sludge concentrations;
[0112] The sample generating unit is used to generate an initial sample according to each of the sludge concentrations and the total solid flux corresponding to each of the sludge concentrations.
[0113] Optionally, in an embodiment, judging whether the variation trend of the sample data in the initial sample conforms to the variation trend of the total solid flux curve with the existence of the limiting concentration by a linear fitting method according to the initial sample includes:
[0114] S11, according to the initial sample, sorting each sample data from small to large according to the sludge concentration to obtain a first sorting result;
[0115] S12. According to the first sorting result, at least three sample data are taken in descending order of sludge concentration to form a first sample;
[0116] S13, performing linear fitting on the sample data in the first sample to obtain a first straight line;
[0117] S14, determining whether the slope of the first straight line is less than zero, if so, determining that the change trend of the sample data in the initial sample does not conform to the change trend of the total solid flux curve with a limit concentration; otherwise, executing S15;
[0118] S15. Determine whether there is an inflection point in the changing trend of the sample data in the initial sample. If so, determine that the changing trend of the sample data in the initial sample is consistent with the changing trend of the total solid flux curve with a limiting concentration. Otherwise, determine that the changing trend of the sample data in the initial sample is not consistent with the changing trend of the total solid flux curve with a limiting concentration.
[0119] Optionally, in an embodiment, the determining whether there is an inflection point in the change trend of the sample data in the initial sample includes:
[0120] S21, generating a second sample according to the first sorting result and the first sample; the second sample includes all sample data in the first sample except the last sample data in the first sample, and the previous sample data of the first sample data in the first sample;
[0121] S22, performing linear fitting on the sample data in the second sample to obtain a second straight line;
[0122] S23, determining whether the slope of the second straight line is greater than or equal to zero, if so, executing S24; otherwise, determining whether there is an inflection point in the change trend of the sample data in the initial sample;
[0123] S24, judging whether there is sample data before the first sample data in the second sample according to the first sorting result, and if so, executing S25; otherwise, judging that there is no inflection point in the change trend of the sample data in the initial sample;
[0124] S25. According to the first sorting result, the last sample data in the second sample is removed from the second sample, and the sample data before the first sample data in the second sample is added to the second sample to generate a new second sample, and the new second sample is used as the second sample in S22, and S22 is executed until there is no sample data before the first sample data in the second sample.
[0125] Optionally, in an embodiment, obtaining the first extreme interval data includes: obtaining a second sample corresponding to when it is determined that there is an inflection point in the change trend of the sample data in the initial sample, and recording it as the sample to be merged; according to the first sorting result, adding the next sample data of the last sample data in the sample to be merged to the sample to be merged to generate the first extreme interval data.
[0126] Optionally, in an embodiment, the calculating the limit concentration of the secondary sedimentation tank to be analyzed based on the first limit interval data and the interpolation method and the linear fitting method includes:
[0127] S31, performing interpolation processing on the first limit interval data to obtain interpolation data;
[0128] S32, according to the interpolation data, sorting each of the sample data in the interpolation data from small to large according to the sludge concentration to obtain a second sorting result;
[0129] S33, according to the second sorting result, taking at least three sample data in descending order of sludge concentration to form a third sample;
[0130] S34, performing linear fitting on the sample data in the third sample to obtain a third straight line;
[0131] S35, determining whether the slope of the third straight line is less than zero, if so, executing S37 to S38; otherwise, executing S36;
[0132] S36. According to the second sorting result, remove the last sample data in the third sample from the third sample, and add the sample data before the first sample data in the third sample to the third sample to generate a new third sample, and use the new third sample as the third sample in S34, and execute S34 until there is no sample data before the first sample data in the third sample;
[0133] S37, adding the next sample data of the last sample data in the third sample to the third sample to generate second limit interval data;
[0134] S38. Calculate the average value of each sludge concentration in the second limit interval data to obtain the limit concentration of the secondary sedimentation tank to be analyzed.
[0135] Embodiment 3
[0136] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method for calculating the limiting concentration of a secondary sedimentation tank as described in Embodiment 1 is implemented.
[0137] Embodiment 4
[0138] This embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute a method for calculating the limiting concentration of a secondary sedimentation tank as described in Example 1.
[0139] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0140] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0141] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0142] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0143] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0144] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for calculating the limiting concentration of a secondary sedimentation tank, characterized in that: include: Obtain the working parameters of the secondary sedimentation tank to be analyzed and the preset upper limit of sludge concentration; Generate an initial sample according to the working parameters of the secondary sedimentation tank to be analyzed and the upper limit of the sludge concentration, wherein the initial sample includes sample data consisting of the sludge concentration and the total solid flux corresponding to the sludge concentration, and the sludge concentration is less than or equal to the upper limit of the sludge concentration; According to the initial sample, a linear fitting method is used to determine whether the changing trend of the sample data in the initial sample conforms to the changing trend of the total solid flux curve with a limiting concentration. If not, it is determined that the secondary sedimentation tank to be analyzed has no limiting concentration; if it is consistent, the first limit interval data is obtained, and based on the first limit interval data, the limiting concentration of the secondary sedimentation tank to be analyzed is calculated based on the interpolation method and the linear fitting method.
2. A method for calculating the limiting concentration of a secondary sedimentation tank according to claim 1, characterized in that: The working parameters of the secondary sedimentation tank to be analyzed include injected sludge concentration, return flow rate and cross-sectional area. The injected sludge concentration characterizes the concentration of the sludge injected into the secondary sedimentation tank, the return flow rate characterizes the flow rate of the sludge returned to the secondary sedimentation tank, and the cross-sectional area characterizes the area of the horizontal section of the secondary sedimentation tank used for solid particle precipitation.
3. A method for calculating the limiting concentration of a secondary sedimentation tank according to claim 2, characterized in that: The generating of the initial sample according to the working parameters of the secondary sedimentation tank to be analyzed and the upper limit of the sludge concentration includes: Taking the sludge concentrations corresponding to each positive integer less than or equal to the upper limit of the sludge concentration as each sludge concentration in the initial sample; Obtaining a settling velocity corresponding to the injected sludge concentration; According to the settling velocity, respectively calculating the gravity flux corresponding to each of the sludge concentrations, the gravity flux representing the mass of solid matter passing through a unit area caused by gravity settling per unit time; According to the return flow rate and the cross-sectional area, the bottom flow rate corresponding to each sludge concentration is calculated respectively, and the bottom flow rate represents the mass of solid matter passing through a unit area caused by the volume flow rate per unit time; Calculating the total solid flux corresponding to each of the sludge concentrations according to the gravity flux and the bottom flow flux corresponding to each of the sludge concentrations; An initial sample is generated according to each of the sludge concentrations and the total solid flux corresponding to each of the sludge concentrations.
4. A method for calculating the limiting concentration of a secondary sedimentation tank according to claim 1, characterized in that: The step of judging whether the variation trend of the sample data in the initial sample conforms to the variation trend of the total solid flux curve with the existence of the limit concentration by a linear fitting method according to the initial sample comprises: S11, according to the initial sample, sorting each sample data from small to large according to the sludge concentration to obtain a first sorting result; S12. According to the first sorting result, at least three sample data are taken in descending order of sludge concentration to form a first sample; S13, performing linear fitting on the sample data in the first sample to obtain a first straight line; S14, determining whether the slope of the first straight line is less than zero, if so, determining that the change trend of the sample data in the initial sample does not conform to the change trend of the total solid flux curve with a limit concentration; otherwise, executing S15; S15. Determine whether there is an inflection point in the changing trend of the sample data in the initial sample. If so, determine that the changing trend of the sample data in the initial sample is consistent with the changing trend of the total solid flux curve with a limiting concentration. Otherwise, determine that the changing trend of the sample data in the initial sample is not consistent with the changing trend of the total solid flux curve with a limiting concentration.
5. A method for calculating the limiting concentration of a secondary sedimentation tank according to claim 4, characterized in that: The determining whether there is an inflection point in the variation trend of the sample data in the initial sample includes: S21, generating a second sample according to the first sorting result and the first sample; the second sample includes all sample data in the first sample except the last sample data in the first sample, and the previous sample data of the first sample data in the first sample; S22, performing linear fitting on the sample data in the second sample to obtain a second straight line; S23, determining whether the slope of the second straight line is greater than or equal to zero, if so, executing S24; otherwise, determining whether there is an inflection point in the change trend of the sample data in the initial sample; S24, judging whether there is sample data before the first sample data in the second sample according to the first sorting result, and if so, executing S25; otherwise, judging that there is no inflection point in the change trend of the sample data in the initial sample; S25. According to the first sorting result, the last sample data in the second sample is removed from the second sample, and the sample data before the first sample data in the second sample is added to the second sample to generate a new second sample, and the new second sample is used as the second sample in S22, and S22 is executed until there is no sample data before the first sample data in the second sample.
6. A method for calculating the limiting concentration of a secondary sedimentation tank according to claim 5, characterized in that: The obtaining of the first limit interval data includes: Obtaining a second sample corresponding to when it is determined that the change trend of the sample data in the initial sample has an inflection point, and recording it as a sample to be merged; According to the first sorting result, the next sample data of the last sample data in the samples to be merged is added to the samples to be merged to generate first limit interval data.
7. A method for calculating the limiting concentration of a secondary sedimentation tank according to claim 1, characterized in that: The method of calculating the limit concentration of the secondary sedimentation tank to be analyzed based on the first limit interval data and the interpolation method and the linear fitting method includes: S31, performing interpolation processing on the first limit interval data to obtain interpolation data; S32, according to the interpolation data, sorting each of the sample data in the interpolation data from small to large according to the sludge concentration to obtain a second sorting result; S33, according to the second sorting result, taking at least three sample data in descending order of sludge concentration to form a third sample; S34, performing linear fitting on the sample data in the third sample to obtain a third straight line; S35, determining whether the slope of the third straight line is less than zero, if so, executing S37 to S38; otherwise, executing S36; S36. According to the second sorting result, remove the last sample data in the third sample from the third sample, and add the sample data before the first sample data in the third sample to the third sample to generate a new third sample, and use the new third sample as the third sample in S34, and execute S34 until there is no sample data before the first sample data in the third sample; S37, adding the next sample data of the last sample data in the third sample to the third sample to generate second limit interval data; S38. Calculate the average value of each sludge concentration in the second limit interval data to obtain the limit concentration of the secondary sedimentation tank to be analyzed.
8. A secondary sedimentation tank limit concentration calculation device, characterized in that: include: A data acquisition module is used to obtain the working parameters of the secondary sedimentation tank to be analyzed and the preset upper limit value of sludge concentration; A sample generation module, for generating an initial sample according to the working parameters of the secondary sedimentation tank to be analyzed and the upper limit of the sludge concentration, wherein the initial sample includes sample data consisting of the sludge concentration and the total solid flux corresponding to the sludge concentration, and the sludge concentration is less than or equal to the upper limit of the sludge concentration; The limit concentration determination module is used to determine whether the change trend of the sample data in the initial sample conforms to the change trend of the total solid flux curve with the existence of a limit concentration through a linear fitting method based on the initial sample. If not, it is determined that there is no limit concentration in the secondary sedimentation tank to be analyzed; if it is consistent, the first limit interval data is obtained, and the limit concentration of the secondary sedimentation tank to be analyzed is calculated based on the interpolation method and the linear fitting method according to the first limit interval data.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method for calculating the limiting concentration of a secondary sedimentation tank as described in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute a method for calculating the limiting concentration of a secondary sedimentation tank as described in any one of claims 1 to 7.
Citation Information
Cited By
Secondary sedimentation tank sludge concentration monitoring device and method
CN121371711A
