- Products and services
- Resources and support
- About us
- Log in/Register
The File Parameters dialogue will contain entry fields for both fixed and variable parameters. Fixed parameters must be given a value; their captions in the dialogue will be shown in red until a correctly formatted value has been supplied. Variable parameters do not need a value, and can be left empty, so the value can be set by a slider while running the model. However, it is possible to enter a time series in the File Parameters dialogue, which will cause the variable parameter's value to be set at a series of specified time points while the model is running. You would normally set up the time series using the table data dialogue, but the direct method is described here to clarify the analogy with setting values for an array.
The format for entering a time series is the same as for a one-dimensional array, except time points are given instead of indices. The time points can be REAL values, and do not have to be at regular intervals. Data for time point zero is loaded whenever the model is reset. So, to set a value five times between time 0 and time 100, the entry might look like this: 0 12 20 11 40 8 60 7 80 9
If the value to be set is an array, the data must specify a multi-dimensional array, with the time points as the outermost indices.
The data for a time series can include various combinations of special index and value, which affect how the numerical data is interpreted:
Example: rough approximation of sinusoidal variation with period 100 time units:
0 0 12.5 0.7 25 1 37.5 0.7 62.5 -0.7 75 -1 87.5 -0.7 OTHERS interpolate 100 restart
When entering time series values in the table data dialogue, there are special buttons to get these behaviours by setting the special indices and values.