Set discrete variables to evaluate scenarios or perform optimization. If you perform optimization with discrete variables only, the program selects the optimal solution from one of the defined scenarios. A discrete variable is defined by a specific value. For example, 3,4,4.2,5 represents a set of discrete values.
-
On the Variable View tab of the design study, in Variables section, do one of the following:
- Select a predefined parameter from the list.
- Select Add Parameter, define a parameter, and select the newly defined parameter from the list.
The parameter name appears in the Variables section.
-
For the variable name, do one of the following:
-
Select Range with Step. For Min, type the minimum value of the variable. For Max, type the maximum value of the variable. For Step, type the value of the step size. For example, if Min is 10mm, Max is 20mm, and Step is 5mm, the program selects 10mm, 15mm, and 20mm as the variable values.
- Select Discrete Values, then type each value and its units. Use a comma to separate the values, for example, 2mm,3mm,4mm.
- Repeat steps 1 and 2 to define additional discrete variables.