Precipitation is evenly divided over a set of evenly-spaced "wet days." Snowmelt is evenly divided over the multi-day timestep.

daily_hydro(P, Sa, Sm, E0, Ws, Wc, nDays, pWetDays)

Arguments

P

precipitation for the time step [L]

Sa

snow accumulation for the time step [L]

Sm

snow melt for the time step [L]

E0

potential evapotranspiration for the time step [L]

Ws

soil moisture at start of time step [L]

Wc

soil moisture holding capacity [L]

nDays

number of days in time step [-]

pWetDays

percentage of days with precipitation [-]

Value

a List of hydrological parameters: dWdt: change in soil moisture [L] Ws_ave: average soil moisture over timestep [L], E: evapotranspiration [L] R: runoff [L]