Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
~ ~ ~ PURPOSE ~ ~ ~
this subroutine calculates the amount of organic nitrogen removed in
surface runoff - when using CSWAT==2 it
~ ~ ~ INCOMING VARIABLES ~ ~ ~
name |units |definition
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
enratio |none |enrichment ratio calculated for day in HRU
erorgn(:) |none |organic N enrichment ratio, if left blank
|the model will calculate for every event
ihru |none |HRU number
sedc_d(:) |kg C/ha |amount of C lost with sediment
total carbon in surface residue and soil humus
wt = sol_bd(1,j) * sol_z(1,j) * 10. (tons/ha) -> wt1 = wt/1000
organic n leaving hru
update soil carbon organic nitrogen pools
Calculate runoff and leached C&N from microbial biomass
calculate nitrate in percolate and lateral flow