Purification treatment device and method for geothermal wastewater
By acquiring real-time water quality data of geothermal wastewater, identifying impurity composition and scaling tendency, configuring efficient impurity removal agents, and formulating a gradient impurity removal process, the problem of inaccurate treatment intensity in geothermal wastewater treatment was solved, achieving efficient and safe purification results.
Patent Information
- Application Number
- CN202511375589.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-25
- Publication Date
- 2026-02-10
AI Technical Summary
Existing geothermal wastewater purification methods lack the ability to dynamically respond to real-time water quality components, resulting in inaccurate treatment intensity, easy occurrence of excessive or insufficient reagents, filter unit blockage, unstable purification efficiency and risk of secondary pollution, high operating costs and reduced equipment lifespan.
By acquiring real-time water quality data from geothermal wastewater samples, identifying the composition of impurities, analyzing scaling tendency levels, configuring efficient impurity removal agents, formulating gradient impurity removal processes, constructing filtration and sedimentation logic for multi-stage filtration units, and generating purification treatment solutions, we can achieve dynamic perception and precise treatment of real-time water quality changes.
It improves the adaptability and environmental safety of geothermal wastewater treatment, avoids excessive or insufficient reagents, ensures the accuracy and efficiency of the impurity removal process, reduces the risk of secondary pollution, and ensures stable equipment operation.
Smart Images

Figure CN121494218A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of geothermal wastewater treatment, and particularly relates to a purification treatment device and method for geothermal wastewater. BACKGROUND
[0002] Geothermal wastewater refers to wastewater containing high temperature, high salinity and various mineral components generated in the process of geothermal energy development and utilization, and its direct discharge can easily lead to environmental pollution and resource waste.
[0003] At present, the purification treatment of such wastewater mainly relies on fixed physical and chemical methods such as precipitation, filtration, ion exchange, etc. The treatment process is usually based on preset parameters, and lacks dynamic response capability to real-time water quality components. The existing method is difficult to accurately adjust the treatment strength according to the actual impurity composition and scaling trend in the wastewater, and often appears problems such as over-dosing or insufficient dosing, filter unit blockage, unstable purification efficiency, high risk of secondary pollution, etc., resulting in high operating cost and reduced equipment life. Therefore, a purification treatment for geothermal wastewater is needed to improve the adaptability and environmental safety of geothermal wastewater treatment. SUMMARY
[0004] The present application provides a purification treatment device and method for geothermal wastewater, which aims to improve the adaptability and environmental safety of geothermal wastewater treatment.
[0005] To achieve the above purpose, the present application provides a purification treatment device for geothermal wastewater, which comprises a dedoping operation module, a reagent dosing module, a process formulation module, a logic construction module and a scheme generation module.
[0006] The dedoping operation module is used to obtain real-time water quality data corresponding to a geothermal wastewater sample, and identify impurity composition components in the real-time water quality data. Based on the impurity composition components, the scaling tendency grade of the geothermal wastewater sample is analyzed, and the dedoping operation intensity required for the geothermal wastewater sample to be preferentially treated is determined according to the scaling tendency grade.
[0007] The reagent dosing module is used to configure the high-efficiency dedoping agent required for the geothermal wastewater sample based on the dedoping operation intensity, and fit the reagent dosing curve corresponding to the high-efficiency dedoping agent. Based on the reagent dosing curve, the actual dosing data required for the geothermal wastewater sample is determined.
[0008] The process formulation module is used to calculate the reaction time corresponding to the high-efficiency dedoping agent based on the actual dosing parameter, and analyze the dedoping efficiency corresponding to the reaction time. Based on the dedoping efficiency, the reagent residual amount of the geothermal wastewater sample in the treatment process is calculated, and based on the dedoping efficiency and the reagent residual amount, the gradient dedoping process corresponding to the geothermal wastewater sample is formulated.
[0009] The logic construction module is configured to configure a purification device required for performing the gradient purification process, analyze a processing priority corresponding to a multi-stage filtering unit in the purification device, and construct a filtering and precipitation logic corresponding to the multi-stage filtering unit based on the processing priority.
[0010] The scheme generation module is configured to determine an impurity precipitation state in the geothermal wastewater sample based on the filtering and precipitation logic, construct a rapid sedimentation path of the geothermal wastewater sample in a purification process based on the impurity precipitation state, identify a purification index in the rapid sedimentation path, and generate a purification treatment scheme corresponding to the geothermal wastewater sample based on the purification index.
[0011] Optionally, the determination of the purification operation intensity required for preferential processing of the geothermal wastewater sample according to the fouling tendency grade includes:
[0012] Resolving a main impurity category corresponding to the fouling tendency grade;
[0013] Determining a purification sequence corresponding to the geothermal wastewater sample based on the main impurity category;
[0014] Analyzing a processing intensity value corresponding to the purification sequence;
[0015] Setting a purification intensity grade corresponding to the processing intensity value;
[0016] Determining the purification operation intensity required for preferential processing of the geothermal wastewater sample based on the purification intensity grade.
[0017] Optionally, the determination of the purification sequence corresponding to the geothermal wastewater sample based on the main impurity category includes:
[0018] Identifying a specific impurity substance in the main impurity category;
[0019] Evaluating a fouling influence degree corresponding to the specific impurity substance;
[0020] Arranging a processing order corresponding to an impurity in the geothermal wastewater sample based on the fouling influence degree;
[0021] Determining the purification sequence corresponding to the geothermal wastewater sample based on the processing order and real-time water quality data in the geothermal wastewater sample.
[0022] Optionally, the construction of the filtering and precipitation logic corresponding to the multi-stage filtering unit based on the processing priority includes:
[0023] Resolving a unit processing sequence corresponding to the processing priority;
[0024] configuring a filter selection medium corresponding to the multi-stage filter unit based on the unit processing sequence;
[0025] determining an integrated filtration flow corresponding to the multi-stage filter unit based on the filter selection medium;
[0026] analyzing a filtration frequency and a sedimentation index in the integrated filtration flow;
[0027] constructing a filtration sedimentation logic corresponding to the multi-stage filter unit based on the filtration frequency and the sedimentation index.
[0028] Optionally, the determining the integrated filtration flow corresponding to the multi-stage filter unit based on the filter selection medium comprises:
[0029] determining a filtration load value corresponding to the multi-stage filter unit based on the filter selection medium;
[0030] analyzing an initial flow capacity corresponding to the multi-stage filter unit based on the filtration load value;
[0031] configuring a real-time flow rate corresponding to the multi-stage filter unit based on the initial flow capacity;
[0032] analyzing an overall filtration flow corresponding to the real-time flow rate;
[0033] determining the integrated filtration flow corresponding to the multi-stage filter unit based on the overall filtration flow.
[0034] Optionally, the calculating the reaction duration corresponding to the high-efficiency impurity removal agent based on the actual dosing parameter comprises:
[0035] analyzing a dosage of the medicament in the actual dosing parameter;
[0036] querying a total mass of impurities in the geothermal wastewater sample based on the dosage of the medicament;
[0037] determining an impurity removal ratio between the dosage of the medicament and the total mass of impurities;
[0038] analyzing a medicament reaction rate of the high-efficiency impurity removal agent in the geothermal wastewater based on the impurity removal ratio;
[0039] calculating the reaction duration corresponding to the high-efficiency impurity removal agent based on the medicament reaction rate by the following formula:
[0040]
[0041] wherein FT represents the reaction duration corresponding to the high-efficiency impurity removal agent, n represents a number of impurity types in the geothermal wastewater, and i represents an index of the number of impurity types.i mz represents the reaction activity coefficient of the i-th impurity i m represents the reaction rate of the i-th impurity type, k represents the impurity mass corresponding to the i-th impurity type, and m d r represents the impurity removal ratio.
[0042] Optionally, the residual amount of the medicament in the geothermal wastewater sample during the treatment process is calculated based on the impurity removal efficiency, comprising:
[0043] Based on the impurity removal efficiency, the effective consumption amount corresponding to the high-efficiency impurity removal agent is determined;
[0044] Based on the effective consumption amount, the medicament consumption ratio corresponding to the high-efficiency impurity removal agent is analyzed;
[0045] Querying the total amount of unreacted in the medicament consumption ratio;
[0046] Based on the total amount of unreacted, the residual concentration of the medicament in the geothermal wastewater sample is detected;
[0047] Based on the residual concentration of the medicament, the residual amount of the medicament in the geothermal wastewater sample during the treatment process is calculated by the following formula:
[0048]
[0049] wherein M r represents the residual amount of the medicament in the geothermal wastewater sample during the treatment process, V represents the water sample volume of the geothermal wastewater sample, M represents the number of concentration monitoring points during the treatment process, j represents the index of the number of concentration monitoring points, and C r,j represents the residual concentration of the medicament measured at the j-th concentration monitoring point.
[0050] Optionally, the actual dosing data required by the geothermal wastewater sample is determined based on the medicament dosing curve, comprising:
[0051] Reading the key dosing points in the medicament dosing curve;
[0052] Collecting wastewater flow data in the geothermal wastewater sample;
[0053] Based on the key dosing points and the wastewater flow data, the instantaneous dosing amount corresponding to the geothermal wastewater sample is analyzed;
[0054] Resolving the specific dosing amount and dosing time point corresponding to the instantaneous dosing amount;
[0055] Based on the specific dosing amount and the dosing time point, the actual dosing data required by the geothermal wastewater sample is determined.
[0056] Optionally, determining the sedimentation state of impurities in the geothermal wastewater sample based on the filtration and sedimentation logic includes:
[0057] Generate the sedimentation monitoring command output by the filtering sedimentation logic;
[0058] Based on the precipitation monitoring command, the preset operating mode corresponding to the precipitation monitoring device is activated;
[0059] Using a sedimentation monitoring device in motion mode, images of impurity sedimentation in the geothermal wastewater sample were acquired;
[0060] Analyze the precipitation distribution information in the impurity precipitation image;
[0061] Based on the sedimentation distribution information, the sedimentation state of impurities in the geothermal wastewater sample is determined.
[0062] Optionally, to solve the above problems, the present invention provides a method for purifying geothermal wastewater, the method comprising:
[0063] Real-time water quality data corresponding to geothermal wastewater samples are obtained, and the impurity composition components in the real-time water quality data are identified. Based on the impurity composition components, the scaling tendency level corresponding to the geothermal wastewater sample is analyzed. According to the scaling tendency level, the intensity of the impurity removal operation that needs to be prioritized for the geothermal wastewater sample is determined.
[0064] Based on the intensity of the impurity removal operation, a high-efficiency impurity removal agent required for the geothermal wastewater sample is configured, and the reagent addition curve corresponding to the high-efficiency impurity removal agent is fitted. Based on the reagent addition curve, the actual addition data required for the geothermal wastewater sample is determined.
[0065] Based on the actual addition parameters, the reaction time corresponding to the high-efficiency impurity removal agent is calculated, and the impurity removal efficiency corresponding to the reaction time is analyzed. Based on the impurity removal efficiency, the amount of reagent residue in the geothermal wastewater sample during the treatment process is calculated. Based on the impurity removal efficiency and the amount of reagent residue, a gradient impurity removal process corresponding to the geothermal wastewater sample is formulated.
[0066] Configure the impurity removal equipment required to execute the gradient impurity removal process, analyze the processing priority of the multi-level filtration units in the impurity removal equipment, and construct the filtration sedimentation logic corresponding to the multi-level filtration units based on the processing priority.
[0067] Based on the filtration and sedimentation logic, the sedimentation state of impurities in the geothermal wastewater sample is determined. Based on the sedimentation state of impurities, a rapid sedimentation path for the geothermal wastewater sample during the impurity removal process is constructed. Purification indicators in the rapid sedimentation path are identified. Based on the purification indicators, a purification treatment plan corresponding to the geothermal wastewater sample is generated.
[0068] Compared to the problems described in the background art, this invention, by acquiring real-time water quality data corresponding to geothermal wastewater samples and identifying the composition of impurities in the real-time water quality data, breaks through the limitations of existing fixed treatment modes, endowing the treatment process with dynamic perception capabilities of real-time water quality changes. It also improves the targeting and adaptability of geothermal wastewater treatment, helping to ensure the efficiency of subsequent purification processes. Furthermore, based on the intensity of the impurity removal operation, this invention configures the high-efficiency impurity removal agent required for the geothermal wastewater sample, ensuring that the composition and dosage of the impurity removal agent precisely match the actual wastewater treatment needs. This fundamentally avoids the problems of excessive or insufficient reagents in traditional fixed dosing modes, ensuring the accuracy of the impurity removal process, reducing the risk of secondary pollution, and further improving the environmental safety of geothermal wastewater treatment. Finally, based on the actual addition parameters, this invention calculates the reaction time corresponding to the high-efficiency impurity removal agent, allowing the reaction time to accurately adapt to the reagent dosage and wastewater impurity characteristics, avoiding the need for fixed dosing. This invention addresses the issues of insufficient or excessive reaction under varying time intervals, fundamentally ensuring effective reaction between reagents and impurities. This maximizes impurity removal efficiency, reduces impurity residue, and clears obstacles for subsequent treatment stages. Furthermore, by configuring the impurity removal equipment required for the gradient impurity removal process and analyzing the processing priorities of the multi-stage filtration units within this equipment, it provides precise hardware support for each stage of the impurity removal process (reagent addition, reaction control, residue monitoring, etc.), improving the synergistic impurity removal efficiency of the multi-stage filtration units. It also lays a solid foundation for the stable and compliant discharge of geothermal wastewater. Finally, based on the filtration and sedimentation logic, this invention determines the sedimentation state of impurities in the geothermal wastewater sample, accurately grasping the sedimentation degree and distribution of impurities at different stages. This avoids incomplete filtration or overtreatment due to unknown sedimentation conditions, ensuring the controllability of the impurity removal process from the source and guaranteeing efficient and compliant geothermal wastewater treatment throughout. Therefore, the purification treatment device and method for geothermal wastewater proposed in this invention can improve the adaptability and environmental safety of geothermal wastewater treatment. Attached Figure Description
[0069] Figure 1 This is a schematic diagram of a module for purifying geothermal wastewater according to an embodiment of the present invention.
[0070] Figure 2 This is a core process framework diagram of a method for purifying geothermal wastewater according to an embodiment of the present invention;
[0071] Figure 3 This is a schematic diagram of the process for implementing a geothermal wastewater purification device according to an embodiment of the present invention.
[0072] The objectives, features, and advantages of this invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0073] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0074] Furthermore, the timing of the steps in the following method embodiments is merely an example and not a strict limitation.
[0075] In practice, the server-side equipment deployed in a geothermal wastewater purification and treatment device may consist of one or more devices. This device can be implemented as a business instance, a virtual machine, or hardware equipment. For example, it can be implemented as a business instance deployed on one or more devices in a cloud node. Simply put, it can be understood as software deployed on a cloud node, providing an online monitoring service for the geothermal wastewater purification and treatment platform to various users. Alternatively, it can be implemented as a virtual machine deployed on one or more devices in a cloud node, with application software installed to manage various users. Or, it can also be implemented as a server composed of numerous identical or different types of hardware devices, with one or more devices configured to provide an online monitoring service for the geothermal wastewater purification and treatment platform to various users.
[0076] In terms of implementation, the purification device for geothermal wastewater and the user terminal are mutually compatible. That is, if the purification device for geothermal wastewater is implemented as an application installed on a cloud service platform, the user terminal is implemented as a client that establishes a communication connection with the application; or if the purification device for geothermal wastewater is implemented as a website, the user terminal is implemented as a webpage; or if the purification device for geothermal wastewater is implemented as a cloud service platform, the user terminal is implemented as a mini-program in an instant messaging application.
[0077] Reference Figure 1 The diagram shown is a functional block diagram of a geothermal wastewater purification device provided in an embodiment of the present invention.
[0078] The purification and treatment device 100 for geothermal wastewater described in this invention can be installed on a cloud server. In terms of implementation, it can be used as one or more service devices, or as an application installed in the cloud (e.g., a server for online monitoring of drinking water quality, a server cluster, etc.), or it can be developed into a website. Depending on the functions implemented, the purification and treatment device 100 for geothermal wastewater includes a purification operation module 101, a reagent dosing module 102, a process planning module 103, a logic construction module 104, and a scheme generation module 105.
[0079] In this embodiment of the invention, based on the tracking of a geothermal wastewater purification device, each of the above modules can be implemented independently and called upon other modules. Here, "called upon" can be understood as a module connecting to multiple modules of another type and providing corresponding services to those connected modules. In the geothermal wastewater purification device provided by this embodiment of the invention, without modifying the program code, the applicability of a geothermal wastewater purification platform architecture can be adjusted by adding modules and directly calling them, achieving cluster-based horizontal expansion to quickly and flexibly expand the geothermal wastewater purification device. In practical applications, the above modules can be set in the same device or different devices, or they can be set in a virtual device, such as a service instance in a cloud server.
[0080] The following describes, with reference to specific embodiments, the various components and specific working processes of a purification and treatment device for geothermal wastewater.
[0081] The impurity removal module 101 is used to acquire real-time water quality data corresponding to the geothermal wastewater sample, identify the impurity composition in the real-time water quality data, analyze the scaling tendency level of the geothermal wastewater sample based on the impurity composition, and determine the intensity of the impurity removal operation that needs to be prioritized for the geothermal wastewater sample according to the scaling tendency level.
[0082] This invention obtains real-time water quality data corresponding to geothermal wastewater samples and identifies the composition of impurities in the real-time water quality data. This breaks through the limitations of existing fixed treatment modes, gives the treatment process the ability to dynamically perceive real-time water quality changes, and also improves the targeting and adaptability of geothermal wastewater treatment, helping to ensure the efficiency of subsequent purification processes.
[0083] The geothermal wastewater sample refers to a representative portion of wastewater collected from geothermal development facilities (such as the drainage outlet of a geothermal power plant) using a sealed sampling device. This sample accurately reflects the original water quality characteristics. The sealed sampling method prevents changes in composition due to temperature and pressure variations. For example, a 2L water sample collected from an 80℃ geothermal wellhead using a sealed device can precisely retain the original impurity composition information. The real-time water quality data refers to a set of parameters reflecting the wastewater characteristics acquired instantly by online monitoring equipment, including temperature, pH, and conductivity, such as data collected within seconds by a three-dimensional fluorescence spectroscopy or multi-sensor system. Data, such as monitored temperature of 85℃, pH of 7.2, and conductivity of 5000 μS / cm, provides real-time evidence for dynamic treatment. The impurity composition refers to the specific components and content of various impurities in the wastewater, determined through testing. For example, calcium ions (150 mg / L), sulfate ions (200 mg / L), and silicon ions (80 mg / L) were detected in Tianjin geothermal wastewater. These data are the core basis for analyzing scaling tendencies and determining impurity removal schemes. Optionally, obtaining real-time water quality data corresponding to geothermal wastewater samples can be achieved through an online water quality monitoring platform, such as using a HACH Hydrolab HL7 multi-parameter water quality analyzer directly immersed in the wastewater flow path to simultaneously measure temperature, pH, conductivity, and turbidity, thereby obtaining real-time water quality data. Identifying the impurity composition in the real-time water quality data can be achieved through ion chromatography analysis, such as using a Thermo Scientific Dionex Aquion ion chromatography system to analyze anions in the water sample. and cations (Na) + Ca 2+ ,K + The concentration of impurities is quantitatively analyzed to obtain the composition of the impurities.
[0084] Furthermore, based on the composition of the impurities, this invention analyzes the scaling tendency level of the geothermal wastewater sample, which can accurately determine the level of scaling risk in the wastewater. This provides a key basis for subsequent targeted adjustments to the treatment strategy, avoids improper treatment due to ambiguity in the assessment of scaling risk, and further improves the adaptability and safety of geothermal wastewater purification.
[0085] The scaling tendency level refers to a classification index based on the impurity composition of geothermal wastewater samples, calculated and analyzed through a scaling prediction model. This index reflects the likelihood and severity of scale formation due to the precipitation of minerals (such as calcium, magnesium, and silicon ions) during the treatment or transportation of the wastewater. For example, when the calcium ion content in a geothermal wastewater sample is 180 mg / L and the bicarbonate ion content is 260 mg / L, the LSI index calculated by the model is 1.3, corresponding to a "high scaling tendency level," indicating that the wastewater is prone to rapid formation of calcium carbonate scale. If the LSI index is -0.7, it corresponds to a "low scaling tendency level," indicating a lower risk of scaling. Optionally, the scaling tendency level of the geothermal wastewater sample can be analyzed using a hydrochemical calculation simulation method, such as using OLI Systems Analyzer Studio software to calculate the Langerile Saturation Index (LSI) based on the ionic composition and pH value of the water sample, thereby obtaining the scaling tendency level.
[0086] Furthermore, based on the scaling tendency level, the present invention determines the intensity of the impurity removal operation that should be prioritized for the geothermal wastewater sample. This breaks the limitations of the existing fixed treatment mode, avoids improper dosing or filtration load imbalance caused by the mismatch between treatment intensity and actual scaling risk, solves the problem of unstable purification efficiency, further reduces the risk of secondary pollution, and provides support for environmental safety.
[0087] The impurity removal operation intensity refers to a specific combination of operating parameters that directly guide the operation of the impurity removal equipment, based on the impurity removal intensity level. This includes key performance indicators such as reagent concentration, equipment operating pressure, and reaction time, ensuring that the impurities to be treated first can be removed with the expected efficiency. For example, for calcium and magnesium ions with a "high impurity removal intensity level", the impurity removal operation intensity is set as follows: ferric sulfate dosage of 80 mg / L, filter unit pressure of 0.3 MPa, and reaction stirring time of 30 min; for silicon ions with a "medium level", the dosage is set as 40 mg / L, pressure of 0.2 MPa, and stirring time of 20 min, directly adapting to the equipment operation requirements.
[0088] As an embodiment of the present invention, determining the intensity of the impurity removal operation that should be prioritized for the geothermal wastewater sample based on the scaling tendency level includes: analyzing the main impurity categories corresponding to the scaling tendency level; determining the order of impurity removal for the geothermal wastewater sample based on the main impurity categories; analyzing the treatment intensity value corresponding to the order of impurity removal; setting the impurity removal intensity level corresponding to the treatment intensity value; and determining the intensity of the impurity removal operation that should be prioritized for the geothermal wastewater sample based on the impurity removal intensity level.
[0089] The term "major impurity category" refers to specific impurity types that play a dominant role in scaling of geothermal wastewater, identified based on the scaling tendency level. Their content and characteristics directly determine the scaling risk and are the core basis for determining the direction of impurity removal. For example, when the scaling tendency level of geothermal wastewater is "high," analysis reveals that the main impurity categories are calcium and magnesium ions (calcium ions 160 mg / L, magnesium ions 80 mg / L) and silicon ions (90 mg / L). These two types of ions easily combine to form calcium carbonate and magnesium silicate scale, which have the most significant impact on equipment blockage and treatment efficiency. The term "impurity removal order" refers to the sequence of impurities... The specific treatment sequence of impurities, combined with real-time water quality data, ultimately determined a priority sequence for impurity removal that directly guides geothermal wastewater treatment operations. This sequence considers both the inherent impact of impurities and dynamic changes in water quality, ensuring both removal efficiency and system stability. For example, based on the treatment sequence of "removing calcium carbonate first, then calcium sulfate," and overlaying real-time monitoring data of calcium carbonate concentrations of 180 mg / L (high impact) and calcium sulfate concentrations of 170 mg / L (medium impact), the final removal order was determined to be "first step, high-intensity removal of calcium carbonate; second step, conventional removal of calcium sulfate," avoiding the impact of water quality fluctuations. The movement leads to a misalignment of priorities; the treatment intensity value refers to the quantitative parameter that can effectively control scaling and removal of each impurity category in the order of impurity removal, calculated from water quality data. It covers adjustable indicators such as reagent dosage, filtration pressure, and reaction time. For example, when treating the above-mentioned calcium and magnesium ions, the treatment intensity value is set as follows, based on their content and scaling rate: polyferric sulfate dosage 80mg / L (to ensure calcium and magnesium ion flocculation efficiency ≥90%), and filtration unit operating pressure 0.3MPa (to avoid floc penetration). This value needs to match the impurity removal requirements to avoid insufficient or excessive intensity. The impurity removal intensity level refers to a grade system formed by standardizing and classifying the treatment intensity values corresponding to each major impurity category. It is usually divided into three levels: high, medium, and low. This system is used to uniformly characterize the treatment intensity requirements of different impurities, which facilitates the standardized configuration of subsequent operating parameters. For example, for the calcium and magnesium ions mentioned above (treatment intensity value of 80 mg / L reagent dosage and 0.3 MPa pressure), since they require strong treatment to quickly control scale, they correspond to the "high impurity removal intensity level"; for silicon ions (treatment intensity value of 40 mg / L reagent dosage and 0.2 MPa pressure), they correspond to the "medium impurity removal intensity level".
[0090] Furthermore, the analysis of the main impurity categories corresponding to the scaling tendency level can be achieved through X-ray diffraction analysis methods, such as using Rigaku SmartLab. X-ray diffraction was used to perform phase qualitative analysis on the crystal structure of the pretreated scale sample to obtain the main impurity categories. The order of impurity removal for the geothermal wastewater sample can be determined using a multi-attribute decision ranking method, such as applying the TOPSIS approximation ideal solution ranking method to prioritize impurity categories based on scaling risk concentration and treatment difficulty coefficient, thus obtaining the order of impurity removal. The treatment intensity value corresponding to the order of impurity removal can be analyzed using a dynamic programming algorithm, such as constructing a state transition equation based on the target impurity removal rate and current concentration value to calculate the optimal reagent consumption, thus obtaining the treatment intensity value. The impurity removal intensity level corresponding to the treatment intensity value can be set using a fuzzy logic classification method, such as using the MATLAB fuzzy logic toolbox to map continuous intensity values to three intensity levels of "low-medium-high," thus obtaining the impurity removal intensity level. The determination of the priority impurity removal operation intensity for the geothermal wastewater sample can be achieved using a reinforcement learning algorithm, such as using the Q-learning algorithm to optimize the final output operation intensity parameter through an iterative reward function, thus obtaining the impurity removal operation intensity.
[0091] In detail, as another embodiment of the present invention, determining the order of impurity removal for the geothermal wastewater sample based on the main impurity category includes: identifying specific impurity substances in the main impurity category; assessing the scaling impact of the specific impurity substances; arranging the treatment order of the impurities in the geothermal wastewater sample based on the scaling impact; and determining the order of impurity removal for the geothermal wastewater sample based on the treatment order and real-time water quality data in the geothermal wastewater sample.
[0092] The specific impurities refer to specific chemical substances that directly participate in the scaling reaction of geothermal wastewater, further separated from the main impurity categories. Their molecular composition and content directly determine the type and rate of scaling, serving as the basic unit for assessing the impact of scaling. For example, if the main impurity category is "calcium salt impurities," then the specific impurities can be clearly identified as calcium carbonate (corresponding to 150 mg / L of calcium ions) and calcium sulfate (corresponding to 180 mg / L of sulfate ions). Both easily form dense scale on the inner walls of equipment and require targeted identification for accurate impact assessment. The degree of scale formation impact refers to the level of harm to the geothermal wastewater treatment process and equipment, determined by quantitatively analyzing the scale formation rate, scale adhesion, and interference with the treatment system of a specific impurity. For example, calcium carbonate (calcium ion 150 mg / L) can form a scale thickness of up to 0.6 mm within 24 hours, leading to 30% clogging of the filter unit pores and a 25% increase in water flow resistance. In contrast, calcium sulfate (sulfate ion 180 mg / L) forms a scale thickness of only 0.2 mm within 24 hours, with a clogging rate of 10%. Therefore, the degree of scale formation impact of calcium carbonate is significantly lower. The degree of scale buildup is significantly higher than that of calcium sulfate. The treatment sequence refers to the order in which impurities are removed, arranged from highest to lowest according to their scaling impact. The core principle is to prioritize the control of high-impact impurities to prevent premature failure of the treatment system. For example, for calcium carbonate (high impact) and calcium sulfate (medium impact), the treatment sequence can be set as "remove calcium carbonate first, then remove calcium sulfate"—if calcium sulfate is treated first, calcium carbonate will continue to scale and clog the equipment, causing the subsequent calcium sulfate treatment efficiency to decrease by 40%. Therefore, it is necessary to sort them according to their impact. The real-time water quality data refers to the key parameters reflecting the current state of geothermal wastewater, including impurity concentration, temperature, and pH, which are collected in real time by online monitoring equipment during the process of determining the order of impurity removal. This data is used to dynamically adjust the treatment sequence to match actual water quality changes. For example, if the initial calcium carbonate concentration is identified as 150 mg / L, but real-time monitoring shows that its concentration has increased to 180 mg / L due to changes in geothermal well conditions and the pH has increased from 7.2 to 7.8 (accelerating scaling), then it is necessary to confirm that the high-impact property of calcium carbonate has not changed based on this real-time data to ensure that the treatment sequence does not deviate from the actual requirements.
[0093] Furthermore, the identification of specific impurities within the major impurity categories can be achieved through inductively coupled plasma mass spectrometry (ICP-MS), such as using an Agilent 7900 ICP-MS instrument for qualitative and semi-quantitative analysis of trace elements in the water sample to obtain specific impurities. The assessment of the scaling impact corresponding to the specific impurities can be achieved through a multi-parameter influence weighting model, such as using entropy weighting combined with scaling potential, concentration threshold, and thermodynamic stability indices to calculate the influence coefficient, thereby obtaining the scaling impact. The arrangement of the treatment order corresponding to impurities in the geothermal wastewater samples can be achieved through a dynamic priority scheduling algorithm, such as using the earliest deadline first algorithm (EDF) combined with scaling impact and reaction rate constraints to generate a sequence, thereby obtaining the treatment order. The determination of the impurity removal order for the geothermal wastewater samples can be achieved through grey relational analysis, such as calculating the correlation between each impurity index and the system scaling risk to determine the priority treatment level, thereby obtaining the impurity removal order.
[0094] The reagent dosing module 102 is used to configure the high-efficiency impurity remover required for the geothermal wastewater sample based on the impurity removal operation intensity, fit the reagent dosing curve corresponding to the high-efficiency impurity remover, and determine the actual dosing data required for the geothermal wastewater sample based on the reagent dosing curve.
[0095] Based on the aforementioned impurity removal operation intensity, this invention configures the high-efficiency impurity removal agent required for the geothermal wastewater sample, enabling the composition and dosage of the impurity removal agent to precisely match the actual wastewater treatment needs. This fundamentally avoids the problem of excessive or insufficient reagents in traditional fixed dosing modes, ensuring the accuracy of the impurity removal process, reducing the risk of secondary pollution, and further improving the environmental safety of geothermal wastewater treatment.
[0096] The high-efficiency impurity remover refers to a functional agent that is scientifically formulated based on the intensity of impurity removal operations in geothermal wastewater, combined with its impurity composition (such as calcium and magnesium ions, silicon ions, etc.) and scaling tendency. It can target and remove target impurities, and has the dual functions of high-efficiency impurity removal and scale inhibition, with low agent residue. For example, for the impurity removal needs of high calcium and magnesium ions (calcium ions 160 mg / L, magnesium ions 80 mg / L), the impurity remover can be formulated by combining 60% polyaluminum chloride (PAC) and 40% hydroxyethylidene diphosphonic acid (HEDP). After addition, the calcium and magnesium ion removal rate is ≥92%, while avoiding scale formation. It is precisely adapted to the treatment needs of the corresponding impurity removal operation intensity, ensuring purification efficiency. Optionally, the high-efficiency impurity remover required for the geothermal wastewater sample can be configured using an expert system decision-making method, such as using a rule-based CLIPS expert system to integrate water quality data and match the agent library to generate the optimal composite impurity remover formula, thereby obtaining the high-efficiency impurity remover.
[0097] Furthermore, by fitting the dosing curve of the highly efficient impurity remover, this invention can accurately correlate the dosage of the agent with the impurity removal requirements of geothermal wastewater, avoiding the blindness of the traditional fixed dosing mode, fundamentally solving the problems of cost waste caused by excessive dosing or incomplete purification caused by insufficient dosing, and also providing reliable data support for accurately calculating reaction time and formulating gradient impurity removal processes.
[0098] The reagent dosing curve refers to a visual curve that reflects the dynamic relationship between reagent dosage, impurity removal efficiency, and reagent residue, formed by fitting multiple sets of experimental data based on the composition characteristics of the high-efficiency impurity remover, the impurity content of geothermal wastewater, and the intensity of impurity removal operations. It can accurately define the high-efficiency dosing range under different water qualities and avoid blind dosing. For example, for wastewater containing 160 mg / L of calcium ions, the horizontal axis of the curve is the dosage of polyaluminum chloride (PAC) (mg / L), and the vertical axis is the calcium ion removal rate (%). It shows that when the dosage is 40-80 mg / L, the removal rate increases from 65% to 92%, and the increase is less than 3% after exceeding 80 mg / L, clearly guiding the optimal dosing range. Optionally, the reagent dosing curve corresponding to the high-efficiency impurity remover can be fitted by nonlinear regression analysis, such as using the MATLAB Curve Fitting Toolbox to construct a quadratic function response surface model based on historical dosage and removal rate datasets to obtain the reagent dosing curve.
[0099] Furthermore, based on the reagent dosing curve, the present invention determines the actual dosing data required for the geothermal wastewater sample, which allows the reagent dosage to accurately match the wastewater impurity removal requirements, thereby avoiding the problem of overdosing or underdosing in the traditional fixed dosing mode, ensuring the accuracy and stability of the impurity removal process, and further improving the environmental safety of geothermal wastewater treatment.
[0100] The actual dosage data refers to a complete set of parameters that directly guides the application of the cleaning agent, integrating key dosage points, wastewater flow data, instantaneous dosage, specific dosage, and dosage time. This set includes core information such as dosage quality, time, and frequency. For example, the actual dosage data for a sample might be: optimal dosage concentration 60 mg / L, corresponding to a specific dosage of 5 g / min, dosage time 9:00-9:05, and suitable for an instantaneous wastewater flow rate of 5 m³ / min. 3 / h, this data covers all elements of drug application, ensuring accurate and executable drug application operations and guaranteeing impurity removal efficiency.
[0101] As an embodiment of the present invention, determining the actual dosage data required for the geothermal wastewater sample based on the reagent dosing curve includes: reading key dosing points in the reagent dosing curve; collecting wastewater flow data in the geothermal wastewater sample; analyzing the instantaneous dosage corresponding to the geothermal wastewater sample based on the key dosing points and the wastewater flow data; parsing the specific dosage and dosing time point corresponding to the instantaneous dosage; and determining the actual dosage data required for the geothermal wastewater sample based on the specific dosage and the dosing time point.
[0102] The critical dosing points refer to the characteristic points extracted from the reagent dosing curve that play a decisive role in the impurity removal efficiency and reagent economy. These include the minimum dosing point for achieving the target impurity removal efficiency, the optimal dosing point corresponding to the peak efficiency, and the excessive dosing point where the efficiency increase drops sharply. These are the core basis for determining the dosage. For example, in a certain dosing curve, the minimum dosing point for achieving a calcium ion removal rate of 90% is 40 mg / L, the optimal dosing point corresponding to a peak efficiency of 95% is 60 mg / L, and the excessive dosing point where the efficiency increase is <2% is 80 mg / L. These three points together constitute the critical dosing points, guiding the dosage range. The wastewater flow rate data refers to the volume parameters of geothermal wastewater entering the treatment system per unit time, collected in real time by an online flow meter. This includes instantaneous flow rate, average flow rate, and flow fluctuation range. These parameters need to be linked to the reagent dosage to adapt to dynamic treatment needs. For example, in a geothermal wastewater treatment system, the online flow meter monitors an instantaneous flow rate of 5 m³ / h. 3 / h, the average flow rate is 4.8m³ / hour. 3 / h, flow rate fluctuation ±0.3m 3 The h / h data helps prevent insufficient or excessive dosage per unit volume of wastewater due to flow rate changes, ensuring treatment stability. The instantaneous dosage refers to the mass of highly effective purifying agent added to the treatment system at a specific moment, calculated by combining the key dosing point of the reagent dosing curve with the instantaneous wastewater flow rate data. This dosage needs to be dynamically adjusted with the flow rate to ensure a constant dosage per unit volume of wastewater. For example, if the optimal dosage at the key dosing point is determined to be 60 mg / L, and the instantaneous wastewater flow rate at a certain moment is 5 m³ / h... 3 / h, calculated instantaneous dosage = 60mg / L × 5m 3 / h = 300g / h, meaning that 300g of impurity remover needs to be added per hour at this time, adapting to the real-time flow requirements; the specific dosage refers to further breaking down the instantaneous dosage into the actual mass of impurity remover added within a specific time interval that can be directly executed, avoiding deviations in dosage accuracy due to instantaneous flow fluctuations, and ensuring that the dosage operation can be accurately implemented. For example, if the instantaneous dosage is 300g / h, to improve accuracy, it is broken down into 1-minute intervals, the specific dosage = 300g ÷ 60 minutes = 5g / minute, that is, 5g of impurity remover needs to be added to the treatment system every minute. The current refined dosing control; the dosing time refers to the time of adding the impurity removal agent determined according to the flow sequence of geothermal wastewater in the treatment system (such as the time of entering the reaction tank and mixing unit) and the specific dosage, to ensure that the agent and wastewater are fully mixed in the optimal reaction stage. For example, if the geothermal wastewater is detected to enter the reaction tank at 9:00, the reaction tank needs 30 minutes to mix and react with the agent and wastewater. Therefore, the dosing time is set to 9:00-9:05 (5 times, 5g each time), so that the agent is added at the beginning of the wastewater entering the reaction tank to ensure the reaction time.
[0103] Furthermore, the key dosing points in the reagent dosing curve can be obtained through a local extremum detection algorithm, such as using the MATLAB findpeaks function to identify the feature point with the largest change rate in the removal rate, thereby obtaining the key dosing points; the wastewater flow data collected from the geothermal wastewater sample can be obtained through ultrasonic flow monitoring technology, such as using a Siemens Sitrans FUS060 clamp-on ultrasonic flow meter to measure the wastewater flow velocity in the pipeline in real time, thereby obtaining the wastewater flow data; the analysis of the instantaneous dosing amount corresponding to the geothermal wastewater sample can be obtained through a dynamic proportional calculation model, such as using a PID control algorithm based on the current flow data and the target concentration value to calculate the dosing requirement in real time, thereby obtaining the instantaneous dosing amount; the analysis of the specific dosing amount corresponding to the instantaneous dosing amount can be obtained through a unit time integration method, such as using the trapezoidal rule to perform time dimension integration on the continuously monitored instantaneous dosing amount to calculate the cumulative value, thereby obtaining the specific dosing amount; the analysis of the dosing time point corresponding to the instantaneous dosing amount can be obtained through an event triggering mechanism, such as triggering the Schneider event through a preset concentration threshold. The PLC controller records the times when the standard is exceeded, thus obtaining the dosing time point; the actual dosing data required to determine the geothermal wastewater sample can be achieved through multi-source data fusion methods, such as using the Kalman filter algorithm to integrate the time series of flow rate, concentration and dosing amount to generate an optimized parameter set, thereby obtaining the actual dosing data.
[0104] The process planning module 103 is used to calculate the reaction time corresponding to the high-efficiency impurity removal agent based on the actual addition parameters, analyze the impurity removal efficiency corresponding to the reaction time, calculate the amount of reagent residue in the geothermal wastewater sample during the treatment process based on the impurity removal efficiency, and formulate a gradient impurity removal process corresponding to the geothermal wastewater sample based on the impurity removal efficiency and the amount of reagent residue.
[0105] Based on the actual addition parameters, this invention calculates the reaction time corresponding to the high-efficiency impurity remover, which allows the reaction time to be precisely matched with the dosage of the agent and the characteristics of the wastewater impurities. This avoids the problem of insufficient or excessive reaction under a fixed time, fundamentally ensuring the effective reaction between the agent and impurities, maximizing the impurity removal efficiency, reducing impurity residue, and clearing obstacles for subsequent treatment stages.
[0106] The reaction time refers to the total time required for the added high-efficiency impurity remover to fully react with the target impurities in the geothermal wastewater (to achieve the preset impurity removal efficiency) under a predetermined reagent reaction rate. It needs to be calculated based on the reagent dosage and reaction rate. For example, if the reagent dosage is 150g and the reagent reaction rate is 3g / minute, then the reaction time = 150g ÷ 3g / minute = 50 minutes. This time ensures that there is no waste of reagent and that the impurities react fully, avoiding residual impurities due to insufficient time or increased energy consumption due to excessive time.
[0107] As an embodiment of the present invention, the step of calculating the reaction time corresponding to the high-efficiency impurity remover based on the actual addition parameters includes: analyzing the dosage of the agent in the actual addition parameters; querying the total mass of impurities in the geothermal wastewater sample based on the dosage of the agent; determining the impurity removal ratio between the dosage of the agent and the total mass of impurities; analyzing the agent reaction rate of the high-efficiency impurity remover in the geothermal wastewater based on the impurity removal ratio; and calculating the reaction time corresponding to the high-efficiency impurity remover based on the agent reaction rate.
[0108] The dosage of the reagent refers to the total mass of the high-efficiency impurity remover added to the treatment system within a specific geothermal wastewater treatment cycle, based on actual addition parameters. This is the core data for calculating the reaction time and must be matched with the total amount of impurities in the wastewater to ensure sufficient reaction. For example, if the actual addition parameters are "5g / minute, continuous addition for 30 minutes," then the reagent dosage = 5g / minute × 30 minutes = 150g. This dosage directly determines the material basis for the subsequent reaction with impurities, avoiding deviations in reaction time calculations due to ambiguous dosage data. The total mass of impurities refers to the total weight of all target impurities (such as calcium and magnesium ions, silicon ions, etc.) that need to be removed from the geothermal wastewater entering the treatment system within the corresponding reagent addition cycle. This needs to be calculated based on the wastewater volume and impurity concentration. For example, within a 30-minute reagent addition cycle, the wastewater flow rate is 5m³ / min. 3 / h (i.e., 2.5m)3 If the concentration of the target impurity (calcium and magnesium ions) is 240 mg / L, then the total mass of impurities = 2.5 × 10⁻⁶. 6 L × 240 mg / L = 600,000 mg = 600 g, accurately reflecting the total amount of impurities to be treated and providing a basis for the reaction ratio; the impurity removal ratio refers to the ratio of the dosage of the reagent to the total mass of the impurities, used to quantitatively characterize the reaction ratio between the high-efficiency impurity remover and the target impurities, directly affecting whether the reaction is sufficient and whether the reagent is wasted. For example, if the dosage of the reagent is 150 g and the total mass of the impurities is 600 g, then the impurity removal ratio = 150 g : 600 g = 1 : 4. This ratio needs to match the reaction characteristics of the impurity remover—if the ratio is lower than 1: 4, it may be due to insufficient reagent. Incomplete reaction; a ratio higher than 1:4 results in reagent redundancy; the reagent reaction rate refers to the mass of the target impurities in geothermal wastewater that reacts effectively per unit time under a specific impurity removal ratio, reflecting the speed of the reaction. It needs to be determined in conjunction with the chemical properties of the reagent and the operating conditions such as wastewater temperature and pH. For example, when the impurity removal ratio is 1:4, if monitoring shows that 30g of reagent reacts completely with 120g of impurities every 10 minutes, then the reagent reaction rate = 30g ÷ 10 minutes = 3g / minute. This rate directly determines the time required for the reaction to complete and is a key parameter for calculating the reaction time.
[0109] Furthermore, the analysis of the actual dosage parameters can be achieved through regular expression data extraction methods, such as using the Python `re` module to match numerical patterns in the parameter text to extract precise values, thereby obtaining the dosage. The query of the total mass of impurities in the geothermal wastewater sample can be achieved through a mass conservation calculation model, such as using Thermo Scientific iCAP RQ ICP-MS to determine the concentration of each ion and then multiplying it by the total wastewater volume for summation, thereby obtaining the total mass of impurities. The determination of the impurity removal ratio between the dosage and the total mass of impurities can be achieved through linear regression analysis, such as using the least squares method to fit the relationship curve between the dosage and the removed mass and calculating the slope value, thereby obtaining the impurity removal ratio. The analysis of the reaction rate of the highly efficient impurity remover in the geothermal wastewater can be achieved through ultraviolet-visible spectrophotometry, such as using a Shimadzu UV-1900 spectrophotometer to monitor the characteristic wavelength absorbance change curve over time and calculate the reaction rate constant, thereby obtaining the reaction rate. The calculation of the reaction time corresponding to the highly efficient impurity remover can be achieved through the following formula.
[0110] In detail, as another embodiment of the present invention, the reaction time corresponding to the highly efficient impurity remover is calculated based on the reaction rate of the reagent using the following formula:
[0111]
[0112] Wherein, FT represents the reaction time (in seconds) corresponding to the highly efficient impurity removal agent, n represents the number of impurity types in the geothermal wastewater, i represents the index of the number of impurity types, and λ i Let mz represent the reactivity coefficient of the i-th impurity. i The mass of the i-th impurity type is represented by k (kg), and the reaction rate of the reagent is represented by s (s). -1 ), m d The value indicates the dosage of the drug (unit: kg), and r indicates the impurity removal ratio.
[0113] In detail, the reaction time can represent the total time (in seconds) for the highly efficient impurity remover to fully react with all target impurities in the geothermal wastewater. It is the result calculated by the above formula after taking into account the reaction characteristics of each impurity, reflecting the cycle required for the reaction to complete. For example, when treating wastewater containing two impurities, calcium ions and silicon ions, the FT calculated by the formula is 1500 seconds, which means that it takes 25 minutes for the agent to fully react with these two impurities. The impurity type can be represented by n, which represents the total number of impurities to be removed from the geothermal wastewater, and i, which is the serial number of a single impurity (used to distinguish different impurities). For example, if the wastewater contains two impurities, magnesium ions and fluoride ions, n=2, i=1 corresponds to magnesium ions, and i=2 corresponds to fluoride ions. The effect of each impurity on the reaction time can be calculated accordingly. The reaction activity coefficient represents the activity coefficient (unitless) of the i-th impurity reacting with the high-efficiency impurity remover. A larger coefficient indicates that the impurity reacts more easily and faster with the reagent. For example, λ1=0.9 for magnesium ions (i=1) and λ2=0.7 for fluoride ions (i=2), indicating that magnesium ions are more reactive than fluoride ions. The impurity mass represents the total mass of the i-th impurity in the reaction system (in kilograms), calculated from the wastewater flow rate and impurity concentration. For example, mz1=0.4kg for magnesium ions (i=1) and mz2=0.3kg for fluoride ions (i=2), representing the total mass of the two impurities participating in the reaction. The reagent reaction rate represents the rate at which the high-efficiency impurity remover can effectively react with the impurities per unit time (in seconds). -1 This reflects the reactivity of the drug; for example, k = 0.0003s. -1This means that the reagent can drive a reaction process at a rate of 0.0003 per second; the higher the rate, the shorter the reaction time. The reagent dosage represents the total mass (in kilograms) of the highly efficient impurity remover actually added to the reaction system, which is the basis for the total amount of reagent in the reaction. For example, adding m_d = 0.8 kg of impurity remover provides the total amount of reagent for the reaction with magnesium and fluorine impurities. The impurity removal ratio represents the ratio of the reagent dosage to the total mass of impurities, reflecting the compatibility between the reagent and impurities. For example, if the total mass of impurities = 0.4 + 0.3 = 0.7 kg and the reagent dosage is 0.8 kg, then r = 0.8 / 0.7 ≈ 1.14, indicating that the reagent has a reasonable surplus relative to the impurities, ensuring a complete reaction.
[0114] Furthermore, by analyzing the impurity removal efficiency corresponding to the reaction time, this invention can accurately identify the compatibility between the two, avoiding incomplete impurity removal due to insufficient reaction time or waste of reagents and energy due to excessive reaction time. This provides a basis for determining the optimal reaction cycle and ensures a balance between the impurity removal effect and cost control of geothermal wastewater.
[0115] The impurity removal efficiency refers to a quantitative indicator that measures the ability of a highly efficient impurity removal agent or process to remove target impurities (such as calcium and magnesium ions, colloidal silica, fluoride ions, etc.) from geothermal wastewater. It is typically calculated as "(total mass / concentration of target impurities in wastewater before treatment - total mass / concentration of target impurities in wastewater after treatment) / total mass / concentration of target impurities in wastewater before treatment × 100%". A higher value indicates a better impurity removal effect and is a core basis for evaluating process feasibility and optimizing reaction parameters. For example, if geothermal wastewater with an initial calcium and magnesium ion concentration of 180 mg / L undergoes a certain impurity removal process and the measured concentration is 9 mg / L, the impurity removal efficiency can be calculated as (180-9) / 180 × 100% = 95%. This efficiency can directly determine whether the process can meet the treatment requirement of calcium and magnesium ions ≤ 10 mg / L in wastewater. Optionally, the analysis of the impurity removal efficiency corresponding to the reaction time can be achieved through spectrophotometric detection methods, such as using HACH. The DR3900 portable spectrophotometer measures the difference in absorbance of characteristic pollutants before and after the reaction at a specific wavelength to calculate the removal rate, thereby obtaining the impurity removal efficiency.
[0116] Furthermore, based on the impurity removal efficiency, the present invention calculates the amount of reagent residue in the geothermal wastewater sample during the treatment process, which can accurately grasp the remaining status of the reagent after the reaction, avoid the blind spot in treatment caused by the inability to determine the amount of residue, provide clear data support for subsequent water quality control, and lay the foundation for optimizing subsequent solutions.
[0117] The residual amount of the reagent refers to the total mass of unreacted reagents contained in the geothermal wastewater after treatment, determined by combining the residual reagent concentration and the total volume of the treated wastewater. Alternatively, it can be directly characterized by the residual concentration. This is a key parameter for determining whether the wastewater meets discharge standards. For example, if the residual reagent concentration is 2 mg / L and the treated wastewater volume is 5000 L, then the residual reagent amount (total mass) = 2 mg / L ×
[0118] 5000L = 10000mg = 10g; it can also be expressed as a residual concentration of 2mg / L. Both are used to guide whether further treatment of residual agents is required.
[0119] As an embodiment of the present invention, the step of calculating the amount of reagent residue in the geothermal wastewater sample during the treatment process based on the impurity removal efficiency includes: determining the effective consumption amount corresponding to the high-efficiency impurity removal agent based on the impurity removal efficiency; analyzing the reagent consumption ratio corresponding to the high-efficiency impurity removal agent based on the effective consumption amount; querying the total unreacted amount in the reagent consumption ratio; detecting the reagent residue concentration in the geothermal wastewater sample based on the total unreacted amount; and calculating the amount of reagent residue in the geothermal wastewater sample during the treatment process based on the reagent residue concentration.
[0120] The effective consumption refers to the actual mass of the high-efficiency impurity remover participating in the target impurity removal reaction based on the impurity removal efficiency of the geothermal wastewater. It represents the portion of the total dosage that plays a role in impurity removal and needs to be calculated in conjunction with the impurity removal efficiency and the total amount of impurities. For example, if 100g of impurity remover is added to wastewater containing 80g of calcium and magnesium impurities, and the impurity removal efficiency is 90% (i.e., 72g of impurities are removed), then 1.25g of agent is required to remove 1g of impurities. Therefore, the effective consumption = 72g × 1.25g / g = 90g. This amount directly reflects the actual utilization of the agent. The agent consumption ratio refers to the ratio of the effective consumption of the high-efficiency impurity remover to the total dosage of the agent. The ratio is used to quantify the utilization efficiency of a reagent. A higher ratio indicates less reagent waste and stronger targeting of impurity removal. For example, if the total reagent dosage is 100g and the effective consumption is 90g, then the reagent consumption ratio = 90g ÷ 100g × 100% = 90%. If this ratio is lower than 80%, there may be problems with excessive reagent dosage or unfavorable reaction conditions, requiring adjustment of the dosage scheme. The unreacted total amount refers to the remaining reagent mass after subtracting the effective consumption from the total dosage of the high-efficiency impurity remover, which has not participated in the impurity removal reaction. It is the basis for subsequent calculations of residual concentration. For example, if the total reagent dosage is 100g and the effective consumption is 90g, then the unreacted total amount...
[0121] =100g - 90g = 10g. This portion of the reagent did not perform its impurity removal function. If it remains in the wastewater, it may increase the burden of subsequent treatment or cause secondary pollution. The reagent residue concentration refers to the reagent content per unit volume of geothermal wastewater converted from the total unreacted amount. It is a core indicator for assessing whether there is a risk of reagent residue in the wastewater. The unit is usually mg / L. For example, if the total unreacted amount is 10g (i.e., 10000mg), and the total volume of geothermal wastewater to be treated is 5m³, then... 3 (i.e., 5000L), then the residual concentration of the drug = 10000mg ÷
[0122] 5000L = 2mg / L. If this concentration exceeds the emission standard (e.g., ≤1mg / L), a reagent degradation process needs to be added.
[0123] Furthermore, determining the effective consumption of the highly efficient impurity remover can be achieved through titration analysis, such as using a METTLER TOLEDO G20 automatic potentiometric titrator to back-titrate the unreacted reagent with a standard solution to calculate the actual amount of substance participating in the reaction, thereby obtaining the effective consumption. Analyzing the reagent consumption ratio of the highly efficient impurity remover can be achieved through a mass balance calculation model, such as dividing the difference between the total added mass and the effective consumption by the total added mass to obtain a percentage value, thereby obtaining the reagent consumption ratio. Querying the total unreacted amount in the reagent consumption ratio can be achieved through a difference calculation method, such as subtracting the effective consumption from the total added reagent to obtain the residual mass that did not participate in the reaction, thereby obtaining the total unreacted amount. Detecting the reagent residue concentration in the geothermal wastewater sample can be achieved through high-performance liquid chromatography, such as using an Agilent 1260 Infinity II HPLC system equipped with a UV detector to quantitatively analyze the residual reagent molecules in the water sample, thereby obtaining the reagent residue concentration. Calculating the reagent residue amount in the geothermal wastewater sample during the treatment process can be achieved through the following formula.
[0124] In detail, as another embodiment of the present invention, the amount of residual reagent in the geothermal wastewater sample during the treatment process is calculated based on the residual reagent concentration using the following formula:
[0125]
[0126] Among them, M r V represents the residual amount of reagent in the geothermal wastewater sample during the treatment process (unit: mg), V represents the water sample volume of the geothermal wastewater sample (unit: L), M represents the number of concentration monitoring points during the treatment process, j represents the index of the number of concentration monitoring points, and C represents the concentration of the geothermal wastewater sample. r,j This represents the residual concentration of the drug measured at the j-th concentration monitoring point (unit: mg / L).
[0127] In detail, the residual amount of the reagent can be expressed as the total mass (unit: mg) of the highly effective impurity remover remaining after the geothermal wastewater sample is treated. The formula is calculated by multiplying the water sample volume by the root mean square of the concentration at each monitoring point. Integrating data from multiple monitoring points improves the reliability of the results. For example, when treating 100L (V=100) of geothermal wastewater, there are 3 monitoring points (M=3), and the concentration C at each point is... r,1 =0.1mg / L, C r,2 =0.05mg / L, C r,3 =0.03mg / L, substituting into the formula, we can calculate M. r This is used to determine whether further residue removal is necessary; the water sample volume can represent the total volume of geothermal wastewater from which the reagent residue is to be calculated (unit: L), and is the "volume base" for calculating the total residue. For example, in the above example, V = 100 L. The larger the volume, the greater the total residue at the same concentration, directly determining M. r The numerical scale; the concentration monitoring points can be represented by M, which is the total number of residual concentration monitoring points set in the treatment process, and j, which is the serial number of a single monitoring point (distinguishing different monitoring locations / time points). In the example above, M=3, j=1,2,3 correspond to the inlet, reaction intermediate, and outlet of the treatment process, respectively. By using multiple monitoring points, the randomness of the data is avoided, making the residual concentration more representative; the reagent residual concentration can be represented by the residual concentration of the impurity removal agent in the wastewater measured at the j-th monitoring point (unit: mg / L), which is the basic data for calculating the total residual amount. For example, when j=1, C r,1 =0.1 mg / L (imported residual concentration), when j=3, C r,3 =0.03 mg / L (outlet residual concentration), multiple C r,j The overall residual level is comprehensively reflected by summing and root mean square calculation using the formula.
[0128] Based on the impurity removal efficiency and the amount of residual reagent, this invention formulates a gradient impurity removal process corresponding to the geothermal wastewater sample. This allows each stage of operation to accurately match the wastewater impurity removal pattern and reagent reaction characteristics, ensuring targeted impurity removal and guaranteeing that the impurities and reagent residues in the geothermal wastewater meet the standards after multi-gradient treatment, thus laying a solid water quality foundation for subsequent reuse or discharge.
[0129] The gradient impurity removal process refers to dividing the geothermal wastewater impurity removal process into multiple progressive treatment stages based on the impurity removal efficiency target and reagent residue control requirements. Each stage sets differentiated reagent addition strategies, reaction conditions, and detection nodes to gradually improve the impurity removal effect and control reagent residue. For example, when treating high-calcium and magnesium ion wastewater, the first stage of dosing achieves an impurity removal efficiency of 40% and a residue of <5 mg / L. The second stage adjusts the reagent and enhances the reaction to increase the efficiency to 85% and the residue to <2 mg / L. The third stage is deep treatment, ultimately achieving an efficiency of over 98% and meeting the residue standard. Optionally, the gradient impurity removal process corresponding to the geothermal wastewater sample can be implemented through a multi-objective optimization algorithm, such as using the NSGA-II genetic algorithm to simultaneously optimize the treatment efficiency and reagent residue index to generate a multi-stage treatment parameter sequence, thereby obtaining the gradient impurity removal process.
[0130] Specifically, for a more intuitive understanding of the execution logic and data flow relationships of geothermal wastewater impurity removal treatment in this solution, please refer to [reference needed]. Figure 2 ,Should Figure 2 As the core process framework of the geothermal wastewater impurity removal system, it clearly presents the complete link from parameter input to process output: the input layer focuses on key parameters of geothermal wastewater treatment (reagent dosage, total impurity mass, etc.), which are the basis for subsequent calculations and analyses; the treatment layer transforms the original parameters into an executable impurity removal strategy through a step-by-step logic of "parameter initialization and analysis → impurity removal ratio determination → reaction time calculation → reagent residue analysis"; the output layer takes "gradient impurity removal process formulation" as the key outcome. It should be noted that the connection between the links in the flowchart is essentially an abstract refinement of the geothermal wastewater impurity removal logic. In actual scenarios, the complexity of parameter calculation (such as the dynamic coupling of multi-impurity reactivity coefficients and reagent reaction rates) and the diversity of link adaptation (different gradient process rules corresponding to different impurity removal efficiencies) are far greater than what is shown in the diagram. This architecture is only a concise display of the core logic.
[0131] The logic construction module 104 is used to configure the impurity removal equipment required to execute the gradient impurity removal process, analyze the processing priority of the multi-level filtration units in the impurity removal equipment, and construct the filtration sedimentation logic corresponding to the multi-level filtration units based on the processing priority.
[0132] This invention, by configuring the impurity removal equipment required to execute the gradient impurity removal process and analyzing the processing priority of the multi-stage filtration units in the impurity removal equipment, can provide precise hardware support for each stage of the impurity removal process (reagent addition, reaction control, residue monitoring, etc.), improve the collaborative impurity removal efficiency of the multi-stage filtration units, and lay a solid foundation for the subsequent stable and compliant discharge of geothermal wastewater.
[0133] The impurity removal equipment refers to a complete set of automated devices that integrate functions such as precise reagent dosing, reaction condition control, multi-stage impurity filtration, and real-time reagent residue monitoring to achieve a gradient impurity removal process for geothermal wastewater. It can perform impurity removal operations in stages according to preset parameters. For example, a geothermal wastewater impurity removal device includes an intelligent metering dosing pump, a constant-temperature reaction vessel (temperature control 30-40℃), a three-stage filtration module, and an online concentration detector, which can automatically perform gradient impurity removal on wastewater containing 180 mg / L of calcium and magnesium ions. The multi-stage filtration unit refers to a component in the impurity removal device consisting of multiple... A module composed of filter components with different filtration precision and interception mechanisms sequentially achieves deep impurity removal and ensures process stability by intercepting impurities of different particle sizes and shapes (such as large particles of silt, colloidal impurities, and ionic impurities) at each stage. For example, in a multi-stage filtration unit, the first stage is a grid filter component with a 60μm pore size (removing large particles of impurities, efficiency ≥80%), the second stage is a ceramic membrane component with a 20μm precision (retaining colloidal substances, efficiency ≥90%), and the third stage is a reverse osmosis membrane component (retaining ionic impurities, with an efficiency of ≥95% for calcium and magnesium ions). The process involves three levels of synergistic, layered purification. The treatment priority refers to the order in which each filter component in the multi-stage filtration unit processes impurities based on their particle size, chemical stability, and impact on subsequent processes. This ensures filtration efficiency and component lifespan. For example, for geothermal wastewater containing silt (particle size > 50 μm), colloidal silica (particle size 1-10 μm), and calcium and magnesium ions (ionic state), the treatment priority is: first, the coarse filtration component removes silt (to prevent clogging of the fine filtration component); then, the ultrafiltration component treats the colloidal silica; and finally, the nanofiltration component treats the calcium and magnesium ions, ensuring efficient operation of each stage. Optionally, the configuration of the impurity removal equipment required to execute the gradient impurity removal process can be achieved through an expert system configuration method, such as using the Siemens COMOS process design platform to automatically generate an equipment selection list based on the processing flow and capacity requirements, thereby obtaining the impurity removal equipment. The analysis of the treatment priority corresponding to the multi-stage filtration units in the impurity removal equipment can be achieved through a topological sorting algorithm, such as using the Kahn algorithm to determine the unit processing order based on the dependence of filtration accuracy and pollution load, thereby obtaining the treatment priority.
[0134] Furthermore, based on the processing priority, the present invention constructs the filtration and sedimentation logic corresponding to the multi-level filtration unit, which enables each filtration component to work together efficiently in sequence, ensuring that impurity interception proceeds smoothly from coarse to fine and from easy to difficult. It can optimize the sedimentation and filtration efficiency of impurities with different characteristics and avoid filtration efficiency loss caused by mutual interference of impurities.
[0135] The filtration and sedimentation logic refers to an operational rule system that integrates the unit processing sequence, filter media selection, comprehensive filtration flow rate, filtration frequency, and sedimentation index to guide the orderly operation of multi-stage filtration units, ensuring efficient impurity removal through the coordinated efforts of each stage. For example, a certain logic might be set to "start according to the 'grid → ultrafiltration → nanofiltration' sequence, with the grid unit operating at a 5m... 3 Operating at a flow rate of / h and a frequency of 1 time / hour (sedimentation index ≥90%), the ultrafiltration unit operates at a flow rate of 4.8m. 3 Operating at a flow rate of / h and a frequency of 1 time / 3 hours (sedimentation index ≥85%), the nanofiltration unit operates at a flow rate of 4.5m. 3 "Run at a flow rate of / h and a frequency of 1 time / 6 hours (sedimentation index ≥95%)" to ensure stable impurity removal throughout the entire process.
[0136] As an embodiment of the present invention, the step of constructing the filtration sedimentation logic corresponding to the multi-level filtration unit based on the processing priority includes: parsing the unit processing sequence corresponding to the processing priority; configuring the filtration selection medium corresponding to the multi-level filtration unit based on the unit processing sequence; determining the comprehensive filtration flow rate corresponding to the multi-level filtration unit based on the filtration selection medium; analyzing the filtration frequency and sedimentation index in the comprehensive filtration flow rate; and constructing the filtration sedimentation logic corresponding to the multi-level filtration unit based on the filtration frequency and the sedimentation index.
[0137] The unit processing sequence refers to the sequential operation of multi-stage filtration units determined according to processing priority. This sequence must match the characteristics of impurities (particle size, morphology, etc.) to prevent impurities not intercepted by previous units from clogging subsequent fine filtration units. It forms the basic framework for constructing the filtration and sedimentation logic. For example, for wastewater containing silt (particle size > 50μm), colloidal silica (1-10μm), and calcium and magnesium ions (ionic state), the unit processing sequence is set as "60μm grid filtration unit → 20μm ceramic membrane ultrafiltration unit → nanofiltration ion interception unit," removing large particles of silt first, then colloids, and finally ions to prevent premature clogging of the fine filtration units. The filter selection medium refers to the filter material selected according to the functional positioning of each filtration unit in the unit processing sequence, which is suitable for the specific impurity interception requirements. Its pore size, material, adsorption characteristics, etc. The properties directly determine the unit filtration efficiency. For example, corresponding to the above sequence, the 60μm grid filter unit uses quartz sand filter media (particle size 1-2mm, porosity 45%), suitable for intercepting >50μm silt; the 20μm ceramic membrane ultrafiltration unit uses Al2O3 ceramic membrane (pore size 20μm, temperature resistance 80℃), suitable for retaining 1-10μm colloidal silica; the nanofiltration unit uses polyamide composite membrane, suitable for retaining calcium and magnesium ions, ensuring precise impurity removal in each unit. The comprehensive filtration flow rate refers to the total processing flow rate of the multi-stage filtration units, which is determined based on the overall filtration flow rate, further considering the long-term durability of the selected filtration media (such as backwashing cycle) and the target impurity removal efficiency (such as silt removal rate ≥90%), and can be operated stably for a long time. It is the core parameter of system operation. For example, the overall filtration flow rate is 0.07m³ / h. 3 At this flow rate, the impurity removal rate of each unit is ≥92% (meets the standard), and the media backwashing cycle can be maintained for 8 hours (meets operation and maintenance requirements). Therefore, the comprehensive filtration flow rate is determined to be 0.07m³ / h. 3 / h, guiding actual wastewater treatment operations; the filtration frequency refers to the number of times each filtration unit completes one "filtration-backwashing" cycle per unit time under the comprehensive filtration flow rate. It needs to be determined in conjunction with the impurity adsorption saturation rate of the selected filtration medium to avoid media clogging leading to efficiency reduction. For example, the 60μm bar screen unit intercepts a lot of silt and sand, and the medium reaches saturation in 1 hour, so the filtration frequency is set to 1 time / hour; the 20μm ceramic membrane unit reaches saturation in 3 hours, so the frequency is 1 time / 3 hours; the nanofiltration unit reaches saturation in 6 hours, so the frequency is 1 time / 6 hours. By adapting the frequency, the continuous effectiveness of the medium is ensured; the sedimentation refers to The sedimentation index refers to the quantitative characterization of the sedimentation efficiency of impurities on the surface or inside the filter medium in each filter unit. It is the percentage of impurities intercepted by sedimentation per unit time relative to the total amount of impurities entering the unit. It is a core indicator for judging the filtration effect. For example, a 60μm bar screen unit treats wastewater containing 120mg / L of silt and produces an effluent silt content of 9.6mg / L, with a sedimentation index of (120-9.6) / 120×100%=92%. A 20μm ceramic membrane unit treats wastewater containing 80mg / L of colloidal silica and produces an effluent silt content of 9.6mg / L, with a sedimentation index of 88%. This directly reflects the sedimentation efficiency of each unit.
[0138] Furthermore, the unit processing sequence corresponding to the processing priority can be analyzed using a critical path calculation method, such as using PERT (Performance Evaluation and Review Technique) to analyze the time constraints and logical relationships of each filtration unit to generate the optimal sequence, thereby obtaining the unit processing sequence; the configuration of the filter selection medium corresponding to the multi-stage filtration unit can be implemented using a material matching algorithm, such as using a material database for adaptive matching based on the correspondence between impurity particle size distribution and medium retention accuracy, thereby obtaining the filter selection medium; the determination of the comprehensive filtration flow rate corresponding to the multi-stage filtration unit can be implemented using a Darcy's law calculation model, such as calculating the theoretical flux based on the medium permeability coefficient and pressure difference parameters using the porous media flow equation, from... The comprehensive filtration flow rate is obtained; the filtration frequency in the comprehensive filtration flow rate can be analyzed using the Fourier transform method, such as extracting the main frequency component from the flow time series using FFT as the basis for the flushing cycle, thereby obtaining the filtration frequency; the sedimentation index in the comprehensive filtration flow rate can be calculated using Stokes' law, such as calculating the critical settling velocity based on particle density and fluid viscosity parameters to evaluate sedimentation efficiency, thereby obtaining the sedimentation index; the filtration sedimentation logic corresponding to the multi-stage filtration unit can be constructed using finite state machine modeling, such as using the Mealy state machine model to define the state transition conditions and output actions for filtration, backwashing, and sedimentation, thereby obtaining the filtration sedimentation logic.
[0139] In detail, as another embodiment of the present invention, determining the comprehensive filtration flow rate corresponding to the multi-stage filtration unit based on the filter selection medium includes: determining the filter load value corresponding to the multi-stage filtration unit based on the filter selection medium; analyzing the initial flow rate corresponding to the multi-stage filtration unit based on the filter load value; configuring the real-time flow rate corresponding to the multi-stage filtration unit based on the initial flow rate; analyzing the overall filtration flow rate corresponding to the real-time flow rate; and determining the comprehensive filtration flow rate corresponding to the multi-stage filtration unit based on the overall filtration flow rate.
[0140] The filtration load value refers to the upper limit of the target impurity mass that a unit volume (or area) of the filter medium can stably intercept per unit time, determined based on the material, pore size, and adsorption capacity of the selected filter medium. It is a core indicator for measuring the medium's load-bearing capacity and preventing overload clogging. For example, if a quartz sand filter media with a pore size of 60μm and a porosity of 45% is selected, and experiments have shown that it can intercept ≥12000mg of silt and sand impurities per cubic meter per hour, then the filtration load value of the grid unit in this multi-stage filtration unit is 12000mg / (m³). 3 The initial flow rate (h) directly determines the setting boundary of the subsequent flow rate; the initial flow rate refers to the maximum wastewater volumetric flow rate that a single filtration unit in a multi-stage filtration unit can handle when the filtration load value has not reached the upper limit and the filtration medium is in a clean initial state. It is the benchmark for subsequent adjustment of the real-time rate. For example, the filtration load value of the bar screen unit is 12000 mg / (m³). 3 The concentration of sediment in the treated geothermal wastewater was 120 mg / L, and the medium volume was 1 m³. 3 The initial flow rate is then (12000 mg / (m³)). 3 ·h)×1m 3 ) ÷ 120mg / L = 100L / h = 0.1m 3 / h, meaning that in the initial state, this unit can process 0.1m³ per hour. 3 Wastewater; the real-time flow rate refers to the instantaneous wastewater volumetric flow rate after dynamic adjustment of the initial flow rate during the filtration process, based on the real-time clogging degree of the selected filtration medium (such as the inlet and outlet pressure difference), ensuring that the medium load does not exceed the upper limit and the filtration efficiency remains stable. For example, the initial flow rate of the bar screen unit is 0.1 m³ / s. 3 After running for one hour, due to the adsorption of some sediment by the medium, the pressure difference between the inlet and outlet increased from 0.1 MPa to 0.15 MPa (below the warning value of 0.2 MPa). The real-time flow rate was then reduced to 0.08 m³ / h via the control system. 3 / h, which avoids media overload and ensures continuous filtration; the overall filtration flow rate refers to the continuous wastewater treatment flow rate of the entire filtration system, formed by combining the real-time flow rate of each individual unit in the multi-stage filtration unit, and considering the flow matching between units (the effluent from the preceding unit must be compatible with the processing capacity of the following unit). For example, the real-time flow rate of the bar screen unit is 0.08m. 3 / h, the subsequent ceramic membrane ultrafiltration unit (filtering medium is 20μm Al2O3 membrane) real-time rate is 0.075m / h. 3 / h, real-time rate of nanofiltration unit is 0.07m 3 / h, to avoid backlog of upstream effluent, the overall filtration flow rate is set to the minimum value of 0.07m³ / h. 3 / h ensures coordinated traffic flow across all units.
[0141] Furthermore, determining the filtration load value corresponding to the multi-stage filtration unit can be achieved through differential pressure monitoring, such as using an Endress+Hauser Deltabar S pressure transmitter to measure the pressure difference between the filter inlet and outlet and convert it to the degree of fouling, thereby obtaining the filtration load value; analyzing the initial flow rate corresponding to the multi-stage filtration unit can be achieved through a clean water test, such as using a Rosemount 8712E flow meter to collect the maximum flow capacity under clean conditions under standard operating conditions, thereby obtaining the initial flow rate; configuring the real-time flow rate corresponding to the multi-stage filtration unit can be achieved through a PID control algorithm, such as using a Siemens PID Compact module to dynamically adjust the pump frequency according to the load value to maintain the set flow rate, thereby obtaining the real-time flow rate; analyzing the overall filtration flow rate corresponding to the real-time flow rate can be achieved through an accumulation calculation model, such as arithmetically summing the real-time flow rates of all filtration units operating in parallel to obtain the total system throughput, thereby obtaining the overall filtration flow rate; determining the comprehensive filtration flow rate corresponding to the multi-stage filtration unit can be achieved through a weighted average algorithm, such as evaluating the overall system efficiency based on the weighted average of the ratio of the flow rate of each unit to its maximum capacity, thereby obtaining the comprehensive filtration flow rate.
[0142] The scheme generation module 105 is used to determine the sedimentation state of impurities in the geothermal wastewater sample based on the filtration sedimentation logic, construct a rapid sedimentation path of the geothermal wastewater sample in the impurity removal process based on the sedimentation state of the impurities, identify the purification index in the rapid sedimentation path, and generate a purification treatment scheme corresponding to the geothermal wastewater sample based on the purification index.
[0143] Based on the aforementioned filtration and sedimentation logic, this invention determines the sedimentation state of impurities in the geothermal wastewater sample, accurately grasps the sedimentation degree and distribution of impurities at different stages, avoids incomplete filtration or over-treatment due to unknown sedimentation status, ensures the controllability of the impurity removal process from the source, and ensures efficient and compliant geothermal wastewater treatment throughout the entire process.
[0144] The impurity precipitation state refers to the overall precipitation status of impurities in the geothermal wastewater sample, determined based on precipitation distribution information and preset standards of the filtration precipitation logic (such as precipitation coverage and suspended particle ratio). It is divided into three categories: sufficient precipitation, insufficient precipitation, and excessive precipitation. For example, based on the above distribution information (80% bottom precipitation coverage, low suspended particle ratio, and particle size mainly 0.1-0.5mm), and in accordance with the preset standards ("bottom precipitation coverage ≥70%, suspended particle ratio <15% is sufficient precipitation"), the impurity precipitation state in the geothermal wastewater sample at this time period is determined to be "sufficient precipitation", indicating that the current filtration parameters are suitable for impurity treatment requirements.
[0145] As an embodiment of the present invention, determining the impurity precipitation state in the geothermal wastewater sample based on the filtration precipitation logic includes: generating a precipitation monitoring command output by the filtration precipitation logic; activating a preset operating mode corresponding to the precipitation monitoring device based on the precipitation monitoring command; acquiring an impurity precipitation image in the geothermal wastewater sample using the precipitation monitoring device in the operating mode; analyzing the precipitation distribution information in the impurity precipitation image; and determining the impurity precipitation state in the geothermal wastewater sample based on the precipitation distribution information.
[0146] The sedimentation monitoring command refers to the command generated by the filtration sedimentation logic based on preset parameters such as filtration flow rate and sedimentation index, used to trigger the sedimentation monitoring device to start the monitoring task. It includes key information such as monitoring time, monitoring area, and data acquisition frequency to ensure accurate monitoring matching the filtration process. For example, a certain filtration sedimentation logic is set to "when the overall filtration flow rate stabilizes at 0.07m³ / min". 3When the sedimentation index is ≥85%, a sedimentation monitoring instruction is generated: "Collect impurity sedimentation data every 15 minutes at the outlet of the second-stage ceramic membrane in the multi-stage filtration unit, with a collection duration of 2 hours," providing clear operational guidelines for the monitoring device. The pre-installed sedimentation monitoring device refers to a dedicated device pre-deployed at key nodes of the multi-stage filtration unit (such as the inlet and outlet of each filtration unit, and the sedimentation zone) to collect impurity sedimentation data. It typically integrates image acquisition and particle size analysis functions to meet the monitoring requirements of the filtration sedimentation logic. For example, a high-definition industrial camera (1920×1080 pixels resolution, 25fps frame rate) is installed at the outlet of the grid filter unit and in the middle of the ceramic membrane ultrafiltration unit. Equipped with a laser particle size sensor (measurement range 0.01-100μm), a preset precipitation monitoring device is formed, which can simultaneously acquire impurity images and particle size data to support subsequent analysis. The operating mode refers to the specific working state formed by the preset precipitation monitoring device adjusting its own working parameters (such as acquisition frequency, resolution, and detection range) according to the precipitation monitoring command. It is divided into real-time capture, timed scanning, and continuous monitoring types to adapt to different monitoring scenarios. For example, after receiving the command "collect once every 15 minutes for 2 hours", the monitoring device switches to the "timed scanning operation mode": every 15 minutes, the high-definition camera is automatically activated to capture 3 images of impurity precipitation (resolution reduced to 1280×720). (Pixel count to save storage), synchronously triggers the laser sensor to detect particle size distribution once, and enters a low-power standby state during non-collection periods; the impurity precipitation image refers to the visual image of the precipitation monitoring device in operation mode, which reflects the morphology and location of impurity precipitation in the geothermal wastewater sample and is captured in a designated monitoring area. It includes information such as impurity particle size, aggregation state, and distribution in the water. For example, the monitoring device in the middle of the ceramic membrane ultrafiltration unit captured an image during a certain collection: a large number of white flocculent impurities (suspected colloidal silica precipitate) can be seen gathered on the membrane surface, and a small number of fine particles (particle size < 5 μm) are suspended in the upper layer of the water. The image is marked with the shooting time (14:30) and the monitoring area (membrane surface). The image (within a 20cm x 15cm area) provides a direct visual basis for analyzing sedimentation. The sedimentation distribution information refers to key data extracted from the impurity sedimentation image through image recognition algorithms (such as edge detection and particle counting). This data includes the proportion of sediment particle size distribution, spatial location, and aggregation density, quantitatively reflecting the sedimentation state. For example, analyzing the image taken at 14:30 reveals the following sedimentation distribution information: 60% of the sediment particles are 0.1-0.5mm in diameter, 30% are 0.5-1mm, and 10% are >1mm. Spatially, 80% of the bottom area of the membrane surface is covered with sediment, while the upper 20% area contains only a small number of suspended particles, with a density of approximately 20 particles / cm³. 2 This provides quantitative support for determining the precipitation state.
[0147] Furthermore, the sedimentation monitoring instruction that generates the output of the filtration sedimentation logic can be implemented using a programmable logic controller (PLC) method, such as using a Siemens S7-1200 PLC to automatically generate a sedimentation tank monitoring start signal based on the filtration differential pressure threshold, thereby obtaining the sedimentation monitoring instruction; the operation mode corresponding to the preset sedimentation monitoring device can be implemented using a state machine control method, such as using a finite state machine model to define the switching logic of the monitoring device in MATLAB Stateflow for three modes: low power consumption, active detection, and data upload, thereby obtaining the operation mode; the acquisition of images of impurity sedimentation in the geothermal wastewater sample can be implemented using a machine vision acquisition method, such as using a Basler... An ACE series industrial camera, in conjunction with a vertical lighting system, captures images of the sediment distribution at the bottom of a sedimentation tank, thus obtaining images of impurity sedimentation. The analysis of sediment distribution information in these images can be achieved using image segmentation algorithms, such as the Watershed algorithm from the OpenCV library, which performs region segmentation and area calculation to obtain sediment distribution information. The determination of the impurity sedimentation state in the geothermal wastewater sample can be achieved using pattern recognition classification methods, such as using a Support Vector Machine (SVM) algorithm to classify the sedimentation state into three types: uniform, stratified, and flocculated, based on distribution information features, thereby obtaining the impurity sedimentation state.
[0148] Based on the impurity precipitation state, this invention constructs a rapid sedimentation path for the geothermal wastewater sample during the impurity removal process and identifies the purification indicators in the rapid sedimentation path. It can accurately adapt to the current sedimentation characteristics to optimize sedimentation conditions, specifically solve the problems of insufficient or excessive sedimentation, significantly improve impurity sedimentation efficiency, shorten the overall impurity removal cycle, and promote a more efficient, controllable, and compliant geothermal wastewater treatment process.
[0149] The rapid sedimentation path refers to a sequence of steps based on the sedimentation state of geothermal wastewater (e.g., insufficient sedimentation, high suspended particle ratio). This sequence is optimized by adjusting factors such as coagulant dosage, reaction temperature, stirring parameters, and settling time to shorten the sedimentation cycle and improve sedimentation efficiency. It is a highly efficient treatment solution adapted to the current sedimentation characteristics. For example, for wastewater with "insufficient colloidal silica sedimentation (suspended particle ratio 25%)", the rapid sedimentation path is set as follows: first, add 0.3 g / L polyaluminum chloride coagulant → stir at 150 r / min for 10 minutes → heat to 35℃ and maintain for 5 minutes → settling for 20 minutes. This path reduces the suspended particle ratio to below 5%, shortening the settling time by 15 minutes compared to the conventional 40-minute settling path, and improving sedimentation efficiency by 12%. The purification index refers to key parameters used in the rapid sedimentation path to quantify the impurity sedimentation effect and determine whether the wastewater meets the standards for subsequent treatment stages. These parameters include impurity concentration, sedimentation rate, and discharge parameters. Measurable quantitative standards such as turbidity must meet the discharge or subsequent process requirements of geothermal wastewater treatment. For example, for the rapid sedimentation path of calcium and magnesium ion removal, the purification indicators are set as follows: calcium and magnesium ion concentration in the wastewater after sedimentation ≤ 5 mg / L, impurity sedimentation rate ≥ 98%, and effluent turbidity ≤ 1 NTU. If the calcium and magnesium ion concentration after sedimentation is monitored to be 4.2 mg / L, sedimentation rate 98.5%, and turbidity 0.8 NTU, the purification indicators are met, and the wastewater can directly enter the multi-stage filtration unit to ensure efficient connection of subsequent treatment. Optionally, the rapid sedimentation path of the geothermal wastewater sample during the impurity removal process can be constructed using computational fluid dynamics simulation methods, such as using COMSOL Multiphysics software to simulate the flow field and particle motion trajectory after adding flocculant to optimize the sedimentation tank structure, thereby obtaining the rapid sedimentation path. The purification indicators in the rapid sedimentation path can be identified using multi-sensor data fusion methods, such as using a HACH SL1000 portable analyzer to simultaneously measure the turbidity, COD, and suspended solids concentration at the path outlet to form an indicator set, thereby obtaining the purification indicators.
[0150] Furthermore, based on the purification indicators, the present invention generates a purification treatment plan corresponding to the geothermal wastewater sample, which can accurately target the compliance requirements, avoid insufficient or excessive treatment due to the lack of clear standards, ensure that the treated wastewater meets the discharge or subsequent process requirements from the source, ensure the compliance and pertinence of the plan, and promote the efficient implementation of the purification process.
[0151] The purification treatment scheme refers to a complete technical solution that can be directly implemented, based on preset purification indicators (such as impurity concentration, sedimentation rate, turbidity, etc.), integrating the specific operating parameters, equipment selection, process steps, and effect verification standards of the entire process of geothermal wastewater impurity removal (pretreatment, sedimentation, filtration, and residual monitoring). This ensures that the treated wastewater meets the standards. For example, for purification indicators of "calcium and magnesium ions ≤ 5 mg / L, turbidity ≤ 1 NTU", the scheme is set as follows: ① Pretreatment: Add 0.25 g / L sodium carbonate (adjust pH to 8.5); ② Sedimentation: Stir at 120 r / min for 8 minutes + let stand at 32℃ for 18 minutes; ③ Filtration: Pass through a 10 μm ultrafiltration membrane (flux 0.06 m). 3 / h)+nanofiltration membrane (retention rate ≥99%); ④ Monitoring: Calcium and magnesium concentrations and turbidity are measured every 30 minutes. Discharge is carried out after the standards are met. The entire process is adapted to the index requirements. Optionally, the purification treatment scheme corresponding to the geothermal wastewater sample can be generated by knowledge graph reasoning methods, such as: constructing a water quality-reagent-equipment association rule network based on the Neo4j graph database to automatically generate the optimal combination of treatment parameters, thereby obtaining the purification treatment scheme.
[0152] In detail, the purification treatment scheme generates a precise control over the entire geothermal wastewater treatment process. By clearly defining the correspondence between operational parameters (such as reagent dosage, reaction temperature, and filtration flow rate) and purification indicators at each stage, it ensures that the treated wastewater consistently meets preset standards (such as calcium and magnesium ion concentration ≤ 5 mg / L and turbidity ≤ 1 NTU), guaranteeing discharge compliance from a technical perspective. Simultaneously, the scheme can reduce excessive reagent dosage through parameter optimization (such as reducing coagulant dosage by 15%) and shorten ineffective reaction time (such as reducing the settling cycle to 60% of conventional processes), significantly reducing treatment costs and energy consumption and improving economic efficiency. Furthermore, the scheme's built-in effect verification mechanism (such as monitoring key indicators every 30 minutes) can identify treatment deviations in real time and dynamically adjust parameters (such as fine-tuning the filtration membrane flux to 0.05 m³ / L based on a turbidity exceedance of 0.3 NTU). 3 / h) Ensures process stability. More importantly, the standardized operating system formed by the solution facilitates large-scale promotion, and the accumulated processing data can provide a basis for subsequent process iterations, promoting the continuous optimization of geothermal wastewater purification technology.
[0153] Compared to the problems described in the background art, this invention, by acquiring real-time water quality data corresponding to geothermal wastewater samples and identifying the composition of impurities in the real-time water quality data, breaks through the limitations of existing fixed treatment modes, endowing the treatment process with dynamic perception capabilities of real-time water quality changes. It also improves the targeting and adaptability of geothermal wastewater treatment, helping to ensure the efficiency of subsequent purification processes. Furthermore, based on the intensity of the impurity removal operation, this invention configures the high-efficiency impurity removal agent required for the geothermal wastewater sample, ensuring that the composition and dosage of the impurity removal agent precisely match the actual wastewater treatment needs. This fundamentally avoids the problems of excessive or insufficient reagents in traditional fixed dosing modes, ensuring the accuracy of the impurity removal process, reducing the risk of secondary pollution, and further improving the environmental safety of geothermal wastewater treatment. Finally, based on the actual addition parameters, this invention calculates the reaction time corresponding to the high-efficiency impurity removal agent, allowing the reaction time to accurately adapt to the reagent dosage and wastewater impurity characteristics, avoiding the need for fixed dosing. This invention addresses the issues of insufficient or excessive reaction under varying time intervals, fundamentally ensuring effective reaction between reagents and impurities. This maximizes impurity removal efficiency, reduces impurity residue, and clears obstacles for subsequent treatment stages. Furthermore, by configuring the impurity removal equipment required for the gradient impurity removal process and analyzing the processing priorities of the multi-stage filtration units within this equipment, it provides precise hardware support for each stage of the impurity removal process (reagent addition, reaction control, residue monitoring, etc.). This improves the synergistic impurity removal efficiency of the multi-stage filtration units and lays a solid foundation for stable and compliant discharge of geothermal wastewater. Finally, based on the filtration and sedimentation logic, this invention determines the sedimentation state of impurities in the geothermal wastewater sample, accurately grasping the sedimentation degree and distribution of impurities at different stages. This avoids incomplete filtration or overtreatment due to unknown sedimentation conditions, ensuring the controllability of the impurity removal process from the source and guaranteeing efficient and compliant geothermal wastewater treatment throughout. Therefore, the purification treatment device and method for geothermal wastewater proposed in this invention can improve the adaptability and environmental safety of geothermal wastewater treatment.
[0154] like Figure 3 The diagram shown is a schematic flow chart of a method for purifying geothermal wastewater according to an embodiment of the present invention. In this embodiment, the method for purifying geothermal wastewater includes:
[0155] Real-time water quality data corresponding to geothermal wastewater samples are obtained, and the impurity composition components in the real-time water quality data are identified. Based on the impurity composition components, the scaling tendency level corresponding to the geothermal wastewater sample is analyzed. According to the scaling tendency level, the intensity of the impurity removal operation that needs to be prioritized for the geothermal wastewater sample is determined.
[0156] Based on the intensity of the impurity removal operation, a high-efficiency impurity removal agent required for the geothermal wastewater sample is configured, and the reagent addition curve corresponding to the high-efficiency impurity removal agent is fitted. Based on the reagent addition curve, the actual addition data required for the geothermal wastewater sample is determined.
[0157] Based on the actual addition parameters, the reaction time corresponding to the high-efficiency impurity removal agent is calculated, and the impurity removal efficiency corresponding to the reaction time is analyzed. Based on the impurity removal efficiency, the amount of reagent residue in the geothermal wastewater sample during the treatment process is calculated. Based on the impurity removal efficiency and the amount of reagent residue, a gradient impurity removal process corresponding to the geothermal wastewater sample is formulated.
[0158] Configure the impurity removal equipment required to execute the gradient impurity removal process, analyze the processing priority of the multi-level filtration units in the impurity removal equipment, and construct the filtration sedimentation logic corresponding to the multi-level filtration units based on the processing priority.
[0159] Based on the filtration and sedimentation logic, the sedimentation state of impurities in the geothermal wastewater sample is determined. Based on the sedimentation state of impurities, a rapid sedimentation path for the geothermal wastewater sample during the impurity removal process is constructed. Purification indicators in the rapid sedimentation path are identified. Based on the purification indicators, a purification treatment plan corresponding to the geothermal wastewater sample is generated.
[0160] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0161] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. In the above multiple embodiments, each embodiment can be combined with each other or independent. Deleting any one of them will not affect the technical implementation of other embodiments. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A purification and treatment device for geothermal wastewater, characterized in that, The device includes: a purification operation module, a reagent dosing module, a process planning module, a logic construction module, and a scheme generation module; The impurity removal module is used to acquire real-time water quality data corresponding to the geothermal wastewater sample, identify the impurity composition in the real-time water quality data, analyze the scaling tendency level of the geothermal wastewater sample based on the impurity composition, and determine the intensity of the impurity removal operation that needs to be prioritized for the geothermal wastewater sample according to the scaling tendency level. The reagent dosing module is used to configure the high-efficiency impurity remover required for the geothermal wastewater sample based on the impurity removal operation intensity, fit the reagent dosing curve corresponding to the high-efficiency impurity remover, and determine the actual dosing data required for the geothermal wastewater sample based on the reagent dosing curve. The process planning module is used to calculate the reaction time corresponding to the high-efficiency impurity removal agent based on the actual addition parameters, analyze the impurity removal efficiency corresponding to the reaction time, calculate the amount of reagent residue in the geothermal wastewater sample during the treatment process based on the impurity removal efficiency, and formulate a gradient impurity removal process corresponding to the geothermal wastewater sample based on the impurity removal efficiency and the amount of reagent residue. The logic construction module is used to configure the impurity removal equipment required to execute the gradient impurity removal process, analyze the processing priority of the multi-level filtration units in the impurity removal equipment, and construct the filtration sedimentation logic corresponding to the multi-level filtration units based on the processing priority. The scheme generation module is used to determine the sedimentation state of impurities in the geothermal wastewater sample based on the filtration sedimentation logic, construct a rapid sedimentation path of the geothermal wastewater sample during the impurity removal process based on the sedimentation state of the impurities, identify the purification index in the rapid sedimentation path, and generate a purification treatment scheme corresponding to the geothermal wastewater sample based on the purification index.
2. The purification and treatment device for geothermal wastewater as described in claim 1, characterized in that, The step of determining the intensity of the impurity removal operation that should be prioritized for treatment of the geothermal wastewater sample based on the scaling tendency level includes: Analysis of the main impurity categories corresponding to the aforementioned scaling tendency levels; Based on the main impurity categories, the order of impurity removal for the geothermal wastewater samples is determined. Analyze the processing intensity values corresponding to the order of impurity removal; Set the impurity removal intensity level corresponding to the processing intensity value; Based on the impurity removal intensity level, the impurity removal operation intensity that should be prioritized for the geothermal wastewater sample is determined.
3. The purification and treatment device for geothermal wastewater as described in claim 2, characterized in that, The step of determining the order of impurity removal for the geothermal wastewater sample based on the main impurity categories includes: Identify specific impurity substances within the major impurity categories; Assess the degree of scaling impact corresponding to the specific impurity substances; Based on the degree of scale buildup, the treatment order of the impurities in the geothermal wastewater sample is arranged. Based on the processing order and the real-time water quality data in the geothermal wastewater sample, the order of impurity removal for the geothermal wastewater sample is determined.
4. The purification and treatment device for geothermal wastewater as described in claim 1, characterized in that, The step of constructing the filtration and sedimentation logic corresponding to the multi-level filtration unit based on the processing priority includes: Analyze the unit processing sequence corresponding to the processing priority; Based on the unit processing sequence, configure the filter selection medium corresponding to the multi-level filter unit; Based on the selected filtration medium, the comprehensive filtration flow rate corresponding to the multi-stage filtration unit is determined. Analyze the filtration frequency and sedimentation index in the overall filtration flow rate; Based on the filtration frequency and the sedimentation index, the filtration sedimentation logic corresponding to the multi-stage filtration unit is constructed.
5. The purification and treatment device for geothermal wastewater as described in claim 4, characterized in that, The step of determining the overall filtration flow rate corresponding to the multi-stage filtration unit based on the selected filtration medium includes: Based on the selected filtration medium, the filtration load value corresponding to the multi-stage filtration unit is determined. Based on the filter load value, analyze the initial flow rate corresponding to the multi-stage filtration unit; Based on the initial flow rate, configure the real-time flow rate corresponding to the multi-stage filtration unit; Analyze the overall filtration flow rate corresponding to the real-time flow rate; Based on the overall filtration flow rate, the comprehensive filtration flow rate corresponding to the multi-stage filtration unit is determined.
6. The purification device and method for geothermal wastewater as described in claim 1, characterized in that, The calculation of the reaction time corresponding to the high-efficiency impurity remover based on the actual addition parameters includes: Analyze the dosage of the drug in the actual dosing parameters; Based on the dosage of the reagent, query the total mass of impurities in the geothermal wastewater sample; Determine the impurity removal ratio between the dosage of the drug and the total mass of the impurities; Based on the stated impurity removal ratio, the reaction rate of the highly efficient impurity removal agent in geothermal wastewater was analyzed. Based on the reaction rate of the reagent, the reaction time corresponding to the highly efficient impurity remover is calculated using the following formula: Wherein, FT represents the reaction time corresponding to the highly efficient impurity removal agent, n represents the number of impurity types in the geothermal wastewater, i represents the index of the number of impurity types, and λ i Let mz represent the reactivity coefficient of the i-th impurity. i The mass of the impurity corresponding to the i-th impurity type is represented by m, k represents the reaction rate of the reagent, and m represents the mass of the impurity corresponding to the i-th impurity type. d The value indicates the dosage of the drug, and r indicates the purification ratio.
7. The purification and treatment device for geothermal wastewater as described in claim 1, characterized in that, The calculation of the residual amount of reagents in the geothermal wastewater sample during the treatment process, based on the impurity removal efficiency, includes: Based on the impurity removal efficiency, determine the effective consumption amount of the high-efficiency impurity removal agent; Based on the effective consumption, analyze the reagent consumption ratio corresponding to the high-efficiency impurity remover; Query the total unreacted amount in the stated drug consumption ratio; Based on the total amount of unreacted reagents, the residual concentration of the reagents in the geothermal wastewater sample was determined. Based on the aforementioned reagent residue concentration, the amount of reagent residue in the geothermal wastewater sample during the treatment process is calculated using the following formula: Among them, M r The value of C represents the amount of reagent residue in the geothermal wastewater sample during the treatment process, V represents the volume of the geothermal wastewater sample, M represents the number of concentration monitoring points during the treatment process, j represents the index of the number of concentration monitoring points, and C represents the concentration of the geothermal wastewater sample. r,j This represents the residual concentration of the drug measured at the j-th concentration monitoring point.
8. The purification and treatment device for geothermal wastewater as described in claim 1, characterized in that, The step of determining the actual dosage data required for the geothermal wastewater sample based on the reagent dosage curve includes: Read the key dosing points in the drug dosing curve; Collect wastewater flow data from the geothermal wastewater samples; Based on the key dosing points and the wastewater flow data, the instantaneous dosing amount corresponding to the geothermal wastewater sample is analyzed; The specific dosage and dosage time point corresponding to the instantaneous dosage are analyzed; Based on the specific dosage and the dosage time, the actual dosage data required for the geothermal wastewater sample is determined.
9. The purification and treatment device for geothermal wastewater as described in claim 1, characterized in that, The step of determining the sedimentation state of impurities in the geothermal wastewater sample based on the filtration and sedimentation logic includes: Generate the sedimentation monitoring command output by the filtering sedimentation logic; Based on the precipitation monitoring command, the preset operating mode corresponding to the precipitation monitoring device is activated; Using a sedimentation monitoring device in motion mode, images of impurity sedimentation in the geothermal wastewater sample were acquired; Analyze the precipitation distribution information in the impurity precipitation image; Based on the sedimentation distribution information, the sedimentation state of impurities in the geothermal wastewater sample is determined.
10. A method for purifying geothermal wastewater, characterized in that, The method includes: Real-time water quality data corresponding to geothermal wastewater samples are obtained, and the impurity composition components in the real-time water quality data are identified. Based on the impurity composition components, the scaling tendency level corresponding to the geothermal wastewater sample is analyzed. According to the scaling tendency level, the intensity of the impurity removal operation that needs to be prioritized for the geothermal wastewater sample is determined. Based on the intensity of the impurity removal operation, a high-efficiency impurity removal agent required for the geothermal wastewater sample is configured, and the reagent addition curve corresponding to the high-efficiency impurity removal agent is fitted. Based on the reagent addition curve, the actual addition data required for the geothermal wastewater sample is determined. Based on the actual addition parameters, the reaction time corresponding to the high-efficiency impurity removal agent is calculated, and the impurity removal efficiency corresponding to the reaction time is analyzed. Based on the impurity removal efficiency, the amount of reagent residue in the geothermal wastewater sample during the treatment process is calculated. Based on the impurity removal efficiency and the amount of reagent residue, a gradient impurity removal process corresponding to the geothermal wastewater sample is formulated. Configure the impurity removal equipment required to execute the gradient impurity removal process, analyze the processing priority of the multi-level filtration units in the impurity removal equipment, and construct the filtration sedimentation logic corresponding to the multi-level filtration units based on the processing priority. Based on the filtration and sedimentation logic, the sedimentation state of impurities in the geothermal wastewater sample is determined. Based on the sedimentation state of impurities, a rapid sedimentation path for the geothermal wastewater sample during the impurity removal process is constructed. Purification indicators in the rapid sedimentation path are identified. Based on the purification indicators, a purification treatment plan corresponding to the geothermal wastewater sample is generated.