Numerical Simulations of Water Quality Measurement Model in an Opened-Closed Reservoir with Contaminant Removal Mechanism

The mathematical simulation of water contaminant measurement is often used to assess the water quality. The monitoring point placement for water qualitymeasurement in an opened-closed reservoir can give accurate or inaccurate assessment. In this research, the mathematical model of the approximated water quality in an opened-closed reservoir with removal mechanism system is proposed. The water quality model consists of the hydrodynamic model and the dispersion model. The hydrodynamic model is used to describe the water current in the opened-closed reservoir. The transient advection-diffusion equation with removal mechanism provides the water pollutant concentration. The water velocity from the hydrodynamic model is plugged into the dispersion model. The finite difference techniques are used to approximate the solution of the water quality model. The proposed numerical simulations give a suitable area of zonal removal mechanism placement. The proposed simulations also give the overall and specified approximated water quality for each point and time when the exit gate is opened on the different periods of time. In addition, the proposed techniques can give a suitable period of time to open the exit gate to achieve a good agreement water quality by using contaminant removal mechanism.


Introduction
Field measurement and mathematical simulation are methods to detect the amount of the level of pollutants in water area.In water quality modeling for reservoir, the general governing equations used are the hydrodynamic model and the dispersion model.The two-dimensional shallow water equation and the advection-diffusion-reaction equation govern the first and the second models, respectively.
The several numerical techniques for solving such models were available.In [1][2][3], they used the hydrodynamic model and the dispersion model with the finite element method to approximate the velocity of the water current in bay, estuaries, and open reservoir, respectively.In [4], the finite element method was used for solving the water pollution levels to the optimal control of the water treatment plants to achieve minimum cost.In [5], the method of the characteristic technique combined with Galerkin finite element method is used to solve the shallow water mass transport problems.In [6,7], the numerical techniques are used to solve the nonuniform flow of stream water quality model with the advection-dispersionreaction equations.In [8], the Crank-Nicolson method is used to solve the hydrodynamic model and the backward time central space (BTCS) for the dispersion model.In [9], the approximated solutions of the hydrodynamic model and advection-diffusion-reaction equation in a uniform reservoir are proposed.In [10], a nondimensional form of the hydrodynamic model with variable coefficients using Lax-Wendroff method is presented.In [11], the Lax-Wendroff finite difference method is also proposed to approximate the water elevation and water flow velocity with a rectangular domain.In [12], the mathematical models and numerical methods for approximating water current and pollutant concentration level in Rama-nine reservoirs are presented.In [13], 2 International Journal of Differential Equations the Lax-Wendroff method for solving the dimensional form of shallow water equation in spherical model with Matlab program is proposed.In [14], an analytical solution to a hydrodynamic model in an open uniform reservoir with the specified tidal wave functions is proposed.
In this research, the mathematical models for water quality measurement which consist of the hydrodynamic model and the dispersion model, used to simulate water quality in a water flow systems, were considered.The first is a hydrodynamic model that provides the water current and the elevation of water in an opened-closed reservoir.The second is a dispersion model that gives the concentration of pollutant in an opened-closed reservoir with the contaminant removal mechanism.For numerical techniques, we used the Lax-Wendroff method to the system of the hydrodynamic model and the forward in time central in space (FTCS) to the dispersion model.The results from the shallow water equation of the hydrodynamic model are the water flow velocity which are input data for advection-diffusionreaction equation which provides the level of pollutant concentration field.Averaging the equation over the depth with anisotropic bottom topography and discarding the term due to the Coriolis force, surface wind effect, and external forces, it follows that the two-dimensional shallow water and advection-diffusion-reaction equations are applicable.

Water Quality Measurement in Opened-Closed Reservoir with Removal Mechanism Model
The mathematical models for water quality measurement in opened-closed reservoir with removal mechanism are described.They are used to simulate time-varying pollutant levels caused by waste water discharges from external source into an opened-closed reservoir with removal mechanism and drain water at the exit gate.The first model is a hydrodynamic model that determined the velocity and elevation of the water at any locations in the reservoir with anisotropic bottom topography, while the second model is a pollutant dispersion with removal mechanism model that determined the pollutant level at any points in the reservoir.

Hydrodynamic Model.
The two-dimensional unsteady water current into and out of the reservoir can be determined by using the system of shallow water equations as the conservation of mass and conservation of momentum.It is taken into account that the equations of the system of shallow water can be derived from depth-averaging Navier-Stokes equations in the vertical direction, neglecting the diffusion of momentum due to turbulence and discarding the terms expressing the effects of friction, surface wind, Coriolis factor, and shearing stresses.The continuity and momentum equation governs the hydrodynamic behavior of the reservoir [15].The well known two-dimensional shallow water equations are [1,2,13,16] where  is the longitudinal distance along the reservoir (m),  is the transverse distance along the reservoir (m),  is the time (s), (, ) is the depth measured from the mean water level to the reservoir bed (m), (, , ) is the elevation of water surface from the mean water level in reservoir (m), ℎ(, , ) = (, ) + (, , ) is the elevation of water surface measured from the mean water level to the bed of the reservoir, (, , ) is velocity in -direction (m/s), V(, , ) is velocity in -direction (m/s), and  is gravitational constant Such independent variables , , and  make up the special dimensions and time.The dependent variables are the depth ℎ with respect to the surface and the two-dimensional velocities  and V.The partial derivatives taken with respect to the same term (, , ) are grouped into vectors and rewritten as a single hyperbolic partial differential [13,15], where ) . (3)

Water Pollutant Dispersion Model.
Applying the distributed pollutant process, including the transportation and diffusion, we have the mass transfer equation.There is a representation simplified by averaging the equation over the depth, generating the advection-diffusion equation as follows [4]: where (, , ) is the depth averaged water pollutant concentration at the point (, ) and at the time  (kg/m 3 ) and  is the pollutant dispersion coefficient (m/s 2 ).

Water Pollutant Dispersion with Removal Mechanism
Model.The mechanisms of pollutant removal are introduced by decaying chemical reaction and absorptive reduction.A representation is modified by generating the advectiondiffusion-reaction with sink term [2], where (, , ) is the depth averaged water pollutant concentration at the point (, ) and at the time  (kg/m 3 ),  is the pollutant dispersion coefficient (m/s 2 ),  ≥ 0 is the water pollutant decaying rate (s −1 ), and (, , ) is the decreasing rate of water pollutant concentration due to a water pollutant sink (kg/m 3 s).

Initial and Boundary Conditions of Hydrodynamic Model
in Opened-Closed Reservoir.The initial conditions of (2) are assumed to be motionless, An opened-closed reservoir supplied by the outer water wave is going to flow into the reservoir such that the water is drained as shown in Figure 1.The elevation of water on the opened gate is assumed to be a wave maker function, say .The elevation of water on the exit gates is assumed to be ℎ/ = , where  < 0 is the rate of change between inner and outer water level through the eastern exit gate.
The boundary conditions of the model in an openedclosed reservoir are assumed as follows: (i)  = 0, V/ = 0, and ℎ/ = 0, for all (, ) lie on the horizontal edges of the reservoir.
(iv) V = 0, / =   , and ℎ/ =  for all (, ) lie on the flowing water at the opened-closed exit gate.The initial and boundary conditions are also shown in Figure 2. The embankment of reservoir is a nonabsorbing boundary bank.Consequently, there is no rate of change of pollutant concentration at the boundary of opened-closed reservoir, / = 0, where  is a normal vector, as shown in Figure 3.

Removal Pollutant Concentration Mechanism in Water
Pollutant Dispersion Model.The removal terms can model a variety of different phenomena, that is, the removal of pollutant concentration in (5) with absorptive rate function  = (, , ) (kg/m 3 s), where  is a nonnegative real value function.
The term  in (5) arises when there is pollutant concentration loss from a water surface; the reaction term is used to describe the decaying rate of pollutant concentration, where  is a nonnegative constant.

Numerical Techniques
The hydrodynamic model provides the velocity field and elevation of the water.Then the calculated results will be input into the dispersion model that provides the pollutant concentration results.

Lax-Wendroff Method for the Hydrodynamic Model.
We apply the numerical method for solving the single hyperbolic partial differential equations known as the Lax-Wendroff method.The Lax-Wendroff method involves starting to calculate a first half step and then using the result from the half step to calculate the full step [7,8].To find the water velocity and water elevation, we now discretize (2) on a rectangle reservoir with length  and width . points are defined by   = Δ for all  = 0, 1, 2, . . ., ,   = Δ for all  = 0, 1, 2, . . ., , and   = Δ for all  = 0, 1, 2, . . .,  in which , , and  are positive integers.
Using the Lax-Wendroff method [7,8] on (2), we can obtain the following finite difference equation of hyperbolic partial differential equations.The first half step defines values of  at time step  + 1/2 and the midpoint of the grid cell; the first half steps are stored in separate matrices   and   to be reintroduced during the second half step as shown in Figure 4.The first half steps for  and  are approximated in a similar process and are stored in   ,   and   ,   as follows [13,15]: The second half step completes the time step +1 by using the values calculated in the first half step to calculate new values at the centre of the grid cell [13,15]: The finite difference method computes a numerical approximation to the boundary conditions of the reservoir.For the left boundary condition, we have  = 0 and 1 ≤  ≤ , letting   0, =   1, ,   0, =   1, , and   0, =   1, .Substituting the approximate unknown vector nodes   0, ,   0, , and   0, of the left boundary into (7), (9), and (11), respectively, For For the lower boundary condition, we have 1 ≤  ≤  and  = 0, letting   ,0 =   ,1 ,   ,0 =   ,1 , and   ,0 =   ,1 Substituting the approximate unknown vector nodes   ,0 ,   ,0 , and   ,0 of the lower boundary into (8), (10), and (12), respectively, For the upper boundary condition, we have 2 )] =   , . (17)

Forward Time Central Space Method for Water Pollutant
Dispersion with Removal Mechanism Model.We can then approximate (  ,   ,   ) by   , ; the value of the difference approximation of (, , ) at point the grid point (  ,   ,   ) is defined by   = Δ for all  = 0, 1, 2, . . ., ,   = Δ for all  = 0, 1, 2, . . ., , and   = Δ for all  = 0, 1, 2, . . ., , in which , , and  are positive integers.We use the forward differences in time and central difference in space in advection-diffusion equation; we get the finite difference equations as follows [15]: where   = Δ/2Δ,   = Δ/2Δ,   = Δ/(Δ) 2 ,   = Δ/(Δ) 2 ,  is the diffusion coefficient (m 2 /s),  is the substance decaying rate (s −1 ), and (, , ) is the decreasing rate of water pollutant concentration due to a water pollutant sink (kg/m 3 s).If   , is on the boundary of the opened-closed reservoir, it is calculated by applying the backward difference scheme to the right boundary condition and the upper boundary condition.We also take the forward difference scheme to the left boundary condition and the lower boundary condition.

Numerical Simulations
Assume that the western gate is opened and the water elevation along the gate is described as a function  = 1 + (0.25 sin(0.1)).The elevation of water on the eastern exit gates is assumed to be ℎ/ =  = 0.05, where  is the rate of change between inner and outer water level through the eastern exit gate.The initial pollutant concentration in reservoir is  0 = 1.50 (kg/m 3 ).The water pollutant is released from the open western gate into the reservoir, which is the averaged pollutant concentration along the entrance gate   defined by  1 = 10.00 (kg/m 3 ).The reservoir has drained water off through the exit eastern gate with the rate of change of pollutant concentration across the gate defined by  2 = −0.001.The embankment of reservoir is a nonabsorbing boundary bank.Consequently, there is no rate of change of pollutant concentration at the boundary of opened-closed reservoir, / = 0, where  is a normal vector.There are three contaminant removal mechanisms in the reservoir as shown in Figure 1.There are 3 mechanisms such as northern, center, and southern mechanisms which are contained in each zone.The removal mechanisms for each zone are located as shown in Table 1.If the contaminant removal mechanism is added, assume that the removal mechanisms have the same absorptive rate that can be described as a function (, , ) = 0.10 (kg/m 3 s).There is a pollutant concentration which is loss from the water surface, the decaying rate  = 0.1 × 10 −6 (s −1 ).
The water flow velocity in and -directions and the water elevations are approximated by using (13) as shown in Tables 3 and 4 and Figure 5.The water pollutant concentrations are approximated by using (20).The approximated pollutant concentrations in an opened-closed reservoir are shown in Table 5.

Simulation 1: The Different Activated Zonal Removal
Mechanism Systems Effect.The approximated pollutant concentration levels in removal mechanism system and nonremoval mechanism system are compared in Figure 6.The approximated pollutant concentrations, when the first zonal removal mechanism systems are activated, are shown as a surface plot in Figure 7.The approximated pollutant  concentrations, when the second zonal removal mechanism systems are activated, are shown as a surface plot in Figure 8.The approximated pollutant concentrations, when the third zonal removal mechanism systems are activated, are shown as a surface plot in Figure 9.
The approximated pollutant concentrations along the northern part, (, , ), for all 0 ≤  ≤ 2000 m,  = 1200 m, and 0 ≤  ≤ 100 min, when the first, second, and third zonal removal mechanism systems are activated,     time such as 0-100 min, 33-100 min, and 66-100 min, the approximated pollutant concentrations over 5 monitoring nodes are also compared in Figure 13.The comparison of approximated pollutant concentrations along the eastern exit gate, (, , ), for all 800 ≤  ≤ 1200 m,  = 2000 m, and 0 ≤  ≤ 100 min, when the eastern exit gate is opened or shut on the difference periods of time such as 0-100 min, 33-100 min, and 66-100 min, is shown in Figure 14.The overall approximated pollutant concentrations, when the eastern exit gate is opened on the period 0-100 min, are shown in Figure 15.The overall approximated pollutant concentrations, when the eastern exit gate is opened on the period 33-100 min, are shown in Figure 16.The overall approximated pollutant concentrations, when the eastern exit gate is opened on the period 66-100 min, are also shown in Figure 17.

Discussion
In simulation 1, the different activated zonal removal mechanism systems are considered.The approximated pollutant concentration levels with the contaminant removal mechanism system are shown in Figure 6.We can see that the removal mechanism can be used to reduce the pollutant concentration in the opened-closed reservoir.The approximated pollutant concentrations, when the first/second/third zonal removal mechanism systems are activated, are shown as a surface plot in Figures 7, 8, and 9.The approximated pollutant concentrations along the northern/middle/southern parts, when the first, second, and third zonal removal mechanism systems are activated, are compared in Figures 10,11,and 12.We can see that the third zonal removal mechanism systems give better water quality than another activated zones.In simulation 2, the eastern exit gate opening on different periods of time is considered.The suitable third zonal removal mechanism system has been chosen to be activated.If the eastern exit gate is opened or shut on different periods of time such as 0-100 min, 33-100 min, and 66-100 min, the approximated pollutant concentrations over 5 monitoring nodes are shown in Figure 13.We can see that the full periods (0-100 min) of opened exit gate give better water quality for all 5 monitoring nodes.
If we consider the approximated pollutant concentrations along the eastern exit gate, when the the eastern exit gate is opened or shut on the difference periods of time as shown in Figure 14, we can also see that the long opened exit gate period (0-100 min) gives the better monitored water quality than another periods as well.However, the overall approximated pollutant concentrations, when the eastern exit gate is opened on the different period of times, are shown in Figures 15,16,and 17.We can see that the period (66-100 min) of the opened exit gate, which is shortest, gives better overall water quality than other periods.These mean that the monitoring point placement for water quality measurement in an opened-closed reservoir affect to water quality assessment.These mean that the approximated water quality measurement on monitoring points in an opened-closed reservoir affect the accuracy assessment.The overall simulated pollutant concentration method gives more precise water quality assessment than the monitoring assessment method.

Conclusion
The monitoring point placement for water quality measurement in an opened-closed reservoir can give accurate or inaccurate assessment.However, the proposed numerical simulations have given the overall approximated water quality when the removal mechanism systems are activated in different zones.The proposed techniques give the zonal removal mechanism placement to specialists who want to control the water quality.Moreover, we obtain the overall and specified approximated water quality for each points and time when the exit gate is opened on the different periods of time.The techniques can give a suitable period of time to open the exit gate to specialists who want to get a good agreement water quality by using contaminant removal mechanism.

Figure 2 :Figure 3 :
Figure 2: Initial and boundary conditions of hydrodynamic model in opened-closed reservoir.

Figure 4 :
Figure 4: The values of vector   ,   , , and  represented the solution at the midpoints of the grid cell.

Figure 5 :
Figure 5: Approximated water velocity in an opened-closed reservoir.

Figure 10 :
Figure 10: Comparison of approximated pollutant concentrations along the northern part, (, , ), for all 0 ≤  ≤ 2000 m and  = 1200 m and 0 ≤  ≤ 100 min, when the first, second, and third zonal removal mechanism systems are activated.

Figure 16 :
Figure 16: The overall approximated pollutant concentrations when the eastern exit gate is opened on the period 33-100 min.

Figure 17 :
Figure17: The overall approximated pollutant concentrations when the eastern exit gate is opened on the period 66-100 min.
.2. Simulation 2: The Exit Gate Opening on Different Periods of Time Effect.Assuming that the third zonal removal mechanism systems are activated.The approximated pollutant concentrations over 5 monitoring nodes, when the third zonal removal mechanism systems are activated and the eastern exit gate is opened, are shown in Figure13.Five monitoring nodes are located as shown in Table2.If the eastern exit gate is opened or shut on different periods of