pastas.recharge.FlexModel.simulate ================================== .. py:method:: pastas.recharge.FlexModel.simulate(prec: pastas.typing.ArrayLike, evap: pastas.typing.ArrayLike, temp: pastas.typing.ArrayLike, p: pastas.typing.ArrayLike, dt: float = 1.0, return_full: bool = False, **kwargs) -> pastas.typing.ArrayLike | tuple[pastas.typing.ArrayLike, Ellipsis] Simulate the soil water balance model. :param prec: Precipitation flux in mm/d. Must have the same length as evap. :type prec: array_like :param evap: Potential evaporation flux in mm/d. :type evap: array_like :param temp: Temperature in degrees Celsius. :type temp: array_like :param p: array_like object with the values as floats representing the model parameters. Must be length self.nparam. :type p: array_like :param dt: time step for the calculation of the recharge. Only dt=1 is possible now. :type dt: float, optional :param return_full: return all fluxes and states as NumPy arrays. :type return_full: bool :returns: **r** -- Recharge flux calculated by the model. :rtype: array_like .. !! processed by numpydoc !!