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.
calculate channel sed and nutrient processes if inflow > 0
calculate peak daily flow
interpolate rating curve using peak rate
use peakrate as flow rate
add precip to inflow - km * m * 1000 m/km * ha/10000 m2 = ha
m3 = 10. * mm * ha
compute flood plain deposition
assume a triangular distribution
flow is over within the day
flow continues over the day - florate is the rate under the triangle
trap efficiency from Dynamic SedNet Component Model Reference Guide: Update 2017
deposit Particulate P and N in the floodplain
trap nitrate and sol P in flood plain - when not simulating flood plain interactions?
if flood plain link - fill wetlands to emergency
fill wetland storage to emergency volume
calculate overbank volume left to fill wetland
add sediment deposition to calculate mm of deposition over the flood plain later
calc bank erosion
calculate radius of curvature
bank erosion m/yr
write for Peter
mass of sediment eroded -> t = 1000 * bankcut (mm) * depth (m) * lengthcut (m) * bd (t/m3)
arc length = 0.33 * meander wavelength * sinuosity
calculate associated nutrients
calculate channel deposition based on fall velocity - SWRRB book
assume particle size = 0.03 mm -- median silt size
assume bankfull flow depth
calculate channel deposition as the bedload fraction of bank erosion
calculate bed erosion
no downcutting below equilibrium slope
calc critical shear and shear on bottom of channel
Pa = N/m^2 * m * m/m
critical shear function of d50
bed erosion m/yr
calc mass of sediment eroded -> t = m * width (m) * length (km) * 1000 m/km * bd (t/m3)
calculate associated nutrients
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.