Robustness Evaluation of a Damped Oscillator in Ansys Workbench

This tutorial allows you to complete a robustness evaluation of a single degree-of-freedom system excited with initial kinetic energy.

You will complete a robustness evaluation at the deterministic optimum.

Mass m, damping ratio D, stiffness k and initial kinetic energy Ekin are taken as normally distributed random variables.

In this tutorial, you complete the robustness evaluation using the optiSLang extension in Workbench.

Task Description

This tutorial demonstrates how to do the following:

  • Define the random input variables

  • Complete a robustness analysis with respect to damped eigen frequency and maximum amplitude

    • Check the coefficient of variation of the objective and constraints

    • Check if the safety constraint is outside of the 4.5σ level

    • Check the importance of input variables

    • Check explainability by using the Metamodel of Optimal Prognosis (MOP) and Coefficients of Prognosis (CoP)

  • Iterate the constraints manually until the criteria are fulfilled

Prerequisites

You must complete the Optimization of a Damped Oscillator in Ansys Workbench tutorial before starting this one.

Results of the Deterministic Optimization

The best design of the Adaptive Metamodel of Optimal Prognosis (AMOP) optimization is used as the reference for the robustness analysis.

Tutorial Steps

Opening the Workbench Project

  1. Start Workbench.

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

  3. Browse to the location of the damped oscillator optimization Workbench project used in the previous tutorial

  4. Click Open.

Completing the Robustness Wizard

  1. Drag the Robustness wizard from the Toolbar and drop it onto the AMOP cell of the AMOP system.

  2. In rows 3 and 4 (D and Ekin), clear the Constant check box.

  3. In row 1 (m), double-click the Parameter type cell and select Opt. + Stoch. from the drop-down list.

  4. Repeat step 3 for row 2 (k).

  5. In row 3 (D) double-click the Parameter type cell and select Stochastic from the drop-down list.

  6. Repeat step 5 for row 4 (Ekin).

  7. Double-click the CoV cell for each row and change the values to the following:

    • Row 1 (m): 2%

    • Row 2 (k): 5%

    • Row 3 (D): 10%

    • Row 4 (Ekin): 10%

  8. Click Next.

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

  10. Click Next.

  11. Do not adjust the current robustness/reliability method settings.

  12. Click Next.

  13. Do not adjust the current algorithm settings.

  14. Click Finish.

    The Robustness system is added to the Project Schematic.

Running the Project and Viewing the Robustness Evaluation Results

  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 Robustness system and select Update from the context menu.

    The results of the robustness evaluation are displayed. You can observe:

    • Both responses show almost linear behavior

    • omega_damped can be explained very well by m and k

    • x_max is mainly influenced by D, k and Ekin and has a lower CoP as in the design space due to locally more dominant solver noise

Editing limits

  1. In the Monitoring pane, select File > Reload as > Statistics.

  2. Select Edit > Edit limits

  3. Double-click the Upper cell under Failure Limit for omega_damped and enter 8.5 .

  4. Click OK.

Viewing the Objective Function Results

  1. Under Common settings, select x_max as the first variable.

  2. In the Show settings for list, select Histogram.

  3. In the Fitted PDF list, select NORMAL.

  4. Review the resulting graph.

    Histogram and fitted PDF agree well.

  5. Under the histogram, expand Show Statistical data.

  6. Review the statistical data. You can observe:

    • Mean is not close to deterministic value

    • CoV is larger as maximum input variation (10%)

    • Optimum is not robust in terms of the objective function

Viewing the Constraint Equation Results

  1. Under Common settings, select omega_damped as the first variable.

  2. In the Show settings for list, select Histogram.

  3. In the Fitted PDF list, select NORMAL.

  4. Review the resulting graph.

    Histogram and fitted PDF agree well.

  5. In the histogram settings, select the Show as CDF check box.

  6. Review the resulting graph.

    Empirical and fitted normal CDF agree well. Estimation of the failure probability by assuming a normal distribution seems reasonable.

  7. Under the fitted CDF graph, expand Show Statistical data.

  8. Review the statistical data. You can observe:

    • Safety margin is only 2.38σ, which corresponds to a 1% failure probability

    • Optimum is not robust in terms of the constraint condition

Completing Iterative Robust Design Optimization

To perform iterative robust design optimization:

  • Modify the design by reducing the mean of omega_damped by an additional deterministic optimization

  • Consider all previous optimization designs for the new optimization

  • Check the robustness again

The deterministic constraint for the second optimization step, assuming a constant standard deviation:

  • Mean value + 4.5 * standard deviation ≤ 8.5 rad/s

  • Mean omega_damped ≤ 7.6

  1. Drag the Optimization wizard from the Toolbar and drop it onto the AMOP cell of the AMOP system.

  2. In the Limit field for the omega_damped constraint, enter 7.6.

  3. Change the solver type to Real run.

  4. Leave the optimization method as Adaptive Metamodel of Optimal Prognosis (AMOP).

  5. Click Finish.

    A second AMOP system is added to the Project Schematic.

  6. Double-click the second AMOP system name or right-click the system header and select Rename from the context menu.

  7. Type AMOP_Step2.

  8. Press Enter.

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

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

  11. In the Maximum number of samples field, enter 45.

  12. Adjust the refinement sliders so the first two are at 0% and the Importance of optimization criteria slider is at 100%

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

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

  15. Right-click the Results cell of the AMOP_Step2 system and select Update from the context menu.

    The optimizer increases the mass. The best design of the second AMOP optimization is considered automatically as nominal design of the robustness analysis.

  16. Drag the Robustness wizard from the Toolbar and drop it onto the AMOP cell of the AMOP_Step2 system.

  17. At the bottom of the Parametrize Inputs table, click Import parameter.

  18. From the Select system pane, select Robustness.

  19. 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.

  20. Click OK.

    The selected parameters are imported.

  21. Click Next.

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

  23. Click Next.

  24. Do not adjust the current robustness/reliability method settings.

  25. Click Next.

  26. Do not adjust the current algorithm settings.

  27. Click Finish.

    A second Robustness system is added to the Project Schematic.

  28. Double-click the second Robustness system name or right-click the system header and select Rename from the context menu.

  29. Type Robustness_Step2.

  30. Press Enter.

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

  32. Right-click the Results cell of the Robustness_Step2 system and select Update from the context menu.

    The safety margin of omega_damped is now 4.7σ, which corresponds to a failure probability of about 1.2x10-6, if the response is perfectly normally distributed.

This manual iteration has found a robust optimum within two iterations.

Optimization (Global ARSM)Robustness (100 ALHS)
Constraint m k ω Xmax Mean ω Sigma ω Sigma Level
ω ≤ 80.79507.960.267.990.212.4
ω ≤ 7.60.8750.07.560.27 7.55 0.20 4.7