SlideShare a Scribd company logo
1 of 12
Download to read offline
Mathematical Modeling and Parameter Estimation for
Water Quality Management System.
Summer Internship report
May 15, 2014– July 15, 2014
Student: Kamal Pradhan (12BTCSE04)
Program: B.Tech Computer Sc.
Department: SUIIT
Supervisor: Dr. Nihar Satapathy
Project name: AquaSense
SAMBALPUR UNIVERSITY
INSTITUTE OF INFORMATION TECHNOLOGY
Submitted by: Kamal Pradhan, B.Tech CSE.
Guided By:
Dr. Nihar Satapathy
H.O.D, Dept .of Mathematics,
Sambalpur University
AquaSense, Internship 2014
2
Acknowledgement
First I would like to thank Dr. Nihar Satapathy, H.O.D Dept. of Mathematics and P.I (AquaSense),
Sambalpur University for giving me the opportunity to do an internship within the organization. For me it was a
unique experience to be in Sambalpur and to study an interesting subject. It also helped to get back my interest in
ecological research and to have new plans for my future career. I also would like to thank all the people that
worked in the lab of ITRA in Sambalpur University Institute of Information Technology. With their patience and
openness they created an enjoyable working environment. Furthermore I want to thank all the Research fellows
and students, with whom I did the fieldwork. At last I would like to thank the ITRA Group, especially Dr. Nihar
Satapathy, Principal Investigator of the project AquaSense, to allow me to do this interesting internship.
AquaSense, Internship 2014
3Abstract
This report describes various problem solving techniques in mathematical modeling for calculating
various parameters of water e.g. temperature, pH, Dissolved oxygen. A mathematical model provides
the ability to predict the contaminant concentration levels of a river. Here we are using an
advection-diffusion equation as our mathematical model. The numerical solution of equation
is calculated using Matlab & Mathematica. Parameter estimation is necessary in water
modeling to predict the different parameters of water at different point with minimal errors. So
here we use 2D & 3D interpolation technique for parameter estimation.
Introduction
This report is a short description of my two month internship carried out as a component of the
B.Tech in computer science. The internship was carried out within the organization Sambalpur
University Institute of Information Technology in from May 15-July 15 2014. Since my I am interested
in Programming and quite acquainted with mathematical toolbox such as matlab and mathematica,
the work was concentrated on solving complex mathematical problems programmatically.
This internship report contains my activities that have contributed to project. In the following chapter
a description of the organization ITRA and the activities is given. After this a reflection on my
functioning, the unexpected circumstances and the learning goals achieved during the internship are
described.
AquaSense, Internship 2014
4Description of the internship
1. The organization ITRA
IT Research Academy (ITRA) is a National Programme initiated by Department of Electronics and
Information Technology (DeitY), Ministry of Communications and Information Technology (MCIT),
Government of India, aimed at building a national resource for advancing the quality and quantity of R&D in
Information and Communications Technologies and Electronics (IT) and its applications at a steadily growing
number of academic and research institutions, while strengthening academic culture of IT based problem
solving and societal development. ITRA is currently operating as a Division of Media Lab Asia (MLAsia), a
Section-25 not-for-profit organization of DeitY.
2. About the project AquaSense
 To develop an indigenous, intelligent and adaptive decision support system for on-line remote
monitoring of the water flow and water quality across the wireless sensor zone to generate data
pertaining to utilization of water and raising alerts in terms of mails/messages/alarm following any
violation in the safety norms for the drinking water quality and usage of amount of water. This proposed
research objective is also to provide simple, efficient, cost effective and socially acceptable means to
detect and analyze water bodies and distribution regularly and automatically
 to design and develop wireless sensing hardware for collecting hydraulic parameters like pressure, flow
and volume, and water quality parameters like Salinity, Color, pH, DO, Turbidity, Temperature,
Fluoride, Arsenic, Mercury, Lead, Selenium, Nitrate, Iron, Manganese and pathogens like Algal toxins
(cyan bacteria) etc
 to design wireless sensor network zone architecture for drinking water flow and quality monitoring
 to develop the interface modules (both hardware and software) for the wireless sensor nodes and probes
 to develop an user interface for logging data after data fusion from the different sensor nodes
 To design a database schema for storing on-line data received from the sensors.
 a data collection and visualization infrastructure
 to develop modeling and analysis tools (on-line estimation and prediction of the water distribution
system’s hydraulic state and leak/burst detection and localization)
 to develop a Rule-base by incorporating the feedback of users to include the quality perception of users
based on the locality and preferences through machine learning algorithms
 to develop a knowledge-base for different regions and applications
 to develop an expert system for adaptive setting up of new bench mark for water quality of drinking
water and other usage
AquaSense, Internship 2014
5
3. Mathematical Modeling and finding numerical solutions
Mathematical Model for the Concentration of Pollution using Advection-
Diffusion equation
A mathematical model provides the ability to predict the contaminant concentration levels of a
river. We present a simple mathematical model for river pollution. The model consists of a
pair of coupled reaction diffusion-advection equations for the pollutant and dissolved oxygen
concentrations, respectively. We consider the steady state case in one spatial dimension. For
simplified cases the model is solved analytically by considering the case of zero dispersion,
that’s mean ( Dp=0 and Dx=0).
The standard advection-diffusion-equation may be written as follows:
C: Concentration of pollutant
D: Diffusion Coefficient
u: Mean flow velocity
x: Position
t: Time
Solving the equation through programmatically:
Mathematica Code
Here we are solving the advection diffusion equation where the time is varying from 0-2
seconds and the position is varying from –pi to pi.
sol = NDSolve[{𝐷[𝑐[𝑡, 𝑥], 𝑡] == 0.5𝐷[𝑐[𝑡, 𝑥], 𝑥, 𝑥] + 𝑐[𝑡, 𝑥]𝐷[𝑐[𝑡, 𝑥], 𝑥], 𝑐[𝑡, −Pi] == 𝑐[𝑡, Pi] ==
0, 𝑐[0, 𝑥] == Sin[𝑥]}, 𝑐, {𝑡, 0,2}, {𝑥, −Pi, Pi}];
By plotting solutions evaluated from the above equation we obtain the following graphs.
Plot3D[Evaluate[𝑢[𝑡, 𝑥]/. First[sol]], {𝑡, 0,2}, {𝑥, −Pi, Pi}, PlotRange → All]
Fig. 1. Graphs of advection diffusion equation
AquaSense, Internship 2014
6
Now if we vary the position and time over a period of t=30 with density =0.7 and
concentration of pollutant.
Solution of advection dispersion equation using matlab
Fig. 2 Graph of advection diffusion equation with varying parameters
AquaSense, Internship 2014
7
AquaSense, Internship 2014
8
Matlab functions to solve the equations
1.
%Boundary Condition
function [ p1,q1,pr,qr ] = pdebc( x1,cl,xr,cr,t )
p1=cl-1;
q1=0;
pr=cr;
qr=0;
end
%Boundary Condition
function [ p1,q1,pr,qr ] = pdebc( x1,cl,xr,cr,t )
p1=cl-1;
q1=0;
pr=cr;
qr=0;
end
%Initial Condition
function [ c0 ] = pdeic( x )
c0=0;
end
% Main Function
function [ g,f,s ] = pdefun( x,t,c,DcDx )
%PDEFUN Summary of this function goes here
% Detailed explanation goes here
D=2;
g=4;
f=D*DcDx;
s=0;
end
Fig. 3 Graph obtained by varying
x= (0, 2.5, 200) & t= (0, 5,100)
AquaSense, Internship 2014
94. Parameter Estimation in Modeling
Parameter estimation plays a critical role in accurately describing system behavior through
mathematical models such as statistical probability distribution functions, parametric dynamic models,
and data-based models.
In the mathematical field of numerical analysis, interpolation is a method of constructing new data
points within the range of a discrete set of known data points.
As water body is dynamic i.e. it contains more than coordinate so we cannot use linear interpolation to
estimate a particular parameter in a given point.
Let us assume that we place sensors in the upper surface of water so now the sensors are in a 2
dimensional coordinate system (Fig. 4).
Here we can see that the river is a regular body i.e. square in shape. The sensors are placed in
the body such that it exactly covers the river. Here we cannot use linear interpolation as a single
point in the grid is surrounded by 4 sensors. Therefore the value at a single point depends upon
the value that is accused by the neighboring sensors. The solution to this problem is bilinear
interpolation or gridded interpolation.
AquaSense, Internship 2014
10
Bilinear interpolation is used when we need to know values at random position on a regular 2D
grid. The key idea is to perform linear interpolation first in one direction, and then again in the
other direction. Although each step is linear in the sampled values and in the position, the
interpolation as a whole is not linear but rather quadratic in the sample location.
Here the input data of temperature is between points -5 to 3 with 0.25 as interval but we get the
interpolated data with a 0.125 interval. so by bilinear interpolation we can easily estimate a
parameter in particular point.
Fig. 5 Graph of 2d interpolation for 2d water body for temperature.
Input Data
Interpolated
data
AquaSense, Internship 2014
11
If we consider river as a 3D model i.e. it has x, y and z coordinate. We cannot use a bilinear
interpolation for parameter estimation. Here we will use 3D interpolation for paramet
estimation.
3D interpolation Graphs
Input data Output data
AquaSense, Internship 2014
12
The following data were collected by T. N. Tiwari and S. N. Nanda in the year 1999.

More Related Content

Viewers also liked

Descriptive analysis of awareness about land pollution, water pollution, air ...
Descriptive analysis of awareness about land pollution, water pollution, air ...Descriptive analysis of awareness about land pollution, water pollution, air ...
Descriptive analysis of awareness about land pollution, water pollution, air ...Poonam Sankhe
 
NTPC BADARPUR PROJECT REPORT
NTPC BADARPUR PROJECT REPORTNTPC BADARPUR PROJECT REPORT
NTPC BADARPUR PROJECT REPORTARVIND NEGI
 
Securing Web Communication Using Three Layer Image Shielding
Securing Web Communication Using Three Layer Image ShieldingSecuring Web Communication Using Three Layer Image Shielding
Securing Web Communication Using Three Layer Image ShieldingKamal Pradhan
 
Dense wavelength division multiplexing (DWDM): A Review
Dense wavelength division multiplexing (DWDM): A Review Dense wavelength division multiplexing (DWDM): A Review
Dense wavelength division multiplexing (DWDM): A Review Kamal Pradhan
 
Android Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCUAndroid Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCUKamal Pradhan
 
Performance Evaluation and System Design with Simulation Modeling
Performance Evaluation and System Design with Simulation ModelingPerformance Evaluation and System Design with Simulation Modeling
Performance Evaluation and System Design with Simulation ModelingMert Yiğit
 
Acknowledgment
AcknowledgmentAcknowledgment
AcknowledgmentAsama Kiss
 
Color based image processing , tracking and automation using matlab
Color based image processing , tracking and automation using matlabColor based image processing , tracking and automation using matlab
Color based image processing , tracking and automation using matlabKamal Pradhan
 
Zeeshan Ali Khan B.Sc-Interior Design(Residential Design Project)
Zeeshan Ali Khan B.Sc-Interior Design(Residential Design Project)Zeeshan Ali Khan B.Sc-Interior Design(Residential Design Project)
Zeeshan Ali Khan B.Sc-Interior Design(Residential Design Project)dezyneecole
 
Automotive engine valve recession (engineering research series)
Automotive engine valve recession (engineering research series)Automotive engine valve recession (engineering research series)
Automotive engine valve recession (engineering research series)Arul Gnana John
 
Acknowledgement
AcknowledgementAcknowledgement
Acknowledgementferdzzz
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differencesDr. Nirav Vyas
 
Water pollution powerpoint
Water pollution powerpointWater pollution powerpoint
Water pollution powerpointrsalonga
 
Finite DIfference Methods Mathematica
Finite DIfference Methods MathematicaFinite DIfference Methods Mathematica
Finite DIfference Methods Mathematicaguest56708a
 
presentation on water pollution
presentation on water pollutionpresentation on water pollution
presentation on water pollutionakshat2010
 

Viewers also liked (20)

Descriptive analysis of awareness about land pollution, water pollution, air ...
Descriptive analysis of awareness about land pollution, water pollution, air ...Descriptive analysis of awareness about land pollution, water pollution, air ...
Descriptive analysis of awareness about land pollution, water pollution, air ...
 
NTPC BADARPUR PROJECT REPORT
NTPC BADARPUR PROJECT REPORTNTPC BADARPUR PROJECT REPORT
NTPC BADARPUR PROJECT REPORT
 
Smart grid summary
Smart grid summarySmart grid summary
Smart grid summary
 
Securing Web Communication Using Three Layer Image Shielding
Securing Web Communication Using Three Layer Image ShieldingSecuring Web Communication Using Three Layer Image Shielding
Securing Web Communication Using Three Layer Image Shielding
 
Dense wavelength division multiplexing (DWDM): A Review
Dense wavelength division multiplexing (DWDM): A Review Dense wavelength division multiplexing (DWDM): A Review
Dense wavelength division multiplexing (DWDM): A Review
 
R. Klingbeil, 2014. Water Within Currently Proposed Sustainable Development G...
R. Klingbeil, 2014. Water Within Currently Proposed Sustainable Development G...R. Klingbeil, 2014. Water Within Currently Proposed Sustainable Development G...
R. Klingbeil, 2014. Water Within Currently Proposed Sustainable Development G...
 
Android Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCUAndroid Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCU
 
Performance Evaluation and System Design with Simulation Modeling
Performance Evaluation and System Design with Simulation ModelingPerformance Evaluation and System Design with Simulation Modeling
Performance Evaluation and System Design with Simulation Modeling
 
Acknowledgment
AcknowledgmentAcknowledgment
Acknowledgment
 
Compressible Flow
Compressible FlowCompressible Flow
Compressible Flow
 
Color based image processing , tracking and automation using matlab
Color based image processing , tracking and automation using matlabColor based image processing , tracking and automation using matlab
Color based image processing , tracking and automation using matlab
 
Zeeshan Ali Khan B.Sc-Interior Design(Residential Design Project)
Zeeshan Ali Khan B.Sc-Interior Design(Residential Design Project)Zeeshan Ali Khan B.Sc-Interior Design(Residential Design Project)
Zeeshan Ali Khan B.Sc-Interior Design(Residential Design Project)
 
Automotive engine valve recession (engineering research series)
Automotive engine valve recession (engineering research series)Automotive engine valve recession (engineering research series)
Automotive engine valve recession (engineering research series)
 
Chemistry Investigatory Project (Class 12 ,CBSE)
Chemistry Investigatory Project (Class 12 ,CBSE)  Chemistry Investigatory Project (Class 12 ,CBSE)
Chemistry Investigatory Project (Class 12 ,CBSE)
 
Acknowledgement
AcknowledgementAcknowledgement
Acknowledgement
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
 
Water pollution powerpoint
Water pollution powerpointWater pollution powerpoint
Water pollution powerpoint
 
Acknowledgement
AcknowledgementAcknowledgement
Acknowledgement
 
Finite DIfference Methods Mathematica
Finite DIfference Methods MathematicaFinite DIfference Methods Mathematica
Finite DIfference Methods Mathematica
 
presentation on water pollution
presentation on water pollutionpresentation on water pollution
presentation on water pollution
 

Similar to Mathematical Modeling and Parameter Estimation for Water Quality

710201911
710201911710201911
710201911IJRAT
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Monitoring And Analysis Of Aquatic Intake In Instructive Bodies
Monitoring And Analysis Of Aquatic Intake In Instructive BodiesMonitoring And Analysis Of Aquatic Intake In Instructive Bodies
Monitoring And Analysis Of Aquatic Intake In Instructive BodiesIRJET Journal
 
710201911
710201911710201911
710201911IJRAT
 
Fuzzy logic applications for data acquisition systems of practical measurement
Fuzzy logic applications for data acquisition systems  of practical measurement Fuzzy logic applications for data acquisition systems  of practical measurement
Fuzzy logic applications for data acquisition systems of practical measurement IJECEIAES
 
Prof. Sameh Saad - A Digital Model for 3D Characterization of Groundwater Qua...
Prof. Sameh Saad - A Digital Model for 3D Characterization of Groundwater Qua...Prof. Sameh Saad - A Digital Model for 3D Characterization of Groundwater Qua...
Prof. Sameh Saad - A Digital Model for 3D Characterization of Groundwater Qua...Hudhaib Al-Allatti
 
Estimation of Weekly Reference Evapotranspiration using Linear Regression and...
Estimation of Weekly Reference Evapotranspiration using Linear Regression and...Estimation of Weekly Reference Evapotranspiration using Linear Regression and...
Estimation of Weekly Reference Evapotranspiration using Linear Regression and...IDES Editor
 
Comparision of flow analysis through a different geometry of flowmeters using...
Comparision of flow analysis through a different geometry of flowmeters using...Comparision of flow analysis through a different geometry of flowmeters using...
Comparision of flow analysis through a different geometry of flowmeters using...eSAT Publishing House
 
Calculation of solar radiation by using regression methods
Calculation of solar radiation by using regression methodsCalculation of solar radiation by using regression methods
Calculation of solar radiation by using regression methodsmehmet şahin
 
Flood and rainfall predction final
Flood and rainfall predction finalFlood and rainfall predction final
Flood and rainfall predction finalCity University
 
Numerical_Analysis_of_Semiconductor_PN_Junctions_U.pdf
Numerical_Analysis_of_Semiconductor_PN_Junctions_U.pdfNumerical_Analysis_of_Semiconductor_PN_Junctions_U.pdf
Numerical_Analysis_of_Semiconductor_PN_Junctions_U.pdfDeveshSinghal13
 
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...IRJET Journal
 
Modeling the Chlorophyll-a from Sea Surface Reflectance in West Africa by Dee...
Modeling the Chlorophyll-a from Sea Surface Reflectance in West Africa by Dee...Modeling the Chlorophyll-a from Sea Surface Reflectance in West Africa by Dee...
Modeling the Chlorophyll-a from Sea Surface Reflectance in West Africa by Dee...gerogepatton
 
Handwritten_Equation_Project_PDF.pdf handwritten equation
Handwritten_Equation_Project_PDF.pdf handwritten equationHandwritten_Equation_Project_PDF.pdf handwritten equation
Handwritten_Equation_Project_PDF.pdf handwritten equationNagavelliMadhavi
 
A CONTENT BASED WATERMARKING SCHEME USING RADIAL SYMMETRY TRANSFORM AND SINGU...
A CONTENT BASED WATERMARKING SCHEME USING RADIAL SYMMETRY TRANSFORM AND SINGU...A CONTENT BASED WATERMARKING SCHEME USING RADIAL SYMMETRY TRANSFORM AND SINGU...
A CONTENT BASED WATERMARKING SCHEME USING RADIAL SYMMETRY TRANSFORM AND SINGU...cscpconf
 
An efficient method for assessing water
An efficient method for assessing waterAn efficient method for assessing water
An efficient method for assessing waterijsc
 
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...gerogepatton
 
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...ijaia
 
An Efficient Method for Assessing Water Quality Based on Bayesian Belief Netw...
An Efficient Method for Assessing Water Quality Based on Bayesian Belief Netw...An Efficient Method for Assessing Water Quality Based on Bayesian Belief Netw...
An Efficient Method for Assessing Water Quality Based on Bayesian Belief Netw...ijsc
 

Similar to Mathematical Modeling and Parameter Estimation for Water Quality (20)

710201911
710201911710201911
710201911
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Monitoring And Analysis Of Aquatic Intake In Instructive Bodies
Monitoring And Analysis Of Aquatic Intake In Instructive BodiesMonitoring And Analysis Of Aquatic Intake In Instructive Bodies
Monitoring And Analysis Of Aquatic Intake In Instructive Bodies
 
710201911
710201911710201911
710201911
 
Fuzzy logic applications for data acquisition systems of practical measurement
Fuzzy logic applications for data acquisition systems  of practical measurement Fuzzy logic applications for data acquisition systems  of practical measurement
Fuzzy logic applications for data acquisition systems of practical measurement
 
Prof. Sameh Saad - A Digital Model for 3D Characterization of Groundwater Qua...
Prof. Sameh Saad - A Digital Model for 3D Characterization of Groundwater Qua...Prof. Sameh Saad - A Digital Model for 3D Characterization of Groundwater Qua...
Prof. Sameh Saad - A Digital Model for 3D Characterization of Groundwater Qua...
 
Estimation of Weekly Reference Evapotranspiration using Linear Regression and...
Estimation of Weekly Reference Evapotranspiration using Linear Regression and...Estimation of Weekly Reference Evapotranspiration using Linear Regression and...
Estimation of Weekly Reference Evapotranspiration using Linear Regression and...
 
Comparision of flow analysis through a different geometry of flowmeters using...
Comparision of flow analysis through a different geometry of flowmeters using...Comparision of flow analysis through a different geometry of flowmeters using...
Comparision of flow analysis through a different geometry of flowmeters using...
 
Calculation of solar radiation by using regression methods
Calculation of solar radiation by using regression methodsCalculation of solar radiation by using regression methods
Calculation of solar radiation by using regression methods
 
Ijciet 10 01_169
Ijciet 10 01_169Ijciet 10 01_169
Ijciet 10 01_169
 
Flood and rainfall predction final
Flood and rainfall predction finalFlood and rainfall predction final
Flood and rainfall predction final
 
Numerical_Analysis_of_Semiconductor_PN_Junctions_U.pdf
Numerical_Analysis_of_Semiconductor_PN_Junctions_U.pdfNumerical_Analysis_of_Semiconductor_PN_Junctions_U.pdf
Numerical_Analysis_of_Semiconductor_PN_Junctions_U.pdf
 
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
Forecasting Municipal Solid Waste Generation Using a Multiple Linear Regressi...
 
Modeling the Chlorophyll-a from Sea Surface Reflectance in West Africa by Dee...
Modeling the Chlorophyll-a from Sea Surface Reflectance in West Africa by Dee...Modeling the Chlorophyll-a from Sea Surface Reflectance in West Africa by Dee...
Modeling the Chlorophyll-a from Sea Surface Reflectance in West Africa by Dee...
 
Handwritten_Equation_Project_PDF.pdf handwritten equation
Handwritten_Equation_Project_PDF.pdf handwritten equationHandwritten_Equation_Project_PDF.pdf handwritten equation
Handwritten_Equation_Project_PDF.pdf handwritten equation
 
A CONTENT BASED WATERMARKING SCHEME USING RADIAL SYMMETRY TRANSFORM AND SINGU...
A CONTENT BASED WATERMARKING SCHEME USING RADIAL SYMMETRY TRANSFORM AND SINGU...A CONTENT BASED WATERMARKING SCHEME USING RADIAL SYMMETRY TRANSFORM AND SINGU...
A CONTENT BASED WATERMARKING SCHEME USING RADIAL SYMMETRY TRANSFORM AND SINGU...
 
An efficient method for assessing water
An efficient method for assessing waterAn efficient method for assessing water
An efficient method for assessing water
 
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
 
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
MODELING THE CHLOROPHYLL-A FROM SEA SURFACE REFLECTANCE IN WEST AFRICA BY DEE...
 
An Efficient Method for Assessing Water Quality Based on Bayesian Belief Netw...
An Efficient Method for Assessing Water Quality Based on Bayesian Belief Netw...An Efficient Method for Assessing Water Quality Based on Bayesian Belief Netw...
An Efficient Method for Assessing Water Quality Based on Bayesian Belief Netw...
 

Recently uploaded

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 

Mathematical Modeling and Parameter Estimation for Water Quality

  • 1. Mathematical Modeling and Parameter Estimation for Water Quality Management System. Summer Internship report May 15, 2014– July 15, 2014 Student: Kamal Pradhan (12BTCSE04) Program: B.Tech Computer Sc. Department: SUIIT Supervisor: Dr. Nihar Satapathy Project name: AquaSense SAMBALPUR UNIVERSITY INSTITUTE OF INFORMATION TECHNOLOGY Submitted by: Kamal Pradhan, B.Tech CSE. Guided By: Dr. Nihar Satapathy H.O.D, Dept .of Mathematics, Sambalpur University
  • 2. AquaSense, Internship 2014 2 Acknowledgement First I would like to thank Dr. Nihar Satapathy, H.O.D Dept. of Mathematics and P.I (AquaSense), Sambalpur University for giving me the opportunity to do an internship within the organization. For me it was a unique experience to be in Sambalpur and to study an interesting subject. It also helped to get back my interest in ecological research and to have new plans for my future career. I also would like to thank all the people that worked in the lab of ITRA in Sambalpur University Institute of Information Technology. With their patience and openness they created an enjoyable working environment. Furthermore I want to thank all the Research fellows and students, with whom I did the fieldwork. At last I would like to thank the ITRA Group, especially Dr. Nihar Satapathy, Principal Investigator of the project AquaSense, to allow me to do this interesting internship.
  • 3. AquaSense, Internship 2014 3Abstract This report describes various problem solving techniques in mathematical modeling for calculating various parameters of water e.g. temperature, pH, Dissolved oxygen. A mathematical model provides the ability to predict the contaminant concentration levels of a river. Here we are using an advection-diffusion equation as our mathematical model. The numerical solution of equation is calculated using Matlab & Mathematica. Parameter estimation is necessary in water modeling to predict the different parameters of water at different point with minimal errors. So here we use 2D & 3D interpolation technique for parameter estimation. Introduction This report is a short description of my two month internship carried out as a component of the B.Tech in computer science. The internship was carried out within the organization Sambalpur University Institute of Information Technology in from May 15-July 15 2014. Since my I am interested in Programming and quite acquainted with mathematical toolbox such as matlab and mathematica, the work was concentrated on solving complex mathematical problems programmatically. This internship report contains my activities that have contributed to project. In the following chapter a description of the organization ITRA and the activities is given. After this a reflection on my functioning, the unexpected circumstances and the learning goals achieved during the internship are described.
  • 4. AquaSense, Internship 2014 4Description of the internship 1. The organization ITRA IT Research Academy (ITRA) is a National Programme initiated by Department of Electronics and Information Technology (DeitY), Ministry of Communications and Information Technology (MCIT), Government of India, aimed at building a national resource for advancing the quality and quantity of R&D in Information and Communications Technologies and Electronics (IT) and its applications at a steadily growing number of academic and research institutions, while strengthening academic culture of IT based problem solving and societal development. ITRA is currently operating as a Division of Media Lab Asia (MLAsia), a Section-25 not-for-profit organization of DeitY. 2. About the project AquaSense  To develop an indigenous, intelligent and adaptive decision support system for on-line remote monitoring of the water flow and water quality across the wireless sensor zone to generate data pertaining to utilization of water and raising alerts in terms of mails/messages/alarm following any violation in the safety norms for the drinking water quality and usage of amount of water. This proposed research objective is also to provide simple, efficient, cost effective and socially acceptable means to detect and analyze water bodies and distribution regularly and automatically  to design and develop wireless sensing hardware for collecting hydraulic parameters like pressure, flow and volume, and water quality parameters like Salinity, Color, pH, DO, Turbidity, Temperature, Fluoride, Arsenic, Mercury, Lead, Selenium, Nitrate, Iron, Manganese and pathogens like Algal toxins (cyan bacteria) etc  to design wireless sensor network zone architecture for drinking water flow and quality monitoring  to develop the interface modules (both hardware and software) for the wireless sensor nodes and probes  to develop an user interface for logging data after data fusion from the different sensor nodes  To design a database schema for storing on-line data received from the sensors.  a data collection and visualization infrastructure  to develop modeling and analysis tools (on-line estimation and prediction of the water distribution system’s hydraulic state and leak/burst detection and localization)  to develop a Rule-base by incorporating the feedback of users to include the quality perception of users based on the locality and preferences through machine learning algorithms  to develop a knowledge-base for different regions and applications  to develop an expert system for adaptive setting up of new bench mark for water quality of drinking water and other usage
  • 5. AquaSense, Internship 2014 5 3. Mathematical Modeling and finding numerical solutions Mathematical Model for the Concentration of Pollution using Advection- Diffusion equation A mathematical model provides the ability to predict the contaminant concentration levels of a river. We present a simple mathematical model for river pollution. The model consists of a pair of coupled reaction diffusion-advection equations for the pollutant and dissolved oxygen concentrations, respectively. We consider the steady state case in one spatial dimension. For simplified cases the model is solved analytically by considering the case of zero dispersion, that’s mean ( Dp=0 and Dx=0). The standard advection-diffusion-equation may be written as follows: C: Concentration of pollutant D: Diffusion Coefficient u: Mean flow velocity x: Position t: Time Solving the equation through programmatically: Mathematica Code Here we are solving the advection diffusion equation where the time is varying from 0-2 seconds and the position is varying from –pi to pi. sol = NDSolve[{𝐷[𝑐[𝑡, 𝑥], 𝑡] == 0.5𝐷[𝑐[𝑡, 𝑥], 𝑥, 𝑥] + 𝑐[𝑡, 𝑥]𝐷[𝑐[𝑡, 𝑥], 𝑥], 𝑐[𝑡, −Pi] == 𝑐[𝑡, Pi] == 0, 𝑐[0, 𝑥] == Sin[𝑥]}, 𝑐, {𝑡, 0,2}, {𝑥, −Pi, Pi}]; By plotting solutions evaluated from the above equation we obtain the following graphs. Plot3D[Evaluate[𝑢[𝑡, 𝑥]/. First[sol]], {𝑡, 0,2}, {𝑥, −Pi, Pi}, PlotRange → All] Fig. 1. Graphs of advection diffusion equation
  • 6. AquaSense, Internship 2014 6 Now if we vary the position and time over a period of t=30 with density =0.7 and concentration of pollutant. Solution of advection dispersion equation using matlab Fig. 2 Graph of advection diffusion equation with varying parameters
  • 8. AquaSense, Internship 2014 8 Matlab functions to solve the equations 1. %Boundary Condition function [ p1,q1,pr,qr ] = pdebc( x1,cl,xr,cr,t ) p1=cl-1; q1=0; pr=cr; qr=0; end %Boundary Condition function [ p1,q1,pr,qr ] = pdebc( x1,cl,xr,cr,t ) p1=cl-1; q1=0; pr=cr; qr=0; end %Initial Condition function [ c0 ] = pdeic( x ) c0=0; end % Main Function function [ g,f,s ] = pdefun( x,t,c,DcDx ) %PDEFUN Summary of this function goes here % Detailed explanation goes here D=2; g=4; f=D*DcDx; s=0; end Fig. 3 Graph obtained by varying x= (0, 2.5, 200) & t= (0, 5,100)
  • 9. AquaSense, Internship 2014 94. Parameter Estimation in Modeling Parameter estimation plays a critical role in accurately describing system behavior through mathematical models such as statistical probability distribution functions, parametric dynamic models, and data-based models. In the mathematical field of numerical analysis, interpolation is a method of constructing new data points within the range of a discrete set of known data points. As water body is dynamic i.e. it contains more than coordinate so we cannot use linear interpolation to estimate a particular parameter in a given point. Let us assume that we place sensors in the upper surface of water so now the sensors are in a 2 dimensional coordinate system (Fig. 4). Here we can see that the river is a regular body i.e. square in shape. The sensors are placed in the body such that it exactly covers the river. Here we cannot use linear interpolation as a single point in the grid is surrounded by 4 sensors. Therefore the value at a single point depends upon the value that is accused by the neighboring sensors. The solution to this problem is bilinear interpolation or gridded interpolation.
  • 10. AquaSense, Internship 2014 10 Bilinear interpolation is used when we need to know values at random position on a regular 2D grid. The key idea is to perform linear interpolation first in one direction, and then again in the other direction. Although each step is linear in the sampled values and in the position, the interpolation as a whole is not linear but rather quadratic in the sample location. Here the input data of temperature is between points -5 to 3 with 0.25 as interval but we get the interpolated data with a 0.125 interval. so by bilinear interpolation we can easily estimate a parameter in particular point. Fig. 5 Graph of 2d interpolation for 2d water body for temperature. Input Data Interpolated data
  • 11. AquaSense, Internship 2014 11 If we consider river as a 3D model i.e. it has x, y and z coordinate. We cannot use a bilinear interpolation for parameter estimation. Here we will use 3D interpolation for paramet estimation. 3D interpolation Graphs Input data Output data
  • 12. AquaSense, Internship 2014 12 The following data were collected by T. N. Tiwari and S. N. Nanda in the year 1999.