record_volume: record_volume

Description Usage Arguments Value See Also

View source: R/mod.R

Description

Record acculumation at a node. Takes arrivals and emits departures. Nodes are linked, with deposits departing downstream.

Usage

1
record_volume(node, n, vi, vo, arrivals = 0)

Arguments

node

is a row from a spatial dataframe (creek nodes)

n

is the number of years to simulate accumulation

vi

is the volumetric input rate

vo

is the volumetric output rate

arrivals

is a dataframe describing upstream arrivals

Value

a list with elements c(accumulation, departures)

See Also

fit_volumes1


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.