nut_nminrl Subroutine

subroutine nut_nminrl()

Uses

~ ~ ~ PURPOSE ~ ~ ~
this subroutine estimates daily nitrogen and phosphorus
mineralization and immobilization considering fresh organic
material (plant residue) and active and stable humus material

~ ~ ~ INCOMING VARIABLES ~ ~ ~
name          |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
ihru          |none          |HRU number
rsdco_pl(:)   |none          |plant residue decomposition coefficient. The
                             |fraction of residue which will decompose in
                             |a day assuming optimal moisture,
                             |temperature, C:N ratio, and C:P ratio

! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ OUTGOING VARIABLES ~ ~ ~
name          |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ LOCAL DEFINITIONS ~ ~ ~
name        |units         |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ SUBROUTINES/FUNCTIONS CALLED ~ ~ ~
Intrinsic: Max, Exp, Sqrt, Min, Abs

~ ~ ~ ~ ~ ~ END SPECIFICATIONS ~ ~ ~ ~ ~ ~

mineralization can occur only if temp above 0 deg compute residue decomp and mineralization of fresh organic n and p of flat residue we need to decompose each plant compute soil water factor compute soil temperature factor compute combined factor compute residue decomp and mineralization for each plant mineralization of mass and carbon mineralization of residue n and p compute humus mineralization of organic soil pools mineralization can occur only if temp above 0 deg compute soil water factor change for domain error 1/29/09 gsm check with Jeff !!! compute soil temperature factor compute combined factor compute flow from active to stable pools- maintain fraction of active (nactfr) compute humus mineralization on active organic n compute humus mineralization on active organic p move mineralized nutrients between pools compute residue decomp and mineralization of fresh organic n and p (upper two layers only) compute root and incorporated residue decomposition all plant residue in soil is mixed - don't track individual plant residue in soil

compute denitrification

Arguments

None