# NDR: Nutrient Delivery Ratio

## Summary

The objective of the InVEST nutrient delivery model is to map nutrient sources from watersheds and their transport to the stream. This spatial information can be used to assess the service of nutrient retention by natural vegetation. The retention service is of particular interest for surface water quality issues and can be valued in economic or social terms, such as avoided treatment costs or improved water security through access to clean drinking water.

## Introduction

Land use change, and in particular the conversion to agricultural lands, dramatically modifies the natural nutrient cycle. Anthropogenic nutrient sources include point sources, e.g. industrial effluent or water treatment plant discharges, and non-point sources, e.g. fertilizer used in agriculture and residential areas. When it rains or snows, water flows over the landscape carrying pollutants from these surfaces into streams, rivers, lakes, and the ocean. This has consequences for people, directly affecting their health or well-being (Keeler et al., 2012), and for aquatic ecosystems that have a limited capacity to adapt to these nutrient loads.

One way to reduce non-point source pollution is to reduce the amount of anthropogenic inputs (i.e. fertilizer management). When this option fails, ecosystems can provide a purification service by retaining or degrading pollutants before they enter the stream. For instance, vegetation can remove pollutants by storing them in tissue or releasing them back to the environment in another form. Soils can also store and trap some soluble pollutants. Wetlands can slow flow long enough for pollutants to be taken up by vegetation. Riparian vegetation is particularly important in this regard, often serving as a last barrier before pollutants enter a stream.

Land-use planners from government agencies to environmental groups need information regarding the contribution of ecosystems to mitigating water pollution. Specifically, they require spatial information on nutrient export and areas with highest filtration. The nutrient delivery and retention model provides this information for non-point source pollutants. The model was designed for nutrients (nitrogen and phosphorous), but its structure can be used for other contaminants (persistent organics, pathogens etc.) if data are available on the loading rates and filtration rates of the pollutant of interest.

## The Model

### Overview

The model uses a simple mass balance approach, describing the movement of a mass of nutrient through space. Unlike more sophisticated nutrient models, the model does not represent the details of the nutrient cycle but rather represents the long-term, steady-state flow of nutrients through empirical relationships. Sources of nutrient across the landscape, also called nutrient loads, are determined based on a land use/land cover (LULC) map and associated loading rates. Nutrient loads can then be divided into sediment-bound and dissolved parts, which will be transported through surface and subsurface flow, respectively, stopping when they reach a stream. Note that modeling subsurface flow is optional; the user can choose to model surface flow only. In a second step, delivery factors are computed for each pixel based on the properties of pixels belonging to the same flow path (in particular their slope and retention efficiency of the land use). At the watershed/subwatershed outlet, the nutrient export is computed as the sum of the pixel-level contributions.

Fig. 7 Conceptual representation of the NDR model. Each pixel i is characterized by its nutrient load, loadi, and its nutrient delivery ratio (NDR), which is a function of the upslope area, and downslope flow path (in particular the retention efficiencies of LULC types on the downslope flow path). Pixel-level export is computed based on these two factors, and the nutrient export at the watershed level is the sum of pixel-level nutrient exports.

### Nutrient Loads

Loads are the sources of nutrients associated with each pixel of the landscape. Consistent with the export coefficient literature (California Regional Water Quality Control Board Central Coast Region, 2013; Reckhow et al., 1980), load values for each LULC class are derived from empirical measures of nutrient export (e.g. nutrient export running off urban areas, crops, etc.). Alternately, if information is available on the amount of nutrient applied (e.g. fertilizer, livestock waste, atmospheric deposition), it is possible to use it by estimating the on-pixel nutrient use, and applying this correction factor to obtain the load parameters. Please see the Data Needs section for more information.

Next, each pixel’s load is modified to account for the local runoff potential. The LULC-based loads defined above are averages for the region, but each pixel’s contribution will depend on the amount of runoff transporting nutrients (Endreny and Wood, 2003; Heathwaite et al., 2005). As a simple approximation, the loads can be modified as follows:

(44)\[modified.load_{x_i}=load_{x_i}\cdot RPI_{x_i}\]

where \(RPI_i\) is the runoff potential index on pixel \(i\), defined as:

(45)\[RPI_i = RP_i/RP_{av}\]

where \(RP_i\) is the nutrient runoff proxy for runoff on pixel \(i\) and \(RP_{av}\) is the average \(RP\) over the raster (or a user-specified value). This approach is similar to that developed by Endreny and Wood (2003). In practice, the raster RP is defined either as a quickflow index (e.g. from the InVEST Seasonal Water Yield model) or as precipitation.

For each pixel, modified loads can be divided into sediment-bound and dissolved nutrient portions. Conceptually, the former represents nutrients that are transported by surface or shallow subsurface runoff, while the latter represent nutrients transported by groundwater.

Note

This model calculates the subsurface component for nitrogen only. Subsurface phosphorus is not modeled because phosphorus particles are usually sediment-bound and less likely to be transported via subsurface flow.

The ratio between these two types of nutrient sources is given by the parameter \(proportion\_subsurface\_n\) which quantifies the ratio of dissolved nutrients over the total amount of nutrients. For a pixel i:

(46)\[load_{surf,i} = (1-proportion\_subsurface_i) \cdot modified.load\_n_i\]
(47)\[load_{subsurf,i} = proportion\_subsurface_i \cdot modified.load\_n_i\]

If no information is available on the partitioning between the two types, the recommended default value of \(proportion\_subsurface\_n\) is 0, meaning that all nutrients are reaching the stream via surface flow. (Note that surface flow can, conceptually, include shallow subsurface flow). However, users should explore the model’s sensitivity to this value to characterize the uncertainty introduced by this assumption.

### Nutrient Delivery

Nutrient delivery is based on the concept of nutrient delivery ratio (NDR), an approach inspired by the peer-reviewed concept of sediment delivery ratio (see InVEST SDR User’s Guide chapter and Vigiak et al., 2012). The concept is similar to the risk-based index approaches that are popular for nutrient modeling (Drewry et al., 2011), although it provides quantitative values of nutrient export (e.g. the proportion of the nutrient load that will reach the stream). Two delivery ratios are computed, one for nutrient transported by surface flow, the other for subsurface flow.

Fig. 8 Conceptual representation of nutrient delivery in the model. If the user chooses to represent subsurface flow, the load on each pixel, load_n, is divided into two parts, and the total nutrient export is the sum of the surface and subsurface contributions.

#### Surface NDR

The surface NDR is the product of a delivery factor, representing the ability of downslope pixels to transport nutrient without retention, and a topographic index, representing the position on the landscape. For a pixel i:

(48)\[NDR_i = NDR_{0,i}\left(1 + \exp\left(\frac{IC_0-IC_i}{k}\right)\right)^{-1}\]

where \(IC_0\) and \(k\) are calibration parameters, \(IC_i\) is a topographic index, and \(NDR_{0,i}\) is the proportion of nutrient that is not retained by downslope pixels (irrespective of the position of the pixel on the landscape). Below we provide details on the computation of each factor.

\(NDR_{0,i}\) is based on the maximum retention efficiency of the land between a pixel and the stream (downslope path, in Figure 5):

(49)\[NDR_{0,i} = 1 - eff'_i\]

Moving along a flow path, the algorithm computes the additional retention provided by each pixel, taking into account the total distance traveled across each LULC type. Each additional pixel from the same LULC type will contribute a smaller value to the total retention, until the maximum retention efficiency for the given LULC is reached (Figure 2). The total retention is capped by the maximum retention value that LULC types along the flow path can provide, \(eff_{LULC_i}\).

In mathematical terms:

(50)\[\begin{split}eff'_i = \begin{cases} eff_{LULC_i}\cdot(1-s_i) & \mathrm{if\ } down_i \mathrm{\ is\ a\ stream\ pixel}\\ eff'_{down_i}\cdot s_i + eff_{LULC_i}\cdot (1 - s_i) & \mathrm{if\ } eff_{LULC_i} > eff'_{down_i}\\ eff'_{down_i} & otherwise \end{cases}\end{split}\]

Where:

> - \(eff'_{down_i}\) is the effective downslope retention on the pixel directly downslope from \(i\),

> - \(eff_{LULC_i}\) is the maximum retention efficiency that LULC type \(i\) can reach, and

> - \(s_i\) is the step factor defined as:

(51)\[s_i=\exp\left(\frac{-5 \ell_{i_{down}}}{\ell_{LULC_i}}\right)\]

With:

> - \(\ell_{i_{down}}\) is the length of the flow path from pixel \(i\) to its downslope neighbor. This is the euclidean distance between the centroids of the two pixels.

> - \(\ell_{LULC_i}\) is the LULC retention length (“Critical Length”) of the landcover type on pixel \(i\)

Notes:

Since \(eff'_i\) is dependent on the pixels downslope, calculation proceeds recursively starting at pixels that flow directly into streams before upslope pixels can be calculated.

In equation (51), the factor 5 is based on the assumption that maximum efficiency is reached when 99% of its value is reached (assumption due to the exponential form of the efficiency function, which implies that the maximum value cannot be reached with a finite flow path length).

Fig. 9 Illustration of the calculation of the retention efficiency along a simple flow path composed of 4 pixels of grass and 3 pixels of forest. Each additional pixel of the grass LULC contributes to a smaller percentage toward the maximum efficiency provided by grass. The shape of the exponential curves is determined by the maximum efficiency and the retention length.

IC, the index of connectivity, represents the hydrological connectivity, i.e. how likely nutrient on a pixel is likely to reach the stream. In this model, IC is a function of topography only:

(52)\[IC=\log_{10}\left(\frac{D_{up}}{D_{dn}}\right)\]

where

(53)\[D_{up} = \overline{S}\sqrt{A}\]

and

(54)\[D_{dn} = \sum_i \frac{d_i}{S_i}\]

where \(D_{up} = \overline{S}\) is the average slope gradient of the upslope contributing area (m/m), \(A\) is the upslope contributing area (m2); \(d_i\) is the length of the flow path along the ith cell according to the steepest downslope direction (m) (see details in sediment model), and \(S_i\) is the slope gradient of the ith cell, respectively.

Note: The upslope contributing area and downslope flow path are delineated with either the Multiple-Flow Direction algorithm or the D8 flow direction algorithm according to which option the user selects. To avoid infinite values for IC, slope values \(S\) are forced to a minimum of 0.005 m/m if they occur to be less than this threshold, based on the DEM (Cavalli et al., 2013).

The value of \(IC_0\) is set to \(IC_0 = \frac{IC_{max}+IC_{min}}{2}\). This imposes that the sigmoid function relating NDR to IC is centered on the median of the IC distribution, hence that the maximum IC value gives \(NDR=NDR_{max}\). \(k\) is set to a default value of 2 (cf. SDR model theory); it is an empirical factor that represents local topography.

Fig. 10 Relationship between NDR and the connectivity index IC. The maximum value of NDR is set to \(NDR_{0}=0.8\). The effect of the calibration is illustrated by setting \(k=1\) and \(k=2\) (solid and dashed line, respectively), and \(IC_0=0.5\) and \(IC_0=2\) (black and gray dashed lines, respectively).

#### Subsurface NDR

The expression for the subsurface NDR is a simple exponential decay with distance to stream, plateauing at the value corresponding to the user-defined maximum subsurface nutrient retention:

(55)\[NDR_{subs,i} = 1 - eff_{subs}\left(1-e^\frac{-5\cdot\ell}{\ell_{subs}}\right)\]

where

> - \(eff_{subs}\) is the maximum nutrient retention efficiency that can be reached through subsurface flow (i.e. retention due to biochemical degradation in soils),

> - \(\ell_{subs}\) is the subsurface flow retention length, i.e. the distance after which it can be assumed that soil retains nutrient at its maximum capacity,

> - \(\ell_i\) is the distance from the pixel to the stream.

#### Nutrient export

Nutrient export from each pixel i is calculated as the product of the load and the NDR:

(56)\[x_{exp_i} = load_{surf,i} \cdot NDR_{surf,i} + load_{subs,i} \cdot NDR_{subs,i}\]

Total nutrient at the outlet of each user-defined watershed is the sum of the contributions from all pixels within that watershed:

(57)\[x_{exp_{tot}} = \sum_i x_{exp_i}\]

#### Defined Area of Outputs

There are three main things that define the area where the model produces values in the output layers:

  - Results are limited to the area covered by the Watersheds vector input.

  - Results can only be calculated in the pixels where all of the input rasters have valid values. If any input raster has the value NoData in a pixel, then the result will also be NoData in that pixel.

  - Results dependent on distance to the stream network (such as NDR and other results that are based on it), are only calculated for pixels that drain to a stream.

NDR and several other model outputs are defined in terms of distance to stream (\(d_i\)). Therefore, these outputs are only defined for pixels that drain to a stream on the map (and so are within the streams’ watershed). Pixels that do not drain to any stream will have nodata in these outputs. The affected output files are: d_dn.tif, dist_to_channel.tif, ic_factor.tif, ndr_n.tif, ndr_p.tif, sub_ndr_n.tif, n_surface_export.tif, n_subsurface_export.tif, n_total_export.tif, and p_surface_export.tif.

If you see areas of nodata in these outputs that can’t be explained by missing data in the inputs, it is likely because they are not hydrologically connected to a stream on the map. See the SDR defined area section for information on identifying and fixing this problem.

The model’s stream map (stream.tif) is calculated by thresholding the flow accumulation raster (flow_accumulation.tif) by the threshold flow accumulation (TFA) value:

> (58)\[\begin{split}stream_{TFA,i} = \left\{\begin{array}{lr} 1, & \text{if } flow\_accum_{i} \geq TFA \\ 0, & \text{otherwise} \\ \end{array}\right\}\end{split}\]

### Evaluating Nutrient Retention Services

The NDR model does not directly quantify the amount of nutrient retained on the landscape. However, if you have scenarios that are being compared with current conditions, the nutrient retention service may be estimated by taking the difference in nutrient export between the scenario and current conditions. This quantifies the difference in nutrient reaching a stream, based on the changes in land cover/climate/etc present in the scenario, which provides a way of evaluating impacts to downstream uses such as drinking water.

Calculating the nitrogen retention services within a single scenario should only be done at the watershed/sub-watershed scale. Use the watershed .gpkg output to quantify watershed scale nutrient retention services by subtracting the n_total_export result from (n_surface_load + n_subsurface_load) for nitrogen and p_surface_export from p_surface_load for phosphorus. Because of the way that the model’s retention algorithms work, do not use the load and export rasters to do this calculation at the pixel scale. If you were to take modified_load_n - n_total_export by pixel, the result tells you how much of each pixel’s nitrogen load is retained by pixels in its downslope flow path, NOT how much is retained on that pixel.

Monetary (or non-monetary) valuation of nutrient retention services is very context-specific. An important note about assigning a monetary value to any service is that valuation should only be done on model outputs that have been calibrated and validated. Otherwise, it is unknown how well the model is representing the area of interest, which may lead to misrepresentation of the exact value. If the model has not been calibrated, only relative results should be used (such as an increase of 10%) not absolute values (such as 1,523 kg, or 42,900 dollars.) For more information on calibration and validation of the NDR model, see Calibration/Comparison with observed data.

## Limitations and Simplifications

The model has a small number of parameters, and outputs generally show a high sensitivity to inputs. This implies that errors in the empirical load parameter values will have a large effect on predictions. Similarly, the retention efficiency values are based on empirical studies, and factors affecting these values (like slope or intra-annual variability) are averaged. These values implicitly incorporate information about the dominant nutrient dynamics, influenced by climate and soils. The model also assumes that once nutrient reaches the stream it impacts water quality at the watershed outlet; no in-stream processes are captured. Finally, the effect of grid resolution on the NDR formulation has not been well studied.

Sensitivity analyses are recommended to investigate how the confidence intervals in input parameters affect the study conclusions (Redhead et al., 2018).

### Biophysical Model Interpretation for Valuation

Some valuation approaches, such as those relying on the changes in water quality for a treatment plant, are very sensitive to the model absolute predictions. Therefore, it is important to consider the uncertainties associated with the use of InVEST as a predictive tool and minimize their effect on the valuation step.

#### Model parameter uncertainties

Uncertainties in input parameters can be characterized through a literature review (e.g. examining the distribution of values from different studies). One option to assess the impact of parameter uncertainties is to conduct local or global sensitivity analyses, with parameter ranges obtained from the literature (Redhead et al., 2018). Also see Hamel and Bryant 2017, which provides more general guidance for assessing uncertainty in ecosystem services analyses. Hamel et al. 2015 describes the process for the SDR model, which is similar to NDR.

#### Model structural uncertainties

The InVEST model computes a nutrient mass balance over a watershed, subtracting nutrient losses (conceptually represented by the retention coefficients), from the total nutrient sources. Where relevant, it is possible to distinguish between surface and subsurface flow paths, adding three parameters to the model. In the absence of empirical knowledge, modelers can assume that the surface load and retention parameters represent both transport processes. Testing and calibration of the model is encouraged, acknowledging two main challenges:

> - Knowledge gaps in nutrient transport: although there is strong evidence of the impact of land use change on nutrient export, modeling of the watershed scale dynamics remains challenging (Breuer et al., 2008; Scanlon et al., 2007). Calibration is therefore difficult and not recommended without in-depth analyses that would provide confidence in model process representation (Redhead et al., 2018)

> - Potential contribution from point source pollution: domestic and industrial waste are often part of the nutrient budget and should be accounted for during calibration (for example, by adding point-source nutrient loads to modeled nutrient export, then comparing the sum to observed data).

## Data Needs

Note

All spatial inputs must have exactly the same projected coordinate system (with linear units of meters), not a geographic coordinate system (with units of degrees).

Note

Results can only be calculated in the pixels where all of the input rasters have valid values. If any input raster has the value NoData in a pixel, then the result will also be NoData in that pixel.

Note

Raster inputs may have different cell sizes, and they will be resampled to match the cell size of the DEM. Therefore, all model results will have the same cell size as the DEM.

The model has options to calculate nitrogen, phosphorus, or both. You must provide all inputs corresponding to the chosen nutrient(s).

- workspace (directory, required): The folder where all the model’s output files will be written. If this folder does not exist, it will be created. If data already exists in the folder, it will be overwritten.

- file suffix (text, optional): Suffix that will be appended to all output file names. Useful to differentiate between model runs.

- digital elevation model (raster, units: m, required): Map of elevation above sea level.

  Make sure the DEM is corrected by filling in sinks, and compare the output stream maps with hydrographic maps of the area. To ensure proper flow routing, the DEM should extend beyond the watersheds of interest, rather than being clipped to the watershed edge.

- land use/land cover (raster, units: unitless, required): Map of land use/land cover codes. Each land use/land cover type must be assigned a unique integer code. All values in this raster must have corresponding entries in the Biophysical table.

- nutrient runoff proxy (raster, units: unitless, required): Map of runoff potential, the capacity to transport nutrients downslope. This can be a quickflow index or annual precipitation. Any units are allowed since the values will be normalized by their average.

  This raster can be defined as a quickflow index (e.g. from the Seasonal Water Yield model) or simply as annual precipitation. This is \(RP\), which is normalized (by dividing by its average value, which is either user-specified or automatically calculated) to get the runoff potential index \(RPI\) in equation (45). There is not a specific requirement for the units of this input, since it will be normalized by the model before use in calculations.

- watersheds (vector, polygon/multipolygon, required): Map of the boundaries of the watershed(s) over which to aggregate the model results.

- calculate nitrogen (true/false): Calculate nitrogen retention and export.

- calculate phosphorus (true/false): Calculate phosphorus retention and export.

- biophysical table (CSV, required): A table mapping each LULC class to its biophysical properties related to nutrient load and retention. Nitrogen data must be provided if Calculate Nitrogen is selected. Phosphorus data must be provided if Calculate Phosphorus is selected. All LULC codes in the LULC raster must have corresponding entries in this table.

  > Columns:

  > - lucode (integer, required): LULC codes from the LULC raster. Each code must be a unique integer.

  > - load_n (number, units: kg/(ha · year), conditionally required): The nitrogen loading for this land use class.

  > - load_p (number, units: kg/(ha · year), conditionally required): The phosphorus loading for this land use class.

  > Note

  > Loads are the sources of nutrients associated with each LULC class. This value is the total load from all sources. If you want to represent different levels of fertilizer application, you will need to create separate LULC classes, for example one class called “crops - high fertilizer use” a separate class called “crops - low fertilizer use” etc.

  > - load_type_p (option, conditionally required): Whether the nutrient load in column load_p should be treated as nutrient application rate or measured contaminant runoff.

  >   > Values must be one of the following text strings:

  >   > - ”application-rate”: Treat the load value as nutrient application rates (e.g. fertilizer, livestock waste, …).The model will adjust the load using the application rate and retention efficiency: load_p * (1 - eff_p).

  >   > - ”measured-runoff”: Treat the load value as measured contaminant runoff.

  > - load_type_n (option, conditionally required): Whether the nutrient load in column load_n should be treated as nutrient application rate or measured contaminant runoff.

  >   > Values must be one of the following text strings:

  >   > - ”application-rate”: Treat the load values as nutrient application rates (e.g. fertilizer, livestock waste, …).The model will adjust the load using the application rate and retention efficiency: load_n * (1 - eff_n).

  >   > - ”measured-runoff”: Treat the load values as measured contaminant runoff.

  > Note

  > Data sources may provide loading values as either the nutrient application rate (e.g., fertilizer, livestock waste, atmospheric deposition); or as measured contaminant runoff, which are empirical values representing the contribution of a parcel to the nutrient budget (e.g., nutrient export running off urban areas, crops, etc.). These two types of loading values are denoted application-rate and measured-runoff, respectively, in the biophysical table. Since the model equations require measured runoff values, if you supply application rate values, the model will adjust for the nutrient retention provided on the pixel itself, using the application rate and retention efficiency value (eff_n or eff_p) for that land cover type:

  > \(loading = application\_rate * (1 - retention\_efficiency)\)

  > using the specific biophysical table fields for nitrogen:

  > \(loading = load\_n * (1 - eff\_n)\)

  > Note that you can provide a mix of measured-runoff and application-rate values, and the model will only adjust the application-rate values as described; measured-runoff values do not need to be adjusted. For example, if the nitrogen application rate for an agricultural LULC class is 10 kg/ha/year, and the retention efficiency is 0.4, the model will adjust the value to 6.0 kg/ha/year (= 10 kg/ha/year * (1 - 0.4)). If you have measured/nutrient export values, denoted as measured-runoff in the biophysical table, then the model will use these directly without adjustment.

  > - eff_n (ratio, conditionally required): Maximum nitrogen retention efficiency. This is the maximum proportion of the nitrogen that is retained on this LULC class.

  > - eff_p (ratio, conditionally required): Maximum phosphorus retention efficiency. This is the maximum proportion of the phosphorus that is retained on this LULC class.

  > Note

  > The nutrient retention capacity for a given vegetation type is expressed as a proportion of the amount of nutrient from upslope. For example, high values (0.6 to 0.8) may be assigned to all natural vegetation types (such as forests, natural pastures, wetlands, or prairie), indicating that 60-80% of nutrient is retained.

  > - crit_len_n (number, units: m, conditionally required): The distance after which it is assumed that this LULC type retains nitrogen at its maximum capacity.

  > - crit_len_p (number, units: m, conditionally required): The distance after which it is assumed that this LULC type retains phosphorus at its maximum capacity.

  > Note

  > If nutrients travel a distance smaller than the retention length, the retention efficiency will be less than the maximum value eff_x, following an exponential decay (see Nutrient Delivery section).

  > - proportion_subsurface_n (ratio, conditionally required): The proportion of the total amount of nitrogen that is dissolved into the subsurface. By default, this value should be set to 0, indicating that all nutrients are delivered via surface flow. There is no equivalent of this for phosphorus.

  > An example biophysical table follows, taken from the InVEST sample data for NDR. Note that this and the rest of the NDR sample data are only to be used as an example. Your LULC classes and corresponding biophysical table values will be different.

  > description | lucode | load_p | load_type_p | eff_p | crit_len_p | load_n | load_type_n | eff_n | crit_len_n | proportion_subsurface_n
  > --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
  > Urban and paved roads | 1 | 2.1 | measured-runoff | 0.26 | 150 | 6.3 | measured-runoff | 0.05 | 150 | 0
  > Grass | 3 | 0.93 | measured-runoff | 0.6 | 150 | 4 | measured-runoff | 0.35 | 150 | 0
  > General agriculture | 5 | 3.57 | measured-runoff | 0.48 | 150 | 27 | measured-runoff | 0.25 | 150 | 0
  > Tea | 6 | 2.47 | measured-runoff | 0.48 | 150 | 3.3 | measured-runoff | 0.4 | 150 | 0
  > Coffee | 7 | 3.81 | measured-runoff | 0.48 | 150 | 3.3 | measured-runoff | 0.4 | 150 | 0
  > Forest | 8 | 1.36 | measured-runoff | 0.67 | 150 | 1.4 | measured-runoff | 0.4 | 150 | 0
  > Water | 9 | 0 | measured-runoff | 0.4 | 150 | 0 | measured-runoff | 0.02 | 150 | 0
  > Forest plantation | 11 | 1.4 | measured-runoff | 0.6 | 150 | 3.3 | measured-runoff | 0.4 | 150 | 0
  > Unpaved road | 18 | 0.79 | measured-runoff | 0.26 | 150 | 6.3 | measured-runoff | 0.05 | 150 | 0
  > Agroforestry | 19 | 2.48 | measured-runoff | 0.54 | 150 | 15.2 | measured-runoff | 0.33 | 150 | 0

- threshold flow accumulation (number, units: number of pixels, required): The number of upslope pixels that must flow into a pixel before it is classified as a stream.

  This is used to classify streams from the DEM. This threshold directly affects the expression of hydrologic connectivity and the nutrient export result: when a flow path reaches the stream, nutrient retention stops and the nutrient exported is assumed to reach the catchment outlet. It is important to choose this value carefully, so modeled streams come as close to reality as possible. See Appendix 1 for more information on choosing this value.

- Borselli k parameter (number, units: unitless, required): Calibration parameter that determines the shape of the relationship between hydrologic connectivity (the degree of connection from patches of land to the stream) and the nutrient delivery ratio (percentage of nutrient that actually reaches the stream).

  The default value is 2.

- average runoff proxy (number, units: unitless, optional): This parameter allows the user to specify a predefined average value for the runoff proxy. This value is used to normalize the Runoff Proxy raster when calculating the Runoff Proxy Index (RPI). If a user does not specify the runoff proxy average, this value will be automatically calculated from the Runoff Proxy raster. The units will be the same as those in the Runoff Proxy raster.

  Entering a custom runoff proxy average instead of using the auto-calculated average ensures consistency across model runs. If you are running this model multiple times with different inputs (e.g., with different watersheds or to compare different climate scenarios) but want to maintain a consistent reference for the runoff proxy index, specifying a fixed RP average ensures comparability (given that \(RPI_i\) changes depending on which pixels/watersheds are included in the \(RP\) raster). Note that the average runoff proxy should be >0.

- subsurface critical length (nitrogen) (number, units: m, conditionally required): The distance traveled (subsurface and downslope) after which it is assumed that soil retains nitrogen at its maximum capacity. Required if Calculate Nitrogen is selected.

Note

If dissolved nitrogen travels a distance smaller than its Subsurface Critical Length, the retention efficiency will be lower than the Subsurface Maximum Retention Efficiency value defined. Setting this value to a distance smaller than the pixel size will result in the maximum retention efficiency being reached within one pixel only.

- subsurface maximum retention efficiency (nitrogen) (ratio, conditionally required): The maximum nitrogen retention efficiency that can be reached through subsurface flow. This characterizes the retention due to biochemical degradation in soils. Required if Calculate Nitrogen is selected.

- flow direction algorithm (option, required): Flow direction algorithm to use.

  > Values must be one of the following text strings:

  > - ”D8”

  > - ”MFD”

  Controls how water flow is modeled. With the D8 algorithm, all water on a given pixel flows to the neighboring pixel that is most steeply downslope. With the Multiple flow direction (MFD) algorithm, the water on a pixel flows to all of its downslope neighbors, weighted by how steeply downslope they are.

## Interpreting Results

Note

As of InVEST 3.15.0, the raster results of NDR are given as values per hectare.

In the file names below, “x” stands for either n (nitrogen) or p (phosphorus), depending on which nutrients were modeled. The resolution of the output rasters will be the same as the resolution of the DEM provided as input.

- Parameter log: Each time the model is run, a text (.txt) file will be created in the Workspace. The file will list the parameter values and output messages for that run and will be named according to the service, date and time. When contacting NatCap about errors in a model run, please include the parameter log.

- [Workspace] folder:

  > - ndr_report.html: A summary of a model run, including visualizations of key outputs, tables of calculated results, and information about model inputs. The report can be accessed in the Workbench or opened with any web browser. For an example, see the Sample NDR Report, generated by running the NDR model with the NDR sample data.

  > - watershed_results_ndr.gpkg: Vector with aggregated nutrient model results per watershed. The .dbf table contains the following information for each watershed:

  >   > - p_surface_load: Total phosphorus loads (sources) in the watershed, i.e. the sum of the nutrient contribution from all surface LULC without filtering by the landscape. [units kg/year]

  >   > - n_surface_load: Total nitrogen loads (sources) in the watershed, i.e. the sum of the nutrient contribution from all surface LULC without filtering by the landscape. [units kg/year]

  >   > - n_subsurface_load: Total subsurface nitrogen loads in the watershed. [units kg/year]

  >   > - p_surface_export: Total phosphorus export from the watershed by surface flow.[units kg/year] (Eq. (57))

  >   > - n_surface_export: Total nitrogen export from the watershed by surface flow.[units kg/year] (Eq. (57))

  >   > - n_subsurface_export: Total nitrogen export from the watershed by subsurface flow.[units kg/year] (Eq. (57))

  >   > - n_total_export: Total nitrogen export from the watershed by surface and subsurface flow.[units kg/year] (Eq. (57))

  > - stream.tif: Stream network created from the DEM, with 0 representing land pixels, and 1 representing stream pixels (Eq. (58)). Compare this layer with a real-world stream map, and adjust the Threshold Flow Accumulation so that this matches real-world streams as closely as possible.

  > - p_surface_export.tif: A pixel level map showing how much phosphorus from each pixel eventually reaches the stream by surface flow. [units: kg/hectare/year] (Eq. (56))

  > - n_surface_export.tif: A pixel level map showing how much nitrogen from each pixel eventually reaches the stream by surface flow. [units: kg/hectare/year] (Eq. (56))

  > - n_subsurface_export.tif: A pixel level map showing how much nitrogen from each pixel eventually reaches the stream by subsurface flow. [units: kg/hectare/year] (Eq. (56))

  > - n_total_export.tif: A pixel level map showing how much nitrogen from each pixel eventually reaches the stream (the sum of n_surface_export.tif and n_subsurface_export.tif). [units: kg/hectare/year] (Eq. (56))

- [Workspace]\intermediate_outputs folder:

  > - crit_len_x.tif: Retention length values, crit_len, found in the biophysical table

  > - d_dn.tif: Downslope factor of the index of connectivity (Eq. (54))

  > - d_up.tif: Upslope factor of the index of connectivity (Eq. (53))

  > - dist_to_channel.tif: Average downslope distance from a pixel to the stream

  > - eff_x.tif: Raw per-landscape cover retention efficiency for nutrient x.

  > - effective_retention_x.tif: Effective retention provided by the downslope flow path for each pixel (Eq. (50))

  > - flow_accumulation.tif: Flow accumulation created from the DEM

  > - flow_direction.tif: Flow direction created from the DEM

  > - ic_factor.tif: Index of connectivity (Eq. (52))

  > - load_x.tif: Loads (for surface transport) [units: kg/hectare/year]

  > - modified_load_x.tif: Raw load scaled by the runoff proxy index. [units: kg/hectare/year]

  > - ndr_x.tif: NDR values (Eq. (48))

  > - runoff_proxy_index.tif: Normalized values for the Runoff Proxy input to the model

  > - s_accumulation.tif: Slope parameter for the IC equation found in the Nutrient Delivery section

  > - s_bar.tif: Slope parameter for the IC equation found in the Nutrient Delivery section

  > - s_factor_inverse.tif: Slope parameter for the IC equation found in the Nutrient Delivery section

  > - sub_load_n.tif: Nitrogen loads for subsurface transport [units: kg/hectare/year]

  > - sub_ndr_n.tif: Subsurface nitrogen NDR values

  > - surface_load_x.tif: Above ground nutrient loads [units: kg/hectare/year]

  > - thresholded_slope.tif: Raster with slope values thresholded for correct calculation of IC.

  > - what_drains_to_stream.tif: Map of which pixels drain to a stream. A value of 1 means that at least some of the runoff from that pixel drains to a stream in stream.tif. A value of 0 means that it does not drain at all to any stream in stream.tif.

## Calibration/Comparison with observed data

The Calibrating the InVEST Freshwater Models chapter of this Guide provides an overview of how to perform sensitivity analysis and calibration.

The InVEST model provides a first-order assessment of the processes of nutrient retention and may be compared with observations. Time series of nutrient concentration used for model validation should span over a reasonably long period (preferably at least 10 years) to attenuate the effect of inter-annual variability. Time series should also be relatively complete throughout a year (without significant seasonal data gaps) to ensure comparison with total annual loads. If the observed data is expressed as a time series of nutrient concentration, they need to be converted to annual loads (LOADEST and FLUX32 are two software tools facilitating this conversion). Additional details on methods and model performance for relative predictions can be found in the study of Redhead et al 2018.

A detailed study of NDR model calibration and validation was done by Valladares-Castellanos et. al. (Valladares-Castellanos 2024) in Puerto Rico using open source monitoring data. In the referenced paper, they provide their framework, workflow and R code, which can be adapted to other locations, and is recommended reading when planning your own calibration and validation process.

If there are dams on streams in the analysis area, it is possible that they are retaining nutrient, such that it will not arrive at the outlet of the study area. In this case, it may be useful to adjust for this retention when comparing model results with observed data. For an example of how this was done for a study in the northeast U.S., see Griffin et al 2020. The dam retention methodology is described in the paper’s Appendix, and requires knowing the nutrient trapping efficiency of the dam(s).

## Appendix: Data sources

### Digital Elevation Model

### Land Use/Land Cover

### Watersheds

### Flow Direction Algorithm

### Threshold Flow Accumulation

### Nutrient Runoff Proxy

Either the quickflow index (e.g. from the InVEST Seasonal Water Yield or other model) or average annual precipitation may be used. Average annual precipitation may be interpolated from existing rain gauges, and global data sets from remote sensing models to account for remote areas. When considering rain gauge data, make sure that they provide good coverage over the area of interest, especially if there are large changes in elevation that cause precipitation amounts to be heterogeneous within the AOI. Ideally, the gauges will have at least 10 years of continuous data, with no large gaps, around the same time period as the land use/land cover map used.

If field data are not available, you can use coarse annual precipitation data from freely available global data sets such as WorldClim (https://www.worldclim.org/) or the Climatic Research Unit (http://www.cru.uea.ac.uk).

### Nutrient Load

For all water quality parameters (nutrient load, retention efficiency, and retention length), local literature should be consulted to derive site-specific values. The NatCap nutrient parameter database provides a non-exhaustive list of local references for nutrient loads and retention efficiencies: https://naturalcapitalalliance.stanford.edu/sites/g/files/sbiybj9321/f/nutrient_db_0212.xlsx. Parn et al. (2012) and Harmel et al. (2007) provide a good review for agricultural land in temperate climate.

Data sources may provide loading values as either the nutrient application rate (e.g., fertilizer, livestock waste, atmospheric deposition); or as measured contaminant runoff, which are empirical values representing the contribution of a parcel to the nutrient budget (e.g., nutrient export running off urban areas, crops, etc.). These two types of loading values are denoted application-rate and measured-runoff, respectively, in the biophysical table. Since the model equations require measured runoff values, if you supply application rate values, the model will adjust for the nutrient retention provided on the pixel itself, using the application rate and retention efficiency value (eff_n or eff_p) for that land cover type:

\(loading = application rate * (1 - retention efficiency)\)

using the specific biophysical table fields for nitrogen:

\(loading = load\_n * (1 - eff\_n)\)

Note that you can provide a mix of measured-runoff and application-rate values, and the model will only adjust the application-rate values as described; measured-runoff values do not need to be adjusted.

For example, if the nitrogen application rate for an agricultural LULC class is 10 kg/ha/year, and the retention efficiency is 0.4, the model will adjust the value to 6.0 kg/ha/year (= 10 kg/ha/year * (1 - 0.4)). If you have measured/nutrient export values, denoted as measured-runoff in the biophysical table, then the model will use these directly without adjustment.

Examples of export coefficients (“extensive” measures) for the US can be found in the EPA PLOAD User’s Manual and in a review by Lin (2004). Note that the examples in the EPA guide are in lbs/ac/yr and must be converted to kg/ha/yr.

### Retention Efficiency

This value represents, conceptually, the maximum nutrient retention that can be expected from a given LULC type. Natural vegetation LULC types (such as forests, natural pastures, wetlands, or prairie) are generally assigned high values (>0.8). A review of the local literature and consultation with hydrologists is recommended to select the most relevant values for this parameter. The NatCap nutrient parameter database provides a non-exhaustive list of local references for nutrient loads and retention efficiencies: https://naturalcapitalalliance.stanford.edu/sites/g/files/sbiybj9321/f/nutrient_db_0212.xlsx. Parn et al. (2012) provide a useful review for temperate climates. Reviews of riparian buffers efficiency, although a particular case of LULC retention, can also be used as a starting point (Mayer et al., 2007; Zhang et al., 2009).

### Retention Length: crit_len_n and crit_len_p

This value represents the typical distance necessary to reach the maximum retention efficiency. It was introduced in the model to remove any sensitivity to the resolution of the LULC raster. The literature on riparian buffer removal efficiency suggests that retention lengths range from 10 to 300 m (Mayer et al., 2007; Zhang et al., 2009). In the absence of local data for land uses that are not forest or grass, you can simply set the retention length constant, equal to the pixel size: this will result in the maximum retention efficiency being reached within a distance of one pixel only. Another option is to treat the retention length as a calibration parameter. In the absence of any other information, start with a value at the mid-point of the range given above (that is, 150m), then vary that value up and down during calibration to find a good fit.

### Subsurface Parameters: proportion_subsurface_n, eff_sub, crit_len_sub

These values are used for advanced analyses and should be selected in consultation with hydrologists. Parn et al. (2012) provide average values for the partitioning of N loads between leaching and surface runoff. From Mayer et al. (2007), a global average of 200m for the retention length, and 80% for retention efficiency can be assumed for vegetated buffers.

## References

Breuer, L., Vaché, K.B., Julich, S., Frede, H.-G., 2008. Current concepts in nitrogen dynamics for mesoscale catchments. Hydrol. Sci. J. 53, 1059–1074.

California Regional Water Quality Control Board Central Coast Region, 2013. Total Maximum Daily Loads for Nitrogen Compounds and Orthophosphate for the Lower Salinas River and Reclamation Canal Basin , and the Moro Cojo Slough Subwatershed , Monterey County, CA. Appendix F. Available at: https://www.waterboards.ca.gov/centralcoast/water_issues/programs/tmdl/docs/salinas/nutrients/index.html

Endreny, T.A., Wood, E.F., 2003. Watershed weighting of export coefficients to map critical phosphorous loading areas. J. Am. Water Resour. Assoc. 08544, 165–181.

Robert Griffin, Adrian Vogl, Stacie Wolny, Stefanie Covino, Eivy Monroy, Heidi Ricci, Richard Sharp, Courtney Schmidt, Emi Uchida, 2020. “Including Additional Pollutants into an Integrated Assessment Model for Estimating Nonmarket Benefits from Water Quality,” Land Economics, University of Wisconsin Press, vol. 96(4), pages 457-477. DOI: 10.3368/wple.96.4.457

Hamel, P. & Bryant, B. (2017). Uncertainty assessment in ecosystem services analyses: Seven challenges and practical responses. Ecosystem Services, Volume 24. https://doi.org/10.1016/j.ecoser.2016.12.008.

Hamel, P., Chaplin-Kramer, R., Sim, S., Mueller, C., 2015. A new approach to modeling the sediment retention service (InVEST 3.0): Case study of the Cape Fear catchment, North Carolina, USA. Sci. Total Environ. 166–177.

Harmel, D., Potter, S., Casebolt, P., Reckhow, K., 2007. Compilation of measured nutrient load data for agricultural land uses in the United States 76502, 1163–1178.

Heathwaite, A.L., Quinn, P.F., Hewett, C.J.M., 2005. Modelling and managing critical source areas of diffuse pollution from agricultural land using flow connectivity simulation. J. Hydrol. 304, 446–461.

Keeler, B.L., Polasky, S., Brauman, K.A., Johnson, K.A., Finlay, J.C., Neill, A.O., 2012. Linking water quality and well-being for improved assessment and valuation of ecosystem services 109, 18629–18624.

Lin, J.., 2004. Review of published export coefficient and event mean concentration (EMC) data, WRAP Technical Notes Collection (ERDC TN-WRAP-04-3). Vicksburg, MS.

Mayer, P.M., Reynolds, S.K., Mccutchen, M.D., Canfield, T.J., 2007. Meta-Analysis of Nitrogen Removal in Riparian Buffers 1172–1180.

Pärn, J., Pinay, G., Mander, Ü., 2012. Indicators of nutrients transport from agricultural catchments under temperate climate: A review. Ecol. Indic. 22, 4–15.

Reckhow, K.H., Beaulac, M.N., Simpson, J.T., 1980. Modeling Phosphorus loading and lake response under uncertainty: A manual and compilation of export coefficients. EPA 440/5-80-011. US-EPA, Washington, DC.

Redhead, John W.; May, Linda; Oliver, Tom H.; Hamel, Perrine; Sharp, Richard; Bullock, James M.. 2018 National scale evaluation of the InVEST nutrient retention model in the United Kingdom. Science of the Total Environment, 610-611. 666-677. https://doi.org/10.1016/j.scitotenv.2017.08.092

Scanlon, B.R., Jolly, I., Sophocleous, M., Zhang, L., 2007. Global impacts of conversions from natural to agricultural ecosystems on water resources: Quantity versus quality. Water Resour. Res. 43.

Tarboton, D., 1997. A new method for the determination of flow directions and upslope areas in grid digital elevation models. Water Resour. Res. 33, 309–319.

Valladares-Castellanos, M., de Jesús Crespo, R., Xu, Y. J., Douthat, T. H., 2024. A framework for validating watershed ecosystem service models in the United States using long-term water quality data: Applications with the InVEST Nutrient Delivery (NDR) model in Puerto Rico, Science of The Total Environment, Volume 949, 2024, 175111, ISSN 0048-9697, https://doi.org/10.1016/j.scitotenv.2024.175111.

Vigiak, O., Borselli, L., Newham, L.T.H., Mcinnes, J., Roberts, A.M., 2012. Comparison of conceptual landscape metrics to define hillslope-scale sediment delivery ratio. Geomorphology 138, 74–88.

Zhang, X., Liu, X., Zhang, M., Dahlgren, R. a, Eitzel, M., 2009. A review of vegetated buffers and a meta-analysis of their mitigation efficacy in reducing nonpoint source pollution. J. Environ. Qual. 39, 76–84.