CN112149849B - Method for predicting disinfection byproducts of drinking water based on multiple linear regression method - Google Patents

Method for predicting disinfection byproducts of drinking water based on multiple linear regression method Download PDF

Info

Publication number
CN112149849B
CN112149849B CN202010702787.1A CN202010702787A CN112149849B CN 112149849 B CN112149849 B CN 112149849B CN 202010702787 A CN202010702787 A CN 202010702787A CN 112149849 B CN112149849 B CN 112149849B
Authority
CN
China
Prior art keywords
water
linear regression
regression equation
drinking water
multiple linear
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010702787.1A
Other languages
Chinese (zh)
Other versions
CN112149849A (en
Inventor
林英姿
刘根
王高琪
张代华
杨昊
刘莞青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jilin Jianzhu University
Original Assignee
Jilin Jianzhu University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jilin Jianzhu University filed Critical Jilin Jianzhu University
Priority to CN202010702787.1A priority Critical patent/CN112149849B/en
Publication of CN112149849A publication Critical patent/CN112149849A/en
Application granted granted Critical
Publication of CN112149849B publication Critical patent/CN112149849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for predicting disinfection byproducts of drinking water based on a multiple linear regression method. The method comprises the following steps: acquiring water age prediction data of drinking water to be predicted and water quality data of the drinking water to be predicted; and inputting the water age prediction data and the water quality data into a linear regression equation for predicting the disinfection byproducts of the drinking water to obtain the predicted values of the disinfection byproducts of the drinking water. The method can be used for efficiently and economically predicting disinfection byproducts in the water supply pipeline network.

Description

Method for predicting disinfection byproducts of drinking water based on multiple linear regression method
Technical Field
The invention relates to the technical field of water quality detection, in particular to a method for predicting disinfection byproducts of drinking water based on a multiple linear regression method.
Background
Urban water supply networks are important infrastructures for guaranteeing living standards of people, and drinking water safety problems are receiving more and more attention. However, most urban water supply network facilities are old, the information is imperfect, and the management mode is lagged, so that the drinking water reaching the standard is treated by secondary pollution, a proper amount of residual chlorine is required to be kept in the drinking water, the chlorine disinfectant is added in a water plant and simultaneously reacts with organic matters in the water to generate disinfection byproducts (DBP S).DBPS mainly comprises Trihalomethane (THMs), haloacetic acid (HAAs), haloacetonitrile (HANs) and the like), the disinfection byproducts can cause great threat to human health, the content of DBP S is very low and cannot reach the detection limit of the existing instrument, thus the pretreatment such as concentration or extraction of the water sample is required, and the instruments such as Gas Chromatography (GC), gas chromatography/mass spectrometry (GC/MS) and the like are required to be used, so that the detection cost is high, a great amount of time and expense are consumed when the disinfection byproducts are measured, and a method for efficiently and economically detecting the disinfection byproducts in the water supply network is sought, so that the method has important practical significance for guaranteeing the safety of the drinking water.
Disclosure of Invention
The invention aims to provide a method for predicting disinfection byproducts of drinking water based on a multiple linear regression method, which can efficiently and economically predict disinfection byproducts in a water supply pipeline network.
In order to achieve the above object, the present invention provides the following solutions:
A method for predicting disinfection byproducts of drinking water, comprising:
Acquiring water age prediction data of drinking water to be predicted and water quality data of the drinking water to be predicted;
Inputting the water age prediction data and the water quality data of the drinking water to be predicted into a linear regression equation for predicting the drinking water disinfection byproducts to obtain the drinking water disinfection byproducts prediction value.
Optionally, the specific generation method of the water age prediction data includes:
Acquiring parameters of a water supply pipe network; the water supply pipe network parameters comprise pipe section length, pipe diameter size, pipe section flow speed boundary conditions, flow of nodes between pipe sections and water head boundary conditions;
Establishing a water supply pipe network hydraulic model according to the water supply pipe network parameters;
and calculating the water age of the drinking water to be predicted according to the water supply network hydraulic model to obtain water age prediction data.
Optionally, the linear regression equation for predicting the disinfection byproducts of the drinking water is specifically established as follows:
Acquiring historical water age data, historical water quality data and historical drinking water disinfection by-product data;
establishing a multiple linear regression equation by taking the historical water age data and the historical water quality data as independent variables and the historical drinking water disinfection byproduct data as dependent variables;
based on the multiple linear regression equation, a stepwise linear regression method is adopted to obtain a linear regression equation for predicting the disinfection byproducts of the drinking water.
Compared with the prior art, the invention has the beneficial effects that:
The invention provides a method for predicting disinfection byproducts of drinking water based on a multiple linear regression method, which inputs water age prediction data and water quality data of drinking water to be predicted into a linear regression equation for predicting the disinfection byproducts of the drinking water to obtain a predicted value of the disinfection byproducts of the drinking water, and can replace the detection of the disinfection byproducts by the detection of conventional water quality indexes, thereby achieving the purposes of timely finding the disinfection byproducts and reducing the detection cost.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for predicting disinfection byproducts of drinking water based on a multiple linear regression method in an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention aims to provide a method for predicting disinfection byproducts of drinking water based on a multiple linear regression method, which can efficiently and economically predict disinfection byproducts in a water supply pipeline network.
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Examples
FIG. 1 is a flowchart of a method for predicting disinfection byproducts of drinking water based on a multiple linear regression method according to an embodiment of the present invention, as shown in FIG. 1, the method includes:
Step 101: and acquiring water age prediction data (T i) of the drinking water to be predicted and water quality data of the drinking water to be predicted. The water quality data includes residual chlorine (Cl 2), turbidity (NTU), pH value (PH), ammonia nitrogen (NH 3 -N), nitrate nitrogen (NO 3 - -N), nitrite nitrogen (NO 2 - -N), total Organic Carbon (TOC), ultraviolet absorbance (UV 254), fluoride ion (F -) and total iron (Fe).
The specific generation method of the water age prediction data comprises the following steps: acquiring parameters of a water supply pipe network; the water supply pipe network parameters comprise pipe length, pipe diameter size, pipe flow speed boundary conditions, flow of nodes between pipe sections and water head boundary conditions; establishing a water supply network hydraulic model by adopting info works ws according to the parameters of the water supply network; and predicting the water age of the drinking water to be predicted according to the water supply network hydraulic model to obtain water age prediction data.
In particular, the method comprises the steps of,
The method comprises the steps of changing the routing arrangement of a pipe network to be expanded in a city water supply pipe network, wherein the pipe section N (N=1, 2,3,4 … …), the number N of a node (n=1, 2,3,4 … …), the length of the pipe section (L ij, i is an upstream node of the pipe section and j is a downstream node of the pipe section), a standard pipe diameter list (D ij, i is the upstream node of the pipe section and j is the downstream node of the pipe section) and a unit length cost table, the flow rate boundary condition of the pipe section (V ij, i is the upstream node of the pipe section and j is the downstream node of the pipe section), and the flow rate (Q ij, i is the upstream node of the pipe section and j is the downstream node of the pipe section) of the node.
Establishing a water supply network hydraulic model by using info works ws software, checking flow and pressure, and then establishing a water age dynamic model at water qulity part to obtain water age data T i (i is node number); and opening infoworks a newly built network of software, importing a CAD file to generate a topological structure diagram, inputting all the data in the step 101 in the established network, running, automatically detecting the connection condition of the network by the software, giving out missing data in the network, and continuing running until missing data is not prompted any more after the data are supplemented. And checking the database of the pipe section and the node during checking, wherein the checking is to check whether the pressure and the flow are in a reasonable range.
Step 102: and inputting the water age prediction data and the water quality data of the drinking water to be predicted into a linear regression equation for predicting the drinking water disinfection byproducts to obtain the drinking water disinfection byproducts prediction value.
A linear regression equation for predicting disinfection byproducts of drinking water is specifically established by the following steps:
(1) And acquiring historical water age data, historical water quality data and historical drinking water disinfection by-product data.
(2) And establishing a multiple linear regression equation by taking the historical water age data and the historical water quality data as independent variables and taking the historical drinking water disinfection byproduct data as dependent variables. The multiple linear regression equation includes: a halomethane multiple linear regression equation and a haloacetonitrile multiple linear regression equation.
The formula of the trihalomethane multiple linear regression equation is as follows:
the formula of the haloacetonitrile multiple linear regression equation is as follows:
Wherein THM s represents the dependent variable of the trihalomethane multiple linear regression equation, HAN s represents the dependent variable of the haloacetonitrile multiple linear regression equation, and the independent variables of the trihalomethane multiple linear regression equation and the haloacetonitrile multiple linear regression equation each comprise water age T i, residual chlorine Cl 2, turbidity NTU, pH value PH, ammonia nitrogen NH 3 -N, nitrate nitrogen NO 3 - -N, nitrite nitrogen NO 2 - -N, total organic carbon TOC, ultraviolet absorbance UV 254, fluoride F - and total iron Fe.
(3) Based on the multiple linear regression equation, a stepwise linear regression method is adopted to obtain a linear regression equation for predicting the disinfection byproducts of the drinking water. Linear regression equations for predicting potable water disinfection byproducts include trihalomethane regression equation and haloacetonitrile regression equation.
In order to reduce the number of the independent variables and reduce the workload, a linear regression equation for predicting the disinfection byproducts of the drinking water is established by a stepwise linear regression method, and the optimal regression equation is established by screening the least independent variable x. The stepwise regression method can avoid the collinearity phenomenon, so that the regression analysis result is effective and reliable. As can be seen from the multiple linear regression equation, there are 11 independent variables, and in order to reduce the number of independent variables, a stepwise linear regression method is adopted to reduce the number of independent variables.
The formula of the trihalomethane regression equation is as follows:
THMs'=-1.85995Ti+2.81486Cl2+4.61999PH-4.70512Fe+132.70982UV254-29.71452
the formula of the haloacetonitrile regression equation is as follows:
Wherein THM s 'represents the dependent variable of the trihalomethane regression equation, HAN s' represents the dependent variable of the haloacetonitrile regression equation, the independent variable of the trihalomethane regression equation comprises water age T i, residual chlorine Cl 2, pH value PH, total iron Fe and ultraviolet absorbance UV 254, and the independent variable of the haloacetonitrile regression equation comprises turbidity NTU, pH value PH, nitrate nitrogen NO 3 - -N, fluoride F - and ultraviolet absorbance UV 254.
The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the methods of the present invention and the core ideas thereof; also, it is within the scope of the present invention to be modified by those of ordinary skill in the art in light of the present teachings. In summary, the present description should not be construed as limiting the invention.

Claims (2)

1. A method for predicting disinfection byproducts of drinking water, comprising:
Acquiring water age prediction data of drinking water to be predicted and water quality data of the drinking water to be predicted;
Inputting the water age prediction data and the water quality data of the drinking water to be predicted into a linear regression equation for predicting a drinking water disinfection by-product to obtain a drinking water disinfection by-product prediction value;
obtaining a linear regression equation for predicting the disinfection byproducts of the drinking water by adopting a stepwise linear regression method;
the linear regression equation for predicting the disinfection byproducts of the drinking water is specifically established as follows:
Acquiring historical water age data, historical water quality data and historical drinking water disinfection by-product data;
establishing a multiple linear regression equation by taking the historical water age data and the historical water quality data as independent variables and the historical drinking water disinfection byproduct data as dependent variables;
based on the multiple linear regression equation, a stepwise linear regression method is adopted to obtain a linear regression equation for predicting the disinfection byproducts of the drinking water;
the multiple linear regression equation includes: trihalomethane multiple linear regression equation and haloacetonitrile multiple linear regression equation;
The formula of the trihalomethane multiple linear regression equation is as follows:
the formula of the haloacetonitrile multiple linear regression equation is as follows:
Wherein THM s represents the dependent variable of the trihalomethane multiple linear regression equation, HAN s represents the dependent variable of the haloacetonitrile multiple linear regression equation, and the independent variables of the trihalomethane multiple linear regression equation and the haloacetonitrile multiple linear regression equation each comprise water age T i, residual chlorine Cl 2, turbidity NTU, pH value PH, ammonia nitrogen NH 3 -N, nitrate nitrogen NO 3 - -N, nitrite nitrogen NO 2 - -N, total organic carbon TOC, ultraviolet absorbance UV 254, fluoride F - and total iron Fe.
2. The method for predicting disinfection byproducts of potable water of claim 1, wherein the water age prediction data specifically comprises:
Acquiring parameters of a water supply pipe network; the water supply pipe network parameters comprise pipe section length, pipe diameter size, pipe section flow speed boundary conditions, flow of nodes between pipe sections and water head boundary conditions;
Establishing a water supply pipe network hydraulic model according to the water supply pipe network parameters;
and calculating the water age of the drinking water to be predicted according to the water supply network hydraulic model to obtain water age prediction data.
CN202010702787.1A 2020-07-21 2020-07-21 Method for predicting disinfection byproducts of drinking water based on multiple linear regression method Active CN112149849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010702787.1A CN112149849B (en) 2020-07-21 2020-07-21 Method for predicting disinfection byproducts of drinking water based on multiple linear regression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010702787.1A CN112149849B (en) 2020-07-21 2020-07-21 Method for predicting disinfection byproducts of drinking water based on multiple linear regression method

Publications (2)

Publication Number Publication Date
CN112149849A CN112149849A (en) 2020-12-29
CN112149849B true CN112149849B (en) 2024-05-14

Family

ID=73888966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010702787.1A Active CN112149849B (en) 2020-07-21 2020-07-21 Method for predicting disinfection byproducts of drinking water based on multiple linear regression method

Country Status (1)

Country Link
CN (1) CN112149849B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113075374B (en) * 2021-03-24 2022-11-25 天津大学 Method for evaluating generation of byproduct NDMA in water disinfection process
CN113505919B (en) * 2021-06-25 2022-02-25 国家粮食和物资储备局科学研究院 Method and system for predicting wheat vomitoxin harvest based on key factors

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100124511A (en) * 2009-05-19 2010-11-29 한국건설기술연구원 Apparatus and method for predicting the production of disinfection by-product using a artificial neural network
CN107879522A (en) * 2017-10-18 2018-04-06 天津大学 The processing method of halogenated disinfection by-products in a kind of control drinking water
CN111143992A (en) * 2019-12-25 2020-05-12 深圳市东深电子股份有限公司 Water age monitoring system and method for water supply pipe network
CN111324989A (en) * 2020-03-19 2020-06-23 重庆大学 GA-BP neural network-based gear contact fatigue life prediction method
CN112149822A (en) * 2020-07-21 2020-12-29 吉林建筑大学 Drinking water disinfection byproduct prediction method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100124511A (en) * 2009-05-19 2010-11-29 한국건설기술연구원 Apparatus and method for predicting the production of disinfection by-product using a artificial neural network
CN107879522A (en) * 2017-10-18 2018-04-06 天津大学 The processing method of halogenated disinfection by-products in a kind of control drinking water
CN111143992A (en) * 2019-12-25 2020-05-12 深圳市东深电子股份有限公司 Water age monitoring system and method for water supply pipe network
CN111324989A (en) * 2020-03-19 2020-06-23 重庆大学 GA-BP neural network-based gear contact fatigue life prediction method
CN112149822A (en) * 2020-07-21 2020-12-29 吉林建筑大学 Drinking water disinfection byproduct prediction method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Framework for cost-effective prediction of unregulated disinfection by-products in drinking water distribution using differential free chlorine;Gyan Chhipi-Shrestha 等;《Environmental Science: Water Research & Technology》(第04期);1564-1573 *
配水管网系统中消毒副产物的研究;吴艳;《中国优秀博硕士学位论文全文数据库 (硕士)工程科技Ⅱ辑》(第04期);第C038-356页,正文第62-64页 *

Also Published As

Publication number Publication date
CN112149849A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US20220026409A1 (en) Method and system for predicting disinfection by-products in drinking water
CN112149849B (en) Method for predicting disinfection byproducts of drinking water based on multiple linear regression method
Mannina et al. Greenhouse gas emissions from integrated urban drainage systems: where do we stand?
Varol et al. Water quality assessment of the Karasu River (Turkey) using various indices, multivariate statistics and APCS-MLR model
CN111143992B (en) Water age monitoring system and method for water supply network
Rustum et al. Applying Kohonen self‐organizing map as a software sensor to predict biochemical oxygen demand
Ricca et al. Modeling chloramine decay in full‐scale drinking water supply systems
CN115527628A (en) Online control method and system for municipal sewage chemical phosphorus removal process
CN114527249A (en) Water quality monitoring data quality control method and system
Xin et al. Research on the application of multimodal-based machine learning algorithms to water quality classification
CN117170221A (en) Artificial intelligence control system for sewage treatment
CN117023771A (en) Intelligent control method and system for wastewater treatment
CN114564699A (en) Continuous online monitoring method and system for total phosphorus and total nitrogen
CN114203262A (en) Sewage utilization method and system based on recyclable clean fracturing fluid system
Fisher et al. Tuning the enhanced coagulation process to obtain best chlorine and THM profiles in the distribution system
CN110287652A (en) Method based on haloform concentration in radial neural network and grey relational grade analysis modeling and forecasting water system
Haribowo et al. Application of artificial neural network for defining the water quality in the river
CN103425890A (en) Landscape water quality analysis algorithm
Deveughele et al. Neural networks: an efficient approach to predict on-line the optimal coagulant dose
Jamwal et al. Estimating fast and slow reacting components in surface water and groundwater using a two-reactant model
Chuvanich et al. Evaluation of artificial neural networks for electrical conductivity-based and flow rate-based prediction of the nitrate nitrogen concentration in the U-Tapao canal, Hat Yai, Thailand.
Lin et al. Forecast of Water Quality along the Luanhe River Line Based on BP Neural Network
CN113159130B (en) Construction sewage treatment method
Farghaly et al. A study for producing drinking water with safe trihalomethane concentrations
Alexander et al. Field verification of an integrated hydraulic and multi-species water quality model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant