Skip to contents

Constructs a hydromad model using a specified soil moisture accounting (SMA) routine and a set of default calibration parameters.

Usage

create_hydromad_model(sma, cal_par, routing = "expuh")

Arguments

sma

A string specifying the soil moisture accounting model (e.g., "cmd", "gr4j", "sacramento").

cal_par

A list of calibration parameters, typically created using set_hydromad_par. Must contain lower and upper bounds for each parameter.

routing

A string specifying the routing model (default is "expuh").

Value

A hydromad model object with parameter ranges set.

Details

The function initializes a hydromad model with no data and updates it with the parameter bounds provided in cal_par. This is useful for preparing a model structure before calibration.

Examples

create_hydromad_model("cmd", default_cal_par[["cmd"]])