FlexModel.simulate(prec, evap, temp, p, dt=1.0, return_full=False, **kwargs)[source]#

Simulate the soil water balance model.

  • prec (numpy.Array) – Precipitation flux in mm/d. Must have the same length as evap.

  • evap (numpy.Array) – Potential evaporation flux in mm/d.

  • temp (numpy.Array) – Temperature in degrees Celcius.

  • p (array_like) – array_like object with the values as floats representing the model parameters. Must be length self.nparam.

  • dt (float, optional) – time step for the calculation of the recharge. Only dt=1 is possible now.

  • return_full (bool) – return all fluxes and states as Numpy arrays.


r – Recharge flux calculated by the model.

Return type