swb_f {Ecohydmod} | R Documentation |

This function calculates the daily soil water balance and its components based on the rainfall, soil properties and vegetation properties.

```
swb_f(R, Rstar, Emax, Ew, Ks, b, Zr, n, sh, sw, sstar, nsteps, s0, gr)
```

`R` |
Daily rainfall, which should be a vector. |

`Rstar` |
The maximum amount which the canopy intercepts |

`Emax` |
Maximum evapotranspiration rate |

`Ew` |
Minimum evapotranspiration rate |

`Ks` |
Soil saturated hydraulic conductivity |

`b` |
The exponent of the water retention curve |

`Zr` |
Root depth |

`n` |
The soil porosity |

`sh` |
Soil moisture at hidroscopic point |

`sw` |
Soil moisture at wilting point |

`sstar` |
Soil moisture below field capacity point |

`nsteps` |
Number of steps/division for the numerical solution |

`s0` |
Initial soil moisture to start the simulation. If it is missing, s0 is signed equal to sh. |

`gr` |
Logical argument to show graphics of results. Default is FALSE |

Soil water balance

soil water balance components

```
rain = 10 * RainPoisson(ndays = 365, lambda = 0.05, alpha = 0.60)
swb_f(R = rain, Rstar = 3, Emax = 5, Ew = 0.5, Ks = 2000, b = 4.38, Zr = 400,
n = 0.5, sh = 0.01, sw = 0.10, sstar = 0.25, s0 = 0.10, nsteps = 48)
```

[Package *Ecohydmod* version 1.0.0 Index]