smartpy.SMART.simulate
- SMART.simulate(param, report='summary')
Run model simulation over period configuration at instantiation.
- Parameters
- param:
dict
The set of SMART model parameter values to use for the simulation. This can be retrieved from the
SMART
model instance via{smart_instance}.parameters.values
or directly given as a Python dictionary.Parameter example:
param={ 'T': 1.0, 'C': 1.0, 'H': 0.20845, 'D': 0.24606, 'S': 0.0001230, 'Z': 105.26, 'SK': 46.82, 'FK': 315.55, 'GK': 1066.73, 'RK': 10.64 }
- report:
str
, optional The processing to perform if the simulation resolution resolution is greater than the recording resolution (i.e. when time_delta_save > time_delta_simu). The options are:
'summary'
The average of the simulated discharge values covering the reporting time step is taken. For instance, with hourly simulations and daily outputs, an average of the 24 hourly values is computed for each day.
'raw'
The last simulated discharge value in the reporting time step is taken. For instance, with hourly simulations and daily outputs, only the 24th hourly value (i.e. the last one) is retained for each day.
If not provided, set to default value
'summary'
.
- param: