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.
added nbs
set incoming flow
zero outgoing flow, sediment and nutrients
zero outgoing constituents
adjust precip and temperature for elevation using lapse rates
set water body pointer to res
add incoming flow to reservoir
Store values in daily inflow array for the month and reset if month has ended
Append inflow of current day
Append irrigaton demand of current day
Get mean and store in reservoir's memory if end of month
perform reservoir water/sediment balance
determine reservoir outflow
Retrospective information -> Inflow and irrigation demand memory of the reservoir
new lag to smooth condition jumps (volume or month conditions)
lag outflow when flows are receding
Osvaldo
calculate water balance for day
add precip to reservoir storage
subtract outflow from reservoir storage
subtract evaporation from reservoir storage
subtract seepage from reservoir storage
update surface area
subtract sediment leaving from reservoir
perform reservoir nutrient balance
perform reservoir pesticide transformations
perform reservoir salt process (rtb salt)
perform reservoir constituent process (rtb cs)
set values for outflow variables
total incoming to output to SWIFT
total outgoing to output to SWIFT
set inflow and outflow variables for reservoir_output
reservoir has not been constructed yet
if called from water allocation, set flag to indicate reservoir has been processed for the day
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.