CN103425890A - Landscape water quality analysis algorithm - Google Patents

Landscape water quality analysis algorithm Download PDF

Info

Publication number
CN103425890A
CN103425890A CN2013103727776A CN201310372777A CN103425890A CN 103425890 A CN103425890 A CN 103425890A CN 2013103727776 A CN2013103727776 A CN 2013103727776A CN 201310372777 A CN201310372777 A CN 201310372777A CN 103425890 A CN103425890 A CN 103425890A
Authority
CN
China
Prior art keywords
water quality
vague
sample
collection
distance
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.)
Pending
Application number
CN2013103727776A
Other languages
Chinese (zh)
Inventor
王海丰
李壮
王鸿绪
Original Assignee
王海丰
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 王海丰 filed Critical 王海丰
Priority to CN2013103727776A priority Critical patent/CN103425890A/en
Publication of CN103425890A publication Critical patent/CN103425890A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a landscape water quality analysis algorithm. The method comprises the following steps: firstly, establishing a water quality analysis index set, and establishing a standard sample water set and a to-be-evaluated sample water set on the index set; secondly, performing Vague processing on original non-negative single value data to obtain Vague set data, and calculating the distance between the to-be-evaluated sample water set and the standard sample water set; lastly, judging the water quality of a to-be-evaluated sample by using a mode identification method based on a distance Vague set. According to the method disclosed by the invention, landscape water quality can be detected and analyzed effectively, and a very good effect is achieved; in the algorithm, the influence of the hesitancy in the Vague set on a final result is considered, and a novel measure is provided for the water quality analysis and daily management of non-conventional water resources.

Description

A kind of Landscape Water Quality analytical algorithm
Affiliated technical field
The present invention relates to a kind of Landscape Water Quality analytical algorithm, be specifically related to utilize the range formula of the Vague collection of emphasizing degree of hesitation directly to carry out distance calculating to sample to be detected and master sample, thereby draw the water quality of sample to be assessed according to the distance method of pattern-recognition.Algorithm.Belong to environmental engineering water quality inspection technique field.
Background technology
Landscape water quality is for the vital impact of having of urban ecological environment, urban landscape water has become the emphasis of Construction of Eco-urban, water analysis detects can provide foundation for the sustainable development of ecologic environment, but because the water source sample does not have strict attribute, they exist uncertain aspect form and generic, also for analyzing and testing, bring certain difficulty.Due to uncertainty and the ambiguity of data, make the detection method based on fuzzy theory be widely used in water analysis.Such as people such as Ma Jianqin in document 1 " urban landscape water water quality Variable Fuzzy estimate " based on GIS (HYDROELECTRIC ENERGY science, 2011,29(8)) take GIS as platform, landscape water quality comprehensive evaluation model based on variable fuzzy sets theory has been proposed, and take landscape water as example, water quality and spatial distribution state thereof are estimated.The people such as Zhu Qiongyao are at document 2 " the water analysis early warning technology research based on rough set and evidence theory " (journal of Zhejiang university (agricultural and life science version), 2012, 38 (6)) the water quality early-warning algorithm based on rough set and D-S evidence theory use in conjunction has been proposed, the introducing of rough set better solves the time non-continuous event that may exist in time series data, eliminate the data collision in historical data, the problems such as data and Attribute Redundancy in the yojan database, thereby realize subduing data noise, the purpose of yojan data volume, and the associating of rough set and D-S evidence theory has reduced calculated amount to a certain extent, obtain better water analysis prediction effect.
Summary of the invention
The purpose of this invention is to provide a kind of Landscape Water Quality analytical algorithm, this algorithm adopts Vague collection theoretical research water analysis method, according to the water quality sample to be detected extracted, selected characteristic is set up index set, and Criterion sample water collection obtains original Vague collection data on the index set of choosing, build the Vague environment, and carry out pattern-recognition by the range formula between the Vague collection of emphasizing degree of hesitation, differentiate the water quality situation of sample to be detected.Algorithm is taken into account the certainty degree of Vague collection simultaneously, negates degree, the hesitation degree, and the core factor, have stronger dirigibility in application.
In order to achieve the above object, the present invention adopts following technical scheme:
A kind of Landscape Water Quality analytical algorithm comprises the following steps:
(1) set up index set X={x 1, x 2..., x n;
(2) Criterion sample water collection E={E on index set X 1, E 2..., E h, water quality E wherein 1For I class water quality, E 2For II class water quality, E 3For III class water quality, E 4For IV class water quality, E 5For V class water quality.Pollution level should be clean, uncontaminated, light pollution, middle pollution and heavily contaminated mutually, sets up sample water collection C={C to be assessed 1, C 2..., C kObtain raw data, wherein C iThe data that collect for sampled point i;
(3) original non-negative single-value data is changed into to Vague collection data, build the Vague environment;
(4) calculate the sample C of water to be assessed j(j=1,2 ..., Vague collection k) and master sample E i(i=1,2 ..., the distance between Vague collection h);
(5) the Vague integrated mode of distance-based is identified, and differentiates the water quality of sample to be assessed.
The index set of the described step of algorithm (1) is chosen 4 indexs, is respectively x 1For chemical oxygen demand (COD) (COD), x 2For ammonia nitrogen (NH3-N), x 3For total phosphorus (TP), x 4For total nitrogen (TN), unit: mg/L. is as index.
The conversion formula that original non-negative single-value data is changed into to the Vague Value Data of the described step of algorithm (3) is
x ij = [ t ij , 1 - f ij ] = ( x ij x j max , 1 - ( x ij x j max ) 1 2 ) ,
X wherein Jmax=max{x J1, x J2, x J3, x J4, x J5, x J6, x J7, x J8, j=1,2,3,4.
Distance between the sample to be assessed of the described step of algorithm (4) and the Vague collection of master sample is calculated according to following formula
d ( m ) ( E , C ) = 1 12 n Σ i = 1 n ( 3 | t xi m - t yi ( m ) | + 3 | f xi ( m ) - f yi ( m ) | + 3 | S xi ( m ) - S yi ( m ) | + 2 π xi ( m ) + 2 π yi ( m ) )
(m=0,1,2,…),
Wherein:
(1) the Vague value x=[t in A for element x x, 1-f x], t x, f x, π x=1-t x-f x, S x=t x-f xBeing called as respectively the certainty degree of element x to Vague collection A, negates degree, hesitation degree, core.And definition
Figure BDA0000371555660000023
t x ( m ) = t x ( 1 + π x + π x 2 + · · · + π x m ) , f x ( m ) = f x ( 1 + π x + · · · + π x m ) , π x ( m ) = π x ( m + 1 ) , m = 1,2 , · · · . .
(2) Vague collection E and C are at discrete domain X={x 1, x 2..., x nOn be defined as,
E=([t E(x 1),1-f E(x 1)],[t E(x 2),1-f E(x 2)],…,[t E(x n),1-f E(x n)]),
C=([t C(x 1),1-f C(x 1)],[t C(x 2),1-f C(x 2)],…,[t C(x n),1-f C(x n)])
The Vague integrated mode recognition methods of the distance-based of the described step of algorithm (5) is: by step 4 calculate the numerical values recited sequence of distance d ( C j , E i 1 ) ≤ d ( C j , E i 2 ) ≤ · · · ≤ d ( C j , E i k ) ( j = 1,2 , · · · , k ) Sample C to be assessed jBelong to master sample
Figure BDA0000371555660000026
, i wherein 1, i 2..., i h1,2 ..., one of h without the full arrangement repeated.
The accompanying drawing explanation
Fig. 1 is a kind of Landscape Water Quality analytical algorithm process flow diagram.
Embodiment:
Fig. 1 is a kind of Landscape Water Quality analytical algorithm process flow diagram; A kind of Landscape Water Quality analytical algorithm of the present invention comprises the following steps:
(1) set up index set X={x 1, x 2..., x n, choose x 1For chemical oxygen demand (COD) (COD), x 2For ammonia nitrogen (NH3-N), x 3For total phosphorus (TP), x 4For total nitrogen (TN), unit: mg/L. is as index.
(2) Criterion sample water collection E={E on index set X 1, E 2..., E h, water quality E wherein 1For I class water quality, E 2For II class water quality, E 3For III class water quality, E 4For IV class water quality, E 5For V class water quality.Pollution level should be clean, uncontaminated, light pollution, middle pollution and heavily contaminated mutually, sets up sample water collection C={C to be assessed 1, C 2..., C kObtain raw data, wherein C iThe data that collect for sampled point i; Table 1 is sample data to be assessed and China's water environment quality standard sample data, chooses altogether 3 sampling number certificates.
Table 1 China water environment quality standard sample and sample to be assessed (raw data)
Figure BDA0000371555660000031
(3) build the Vague environment; Raw data is pressed to formula
Figure BDA0000371555660000032
Change into Vague collection data;
X wherein Jmax=max{x J1, x J2, x J3, x J4, x J5, x J6, x J7, x J8, j=1,2,3,4.It is as shown in table 2 that table 1 raw data is converted to the Vague Value Data.
Table 2 China water environment quality standard sample and sample to be evaluated (Vague Value Data)
Figure BDA0000371555660000033
(4) the Vague value x=[t in A for element x x, 1-f x], t x, f x, π x=1-t x-f x, S x=t x-f xBeing called as respectively the certainty degree of element x to Vague collection A, negates degree, hesitation degree, core.And definition t x ( m ) = t x ( 1 + π x + π x 2 + · · · + π x m ) , f x ( m ) = f x ( 1 + π x + · · · + π x m ) , π x ( m ) = π x ( m + 1 ) , m = 1,2 , · · · . Vague collection E and C are at discrete domain X={x 1, x 2..., x nOn be defined as,
E=([t E(x 1),1-f E(x 1)],[t E(x 2),1-f E(x 2)],…,[t E(x n),1-f E(x n)]),
C=([t C(x 1),1-f C(x 1)],[t C(x 2),1-f C(x 2)],…,[t C(x n),1-f C(x n)])。
Calculate the sample C of water to be assessed j(j=1,2 ..., Vague collection k) and master sample E i(i=1,2 ..., the range formula between Vague collection h) is: d ( m ) ( E , C ) = 1 12 n Σ i = 1 n ( 3 | t xi m - t yi ( m ) | + 3 | f xi ( m ) - f yi ( m ) | + 3 | S xi ( m ) - S yi ( m ) | + 2 π xi ( m ) + 2 π yi ( m ) ) ?(m=0,1,2,…)。
Here get parameter m=2, reckoner 2 sample C to be assessed iThe Vague collection of (i=1,2,3) and master sample E iDistance between the Vague collection of (i=1,2,3,4,5), result is as follows:
d (2)(C 1,E 1)=0.207,d (2)(C 1,E 2)=0.104,d (2)(C 1,E 3)=0.250,
d (2)(C 1,E 4)=0.451,d (2)(C 1,E 5)=0.603.
d (2)(C 2,E 1)=0.212,d (2)(C 2,E 2)=0.140,d (2)(C 2,E 3)=0.229,
d (2)(C 2,E 4)=0.461,d (2)(C 2,E 5)=0.599.
d (2)(C 3,E 1)=0.225,d (2)(C 3,E 2)=0.160,d (2)(C 3,E 3)=0.267
d (2)(C 3,E 4)=0.448,d (2)(C 3,E 5)=0.600
(5) step 4 is calculated the numerical values recited sequence of distance d ( C j , E i 1 ) ≤ d ( C j , E i 2 ) ≤ · · · ≤ d ( C j , E i k ) ( j = 1,2 , · · · , k ) , The water quality result that is sample to be assessed that distance is minimum, sample C to be assessed jBelong to master sample
Figure BDA0000371555660000042
, i wherein 1i 2I h1,2 ..., the full arrangement without repetition of h, algorithm finishes.
The result of calculation of step (4) is sorted:
d (2)(C 1,E 2)<d (2)(C 1,E 1)<d (2)(C 1,E 3)<d (2)(C 1,E 4)<d (2)(C 1,E 5)
d (2)(C 2,E 2)<d (2)(C 2,E 1)<d (2)(C 2,E 3)<d (2)(C 2,E 4)<d (2)(C 2,E 5)
d (2)(C 3,E 2)<d (2)(C 3,E 1)<d (2)(C 3,E 3)<d (2)(C 3,E 4)<d (2)(C 3,E 5)
So can obtain:
C 1Belong to master sample E 2, be the II class, uncontaminated water quality.
C 2Belong to master sample E 2, be the II class, uncontaminated water quality.
C 3Belong to master sample E 2, be the II class, uncontaminated water quality.

Claims (5)

1. a Landscape Water Quality analytical algorithm comprises the following steps:
(1) set up index set X={x 1, x 2..., x n;
(2) Criterion sample water collection E={E on index set X 1, E 2..., E h, water quality E wherein 1For I class water quality, E 2For II class water quality, E 3For III class water quality, E 4For IV class water quality, E 5For V class water quality, pollution level should be clean, uncontaminated, light pollution, middle pollution and heavily contaminated mutually, sets up sample water collection C={C to be assessed 1, C 2..., C kObtain raw data, wherein C iThe data that collect for sampled point i;
(3) original non-negative single-value data is changed into to Vague collection data, build the Vague environment;
(4) calculate the sample C of water to be assessed j(j=1,2 ..., Vague collection k) and master sample E i(i=1,2 ..., the distance between Vague collection h);
(5) the Vague integrated mode of distance-based is identified, and differentiates the water quality of sample to be assessed.
2. a kind of Landscape Water Quality analytical algorithm as claimed in claim 1, is characterized in that, the index set of described step (1) is chosen 4 indexs, is respectively x 1For chemical oxygen demand (COD) (COD), x 2For ammonia nitrogen (NH3-N), x 3For total phosphorus (TP), x 4For total nitrogen (TN), unit: mg/L. is as index.
3. a kind of Landscape Water Quality analytical algorithm as claimed in claim 1, is characterized in that, the conversion formula that original non-negative single-value data is changed into to the Vague Value Data of described step (3) is
Figure FDA0000371555650000011
X wherein Jmax=max{x J1, x J2, x J3, x J4, x J5, x J6, x J7, x J8, j=1,2,3,4.
4. a kind of Landscape Water Quality analytical algorithm as claimed in claim 1, is characterized in that, the distance between the sample to be assessed of described step (4) and the Vague collection of master sample is calculated according to following formula:
Figure FDA0000371555650000012
Wherein:
(1) the Vague value x=[t in A for element x x, 1-f x], t x, f x, π x=1-t x-f x, S x=t x-f xBeing called as respectively the certainty degree of element x to Vague collection A, negates degree, hesitation degree, core.And definition
Figure FDA0000371555650000013
Figure FDA0000371555650000014
(2) Vague collection E and C are at discrete domain X={x 1, x 2..., x nOn be defined as,
E=([t E(x 1),1-f E(x 1)],[t E(x 2),1-f E(x 2)],…,[t E(x n),1-f E(x n)]),
C=([t C(x 1),1-f C(x 1)],[t C(x 2),1-f C(x 2)],…,[t C(x n),1-f C(x n)])。
5. a kind of Landscape Water Quality analytical algorithm as claimed in claim 1, is characterized in that, the Vague integrated mode recognition methods of the distance-based of described step (5) is: by step (4) calculate the numerical values recited sequence of distance
Figure FDA0000371555650000022
, sample C to be assessed jBelong to master sample
Figure FDA0000371555650000021
, i wherein 1, i 2..., i h1,2 ..., one of h without the full arrangement repeated.
CN2013103727776A 2013-08-24 2013-08-24 Landscape water quality analysis algorithm Pending CN103425890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103727776A CN103425890A (en) 2013-08-24 2013-08-24 Landscape water quality analysis algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103727776A CN103425890A (en) 2013-08-24 2013-08-24 Landscape water quality analysis algorithm

Publications (1)

Publication Number Publication Date
CN103425890A true CN103425890A (en) 2013-12-04

Family

ID=49650619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103727776A Pending CN103425890A (en) 2013-08-24 2013-08-24 Landscape water quality analysis algorithm

Country Status (1)

Country Link
CN (1) CN103425890A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537439A (en) * 2018-04-09 2018-09-14 中国科学院遥感与数字地球研究所 A kind of multiple dimensioned landscape pattern in basin and water quality index relationship research method
CN109345066A (en) * 2018-08-24 2019-02-15 华北水利水电大学 A kind of river isotope enrichment degree evaluation method based on Variable Fuzzy theory
CN110850049A (en) * 2019-08-15 2020-02-28 清华大学 Water quality monitoring and water sensory pleasure degree evaluation method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971549A (en) * 2005-11-25 2007-05-30 天津工业大学 Method of fusion processing of multi-source fuzzy information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971549A (en) * 2005-11-25 2007-05-30 天津工业大学 Method of fusion processing of multi-source fuzzy information

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
HONGXU WANG等: "An Optimization Method Based on Vague Set Selection in Architectural Engineering", 《2012 INTERNATIONAL CONFERENCE ON INDUSTRIAL CONTROL AND ELECTRONICS ENGINEERING》, 23 August 2012 (2012-08-23), pages 1255 *
刘华文等: "Vague集的转化与相似度量", 《计算机工程与应用》, vol. 40, no. 32, 20 January 2005 (2005-01-20), pages 79 - 81 *
刘昕: "区域水安全评价模型及应用研究", 《中国博士学位论文全文数据库工程科技Ⅱ辑》, 15 June 2012 (2012-06-15), pages 037 - 3 *
张鲲等: "Vague集(值)之间的相似度量定义新探", 《黑龙江大学自然科学学报》, vol. 29, no. 3, 30 June 2012 (2012-06-30), pages 412 - 415 *
李永新等: "一种新的Vague集距离测度及其应用", 《计算机工程与应用》, vol. 48, no. 7, 27 April 2012 (2012-04-27), pages 65 *
林志贵: "基于证据理论的信息融合研究及其在水质监测中的应用", 《中国优秀博硕士学位论文全文数据库(博士)工程科技Ⅰ辑》, 15 June 2005 (2005-06-15) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108537439A (en) * 2018-04-09 2018-09-14 中国科学院遥感与数字地球研究所 A kind of multiple dimensioned landscape pattern in basin and water quality index relationship research method
CN109345066A (en) * 2018-08-24 2019-02-15 华北水利水电大学 A kind of river isotope enrichment degree evaluation method based on Variable Fuzzy theory
CN110850049A (en) * 2019-08-15 2020-02-28 清华大学 Water quality monitoring and water sensory pleasure degree evaluation method

Similar Documents

Publication Publication Date Title
CN102689230B (en) Tool wear condition monitoring method based on conditional random field model
CN102194056B (en) BN-GIS (Bayesian Network-Geographic Information System) method for evaluating and predicting water inrush danger of coal-seam roof and floor
CN103345200B (en) A kind of cut Identification of Chatter method based on generalized interval
CN109740286A (en) A kind of Water Quality Forecasting Model of Lake construction method of hybrid optimization BP neural network
CN105469611A (en) Short-term traffic flow prediction model method
CN107480705A (en) A kind of running water pipe leakage detection method
CN103198206A (en) Method for evaluating performance of fuel cell system based on overall performance scoring model
CN106845142A (en) Quality evaluation method based on improved rough set Set Pair Analysis
CN107895014A (en) A kind of time series bridge monitoring data analysing method based on MapReduce frameworks
Wang et al. Urbanization and water consumption at national-and subnational-scale: The roles of structural changes in economy, population, and resources
CN103425890A (en) Landscape water quality analysis algorithm
Hu et al. Mining weights of land evaluation factors based on cloud model and correlation analysis
CN102033851A (en) Hydrologic time series wavelet correlation analysis method
CN104063609A (en) Method of assisting in judging pollution source monitoring data validity by utilizing neural network
CN103530421B (en) Event method for measuring similarity based on microblogging and system
CN104569340B (en) Underground environment quality determination method and device
CN102254184A (en) Method for fusing multi-physical-domain feature information
CN108537914A (en) Public bicycles method for diagnosing faults
CN1316241C (en) Method of recogniting flowing type of level pipe gas/liquid 2-phase flow based on Hilbert-Huang conversion
CN101645150A (en) Method for evaluating health of urban ecological system based on health relativity
CN103810359A (en) City water environment carrying capacity grade evaluation algorithm based on grey clustering analysis
CN103823753A (en) Webpage sampling method oriented at barrier-free webpage content detection
Xing et al. Water quality evaluation by the fuzzy comprehensive evaluation based on EW method
CN102128914A (en) Water quality predicting and evaluating isoconcentration line method
Huiying et al. Real-time highway accident prediction based on grey relation entropy analysis and probabilistic neural network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131204