Our WPI Definition & Specifications

How our WPI model will be implemented and used across this research.

- 4 minute read

We consider a nonlinear Water Pollution Index calibrated to a specific region, such that it works reliably and accurately for that specific region. We calibrate our WPI to Kerala, utilizing Surface Water Quality datasets from the Indian National Water Data Portal. This dataset is broken down, and is thoroughly analyzed for the creation of our WPI definition. This data can be obtained from our GitHub repository.

This document is kept blunt on purpose in the light of the research paper. The research paper shall be approached for the full details.

Problems & Approach

We decided to break the task of creating a WPI definition down into the following:

  • Decide on the parameters.
  • Find the [min, max, center] of each parameter.
  • Create a conversion function for each parameter.
  • And finally, aggregate each parameter to obtain the WPI.

We decided to go with a set 8 parameters, 7 of which are scored and aggregated. They include, potential of Hydrogen (pH), Dissolved Oxygen (mg/L), Nitrate N (mgN/L), Ammonia N (mgN/L), Chloride (mg/L), Turbidity (NTU), Electric Conductivity (μS/cm), and Temperature (ºC). We considered these parameters based on other prominent water pollution indices and our dataset.

With proper analysis of the dataset, we discovered the min, max, and center of each parameter by considering the maximum natural occourance and 50th, 90th, and 95th percentile values in the dataset.

ParameterMinMaxCenter
potential of Hydrogen (pH)0147.5
Dissolved Oxygen (mg/L)0257
Nitrate N (mgN/L)01.50.47
Ammonia N (mgN/L)010.02
Chloride (mg/L)0196
Turbidity0231.1
Electric Conductivity0152.552.1
Temperature04026

Using this data, we can create piecewise functions that will handle conversion of parameters into quality values. Each function will be nonlinear to respect the nonlinear nature of parameters, mostly following a generic structure as,

f(x)=100(1−(x−yz−y)2)k,f(x) = 100 \left(1 - \left( \dfrac{x - y}{z - y} \right)^2 \right)^k ,

where xx is the value of the parameter, yy is the center, zz is the maximum value, and kk is the outer exponent to curve the growth. The minimum value is omitted since it is 00. It is not guaranteed that we will use the exact same structure, but this is the core idea.

With that settled, we now only have to aggregate the data and form the final WPI equation. We plan on doing so through the summation of the quality value multiplied by weight value. Given ii indicates a parameter, qq is the vector of quality values, and ww is the vector of weights (∑w=1\sum w = 1), the WPI can be formulated as,

WPI=∑i=0nqiwi.\text{WPI} = \sum_{i = 0}^n q_i w_i .

We are also considering using geometric means since it handles the eclipsing problem better, however, it will be explored when we reach the final phase of building the WPI definition.

Additional Information

The weights are omitted in this document since we have not yet decided how it must be implemented. However, we currently plan on ranking DO, NH3, and NO3 as the top priority parameters and they might get the highest weights in production.

Conclusion

This is our entier plan on implementing the WPI Definition. It is still very premature, however, we plan on iterating over it further to make it more suitable for our requirements.