\item{IndPeriod_Run}{numeric] index of period to be used for the model run [-]}
\item{TestedValues}{[numeric] vector of tested Imax values}
\item{TestedValues}{[numeric] vector of tested Imax values [mm]}
}
\value{
Choosen Imax value [mm].
Optimal Imax value [mm].
}
\description{
Function which performs a single run for the GR4J daily lumped model over the test period.
Function which calculates the maximal capacity of the GR5H interception store. This function compares the interception evapotranspiration from the GR5H interception store for different maximal capacity values with the interception evapotranspiration classically used in the daily GR models (e.g. GR4J). Among all the \code{TestedValues}, the value that gives the closest interception evapotranspiration flux over the whole period is kept.