A Simile model instance must be reset before it is first run, whenever the parameters are changed, and in order to run it again with new values for random constants.
reset.model(instance.handle, depth, integration.method, starting.time)None
The handle returned by create.model(), identifying an executable model instance.
Simile does a sort of 'lazy execution', with values being left untouched if they do not need to be recalculated for a given type of reset. This argument tells it what to reset, with each action including those that follow it:
Recalculate constant atrithmetic expressions including numerals
Recalculate values that depend on fixed parameters
Recalculate random constants and set state variables to their initial values
Recalculate rate variables from the current state values at this time step
One of "Euler" or "Runge-Kutta", the latter being 4th-order. Default is "Euler".
Value for model time after resetting. Used for indexing time series, time plots etc in the model. Default is 0.
Jasper Taylor