Disclosure of Invention
The embodiment of the invention aims to provide a multi-component sewage homogenization and adjustment method and device, which can automatically and effectively perform homogenization and adjustment on a plurality of strands of sewage.
In order to achieve the above object, an embodiment of the present invention provides a multi-component homogeneous sewage conditioning method, which is based on a plurality of primary homogeneous conditioning tanks and a secondary homogeneous conditioning tank, wherein sewage of each primary homogeneous conditioning tank of the plurality of primary homogeneous conditioning tanks enters the secondary homogeneous conditioning tank, and the method includes: detecting the water quality index and the water inlet flow of each primary homogenizing adjusting tank; determining a plurality of limiting conditions of the water outlet flow of each primary homogenizing adjusting tank; obtaining an average water quality index of the sewage entering the plurality of primary homogeneous regulating tanks within a preset time according to the water quality index and the water inlet flow of each primary homogeneous regulating tank, wherein the average water quality index is used as an average water quality index of the sewage of the secondary homogeneous regulating tank; obtaining a functional relation among the water outlet flow of each primary homogeneous regulating tank according to the average water quality index of the sewage of the secondary homogeneous regulating tank, the plurality of limiting conditions and the water quality index of each primary homogeneous regulating tank, so that the average water quality index of the sewage discharged by the plurality of primary homogeneous regulating tanks is close to the average water quality index of the sewage of the secondary homogeneous regulating tank; and controlling the water outlet flow of each primary homogeneous regulating tank according to the functional relation between the water outlet flows of each primary homogeneous regulating tank.
Preferably, the method further comprises: detecting the liquid level of each primary homogenizing adjusting tank; the plurality of limiting conditions include:
wherein i is an integer from 1 to the maximum number of primary homogenizing adjusting tanks, X
iThe water outlet flow of the ith primary homogenizing and adjusting tank, L
iIs the liquid level of the ith primary homogenizing and adjusting tank, F
iIs the water inlet flow of the ith primary homogenizing adjusting tank,
is the highest water outlet flow of the ith primary homogenizing and adjusting tank,
the highest liquid level of the ith primary homogenizing adjusting tank.
Preferably, the average water quality index of the sewage entering the plurality of primary homogeneous regulating ponds is obtained by the following formula:
wherein D is
*To enter intoThe average water quality index of the sewage entering the plurality of primary homogeneous regulating ponds, T is preset time, F
i(s) the water inlet flow of the ith primary homogenizing and adjusting tank at the moment s, D
iAnd(s) is the water quality index of the ith primary homogenizing and adjusting tank at the moment s.
Preferably, the average water quality index of the sewage discharged by the primary homogenizing adjusting tanks is obtained by the following formula:
wherein i is an integer from 1 to the maximum number of the first-stage homogenizing adjusting tanks, D is an average water quality index of sewage discharged by the first-stage homogenizing adjusting tanks, and X
iThe outlet water flow of the ith primary homogeneous regulating tank D
iIs the water quality index of the ith primary homogenizing and adjusting tank.
Preferably, the method further comprises: and when the average water quality index of the sewage entering the primary homogenizing adjusting tanks is larger or smaller than the water quality index of each primary homogenizing adjusting tank, controlling the effluent flow of each primary homogenizing adjusting tank to be minimized.
The embodiment of the invention also provides a multi-component sewage homogenizing and regulating device, which is used for a plurality of primary homogenizing and regulating tanks and secondary homogenizing and regulating tanks, wherein the sewage of each primary homogenizing and regulating tank of the plurality of primary homogenizing and regulating tanks enters the secondary homogenizing and regulating tank, and the device comprises: the detection unit is used for detecting the water quality index and the water inlet flow of each primary homogeneous regulating tank; a control unit for: determining a plurality of limiting conditions of the water outlet flow of each primary homogenizing adjusting tank; according to the water quality index and the water inlet flow of each primary homogeneous regulating tank, obtaining an average water quality index of the sewage entering the plurality of primary homogeneous regulating tanks within a preset time to serve as an average water quality index of the sewage of the secondary homogeneous regulating tank; obtaining a functional relation among water outlet flows of the primary homogeneous conditioning tanks according to the average water quality index of the sewage of the secondary homogeneous conditioning tank, the limiting conditions and the water quality index of each primary homogeneous conditioning tank, so that the average water quality index of the sewage discharged by the primary homogeneous conditioning tanks is close to the average water quality index of the sewage of the secondary homogeneous conditioning tank; and controlling the water outlet flow of each primary homogeneous regulating tank according to the functional relation between the water outlet flows of each primary homogeneous regulating tank.
Preferably, the detection unit is further configured to detect a liquid level of each primary homogeneous regulating reservoir; the plurality of constraints include:
wherein i is an integer from 1 to the maximum number of primary homogenizing adjusting tanks, X
iThe water outlet flow of the ith primary homogenizing and adjusting tank, L
iIs the liquid level of the ith primary homogenizing and adjusting tank, F
iIs the water inlet flow of the ith primary homogenizing adjusting tank,
is the highest water outlet flow of the ith primary homogenizing and adjusting tank,
the highest liquid level of the ith primary homogenizing adjusting tank.
Preferably, the average water quality index of the sewage entering the plurality of primary homogeneous regulating ponds is obtained by the following formula:
wherein D is
*The average water quality index of the sewage entering the plurality of primary homogenizing adjusting tanks is T is preset time, F
i(s) the water inlet flow of the ith primary homogenizing and adjusting tank at the moment s, D
iAnd(s) is the water quality index of the ith primary homogenizing and adjusting tank at the moment s.
Preferably, the average water quality index of the sewage discharged by the primary homogenizing adjusting tanks is obtained by the following formula:
wherein i is an integer from 1 to the maximum number of the first-stage homogenization regulating tanks,
is the average water quality index, X, of the sewage discharged by the plurality of first-stage homogenizing adjusting tanks
iThe outlet water flow of the ith primary homogeneous regulating tank D
iIs the water quality index of the ith primary homogenizing and adjusting tank.
Preferably, the control unit is further configured to: and when the average water quality index of the sewage entering the primary homogenizing adjusting tanks is larger or smaller than the water quality index of each primary homogenizing adjusting tank, controlling the effluent flow of each primary homogenizing adjusting tank to be minimized.
According to the technical scheme, the multi-component sewage homogenization regulating method and the device provided by the invention are adopted, the water quality index and the water inlet flow of each primary homogenization regulating tank are detected, a plurality of limiting conditions are set, the average water quality index of the sewage of the secondary homogenization regulating tank is obtained according to the water quality index and the water inlet flow of each primary homogenization regulating tank, and when the average water quality index of the sewage discharged by the plurality of primary homogenization regulating tanks is close to the average water quality index of the sewage of the secondary homogenization regulating tank, the functional relation among the water outlet flows of each primary homogenization regulating tank is obtained by using an equation set consisting of the average water quality index of the sewage of the secondary homogenization regulating tank, the plurality of limiting conditions and the water quality index of each primary homogenization regulating tank, so that the water outlet flow of each primary homogenization regulating tank is controlled according to the relation. The invention can automatically and effectively carry out homogeneous regulation on multi-strand sewage in a chemical plant or a chemical industry park by organically combining an automation technology and an artificial intelligence algorithm.
Additional features and advantages of embodiments of the present invention will be described in detail in the detailed description which follows.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flow chart of a multi-component sewage homogenization conditioning method according to an embodiment of the present invention. As shown in fig. 1, the method is based on a plurality of primary homogeneous regulating ponds and a secondary homogeneous regulating pond, and sewage of each primary homogeneous regulating pond of the plurality of primary homogeneous regulating ponds enters the secondary homogeneous regulating pond, and the method comprises the following steps:
s11, detecting the water quality index and the water inlet flow of each primary homogenizing and adjusting tank;
s12, determining a plurality of limiting conditions of the water outlet flow of each primary homogeneous regulating pool;
s13, obtaining an average water quality index of the sewage entering the plurality of primary homogeneous regulating ponds within a preset time according to the water quality index and the water inlet flow of each primary homogeneous regulating pond, and taking the average water quality index as an average water quality index of the sewage of the secondary homogeneous regulating pond;
s14, obtaining a functional relation among the water outlet flow of each primary homogeneous regulating tank according to the average water quality index of the sewage of the secondary homogeneous regulating tank, the plurality of limiting conditions and the water quality index of each primary homogeneous regulating tank, so that the average water quality index of the sewage discharged by the primary homogeneous regulating tanks is close to the average water quality index of the sewage of the secondary homogeneous regulating tank; and
and S15, controlling the water outlet flow of each primary homogenizing and regulating tank according to the functional relation between the water outlet flows of each primary homogenizing and regulating tank.
In the embodiment of the invention, in order to realize more effective homogenization and regulation, the change of the water quality index of the sewage in the secondary homogenization and regulation tank is small, and the best condition is that the water quality index of the sewage in the secondary homogenization and regulation tank can be kept unchanged at the average water quality index all the time. Because the sewage in the first-stage homogenizing and adjusting tank enters the second-stage homogenizing and adjusting tank, when the time is long enough, the sewage amount entering the first-stage homogenizing and adjusting tank is the same as the sewage amount entering the second-stage homogenizing and adjusting tank, and the total water quality index entering the first-stage homogenizing and adjusting tank is the same as the total water quality index entering the second-stage homogenizing and adjusting tank. Therefore, under the condition that how the sewage enters the secondary homogenizing and adjusting tank cannot be known, the average water quality index of the sewage entering the plurality of primary homogenizing and adjusting tanks within the preset time is used as the average water quality index of the sewage of the secondary homogenizing and adjusting tank.
The quality of water index of the sewage of second grade homogeneity equalizing basin is by the quality of water index decision of the sewage of a plurality of first-level homogeneity equalizing basins discharge, consequently, can be through controlling the quality of water index of the sewage of a plurality of first-level homogeneity equalizing basins discharge to the quality of water index of the sewage of control second grade homogeneity equalizing basin. As described above, in order to keep the average water quality index of the sewage in the secondary homogenizing/adjusting tank as constant as possible, it is necessary to control the average water quality index of the sewage discharged from the plurality of primary homogenizing/adjusting tanks to be as close as possible to the average water quality index of the sewage in the secondary homogenizing/adjusting tank. And the water quality indexes of the sewage of each primary homogenizing and adjusting tank are possibly different, so that the proportion of the sewage discharged by each primary homogenizing and adjusting tank in the mixed sewage can be adjusted by controlling the water outlet flow of the sewage of each primary homogenizing and adjusting tank, and the average water quality index of the sewage discharged by a plurality of primary homogenizing and adjusting tanks is controlled.
To sum up, the embodiment of the present invention may implement more effective homogeneous regulation by controlling the water outlet flow rate of each primary homogeneous regulating reservoir, and specifically, the calculation manner of the functional relationship between the water outlet flow rates of each primary homogeneous regulating reservoir is as follows:
firstly, detecting the water quality index and the water inlet flow of each primary homogenizing and adjusting tank.
Then, a plurality of limiting conditions can be set according to the liquid level of each primary homogenizing adjusting tank, and the liquid level of each primary homogenizing adjusting tank is detected at the same time, so that the limiting conditions which should be met currently can be known. The plurality of constraints include:
wherein i is an integer from 1 to the maximum number of primary homogenizing adjusting tanks, X
iThe water outlet flow of the ith primary homogenizing and adjusting tank, L
iIs the liquid level of the ith primary homogenizing and adjusting tank, F
iIs the water inlet flow of the ith primary homogenizing adjusting tank,
is the highest effluent flow of the ith primary homogenizing and adjusting tank,
the highest liquid level of the ith primary homogenizing adjusting tank.
Then, the average water quality index of the sewage entering the plurality of primary homogeneous regulating tanks (namely the average water quality index of the sewage of the secondary homogeneous regulating tank) is obtained by the following formula:
wherein D is*The average water quality index of the sewage entering the plurality of primary homogenizing adjusting tanks is T is preset time, Fi(s) the water inlet flow of the ith primary homogenizing and adjusting tank at the moment s, DiAnd(s) is the water quality index of the ith primary homogenizing and adjusting tank at the moment s.
Then, obtaining the following formula that the average water quality index of the sewage discharged by the plurality of first-stage homogenizing adjusting tanks meets:
wherein i is an integer from 1 to the maximum number of the first-stage homogenization regulating tanks,
is the average water quality index, X, of the sewage discharged by the primary homogenizing adjusting tanks
iThe water outlet flow of the ith primary homogenizing and adjusting tank, D
iIs the water quality index of the ith primary homogenizing and adjusting tank.
Then, as described above, the average water quality index of the sewage discharged from the plurality of first-stage homogenization treatment tanks is set
The average water quality index D of the sewage entering a plurality of first-stage homogenizing adjusting tanks is as close as possible
*To obtain the following formula:
and finally, forming an equation set by the formulas (1) to (4) and solving the equation set, and obtaining each unknown quantity X when i is each integer from 1 to the maximum number of the primary homogenizing adjusting tanksiBetweenNamely the functional relationship between the water outlet flow of each primary homogeneous regulating tank. Although each X is not availableiBut any solution that satisfies the resulting functional relationship may be used. Thus, each X satisfying the resulting functional relationship is finally adoptediThe water outlet flow of each corresponding primary homogenizing adjusting tank is controlled.
Fig. 2 is a schematic diagram of the entire conditioning system provided by an embodiment of the present invention. As shown in figure 2, according to the sewage source of a chemical plant or a chemical industry park, the sewage source is divided into A, B, C … … and other strands of sewage, each strand of sewage is provided with a water storage tank which can be regarded as a first-level homogeneous regulating tank, if the water storage tank of the A strand of sewage can be regarded as a first-level homogeneous regulating A tank, other strands of sewage are analogized in sequence. A. B, C … …, and finally mixing the sewage into a secondary homogenizing and regulating tank.
For A batch of sewage, an online water quality analyzer A and a flowmeter A1 are arranged before the sewage enters a first-stage homogenizing and adjusting A pool, and the water quality indexes (such as chemical oxygen demand and the like) and the flow rate of the sewage inlet water of A are recorded in real time. The first-stage homogenizing adjusting A tank is provided with a liquid level meter A for calibrating the sewage storage capacity of the first-stage homogenizing adjusting A tank. An electric butterfly valve A and a flowmeter A2 are arranged behind the first-stage homogenizing adjusting A tank. The electric butterfly valve A is used for adjusting the sewage flow entering the secondary homogenizing adjusting tank. The flowmeter A2 is used for recording the sewage flow entering the secondary homogenizing adjusting tank. The on-line water quality analyzer A, the flowmeter A1, the liquid level meter A, the electric butterfly valve A and the flowmeter A2 are all connected with a Programmable Logic Controller (PLC) through 4-20mA signals.
The same hardware design is also used for B, C … … and other sewage strands.
And a liquid level meter Z is arranged on the second-stage homogenizing adjusting tank and is used for calibrating the sewage storage amount of the second-stage homogenizing adjusting tank. And an online water quality analyzer Z, a flowmeter Z and an electric butterfly valve Z are arranged behind the second-stage homogenizing adjusting tank. The on-line water quality analyzer Z is used to monitor the water quality (e.g., chemical oxygen demand) entering the subsequent process section. The flow meter Z is used to record the flow of sewage entering the subsequent process section. The electric butterfly valve Z is used for adjusting the flow of sewage entering the subsequent process section. The on-line water quality analyzer Z, the flowmeter Z and the electric butterfly valve Z are connected with a Programmable Logic Controller (PLC) through 4-20mA signals.
The Programmable Logic Controller (PLC) is connected with the computer through a crystal wire. The computer is internally provided with the algorithm.
The work flow of the whole system is as follows: the water quality analyzer A, B, C … … and the flow meters A1, B1 and C1 … … upload the water quality indexes and flow rates to the PLC, and further transmit the water quality indexes and flow rates to the intelligent algorithm to serve as inflow data of various sewages. The intelligent algorithm reasonably regulates and controls the opening of the butterfly valve A, B, C … … according to the water quality indexes of the inflow water of the multiple strands of water so as to achieve stable water quality after the sewage finally enters the secondary homogenizing adjusting tank and is completely mixed.
The level gauge A, B, C … … functions as an alarm for the level of each pool. The flow meters A2, B2 and C2 … … are used for calibrating the relationship between the opening degree and the flow rate of the butterfly valve A, B, C … ….
And the liquid level meter Z is used for liquid level alarm of the secondary homogenizing adjusting tank. The on-line water quality monitor Z plays a role in monitoring the water quality entering the next process flow. Normally, the opening of the electric butterfly valve Z is kept constant, and the flow meter Z records only the flow rate.
FIG. 3 is a flow chart of a multi-component sewage homogenization conditioning method according to another embodiment of the present invention. As shown in fig. 3, the method further comprises:
step S31, calculating the average water quality index of the sewage entering the plurality of primary homogenizing adjusting tanks;
step S32, judging whether the average water quality index of the sewage entering the plurality of primary homogeneous regulating ponds is larger than or smaller than the water quality index of each primary homogeneous regulating pond;
step S33, when the average water quality index of the sewage entering the primary homogenizing and regulating ponds is larger than or smaller than the water quality index of each primary homogenizing and regulating pond, controlling the effluent flow of each primary homogenizing and regulating pond to be minimized; and
and step S34, when the average water quality index of the sewage entering the plurality of primary homogeneous regulating ponds is not greater than or less than the water quality index of each primary homogeneous regulating pond, controlling the water outlet flow of each primary homogeneous regulating pond respectively.
In this embodiment, the average water quality index D of the sewage entering the plurality of primary homogeneous conditioning tanks is first calculated as described above*Then, first, D is judged*And if so, the water outlet flow of each primary homogenizing adjusting tank is directly minimized without calculating how to control the water outlet flow of each primary homogenizing adjusting tank. If D is*If the water quality index of each primary homogeneous regulating tank is not greater than or less than the water quality index of all the primary homogeneous regulating tanks, the water outlet flow of each primary homogeneous regulating tank is still controlled according to the method for calculating the functional relation between the water outlet flows of each primary homogeneous regulating tank.
FIG. 4A is a schematic view of the inlet flow rate of the primary homogenizing adjustment tank; FIG. 4B is a schematic diagram of the COD concentration of the primary homogenizing adjustment tank; FIG. 4C is a graph showing the COD concentration after directly mixing the wastewater; FIG. 4D is a diagram showing the COD concentration of the mixed wastewater obtained by the method and apparatus of the present invention, wherein the data are data of the same refinery, and the COD concentration is an index of water quality. As shown in FIGS. 4A-4D, it is clear that the COD concentration fluctuation of the secondary homogenizing adjusting tank in FIG. 4D, which is used for mixing the sewage by the method and the device of the present invention, is more gradual than that of the secondary homogenizing adjusting tank in FIG. 4C, which is used for directly mixing the sewage, and the purpose of more effective homogenizing adjustment is achieved.
Fig. 5 is a flow chart of a multi-component sewage homogenization conditioning method according to another embodiment of the invention. As shown in fig. 5, the apparatus is used for a plurality of primary homogeneous conditioning ponds and a secondary homogeneous conditioning pond, and sewage of each primary homogeneous conditioning pond of the plurality of primary homogeneous conditioning ponds enters the secondary homogeneous conditioning pond, and the apparatus comprises: the detection unit 1 is used for detecting the water quality index and the water inlet flow of each primary homogeneous regulating tank; a control unit 2 for: determining a plurality of limiting conditions of the water outlet flow of each primary homogenizing adjusting tank; obtaining an average water quality index of the sewage entering the plurality of primary homogeneous regulating ponds within a preset time according to the water quality index and the water inlet flow of each primary homogeneous regulating pond, and taking the average water quality index as an average water quality index of the sewage of the secondary homogeneous regulating pond; obtaining a functional relation among the water outlet flow of each primary homogeneous regulating tank according to the average water quality index of the sewage of the secondary homogeneous regulating tank, the plurality of limiting conditions and the water quality index of each primary homogeneous regulating tank, so that the average water quality index of the sewage discharged by the plurality of primary homogeneous regulating tanks is close to the average water quality index of the sewage of the secondary homogeneous regulating tank; and controlling the water outlet flow of each primary homogenizing adjusting tank according to the functional relation between the water outlet flows of each primary homogenizing adjusting tank.
Preferably, the detection unit 1 is further configured to detect a liquid level of each primary homogeneous regulating reservoir; the plurality of limiting conditions include:
wherein i is an integer from 1 to the maximum number of primary homogenizing adjusting tanks, X
iThe water outlet flow of the ith primary homogenizing and adjusting tank, L
iIs the liquid level of the ith primary homogenizing and adjusting tank, F
iIs the water inlet flow of the ith primary homogenizing adjusting tank,
is the highest water outlet flow of the ith primary homogenizing and adjusting tank,
the highest liquid level of the ith primary homogenizing adjusting tank.
Preferably, the average water quality index of the sewage entering the plurality of primary homogeneous regulating ponds is obtained by the following formula:
wherein D is
*The average water quality index of the sewage entering the plurality of primary homogenizing adjusting tanks is T is preset time, F
i(s) the water inlet flow of the ith primary homogenizing and adjusting tank at the moment s, D
iAnd(s) is the water quality index of the ith primary homogenizing and adjusting tank at the moment s.
Preferably, the average water quality index of the sewage discharged by the primary homogenizing adjusting tanks is obtained by the following formula:
wherein i is an integer from 1 to the maximum number of the first-stage homogenization regulating tanks,
is the average water quality index, X, of the sewage discharged by the plurality of first-stage homogenizing adjusting tanks
iThe outlet water flow of the ith primary homogeneous regulating tank D
iIs the water quality index of the ith primary homogenizing and adjusting tank.
Preferably, the control unit 2 is further configured to: and when the average water quality index of the sewage entering the plurality of primary homogeneous regulating ponds is larger than or smaller than the water quality index of each primary homogeneous regulating pond, controlling the effluent flow of each primary homogeneous regulating pond to be minimized.
The embodiments of the apparatus are similar to the embodiments of the method, and are not described herein again.
According to the technical scheme, the multi-component sewage homogenization regulating method and the device provided by the invention are adopted, the water quality index and the water inlet flow of each primary homogenization regulating tank are detected, a plurality of limiting conditions are set, the average water quality index of the sewage of the secondary homogenization regulating tank is obtained according to the water quality index and the water inlet flow of each primary homogenization regulating tank, and when the average water quality index of the sewage discharged by the plurality of primary homogenization regulating tanks is close to the average water quality index of the sewage of the secondary homogenization regulating tank, the functional relation among the water outlet flows of each primary homogenization regulating tank is obtained by using an equation set consisting of the average water quality index of the sewage of the secondary homogenization regulating tank, the plurality of limiting conditions and the water quality index of each primary homogenization regulating tank, so that the water outlet flow of each primary homogenization regulating tank is controlled according to the relation. The invention can automatically and effectively carry out homogeneous regulation on multi-strand sewage in a chemical plant or a chemical industry park by organically combining an automation technology and an artificial intelligence algorithm.
Although the embodiments of the present invention have been described in detail with reference to the accompanying drawings, the embodiments of the present invention are not limited to the details of the above embodiments, and various simple modifications can be made to the technical solutions of the embodiments of the present invention within the technical concept of the embodiments of the present invention, and the simple modifications all belong to the protection scope of the embodiments of the present invention.
It should be noted that the respective technical features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations of the embodiments of the invention are not described further in order to avoid unnecessary repetition.
Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program, which is stored in a storage medium and includes several instructions to enable a single chip, a chip, or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of various different implementation manners of the embodiments of the present invention is also possible, and the embodiments of the present invention should be considered as disclosed in the embodiments of the present invention as long as the combination does not depart from the spirit of the embodiments of the present invention.