You are here

set.model.step: Sets the time step used to execute a model.

 

Description

The time step is the amount by which the model time advances each time the state variables are updated. A model may have more than one time step.

Usage

set.model.step(instance.handle,step.index,step.size)

Arguments

instance.handle

The handle returned by create.model(), identifying an executable model instance.

step.index

The level of the time step to be set. If a model only has one time step, this is step 1. Higher levels are set to shorter steps.

step.size

The duration for the time step.

Value

None

Author(s)

Jasper Taylor

Examples