Setting up Calculations for Optimetrics

The Setup dialog boxes for each of the Optimetrics types include a Setup Calculations button. Clicking this button displays the Add/Edit Calculation dialog box, which contains distinct panes and tabs to set the Context, the Calculation Expression, and the Calculation Range.

The Context pane contains fields for the Report Type to use, the Solution, and depending on the Report Type selection, the Geometry.

The Trace tab contains fields for the Calculation expression and, to build the expression, a Category list, a Quantity list with a Text Filter field, and a list of Functions available for the selected Category. The Range function button opens a dialog box in which you can define a range function to apply a function to the expression.

The Category list for the Trace tab includes Variables and Output Variables. An Output Variables... button lets you open a dialog box to define and edit the Output Variables.

To set up an Optimetrics calculation:

  1. Click Setup Calculations to open the Add/Edit/Calculation dialog box.
  2. In the Report Type text field in the Context pane, select from the drop-down menu of available types.

    Selecting Fields as the Report type causes the Geometry field to display.

  3. In the Solution text box, select from the drop-down menu of available solutions.
  4. If the Geometry field is available, select from the drop-down menu.
  5. In the Trace tab, specify the solution Category, a Quantity, and Functions. The resulting expression will be displayed in the Calculation Expression field.
    1. Select the Category from the list.

      The selection appears in the Calculation Expression field, and the Quantity and Function fields list what is available for the corresponding selection.

    2. Select the Quantity from the list.

      The selected quantity appears in the Calculation Expression field.

      If the Quantity list is long, you can filter it for easier selection by typing in the text filter field. Only quantities that contain those alphanumeric characters anywhere in their name will remain visible in the list.

      If you want to create an output variable that represents the solution quantity, do the following:

      • Click Output Variables.

        The Output Variables dialog box appears.

      • Add the expression you want to evaluate, and then click Done.

        The recently created output variable appears in the Quantity list.

      • Click a new output variable in the Quantity drop-down menu.
      Note:

      The calculation you specify must be able to be evaluated into a single, real number.

      The selected Quantity appears in the Calculation Expression field.

    3. Select the Function from the list.

      The selected function is applied to the Quantity in the Calculation Expression field.

  6. To apply a Range function to the Calculation Expression, see Setting a Range function.
  7. Click Add Calculation to add the expression in the Add/Edit Calculation dialog box's Calculation Expression field to the Calculations tab of the Setup Sweep Analysis dialog box.
  8. Click Done to close the Add/Edit Calculation dialog box.