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 management system.

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 management system. (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

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 

Recently uploaded (20)

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 

Mathematical modeling and parameter estimation for water quality management system.

  • 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.