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 initializes soil chemical properties
set soil nutrient initialization from nutrients.sol
set soil carbon
assume 0.001% carbon if zero
calculate percent carbon for lower layers using exponential decrease
use carbon content in the soils database
calculate initial nutrient contents of layers, profile and
average in soil for the entire watershed
set initial mineral pools - no3
mg/kg => kg/ha
assume initial concentration of 5 mg/kg
mg/kg => kg/ha
set active mineral P pool based on dynamic PSP MJW
Allow Dynamic PSP Ratio
convert to concentration
PSP = -0.045log (% clay) + 0.001(Solution P, mg kg-1) - 0.035*(% Organic C) + 0.43
Limit PSP range
Set Stable pool based on dynamic coefficient
From White et al 2009
convert to concentration for ssp calculation
estimate Total Mineral P in this soil based on data from sharpley 2004
limit SSP Range
the original code
set initial organic pools - originally by Zhang
ens soil layer loop