The NPZD model is a monument in biological oceanography and limnology. It provides a simplified description for nutrient cycling in the water column in which only four state variables are described: Nutrients (N), Phytoplankton (P), Zooplankton (Z) and Detritus (D).
In the marine environment, the limiting nutrient is typically dissolved inorganic nitrogen (DIN). In freshwater environments, dissolved inorganic phosphorus (DIP) is typically used as the limiting nutrient.
The NPZD model is a "real-life" model, in the sense that it is actively used in research: it forms the biological heart of most biogeochemical modules in present-day ocean circulation models.
In this exercise, you start by making an NPZD model, which you will then extend to a NPZD2 model by including two detritus fractions (hence the "D2").
The conceptual scheme of the NPZD model is given in Figure 1.
{width=8cm}
The following assumptions are made:
| Parameter | Value | Description | Units |
| -------------- | --------- | -------------------------------- | --------------------------- |
| depth | 10 | water depth | $m$ |
| rUptake | 1.0 | Nitrogen uptake rate constant | $d^{-1}$ |
| ksPAR | 140 | Monod ct for light limitation | $\mu Einst~m^{-2}~s^{-1}$ |
| ksDIN | $1\times 10^{-3}$ | Monod ct for nutrient limitation | $mol~N~m^{-3}$ |
| rGrazing | 1.0 | Grazing rate constant | $d^{-1}$ |
| ksGrazing | $1\times 10^{-3}$ | Monod ct for grazing | $mol~N~m^{-3}$ |
| pFaeces | 0.3 | Part of ingestion to faeces | $-$ |
| rMortality | 400 | Mortality rate constant | $(mol~N~m^{-3})^{-1}~d^{-1}$ |
| rExcretion | 0.1 | Excretion rate constant (to DIN) | $d^{-1}$ |
| rMineralisation| 0.05 | Mineralisation rate constant | $d^{-1}$ |
| SV | value | Units | |------------- | ------- |-----------------| | DIN | 0.010 | $mol~N~m^{-3}$ | | PHYTO | 0.0005 | $mol~N~m^{-3}$ | | ZOO | 0.0003 | $mol~N~m^{-3}$ | | DET | 0.005 | $mol~N~m^{-3}$ |
RTM_npzd.Rmd
(this file already contains the statement that estimates the light intensity as a function of time and depth of the water column).\footnote{You can download this file from Rstudio: File $\rightarrow$ new File $\rightarrow$ Rmarkdown $\rightarrow$ from template $\rightarrow$ RTM_npzd.} First, change the heading and rename this file to NPZD.Rmd.First, copy the file that implements the NPZD model and rename it as NPZD2.Rmd
(D2
means that there will be eventually two types of detritus).
out[nrow(out),]
shows the values on the last day.)Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.