pastas.recharge.Peterson.simulate#
- Peterson.simulate(prec, evap, p, dt=1.0, return_full=False, **kwargs)[source]#
Simulate the recharge flux.
- Parameters
prec (numpy.Array) – Precipitation flux in mm/d. Must have the same length as evap.
evap (numpy.Array) – Potential evapotranspiration flux in mm/d.
p (array_like) – array_like object with the values as floats representing the model parameters.
dt (float, optional) – time step for the calculation of the recharge.
- Returns
r – Recharge flux calculated by the model.
- Return type
numpy.Array