pastas.recharge.FlexModel.get_snow_balance#

static pastas.recharge.FlexModel.get_snow_balance(prec: pastas.typing.ArrayLike, temp: pastas.typing.ArrayLike, tt: float = 0.0, k: float = 2.0) tuple[pastas.typing.ArrayLike, pastas.typing.ArrayLike, pastas.typing.ArrayLike]#

Method to compute the water balance of the snow reservoir.

Parameters:
  • prec (array_like) – NumPy Array with precipitation in mm/day.

  • temp (array_like) – NumPy Array with the mean daily temperature in degree Celsius.

  • tt (float, optional)

  • k (float, optional)

Returns:

  • ss (array_like) – storage in the snow reservoir.

  • ps (array_like) – snowfall flux in mm/d.

  • m (array_like) – snow melt flux in mm/d.

Notes

The water balance from the snow reservoir is as follows:

\[\frac{dS_s}{dt} = P_s - M\]

where $S_s$ [L] is the snow storage, $P_s$ [L/T] the snowfall, and $M$ [L/T] the snow melt from the snow reservoir.