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.
lag recharge from bottom of soil to water table ** disabled
add recharge to aquifer storage
if channel is a POD, allocate water for users and adjust flow in channel accordingly
compute groundwater depth from surface
compute flow and substract from storage
set hydrograph flow from aquifer- convert mm to m3
compute seepage through aquifer and subtract from storage
compute revap (deep root uptake from aquifer) and subtract from storage
compute nitrate recharge into the aquifer
compute nitrate return flow out of aquifer
(kg/ha / mm)
kg = (kg/ha / mm) * mm * ha
compute NO3 lost in the aquifer
compute nitrate seepage out of aquifer
kg/ha = (kg/ha / mm) * mm
compute mineral p flow (constant concentration) from aquifer - m^3 * ppm * 1000 kg/m^3 = 1/1000
compute mineral p flow (constant concentration) from aquifer - m^3 * ppm * 1000 kg/m^3 = 1/1000
temperature of aquifer flow
compute fraction of flow to each channel in the aquifer
if connected to aquifer - add flow
find the first channel contributing
set fractions for flow to each channel
save hydrographs to distribute on following day
compute pesticide transport and decay
set initial pesticide at start of day
add incoming pesticide to storage
compute pesticide decay in the aquifer
add decay to daughter pesticides
add increment only
compute pesticide concentrations considering groundwater mixing factor
behavior where concentration is based on a scaled aquifer mixing volume
route only return flow and seepage pesticide mass; revap pesticide is not routed
remove exported pesticide from aquifer storage (cap at available mass)
set pesticide output variables - kg
assume frsol = 1 (all soluble)
all soluble - may add later
compute outflow objects (flow to channels, reservoirs, or aquifer)
if flow from hru is directly routed
sum outflow to channels, reservoirs and other aquifers
total ingoing and outgoing (retuen flow + percolation) for output to SWIFT
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.