Introduction

In recent decades, water shortage has become a severe problem in arid and semi-arid countries. Because of the importance of groundwater in supplying drinking water, its environmental aspects such as contamination transport in groundwater have been significantly studied. Many researches have focused on contamination of groundwater due to anthropogenic sources mainly by agricultural activates and domestic wastewater. Nitrate contamination of groundwater is one of the main subjects in many of these studies (e.g., Lagerstedt et al. 1994; D’Agostino et al. 1998; DeSimone and Howes 1998; Abu Maila et al. 2004; Schilling and Wolter 2007). According to Tesoriero and Voss (1997), a proper prediction of NO3–N leaching in the unsaturated zone is essential for the assessment of groundwater contamination and ultimately for development of a nutrient management protocol. The World Health Organisation (1996) has established maximum permissible limits for Nitrate in water used for drinking purposes at 10 mg/L NO3–N. Ingestion of Nitrate by infants can cause low oxygen level in blood and a potentially fatal condition (Spalding and Exner 1993; Nolan 2001).

To have a reliable tool for quantitative management of pollution problems, researchers have developed several models for different applications. These models can be classified under two large groups; qualitative assessment tools and quantitative assessment tools. To predict Nitrate contamination risks and fates in large areas, different methods such as vulnerability assessment index, mass balance, and lumped-parameter models (LPMs) have been developed. DeSimone and Howes (1998) determined the percentages of different processes of Nitrogen fate such as sorption, nitrification, volatilization, etc., in a large area. Wakida and Lerner (2005) and Groffman et al. (2004) have measured total Nitrogen loadings in large-scale urban areas. Ju et al. (2006) has studied the annual Nitrogen budget and groundwater Nitrate concentrations in three major intensive cropping systems in north of China. Nolan (2001) has also investigated relationship among precipitation, population, and Nitrate concentration in groundwater. Joekar-Niasar (2003) and Joekar-Niasar and Ataie-Ashtiani (2003) have suggested an assessment approach based on the modified DRASTIC (Aller et al. 1987) for domestic wastewater source in urban areas. Since large-scale studies of groundwater contamination cover mostly qualitative aspects of problem (Osborn et al. 1998, Rupert 2001), it is necessary to define an approach for quantitative assessment of contamination.

Existing quantitative models are mostly based on soil–plant systems. Antonopoulos and Wyseure (1998) developed WANISIM model for modeling fate and transport of Nitrogen in agricultural applications. Hutson and Wagenet (1991) developed LEACHN to simulate transport of Nitrogen in soil using Richard’s equation. Kaluarachchi and Parker (1998) developed a three-dimensional finite-element model for simulation of transport and transformation of Nitrogen in unsaturated zone. There are a large number of accurate numerical methods and models, available for solute transport equation with reaction term (e.g., Ataie-Ashtiani and Hossaini 2005a, b; Ataie-Ashtiani et al. 1999). One of the few models for nonagricultural applications was developed by MacQuarrie et al. (2001). They developed a detailed model for simulating fate and transport of Nitrogen components in a septic tank system in saturated and unsaturated zones. This model also includes detailed geochemical, physical, and biochemical processes. However, involved complexities in these models make their applicability limited to small areas. Although many numerical models have been developed for simulating Nitrogen fate, it is difficult to employ them in large scale due to the limited available field data. Hence, analytical methods, simple models, and LPMs are of interest in such cases. For instance, Saâdi et al. (2003) developed a simple model for a large-scale study of Nitrate contamination in the unsaturated zone for agricultural fields of the Mnasra with area of 500 km2. They developed a simple unsaturated zone model to describe Nitrogen dynamics in the field. They have estimated quantitatively seasonal Nitrate concentrations at different observation wells within a large area. All the aforementioned modeling tools are based on detailed geochemical input data of the porous media, which makes it difficult to apply in large-scale cases. For cases with insufficient data, LPMs are of great value. LPMs were introduced for the first time in 1950s and 1960s for interpretation of environmental radioisotope data in groundwater hydrology (Ling and El-Kadi 1998). In the recent decade, various analytical models have been developed using the first-order kinetic and linear isotherm equations to estimate pesticide contamination of groundwater. Ling and El-Kadi (1998) developed a LPM for Nitrogen transformation in the unsaturated zone for a soil–plant system. Since there are very few models developed for large urban areas with continuous discharge of wastewater that can explain temporal and spatial behavior of Ammonium and Nitrate in unsaturated zone, we have modified and applied a LPM based on Ling and El-Kadi (1998) in a geographic information system (GIS). This model needs less geochemical data compared with the abovementioned models. We have studied temporal and spatial contamination of Nitrate and Ammonium in unsaturated zone. Effect of depth on groundwater in retarding the discharged contamination in groundwater has been illustrated. In addition, the required time for reaching steady-state condition in unsaturated zone and the spatial distribution of contamination level has been studied.

Geochemical processes

Figure 1 shows major concepts of Nitrogen transformations associated with the soil–groundwater environment in cesspools or septic tanks. Bulk ratio of Nitrogen in wastewater at the cesspool is in form of urea, organic Nitrogen, and aqueous Ammonium. Urea can be hydrolyzed under anaerobic conditions, and Ammonium anion is produced (Wilhelm et al. 1994). Ammonium anion can be immobilized geochemically by adsorption to the soil. Nitrification process is fulfilled in two stages. At the first stage, in the presence of oxygen, Ammonia may be rapidly oxidized to Nitrite (NO2 ) by the autotrophic Ammonia-oxidizing bacteria (Nitrosomonas). In the second stage, the autotrophic Nitrite-oxidizing bacteria oxidize Nitrite to Nitrate. Nitrite is a rather unstable Nitrogen species, which will generally be reduced or oxidized. However, Nitrate is quite soluble in water, and is not significantly adsorbed by clay-rich soils, since it is an anion. Usually, nitrification occurs mostly in the aerobic unsaturated zone, and it is thought generally that it is an oxic process. In some cases, Ammonia oxidizers are able to oxidize ammonia under anoxic conditions as explained by Wilhelm et al. (1994). Below the groundwater table, Nitrate can be reduced to Nitrogen gas. This process is called denitrification. It occurs primarily in anoxic conditions, and involves heterotrophic bacteria (Paracoccus, Pseudomonas). Additionally, in case of Nitrogen gas saturation in the groundwater, it tends to migrate out of the saturated zone. In spite of the fact that denitrification takes place in saturated zone under anoxic conditions, oxic denitrification has been also observed (Lee et al. 2006). In this case study, because of continuous discharge of wastewater for several decades, physical properties of this soil are different from a soil sample in an undisturbed area. In addition, due to the assumption of depth-averaged processes, nitrification and denitrification processes can be both considered in the same zone.

Fig. 1
figure 1

Basic processes of nitrogen compounds in saturated and unsaturated zone

Model description

Concept of proposed LPM is shown in Fig. 2. Dispersive fluxes are neglected because of gravity effect and spatial setup of the model. Simplified equation of mass conservation for average concentration of contaminant in soil column is considered as follows:

$$ {{\partial \left( {\theta c} \right)} \mathord{\left/ {\vphantom {{\partial \left( {\theta c} \right)} {\partial t}}} \right. \kern-\nulldelimiterspace} {\partial t}} = - {{\partial \left( {qc} \right)} \mathord{\left/ {\vphantom {{\partial \left( {qc} \right)} {\partial z}}} \right. \kern-\nulldelimiterspace} {\partial z}} \pm \left( {{\text{Sink/Source}}} \right) $$
(1)

where θ is the soil water content within depth (cm3/cm3), q is the water flux (cm/day), c is the solute concentration in solution (mg/cm3), and z is the depth to groundwater (cm).

Fig. 2
figure 2

Schematic of mass balance box

By integrating Eq. 1 over depth to groundwater we can write:

$$ \int\limits_{0}^{L} {{{\partial \left( {\theta c} \right)} \mathord{\left/ {\vphantom {{\partial \left( {\theta c} \right)} {\partial t}}} \right. \kern-\nulldelimiterspace} {\partial t}}{\text{d}}z = } - \int\limits_{0}^{L} {{{\partial \left( {qc} \right)} \mathord{\left/ {\vphantom {{\partial \left( {qc} \right)} {\partial z}}} \right. \kern-\nulldelimiterspace} {\partial z}} \pm \phi } $$
(2)

in which ϕ is a source/sink term. It can be assumed that depth (L) is not dependent on time. This assumption is valid if groundwater table is not changing significantly. Based on this concept, average concentration in depth is of interest. Depth-averaged values of variables θ, c, and (θc) at a given time are defined as follows:

$$ \left\langle \theta \right\rangle = {1 \mathord{\left/ {\vphantom {1 L}} \right. \kern-\nulldelimiterspace} L}\int\limits_{0}^{L} {\theta \left( {z,t} \right){\text{d}}z} $$
(3)
$$ \left\langle c \right\rangle = {1 \mathord{\left/ {\vphantom {1 L}} \right. \kern-\nulldelimiterspace} L}\int\limits_{0}^{L} {c\left( {z,t} \right){\text{d}}z} $$
(4)
$$ \left\langle {\theta c} \right\rangle = {1 \mathord{\left/ {\vphantom {1 L}} \right. \kern-\nulldelimiterspace} L}\int\limits_{0}^{L} {\theta \left( {z,t} \right)c\left( {z,t} \right){\text{d}}z} $$
(5)

Rewriting Eq. 2 results:

$$ L\left\langle {{{\partial \left( {\theta c} \right)} \mathord{\left/ {\vphantom {{\partial \left( {\theta c} \right)} {\partial t}}} \right. \kern-\nulldelimiterspace} {\partial t}}} \right\rangle = c_{{{\text{in}}}} q_{{{\text{in}}}} - c_{{\text{t}}} q_{{\text{t}}} \pm \phi $$
(6)

in which c t is the concentration in solution below the depth of interest (mg/cm3), c in is the dissolved concentration of contaminant applied to the top of depth of interest (mg/cm3), q in is the inflow recharge per unit area (cm/day), q t is the outflow from the depth of interest per unit area (cm/day), and ϕ is the sink or source term over the depth.

To quantify the involved terms in such a large-scale problem in which temporal variation of variables θ and c is not abrupt, an approximation to the left side of Eq. 6 is made, although mathematically it is not correct.

$$ L\left\langle {{{\partial \left( {\theta c} \right)} \mathord{\left/ {\vphantom {{\partial \left( {\theta c} \right)} {\partial t}}} \right. \kern-\nulldelimiterspace} {\partial t}}} \right\rangle \approx L\left\langle \theta \right\rangle {{\partial \left\langle c \right\rangle } \mathord{\left/ {\vphantom {{\partial \left\langle c \right\rangle } {\partial t}}} \right. \kern-\nulldelimiterspace} {\partial t}} + L\left\langle c \right\rangle {{\partial \left\langle \theta \right\rangle } \mathord{\left/ {\vphantom {{\partial \left\langle \theta \right\rangle } {\partial t}}} \right. \kern-\nulldelimiterspace} {\partial t}} $$
(7)

Based on the mass balance principle, change of the average water content equals the inflows minus outflows from the soil column.

$$ L{{\partial \left\langle \theta \right\rangle } \mathord{\left/ {\vphantom {{\partial \left\langle \theta \right\rangle } {\partial t}}} \right. \kern-\nulldelimiterspace} {\partial t}} = q|_{{z = 0}} - q|_{{z = L}} = P + I_{{{\text{ww}}}} - q_{{\text{t}}} $$
(8)

where P is the precipitation (cm/day) and I ww is the wastewater inflow rate (cm/day).

By inserting Eqs. 8 and 7 into Eq. 6, Eq. 9 will be obtained as follows:

$$ \left( {L\left\langle \theta \right\rangle } \right){{{\text{d}}\left\langle c \right\rangle } \mathord{\left/ {\vphantom {{{\text{d}}\left\langle c \right\rangle } {{\text{d}}t}}} \right. \kern-\nulldelimiterspace} {{\text{d}}t}} + \left( {P + I_{{{\text{ww}}}} } \right)\left\langle c \right\rangle + \left( {c_{{\text{t}}} - \left\langle c \right\rangle } \right)q_{{\text{t}}} = c_{{{\text{in}}}} q_{{{\text{in}}}} \pm \phi \left( t \right) $$
(9)

It is assumed that the average concentration in the soil column is equal to the concentration at the bottom of soil column. Since urea is hydrolyzed to Ammonium rapidly in septic tanks and cesspools, the amount of urea in contrast to Ammonium is negligible. Considered processes in model include transformation of Ammonium to Nitrate (nitrification) with k 1 (day−1) rate, transformation of Nitrate to Nitrogen (denitrification) with k 2 (day−1) rate, soil adsorption, and volatilization of Ammonium to Ammoniac gas (Fig. 3). Finally, following set of equations are obtained:

$$ q_{{\text{o}}} = P + I_{{{\text{ww}}}} $$
(10)
$$ \left( {L\bar \theta } \right){{{\text{d}}A} \mathord{\left/ {\vphantom {{{\text{d}}A} {{\text{d}}t}}} \right. \kern-\nulldelimiterspace} {{\text{d}}t}} + q_{{\text{o}}} A = q_{{{\text{in}}}} A_{{{\text{in}}}} - L\left( {\rho _{{\text{b}}} K_{{{\text{dA}}}} + \varepsilon K_{{\text{H}}} } \right){{{\text{d}}A} \mathord{\left/ {\vphantom {{{\text{d}}A} {{\text{d}}t}}} \right. \kern-\nulldelimiterspace} {{\text{d}}t}} - k_{1} \left( {L\bar \theta A} \right) $$
(11)
$$ \left( {L\bar \theta } \right){{{\text{d}}N} \mathord{\left/ {\vphantom {{{\text{d}}N} {{\text{d}}t}}} \right. \kern-\nulldelimiterspace} {{\text{d}}t}} + q_{{\text{o}}} N = q_{{{\text{in}}}} N_{{{\text{in}}}} + k_{1} \left( {L\bar \theta A} \right) - \left( {L\rho _{{\text{b}}} K_{{{\text{dN}}}} } \right){{{\text{d}}N} \mathord{\left/ {\vphantom {{{\text{d}}N} {{\text{d}}t}}} \right. \kern-\nulldelimiterspace} {{\text{d}}t}} - k_{2} \left( {L\bar \theta N} \right) $$
(12)

where K dA and K dN are the distribution coefficients (cm3/g) of Ammonium and Nitrate, respectively. Attenuation rates for the transport of Ammonium and Nitrate are defined as λ 1 and λ 2, respectively, which are given as follows:

$$ \lambda _{1} = \left( {{1 \mathord{\left/ {\vphantom {1 {R_{{{\text{FA}}}} }}} \right. \kern-\nulldelimiterspace} {R_{{{\text{FA}}}} }}} \right)\left( {k_{1} + {{q_{{{\text{in}}}} } \mathord{\left/ {\vphantom {{q_{{{\text{in}}}} } {L\bar \theta }}} \right. \kern-\nulldelimiterspace} {L\bar \theta }}} \right) $$
(13)
$$ \lambda _{2} = \left( {{1 \mathord{\left/ {\vphantom {1 {R_{{{\text{FN}}}} }}} \right. \kern-\nulldelimiterspace} {R_{{{\text{FN}}}} }}} \right)\left( {k_{2} + {{q_{{{\text{in}}}} } \mathord{\left/ {\vphantom {{q_{{{\text{in}}}} } {L\bar \theta }}} \right. \kern-\nulldelimiterspace} {L\bar \theta }}} \right) $$
(14)

Solution of ordinary differential equations, Eqs. 11 and 12, will be as follows:

$$ A = \left( {{{q_{{{\text{in}}}} A_{{{\text{in}}}} } \mathord{\left/ {\vphantom {{q_{{{\text{in}}}} A_{{{\text{in}}}} } {\left( {LR_{{{\text{FA}}}} \bar \theta \lambda _{1} } \right)}}} \right. \kern-\nulldelimiterspace} {\left( {LR_{{{\text{FA}}}} \bar \theta \lambda _{1} } \right)}}} \right)\left( {1 - \exp \left( { - \lambda _{1} t} \right)} \right) + A_{{\text{o}}} \exp \left( { - \lambda _{1} t} \right) $$
(15)
$$ R_{{{\text{FA}}}} = 1 + {{\rho _{{\text{b}}} K_{{{\text{dA}}}} } \mathord{\left/ {\vphantom {{\rho _{{\text{b}}} K_{{{\text{dA}}}} } {\bar \theta }}} \right. \kern-\nulldelimiterspace} {\bar \theta }} + {{\varepsilon K_{{\text{H}}} } \mathord{\left/ {\vphantom {{\varepsilon K_{{\text{H}}} } {\bar \theta }}} \right. \kern-\nulldelimiterspace} {\bar \theta }} $$
(16)
$$ R_{{{\text{FN}}}} = 1 + {{\rho _{{\text{b}}} K_{{{\text{dN}}}} } \mathord{\left/ {\vphantom {{\rho _{{\text{b}}} K_{{{\text{dN}}}} } {\bar \theta }}} \right. \kern-\nulldelimiterspace} {\bar \theta }} $$
(17)

where R FA is the retardation factor of Ammonium (–), A o is the initial concentration of Ammonium in soil (mg/cm3), and R FN is the retardation factor of Nitrate (–).

Fig. 3
figure 3

Considered nitrogen transformations in LPM

Finally, solution of Eq. 12 will be as follows:

$$ \begin{gathered} N = {{q_{{{\text{in}}}} } \mathord{\left/ {\vphantom {{q_{{{\text{in}}}} } {\left( {L\bar \theta \lambda _{2} R_{{{\text{FN}}}} } \right)}}} \right. \kern-\nulldelimiterspace} {\left( {L\bar \theta \lambda _{2} R_{{{\text{FN}}}} } \right)}}\left( {N_{{{\text{in}}}} + {{k_{1} A_{{{\text{in}}}} } \mathord{\left/ {\vphantom {{k_{1} A_{{{\text{in}}}} } {\left( {R_{{{\text{FA}}}} \lambda _{1} } \right)}}} \right. \kern-\nulldelimiterspace} {\left( {R_{{{\text{FA}}}} \lambda _{1} } \right)}}} \right)\left( {1 - \exp \left( { - \lambda _{2} t} \right)} \right) + \hfill \\ \,\,\,\,\,\,\,\,\,{{k_{1} } \mathord{\left/ {\vphantom {{k_{1} } {\left( {R_{{{\text{FN}}}} \left( {\lambda _{2} - \lambda _{1} } \right)} \right)}}} \right. \kern-\nulldelimiterspace} {\left( {R_{{{\text{FN}}}} \left( {\lambda _{2} - \lambda _{1} } \right)} \right)}}\left( {A_{0} - {{q_{{{\text{in}}}} A_{{{\text{in}}}} } \mathord{\left/ {\vphantom {{q_{{{\text{in}}}} A_{{{\text{in}}}} } {\left( {LR_{{{\text{FA}}}} \bar \theta \lambda _{1} } \right)}}} \right. \kern-\nulldelimiterspace} {\left( {LR_{{{\text{FA}}}} \bar \theta \lambda _{1} } \right)}}} \right) \times \left( {\exp \left( { - \lambda _{1} t} \right) - \exp \left( { - \lambda _{2} t} \right)} \right) + N_{{\text{o}}} \exp \left( { - \lambda _{2} t} \right) \hfill \\ \end{gathered} $$
(18)

where N o is the initial concentration of Nitrate in soil (mg/cm3), t is the time (day), and ρ b is the soil bulk density (g/cm3).

Description of the case study

Tehran City has a population of more than 6.8 millions with a high dependency on the groundwater resources for drinking water (JICA and CEST 2000). About 35–55% of water demand of Tehran is supplied by groundwater resource that is contaminated by individual traditional cesspools and septic tanks for many years (Mahmoudi 2001). The study area covers more than 500 km2 consisting of 20 municipal districts (Fig. 4). Constructing traditional cesspools and septic tanks is the conventional way for wastewater disposal, although in very few small areas there are wastewater disposal networks. Thus, wastewater is directly discharged into the subsurface. Because of the dense building construction, ground surface is almost covered by buildings, streets, and other impermeable surfaces. There are some limited park/recreational applications in the study area. Thus, major Nitrogen contamination sources can be considered as wastewater discharge, park and recreational spots, and air deposition.

Fig. 4
figure 4

Case study location and air quality control stations

Figure 5 shows spatial distribution of depth to groundwater as well as measurement points within the study area. Groundwater level has been measured in 87 points in three periods: March 2000, August 2000, and March 2001(Regional Water Authority of Tehran 2001). Observations show that groundwater level is not changing significantly during the measurement period. Since Tehran is located in southern domain of Elborz mountain chain, there is a moderate slope from north to south, and depth to groundwater table varies from 10 to 180 m. Surface slope in southern parts is less than that in northern parts, and groundwater flow direction is from north to south. Mean annual precipitation varies between 250 and 350 mm decreasing towards south, which shows semiarid condition of the study area.

Fig. 5
figure 5

Spatial distribution of depth to groundwater (m) and location of measurement wells (2000–2001)

LPM model setup

Inflow data

As mentioned earlier, three main sources for Nitrogen in the study area are considered as follows:

  1. (a)

    Domestic wastewater: spatial distribution of wastewater quantity has been estimated using population projection. Japan International Cooperation Agency (JICA) and Centre for Earthquake and Environmental Studies of Tehran (CEST) (2000) have reported in details spatial distribution of demographic information in a GIS framework. We should note that Tehran population has increased dramatically during past two decades. Figure 6 shows trend of population increase in Tehran during the past century (Ohadi 2000; ISC 2008). Obviously rate of increase has decreased during recent years. According to TWWC (2000) wastewater discharge rate in Tehran is estimated about 162 L/day per capita. Annually average of wastewater quality is also presented in Table 1. Based on the population projection in the study area and wastewater discharge rate, estimated annual Nitrogen loading is ranging from 270 to 305 kg N ha−1 year−1. Wakida and Lerner (2005) have reviewed various studies about non-agricultural sources of groundwater Nitrogen. Reported range of Nitrogen contamination from leaky sewers is about 3–123 kg N ha−1 year−1 in their review which is much smaller than loading level in this study.

    Fig. 6
    figure 6

    Population increase in Tehran during the past century (Ohadi 2000; Iran Statistic Centre 2008)

    Table 1 Inflow wastewater quality at different wastewater treatment plants in Tehran (TWWC 2000) (mg/L of N)
  2. (b)

    Atmospheric deposition: nitrogen compounds in atmosphere can be in oxidized or reduced forms. The oxidized compounds are generated by cars and industry. Reduced compounds are mainly released from agriculture and intensive feed stock rearing. To have a primary assessment of the importance of this source in contrast to the wastewater, wet deposition has been estimated roughly. Spatial distributions of atmospheric Nitrogen compounds and precipitation have been prepared based on seven air-quality control stations and four meteorological stations. Air N-pollutant concentration have been measured in three stages with 6-month intervals in 2000 and 2001. Average air N-pollutant concentrations have been shown in Table 2. Estimated average wet deposition of Nitrogen is about 16.5 mg N m−2 year−1 (about 0.2 kg N ha−1 year−1). The highest reported value of atmospheric deposition is between 10 and 20 kg N ha−1 year−1 in an industrial area covered with permeable surfaces under high range of precipitation (Wakida and Lerner 2005). Groffman et al. (2004) have measured Nitrogen loading for three successive years in an urban area. The highest amount of total Nitrogen loading is about 11.2 kg N ha−1 year−1. In both mentioned studies, run-off is discharged into the groundwater and contamination potential is much higher. Because of the physical features of the case study, which is covered mostly by impermeable surfaces as well as small amount of precipitation, amount of wet deposition compared to wastewater contamination potential can be neglected.

    Table 2 Average air N-pollutant concentration in Tehran (ppm) (2000–2001)
  3. (c)

    Fertilizers: according to the standards, normally Nitrogen loading in park/recreational applications is about 200 kg N ha−1 year−1 (Lerner 2000). Based on the existing land-use map of the case study, covered surface by parks and grasslands has been estimated. Estimated total Nitrogen loading within the case study is estimated about 900 tons per year.

Comparing different aforementioned contamination sources, it is estimated that urban wastewater includes almost 95.5% of total nitrogen loading source. Parks/recreational applications and wet air deposition, which include 4.5% of total nitrogen loading source, are negligible compared to urban wastewater loading.

Outflow data

Concentration of Nitrogen compounds near to groundwater table is regarded as outflow. Groundwater quality has been measured in 65 stations heterogeneously distributed in the study area. Regional Water Authority of Tehran (2001) has reported measurements of NH3, NO3, and NO2 in three periods in 2000 and 2001. Average concentration of these compounds over this period has been shown in Table 3 in Appendix.

Model parameters and variables

Because of the scarcity of geochemical data in the case study, model parameters have been determined based on literature, and they have been optimized based on available Nitrate concentration in groundwater for three successive periods.

Since the model structure is based on one-dimensional averaging in depth, the results are very sensitive to k 1 and k 2 values. In this case study, due to the physical specifications of the area such as continuous discharge of wastewater for several decades, range of variation of soil moisture is not wide and hence, soil–water content values are determined based on the data available from few geotechnical boreholes. In addition, MacQuarrie et al. (2001) has determined 0.4 for sandy aquifer under effect of septic tanks. Soil water content for gravel media is determined to be about 0.44. In our study, average water content in soil media is about 0.40. ε and Henry coefficient are assumed to be equal to 0.15 and 2, respectively (Ling and El-Kadi,1998). Ammonium and Nitrate distribution coefficients are assumed equal to be 3.5 and 0.001, respectively (Tillotson and Wagenet 1982). In this model, concentration is calculated as a mean value in depth that is considered fixed within depth. Hence, with increase of depth, error occurrence possibility for k 1 and k 2 increases. To solve this problem, a parametric model for these coefficients has been developed for different depths in which coefficients have been determined based on depth to groundwater. Figure 7 shows variation trend of coefficients in different depths. This method for determination of coefficients can solve partially the lack of field data.

Fig. 7
figure 7

Relationship between k 1 (day−1), k 2 (day−1), and depth in LPM model

Results

Spatial and temporal aspects of contamination

In this section, spatial and temporal behavior of Nitrate contamination is studied. In addition, steady-state condition of Nitrate in the study area is discussed. To get a better insight into the dynamics of Ammonium and Nitrate, typical breakthrough curves of these components are shown in Fig. 8. As mentioned earlier, constant flux has been assumed for boundary condition. In Fig. 8a, constant flux is applied for time less than 1,000 days, but in Fig. 8b, constant flux is applied for the whole simulation. Thus, a peak concentration in Fig. 8a and a steady-state condition in Fig. 8b are expected. In Fig. 8a, it is clear that there is a delay time between peak concentration of Ammonium and Nitrate, due to the fact that Nitrate is produced after Ammonium nitrification. Figure 8b shows that Ammonium requires less time to reach the steady state, since it is a prime substance. Nitrate has much smaller absorption and transformation rates, and is a product of Ammonium transformation (nitrification). In addition, Fig. 9 shows concentration distributions of Nitrate and Ammonium and total nitrogen in depth. It shows that with increase of depth, total nitrogen discharged to the groundwater decreases due to transformation and adsorption. However, a peak concentration is observed for Nitrate, which is dependent on the sharp decrease of Ammonium. In depths lower than 5 m, highest amount of Nitrate concentration is expected, which is in a good agreement with other studies (Foster et al. 1982; Antonakos and Lambrakis 2000). Since in the LPM concentrations are averaged in total depth of unsaturated zone, required time to reach the steady-state condition is highly dependent on the depth to groundwater and also on the boundary condition. We have assumed a constant depth to groundwater during our simulations. However, population distribution, which determines discharge to groundwater, has been normalized by population in 1996. Discharge has been updated during simulation with population in 1986, 1991, and 1996. Population after 2005 has been assumed to be constant. Based on these assumptions, Fig. 10 shows spatial distribution of the steady-state time in the study area. As it can be observed, depending on the depth to groundwater and local influx conditions, 2.5–946 years are required to reach the local steady-state condition. Southern parts of the study area that have smaller depth to groundwater compared to the northern parts can reach the steady-state conditions much faster. It is estimated that almost 50% of the study area will be in steady-state condition in 100 years considering existing demographic condition as the initial condition of the model. Because of the temporal evolution of concentration in the unsaturated zone, and also demographic development of Tehran, we compare model result in snap-shot of 25th year with measurement data. Figure 11 shows the spatial distribution of Nitrate concentration within 2000–2001. Maximum observed concentration of Nitrate in the measurement points is about 110 mg/L. Figure 12a, b shows concentration of Nitrate in 25th year and at steady-state condition, respectively. As it can be observed, contaminations in southern parts in both figures are similar, because they can reach the steady-state condition in less than 25 years. In addition, in northern parts, we have not observed high Nitrate contamination level in the measurements. However, if boundary conditions and wastewater disposal system do not change, northern parts will also suffer from high level of Nitrate contamination in future. It has been observed that subsurface contamination is directly controlled by wastewater discharge to groundwater.

Fig. 8
figure 8

Typical breakthrough curve of Nitrate and Ammonium in a soil column under (a) constant influx for t < 1,000 days and under (b) constant influx for all t

Fig. 9
figure 9

Ammonium and Nitrate and total nitrogen concentration in different depths

Fig. 10
figure 10

Spatial distribution of time to reach steady-state condition for nitrogen components

Fig. 11
figure 11

Spatial distribution of Nitrate concentration (mg/L) based on measurements (2000–2001)

Fig. 12
figure 12

Spatial distribution of Nitrate concentration (mg/L) based on simulation (a) at year 25 and (b) at steady-state condition

Model results analysis

For comparing model results with field measurements, zonal analysis has been used. Thus, domain discritization has been applied by Vornoi diagram. Using Vornoi diagram, each measurement point will be representative for its region. Thus, higher density of data points will result in smaller region elements. Figure 13 shows the Vornoi map in the study area. As it can be seen in north or south-west of the study area, density of data points is much less than the central parts, which results in larger region (polygon) elements. We have compared averaged results of model (Fig. 12a) and measurement data (Fig. 11) per each (region) polygon element as shown in Fig. 14. Correlation coefficient between model results and measurement is about 0.73, which is in an acceptable range. To identify in which zones higher disagreement between model and measurement is observed, relative error in each zone has been estimated. Relative error, Er, estimated for the simulated \( \chi \) and measured value, \( \left\langle \chi \right\rangle \), is defined as follows:

$$ {\text{Er}} = \frac{{\left| {\chi - \left\langle \chi \right\rangle } \right|}}{{\left\langle \chi \right\rangle }} $$
(19)

Figure 15 shows the relative error based on the Vornoi map. According to Fig. 15, in those region (polygon) elements, which are located in margins, larger relative error has been observed. Because of the lack of measurement points for groundwater quality outside the study area, we have to extrapolate the measurements. These extrapolated data are considered as the benchmark for comparing with model results. Thus, uncertainty increases not only due to the modeling procedure, but also due to bench mark definition for comparing with model results. Figure 15 shows that simulation results in majority of zones are in acceptable range with low relative errors (less than 20%). Larger differences between the model results and the measurements are generally due to the uncertainty in field data extrapolation. However, the selected extrapolation strategy has been chosen so that minimum relative error between measurement and simulations occurs.

Fig. 13
figure 13

Vornoi diagram based on data points of groundwater quality measurements

Fig. 14
figure 14

Comparison between zonal mean of concentration resulted from simulation and field data for each Vornoi polygon

Fig. 15
figure 15

Relative error of simulation result compared to measurements at each Vornoi polygon element

Summary and remarks

Large-scale modeling of Nitrate contamination in data-limited cases is a challenging task. In addition, involved processes in nitrogen fate in porous media are complicated. Furthermore, there are few studies related to large-scale modeling of Nitrate contamination due to the domestic wastewater. We have developed a LPM for modeling Nitrate and Ammonium fate in unsaturated zone neglecting dispersive fluxes to model nitrogen fate in unsaturated zone under the effect of continuous domestic wastewater discharge. We have applied this model in Large Tehran City (>500 km2) as a case study, which is highly contaminated by domestic wastewater discharge. Wastewater discharge, wet deposition, and parks/recreational applications have been assumed as Nitrogen sources. Using detailed demographic and landuse data in a GIS framework, total nitrogen loading from different sources has been assessed. More than 95% of nitrogen loading in Tehran City is discharged from domestic cesspools. LPM results show that in first few meters where nitrification occurs, highest Nitrate concentration level in depth can be observed. Simulations show that existing condition of Nitrate contamination in Tehran is in temporal condition. Since depth to groundwater controls the dynamics of N-pollution, it takes more time to reach the steady-state condition in deeper locations. In deeper depths, amount of contamination for both components decreases and required time to reach the steady-state condition for N-contamination is nonlinearly proportional to the inverse of depth to groundwater. Spatial distribution of steady-state Nitrate concentration shows high risks in northern parts of study area in future. This result can be considered in groundwater quality management protocols in Tehran. Results analysis showed that in those locations in which more data points are available, smaller relative error has been observed. In spite of increased uncertainties due to the field data extrapolation, there is still acceptable agreement between LPM results and measurements with correlation coefficient of 0.73.