Defining Parameter Relationships

Parameter relationships give you greater flexibility in defining optimization limits on input parameters than standard single-parameter constraints such as Greater Than, Less Than, and Inside Bounds. When you define parameter relationships, you can specify expression-based relationships between multiple input parameters, with the values remaining physically bounded and reflecting the constraints on the optimization problem.


Note:  To specify parameter relationships for outputs, you can create derived parameters. You create derived parameters for an analysis system by providing expressions. The derived parameters are then passed to DesignXplorer as outputs. For more information, see Custom Parameters in the ANSYS Workbench documentation.


A parameter relationship has one operator and two expressions. In the following example, you can see that two parameter relationships have been defined, each involving input parameters P1 and P2.

You can create, edit, enable and disable, and view parameter relationships.

Creating Parameter Relationships

You can create new domain parameter relationships using either of these methods:

Editing Parameter Relationships

Once a parameter relationship has been created, you can edit it using either of these methods:

The following table indicates the editing tasks that the Properties, Table, and Outline views allow you to perform.

TaskPropertiesTableOutline

Rename a relationship by double-clicking its name and typing in a custom name

XXX

Edit expressions by typing into the expression cell

XX 

Change operators by selecting from the drop-down menu

XX 

Duplicate a relationship by right-clicking it and selecting Duplicate

XXX

Delete a relationship by right-clicking it and selecting Delete

XXX

Enabling and Disabling Parameter Relationships

You can enable or disable a parameter relationship by selecting or clearing the Enabled check box. Enabling a parameter relationship causes it to display on the corresponding History chart and sparkline. For more information, see Using the History Chart.

Parameter Relationship Properties

The following properties are available for parameter relationships:

Name

Editable in the Properties and Table views. Each parameter relationship is given a default name such as Parameter or Parameter 2, based on the order in which the parameter relationship was created. When you define both the left and right expressions for the parameter relationship, the default name is replaced by the relationship. For example, v can become P1<=P2. The name is updated accordingly when either of the expressions is modified.

The Name property allows you to edit the name of the parameter relationship. Once you edit this property, the name persists. To resume the automated naming system, you must delete the custom name, leaving the property empty.

Left Expression/Right Expression

Editable in the Properties and Table views. Allows you to define the parameter relationship expressions.

Left Expression Quantity Name/ Right Expression Quantity Name

Viewable in the Properties view. Shows the quantity type for the expressions in the parameter relationship.

Operator

Editable in the Properties and Table views. Allows you to select the expression operator from a drop-down menu. Available values are <= and >=.

Viewing Current Expression Values

For optimization methods that have a Starting Value (NLPQL and MISQP), each expression for a parameter relationship is evaluated based on the starting parameter values.

When the evaluation is complete, the value for each expression is displayed:

If the evaluation fails, the Outline and Properties views display an error message. Review the error to identify problems with the corresponding parameter relationship.


Note:
  • The evaluation can fail because the selected optimization method does not support parameter relationships or because the optimization includes one or more invalid parameter relationships. Parameter relationships can be invalid if they contain quantities that are not comparable, parameters for which the values are unknown, or expressions that are incorrect.

  • The gradient-based optimization methods, NLPQL and MISQP, require a feasible Starting Value that falls within the domain constrained by the enabled parameter relationships. If the Starting Value is infeasible, the optimization cannot be updated.



Release 18.2 - © ANSYS, Inc. All rights reserved.