Function which performs a single model run with the provided function over the selected period.

# S3 method for class 'GR'
RunModel(x, RunOptions, Param, ...)

Arguments

x

[object of class InputsModel] InputsModel for airGR::RunModel

RunOptions

[object of class RunOptions] see airGR::CreateRunOptions for details

Param

numeric vector of model parameters (See details for SD lag model)

...

further arguments passed to or from other methods

Value

[list] see RunModel_GR4J or RunModel_CemaNeigeGR4J for details.

If InputsModel parameter has been created for using a semi-distributed (SD) lag model (See CreateInputsModel), the list value contains an extra item named QsimDown which is a numeric series of simulated discharge [mm/time step] related to the run-off contribution of the downstream sub-catchment.

Details

This function runs airGR::RunModel and add an item Qsim_m3 to the returned OutputsModel object.