String Delta Variables
STRING DESCRIPTION:
The string description describes what the variable is used for:
STRING VALUE:
A String Value is a series of strings such as:
- ‘resim_1.m’,’resim_2.m’,’resim_1.m’,’resim_2.m’,…
The Base String for this series would be specified with:
- ‘resim_%d.m’.
and the Base Substring would be specified as
- %d
The ‘%d’ is replaced by the applying the following formula:
- %d = Base Value + Value
where Value is calculated as:
- Value = (n-1)*(Step Value)
where n is the number of simulation steps.
When the number of simulation steps equals Modulo Count, then the series is reset.
VALUE VECTOR
A Value Vector is a vector of values which specifies the exact value for Value.
With this configuration, the series:
- resim_2.m
- resim_3.m
- resim_4.m
would be generated.
If Base Value is 1000, then the series:
- resim_1001.m
- resim_1002.m
- resim_1003.m
- resim_1004.m
would be generated.
STRING TABLE:
A String Table specifies the exact values of a string variable by using a text file. Each line specifies a single value for the string variable. If the line starts with a ‘%’, then the line is considered to be a comment.
If the file ‘myvalues.txt’ contained:
- %MLL conservative input files
- resim_1001.m
- resim_2001.m
- resim_3001.m
- resim_4001.m
Then the string variable would get these values:
- simulation step #1 – resim_1001.m
- simulation step #2 – resim_2001.m
- simulation step #3 – resim_3001.m
- simulation step #4 – resim_4001.m