update_vertically {ambhasGW}R Documentation

Update the vertical flux components

Description

Update the grids with net recharge and discharge, also computes the baseflow from each grid.

Usage

update_vertically(h, sy, net.recharge, p.baseflow, hmin.baseflow)

Arguments

h

Initial head raster

sy

Specific yield [0-1].

net.recharge

Net recharge (recharge - draft)

p.baseflow

parameter for the baseflow [0-1].

hmin.baseflow

head corresponding to zero baseflow.

Value

Returns a list containing the updated head and computed baseflow.

Examples



# create synthetic head and parameters
h <- 10
sy <- 0.01
net.recharge <- 1
p.baseflow <- 0.7
hmin.baseflow <- 5

# update the head and compute baseflow
out <- update_vertically(h, sy, net.recharge, p.baseflow, hmin.baseflow)
out


[Package ambhasGW version 0.0.2 Index]