*PARAMETER_RANGE_DISCRETE
rid
$x_1$, "title${}_1$"
.
$x_n$, "title${}_n$"
rid
$x_1$, "title${}_1$"
.
$x_n$, "title${}_n$"
Parameter definition
Variable | Description |
---|---|
rid | Range ID |
$x_1$ | Value 1 |
title${}_1$ | Description of value 1 |
. | |
$x_n$ | Value n |
title${}_n$ | Description of value n |
Description
This command specifies a list of allowed values for a parameter defined under PARAMETER. It is exclusively used by the GUI to simplify the visualization and adjustment of specific parameters.
Example
Discrete parameter
Specify a list with different load levels.
*PARAMETER
%load = 1.2e5, "load level", 234
*PARAMETER_RANGE_DISCRETE
234
0.6e5, "min load"
1.2e5, "medium load"
1.8e5, "max load"
%load = 1.2e5, "load level", 234
*PARAMETER_RANGE_DISCRETE
234
0.6e5, "min load"
1.2e5, "medium load"
1.8e5, "max load"