pastas.recharge.FlexModel.get_snow_balance ========================================== .. py:method:: 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] :staticmethod: Method to compute the water balance of the snow reservoir. :param prec: NumPy Array with precipitation in mm/day. :type prec: array_like :param temp: NumPy Array with the mean daily temperature in degree Celsius. :type temp: array_like :param tt: :type tt: float, optional :param k: :type 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. .. rubric:: Notes The water balance from the snow reservoir is as follows: .. math:: \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. .. !! processed by numpydoc !!