pastas.recharge.FlexModel.get_snow_balance ========================================== .. py:method:: pastas.recharge.FlexModel.get_snow_balance(prec: pastas.typing.ArrayLike, temp: pastas.typing.ArrayLike, tt: complex | float = 0.0, k: complex | float = 2.0) -> tuple[pastas.typing.ArrayLike, pastas.typing.ArrayLike, pastas.typing.ArrayLike] :staticmethod: 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: Temperature threshold for snowfall in degree Celsius. :type tt: complex or float, optional :param k: Degree-day factor in mm/d/°C. :type k: complex or 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 !!