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.
You can create new domain parameter relationships using either of these methods:
In the Outline view, right-click the Parameter Relationships node and select .
Under Parameter Relationships in the Table view, enter parameter relationship data in the bottom row.
Once a parameter relationship has been created, you can edit it using either of these methods:
In the Outline view, select the Domain node or the Parameter Relationships node under it. Then, edit the parameter relationship in the Table view.
In the Outline view, select a parameter relationship under the Parameter Relationships node. Then, edit the parameter relationship in the or Table view.
The following table indicates the editing tasks that the Properties, Table, and Outline views allow you to perform.
| Task | Properties | Table | Outline |
|---|---|---|---|
|
Rename a relationship by double-clicking its name and typing in a custom name | X | X | X |
|
Edit expressions by typing into the expression cell | X | X | |
|
Change operators by selecting from the drop-down menu | X | X | |
|
Duplicate a relationship by right-clicking it and selecting | X | X | X |
|
Delete a relationship by right-clicking it and selecting | X | X | X |
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.
The following properties are available for parameter relationships:
Editable in the Properties and
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.
Editable in the Properties and views. Allows you to define the parameter relationship expressions.
Viewable in the Properties view. Shows the quantity type for the expressions in the parameter relationship.
Editable in the Properties and views. Allows you to select the expression operator from a drop-down menu. Available values are <= and >=.
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:
In the Domain node in the Table view. To view expression values for a parameter relationship, click the plus icon next to its name. The values display beneath the corresponding expression.
In the Candidate Points node in the Table view. In the Properties view, select the Show Parameter Relationships check box. Parameter relationships that are defined and enabled, along with their expressions and current expression values for NLPQL and MISQP, are shown in the candidate points table in the Table view. For more information, see Viewing and Editing Candidate Points in the Table View.
If the evaluation fails, the Outline and views display an error message. Review the error to identify problems with the corresponding parameter relationship.
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.