smash.Model.get_rr_initial_states_bounds#
- Model.get_rr_initial_states_bounds()[source]#
Get the boundary condition for the Model rainfall-runoff initial states.
- Returns:
- boundsdict[str, tuple[float, float]]
A dictionary representing the boundary condition for each rainfall-runoff initial state.
Examples
>>> from smash.factory import load_dataset >>> setup, mesh = load_dataset("cance") >>> model = smash.Model(setup, mesh)
>>> model.get_rr_initial_states_bounds() {'hi': (1e-06, 0.999999), 'hp': (1e-06, 0.999999), 'ht': (1e-06, 0.999999), 'hlr': (1e-06, 1000.0)}
Note
This method allows you to find out the default bounds for the rainfall-runoff initial states. These bounds are used during optimization if they are not modified in the optimization method argument.