Simple interface to the hydromad "leaky bucket" soil moisture model, with accommodation for typical inputs from common soil data and climate sources. Critical points along the water retention curve are specified using volumetric water content (VWC): satiation (saturation), field capacity (typically 1/3 bar suction), and permanent wilting point (typically 15 bar suction).

dailyWB(x,, id, = "default", S_0 = 0.5, M = 0, etmult = 1)



data.frame, required columns include:

  • sat: VWC at satiation

  • fc: VWC at field capacity

  • pwp: VWC at permanent wilting point

  • thickness: soil material thickness in cm

  • recession coefficients for subsurface flow from saturated zone, should be > 0 (range: 0-1)

  • "id"

data.frame, required columns include:

  • date: Date class representation of dates

  • PPT: daily total, precipitation in mm

  • PET: daily total, potential ET in mm


character, name of column in x that is used to identify records

moisture state classification style, see estimateSoilMoistureState


fraction of water storage filled at time = 0 (range: 0-1)


fraction of area covered by deep-rooted vegetation


multiplier for PET


a data.frame


Farmer, D., M. Sivapalan, Farmer, D. (2003). Climate, soil and vegetation controls upon the variability of water balance in temperate and semiarid landscapes: downward approach to water balance analysis. Water Resources Research 39(2), p 1035.

Bai, Y., T. Wagener, P. Reed (2009). A top-down framework for watershed model evaluation and selection under uncertainty. Environmental Modelling and Software 24(8), pp. 901-916.