A flocculation equipment selection and control method

By optimizing the selection and control of flocculation equipment through simulation and cubic equation control model, the matching problem of flocculation equipment in sand and gravel wastewater treatment system was solved, and the treatment efficiency and economy were improved.

CN118567237BActive Publication Date: 2024-11-19CHINA POWER CONSRTUCTION GRP GUIYANG SURVEY & DESIGN INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411020289.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-19
Estimated Expiration
2044-07-29

Smart Images

  • Figure CN118567237B_ABST
    Figure CN118567237B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of control or regulation systems, and provides a flocculation equipment selection and control method, comprising the following steps: S1, constructing an equipment library: constructing an equipment object library of flocculation equipment according to equipment parameters and control instruction data structures of various flocculation equipment; S2, constructing a simulation environment: using a fluid simulation system, taking selected equipment objects as simulation objects, and constructing a fluid simulation environment; S3, setting a control model; S4, simulation operation; S5, judging convergence; S6, output. The present invention can effectively ensure that the selection and control of flocculation equipment can at least meet system requirements by means of simulation and by setting a control model based on a cubic equation, thereby solving the problem of adding flocculation equipment selection to an existing sand and gravel wastewater treatment system and setting corresponding matching control technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a flocculation equipment selection and control method, belonging to the technical field of control or regulation systems. Background Art

[0002] Flocculation mainly utilizes the charged characteristics of colloids, and refers to the process of flocculation and precipitation of particles in water. As the electric potential decreases, the process of particles attracting and colliding and continuously agglomerating and growing is called "aggregation", and the "aggregation" theory is the theoretical basis of flocculation. The chemical substance that realizes this process is called flocculant. The mechanism of action of flocculants is to change the electrical properties of particles in sewage to drive the attraction or repulsion between particles, realize the agglomeration or dispersion of particles in sewage, thereby increasing or decreasing the particle diameter of flocculants, and the aggregated flocculants are separated by physical or chemical methods.

[0003] Flocculation equipment (i.e. flocculation sedimentation reaction vessel, the same below) determines the flocculation process. At present, the design of related processes and equipment selection are mostly based on field implementation experience, and no basic theory has been formed. For sand and gravel processing wastewater treatment, the application of flocculation technology can effectively improve the treatment efficiency and economy of the process. The research and development of flocculation theory is of great significance to both sedimentation process and dehydration process.

[0004] The implementation of a certain project requires optimization research on the treatment of sand and gravel processing wastewater, which involves the use of flocculation technology. The solutions in the existing technology often simply apply the mature flocculation process directly to the sand and gravel wastewater treatment system. The inventors have found in practice that due to the lack of sufficient matching in selection and control, this method often ends up being scrapped due to system blockage or siltation. It can be seen that the selection of flocculation equipment and the setting of corresponding matching control technology are a major problem. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a flocculation equipment selection and control method. The flocculation equipment selection and control method can effectively ensure that the selection and control of the flocculation equipment can at least meet the system requirements through simulation and by setting a control model based on cubic equations, thereby solving the problem of adding flocculation equipment selection and setting corresponding matching control technology to the existing sand and gravel wastewater treatment system.

[0006] The present invention is achieved through the following technical solutions.

[0007] The present invention provides a flocculation equipment selection and control method, comprising the following steps:

[0008] S1. Building a device library: Building a device library for flocculation equipment based on the device parameters and control instruction data structures of various flocculation equipment;

[0009] S2. Constructing a simulation environment: using a fluid simulation system and taking the selected device object as a simulation object, constructing a fluid simulation environment;

[0010] S3, setting the control model: setting a control model with the current fluid state value including the current fluid input end state value and the current fluid output end state value and the output n time series cycles ago as input, and the current time series control instruction as output; the control instruction output item in the control model is a cubic equation relative to the current fluid state value input item, and the parameters of the control model are adjusted according to the current fluid output end state value; the control model adopts an LSTM structure, and the calculation formula is as follows:

[0011] {f}_{t}=σ({W}_{f}·[{h}_{tn},{X}^{3}_{t},{X}^{2}_{t},{X}_{t}]+{b}_{f}) ,

[0012] {i}_{t}=σ({W}_{i}·[{h}_{tn},{X}^{3}_{t},{X}^{2}_{t},{X}_{t}]+{b}_{i}) ,

[0013] {o}_{t}=σ({W}_{o}·[{h}_{tn},{X}^{3}_{t},{X}^{2}_{t},{X}_{t}]+{b}_{o}) ,

[0014] {C}_{t}={C}_{tn}·{f}_{t}+{i}_{t}·tanh({W}^{'}_{o}·[{h}_{tn},{X}^{3}_{t},{X}^{2}_{t},{X}_{t}]+{b}^{'}_{o}) ,

[0015] ,

[0016] In the formula, is the current fluid state value, is the internal state n timing cycles ago, are weight coefficients, are bias coefficients, weight coefficients and bias coefficients are parameters of the control model. is the forgetting coefficient, is the input probability coefficient, is the output probability coefficient, is the current timing control instruction, is the output n timing cycles ago;

[0017] S4, simulation operation: placing the control model in a fluid simulation environment for simulation, and obtaining the current fluid output state value in real time;

[0018] S5, judging convergence: within the preset time range, if the current fluid output state value continues to meet the standard for ten time series cycles, then judge whether the parameters of the control model converge. If not, return to step S4, and if converged, proceed to the next step; if it exceeds the preset time range, return to step S2 and change the selected device object;

[0019] S6. Output: Output the name and model of the selected device object and write the control model to the external controller.

[0020] The fluid simulation system includes a fluid simulation module, a three-dimensional simulation module, a power simulation module and a custom module.

[0021] The turbulence model is written and run in the self-defined module to provide fluid limiting conditions for the operation of the fluid simulation module and the dynamic simulation module.

[0022] In step S5, if convergence occurs, the following steps are performed:

[0023] S5.2, complete judgment: set the binding relationship between the current control model and the selected device object, and judge whether there is a device object that is not bound to the control model. If so, return to step S2 and change the selected device object until all device objects are traversed and enter the next step.

[0024] The n is 3~7.

[0025] The fluid simulation system adopts Ansys Fluent.

[0026] Said and If it does not exist, the value is 0.

[0027] The data structure of the control instruction is consistent with the data structure of the control instruction of the selected device object.

[0028] The beneficial effect of the present invention is that by means of simulation and by setting a control model based on a cubic equation, it can effectively ensure that the selection and control of the flocculation equipment can at least meet the system requirements, thereby solving the problem of adding the selection of flocculation equipment to the existing sand and gravel wastewater treatment system and setting the corresponding matching control technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is a schematic diagram of a process of at least one embodiment of the present invention;

[0030] Figure 2It is a schematic diagram of equipment connection of the target system to which the present invention is applied;

[0031] Figure 3 yes Figure 1 Schematic diagram of the algorithm flow of the control model. DETAILED DESCRIPTION

[0032] The technical solution of the present invention is further described below, but the scope of protection claimed is not limited to the description.

[0033] A first embodiment of the present invention relates to Figure 1 A flocculation equipment selection and control method shown includes the following steps:

[0034] S1. Building a device library: Building a device library for flocculation equipment based on the device parameters and control instruction data structures of various flocculation equipment;

[0035] S2. Constructing a simulation environment: using a fluid simulation system and taking the selected device object as a simulation object, constructing a fluid simulation environment;

[0036] S3, setting the control model: setting the control model with the current fluid state value including the current fluid input end state value and the current fluid output end state value and the output n time sequence cycles ago as input, and the current time sequence control instruction as output; the control instruction output item in the control model is a cubic equation relative to the current fluid state value input item, and the parameters of the control model are adjusted according to the current fluid output end state value; the control model adopts the following method: Figure 3 The LSTM structure shown is calculated as follows:

[0037] {f}_{t}=σ({W}_{f}·[{h}_{tn},{X}^{3}_{t},{X}^{2}_{t},{X}_{t}]+{b}_{f}) ,

[0038] {i}_{t}=σ({W}_{i}·[{h}_{tn},{X}^{3}_{t},{X}^{2}_{t},{X}_{t}]+{b}_{i}) ,

[0039] {o}_{t}=σ({W}_{o}·[{h}_{tn},{X}^{3}_{t},{X}^{2}_{t},{X}_{t}]+{b}_{o}) ,

[0040] {C}_{t}={C}_{tn}·{f}_{t}+{i}_{t}·tanh({W}^{'}_{o}·[{h}_{tn},{X}^{3}_{t},{X}^{2}_{t},{X}_{t}]+{b}^{'}_{o}) ,

[0041] ,

[0042] In the formula, is the current fluid state value, is the internal state n timing cycles ago, are weight coefficients, are bias coefficients, weight coefficients and bias coefficients are parameters of the control model. is the forgetting coefficient, is the input probability coefficient, is the output probability coefficient, is the current timing control instruction, is the output n timing cycles ago;

[0043] S4, simulation operation: placing the control model in a fluid simulation environment for simulation, and obtaining the current fluid output state value in real time;

[0044] S5, judging convergence: within the preset time range, if the current fluid output state value continues to meet the standard for ten time series cycles, then judge whether the parameters of the control model converge. If not, return to step S4, and if converged, proceed to the next step; if it exceeds the preset time range, return to step S2 and change the selected device object;

[0045] S6. Output: Output the name and model of the selected device object and write the control model to the external controller.

[0046] Therefore, based on the construction of the simulation environment, this embodiment can find at least one available flocculation equipment + control model combination among a variety of alternative flocculation equipment, thereby providing a quick and effective solution for the optimization design and finalization design of the flocculation sedimentation reaction vessel, making it easier to quickly carry out assembly line production and further reduce design production costs and operating costs.

[0047] In actual use, the optimization of flocculation process also involves the selection of flocculants. Different flocculants will lead to different flocculation strengths and effects on specific resistance. Therefore, the equipment parameters of the flocculation equipment include the structural parameters and reagent parameters of the flocculation equipment, and in the fluid simulation system, different fluid properties are calculated according to different reagent parameters. Therefore, based on the above scheme, by adjusting the usage method, not only the selection of flocculation equipment can be achieved, but also the selection of flocculants can be achieved.

[0048] It is easy to understand that the weight coefficients are all numerical vectors, and each multiplication term has a specific numerical value. They are only identified by a single letter in the above formula for the sake of clarity.

[0049] Different from the LSTM architecture in the prior art, the above scheme uses the cubic equation as the core operator. The feedback calculation amount is much larger than the feedback calculation amount of the linear equation in the prior art. Therefore, the calculation unit is not set in the form of a neural network. Instead, the input and output process of the cubic equation is set with reference to the LSTM architecture calculation process, and the gradient of each weight is calculated according to the corresponding error term in the same way as the LSTM network.

[0050] In general, the present invention is mainly applied to Figure 2 It is easy to see from the sewage treatment system shown that the positions where the fluid state values ​​can actually be detected are the upper layer of the flocculation sedimentation tank and the detection pipeline, wherein the current fluid input end state value can be detected in the upper layer of the flocculation sedimentation tank, and the current fluid output end state value can be detected in the detection pipeline. The control of the flocculation sedimentation tank is n time periods earlier than the resulting fluid output end state. At the same time, the fluid input end state changes relatively slowly and can almost be considered to be unchanged relative to n time periods. Therefore, delaying the fluid input end state by n time periods is within an acceptable error range. After the fluid state value input of the control model is delayed by n time periods as a whole (that is, the current fluid state value and the control output n time periods ago are used as input), the corresponding relationship in control can be ensured as much as possible.

[0051] The second embodiment of the present invention is substantially the same as the first embodiment, mainly in that the fluid simulation system includes a fluid simulation module, a three-dimensional simulation module, a power simulation module and a custom module.

[0052] Generally, the fluid simulation module and the three-dimensional simulation module respectively realize the general simulation of fluid and structure, which is easy to realize based on the existing fluid simulation system (such as Solidworks Flow Simulation, Ansys Fluent, etc.), while the dynamic simulation module mainly realizes the simulation adjustment of the random impact dynamics of flocculant particles and the thermal dynamics of flocculation reaction. Therefore, the custom module is more convenient to adjust the simulation environment according to the selection of flocculants. For example, for organic flocculants, the fluid adjustment parameters with moderate flocculation strength and greater impact on the specific resistance can be set, while for inorganic flocculants, the fluid adjustment parameters with strong flocculation strength and less impact on the specific resistance can be set. Common organic types are mainly cationic, nonionic, and anionic polyacrylamide, and inorganic types include polyferric sulfate and polyaluminum sulfate.

[0053] Furthermore, a turbulence model is written and run in the custom module to provide fluid limiting conditions for the operation of the fluid simulation module and the dynamic simulation module.

[0054] Preferably, the fluid simulation system adopts Ansys Fluent.

[0055] Furthermore, the data structure of the control instruction is consistent with the control instruction data structure of the selected device object.

[0056] The third embodiment of the present invention is substantially the same as the first embodiment, mainly in that, in step S5, upon convergence, the following steps are performed:

[0057] S5.2, complete judgment: set the binding relationship between the current control model and the selected device object, and judge whether there is a device object that is not bound to the control model. If so, return to step S2 and change the selected device object until all device objects are traversed and enter the next step.

[0058] The fourth embodiment of the present invention is substantially the same as the first embodiment, mainly in that: and If it does not exist, the value is 0.

[0059] Furthermore, n is 3~7.

Claims

1. A flocculation equipment selection and control method, characterized in that: The following steps are involved: S1. Building a device library: Building a device library for flocculation equipment based on the device parameters and control instruction data structures of various flocculation equipment; S2. Constructing a simulation environment: using a fluid simulation system and taking the selected device object as a simulation object, constructing a fluid simulation environment; S3, setting the control model: setting a control model with the current fluid state value including the current fluid input end state value and the current fluid output end state value and the output n time series cycles ago as input, and the current time series control instruction as output; the control instruction output item in the control model is a cubic equation relative to the current fluid state value input item, and the parameters of the control model are adjusted according to the current fluid output end state value; the control model adopts an LSTM structure, and the calculation formula is as follows: h t =tanhC t o t , Where, X t is the current fluid state value, h t-n is the internal state n timing cycles ago, W f , W i , W o , W o are weight coefficients, b f 、b i 、b o 、b o are bias coefficients, weight coefficients and bias coefficients are parameters of the control model, f t is the forgetting coefficient, i t is the input probability coefficient, O t is the output probability coefficient, C t is the current timing control instruction, C t-n is the output n timing cycles ago; The current fluid output state value is detected in the detection pipeline, and the control of the flocculation sedimentation tank is n time periods earlier than the resulting fluid output state; S4, simulation operation: placing the control model in a fluid simulation environment for simulation, and obtaining the current fluid output state value in real time; S5, judging convergence: within the preset time range, if the current fluid output state value continues to meet the standard for ten time series cycles, it is judged whether the parameters of the control model converge. If not, return to step s4. If converged, proceed to the next step; If it exceeds the preset time range, return to step S2 and change the selected device object; S6. Output: Output the name and model of the selected device object and write the control model to the external controller.

2. The flocculation equipment selection and control method according to claim 1, characterized in that: The fluid simulation system includes a fluid simulation module, a three-dimensional simulation module, a power simulation module and a custom module.

3. The flocculation equipment selection and control method according to claim 2, characterized in that: The turbulence model is written and run in the self-defined module to provide fluid limiting conditions for the operation of the fluid simulation module and the dynamic simulation module.

4. The flocculation equipment selection and control method according to claim 1, characterized in that: In step S5, if convergence occurs, the following steps are performed: S5.2, complete judgment: set the binding relationship between the current control model and the selected device object, and judge whether there is a device object that is not bound to the control model. If so, return to step S2 and change the selected device object until all device objects are traversed and enter the next step.

5. The flocculation equipment selection and control method according to claim 1, characterized in that: The n is 3-7.

6. The flocculation equipment selection and control method according to claim 1, characterized in that: The fluid simulation system adopts Ansys Fluent.

7. The flocculation equipment selection and control method according to claim 1, characterized in that: The C t-n and h t-n If it does not exist, the value is 0.

8. The flocculation equipment selection and control method according to claim 1, characterized in that: The data structure of the control instruction is consistent with the data structure of the control instruction of the selected device object.