Sensitivity Analysis of a Coupled Function in Ansys Workbench

This tutorial allows you to complete a sensitivity analysis of the following analytical nonlinear function:

The function has additive linear and nonlinear terms and one coupling term.

Contribution to the output variance (reference values):

  • X1: 18.0%

  • X2: 30.6%

  • X3: 64.3%

  • X4: 0.7%

  • X5: 0.2%

In this tutorial, you complete the sensitivity analysis using the optiSLang extension in Workbench.

Task Description

This tutorial demonstrates how to do the following:

  • Specify parameter properties

  • Define the DOE scheme

  • Perform a sensitivity analysis including Metamodel of Optimal Prognosis (MOP)

  • Extend the data base by the adaptive MOP

  • Remove outliers and rebuild the MOP

Preparation

Before you start the tutorial, download the coupled_function_workbench zip file from here , and extract it to your working directory.

If you do not see an optiSLang section in the Workbench Toolbox, ensure that the Ansys Workbench optiSLang Extension is installed and activated.

Tutorial Steps

Opening the Workbench Project

  1. Start Workbench.

  2. From the menu bar, select File > Open.

  3. Browse to the coupled_function_workbench folder and select one of the following options:

    • coupled_function.wbpz

      Select this option to use Microsoft Excel as the solver. This tutorial will be using this project file.

    • coupled_function_apdl.wbpz

      Select this option to use Mechanical APDL as the solver.

  4. Click Open.

  5. To save the archive file as a Workbench project file, click Save.

Completing the Sensitivity Wizard

  1. To start a new sensitivity analysis, in the Workbench Toolbox, double-click the Sensitivity system.

  2. To highlight all of the parameters in the table, do one of the following:

    • Click the name of the first parameter, press Shift, and then click the name of the parameter the last row.

    • Click the name of the first parameter, then with the mouse key pressed, pull down to the last parameter and release the mouse key.

  3. While pressing the Shift key, double-click the range numbers in row 5.

  4. Change the lower bound to -3.14 and the upper bound to 3.14.

  5. Press Enter.

    The range of all of the parameters changes to -3.14 and 3.14.

  6. Click Next.

  7. Do not adjust or add to the currently displayed values for parameters, responses, and criteria.

  8. Click Next.

  9. Select the Space filling Latin Hypercube Sampling method.

  10. Click Finish.

Running the Sensitivity Analysis

  1. To save the current project, from the menu bar, select File > Save or from the main toolbar, click  .

  2. Right-click the Results cell of the Sensitivity system and select Update from the context menu.

    The DOE is created in the background and all designs are calculated.

    The Progress pane displays the status of the update and a progress bar.

    Finally, the MOP is generated.

Viewing the Table of Design Points and Sensitivity Analysis Results

  1. To display the Table of Design Points, double-click the Parameter Set bar.

    All calculated design points are shown with the internal optiSLang design ID.

  2. To open the sensitivity analysis results, double-click the Results cell.

    The postprocessing shows a 3D-subspace-plot of the approximation function depending on the two most important parameters X2and X3.

    The approximation quality in terms of the Coefficient of Prognosis is shown together with the variance contribution of the single variables and indicates, that only X1, X2, and X3are important in this example.

Creating Additional Samples

  1. To increase the data set, drag the Sensitivity wizard from the Toolbar and drop it onto the DOE cell of the first sensitivity system.

  2. Select the Adaptive Metamodel of Optimal Prognosis (AMOP) adaptive sampling.

  3. Click Finish.

    An AMOP system is added to the Project Schematic. The designs of the first sensitivity system are automatically considered as start designs for the following AMOP.

Configuring AMOP Settings

  1. Double-click the AMOP cell of the AMOP system to open the settings.

  2. On the Adaption tab, select the Show advanced settings check box.

  3. In the Target CoP field, enter 0.99 (set target to 99%).

  4. To save and close the settings, click OK.

Updating the Project and Viewing AMOP Postprocessing

  1. To save the current project, from the menu bar, select File > Save or from the main toolbar, click  .

  2. To update the project, click  .

    The AMOP postprocessing is displayed. You can observe:

    • The Coefficient of Prognosis was increased to 99% in 3 iterations

    • The influence of the individual parameters was changed slightly

    • The AMOP stopped by reaching the maximum number of iterations

Deactivating Outliers

The residual plot shows the predicted values (from cross validation) versus the original data values by indicating lower and upper error bounds. Error bounds are obtained from the standard deviation of the error values multiplied with the user defined sigma level. Samples outside the error bounds may be possible outliers.

To deactivate outliers:

  1. Select outliers in the residual plot.

  2. Right-click and select Deactivate from the context menu.

  3. To update the MOP directly in the postprocessing, click   Create and update database.