Parametric design studies#

This section describes how to define and manage design studies in optiSLang through the ansys.optislang.parametric.design_study module.

Parametric design studies enable systematic exploration, sensitivity analysis, and optimization of design parameters and responses within a structured workflow created from various templates.

Design study manager#

The parametric design study module encapsulates the creation and execution of a design study, using a ParametricDesignStudyManager instance, operating on an Optislang instance. It may contain a single or multiple parametric design studies.

To create a new parametric design study, create a template (see Parametric design study templates) and run create_design_study() method. This generates an instance of ParametricDesignStudy, that can be then used to execute the created design study.

Design study#

To automatically execute a design study, use execute() method, which runs in a blocking mode.

If a non-blocking execution is desired, use start_in_thread() method, executing the study in a separate thread. This allows to manually handle execution of the ProxySolverNode instances, using built-in methods get_designs() and set_designs(), used to obtain designs generated by any optiSLang parametric system, process them externally and then, return them back to the optiSLang parametric system.

Parametric design study templates#

The ansys.optislang.parametric.design_study_templates module provides ready-to-use template classes for constructing common types of parametric design studies in optiSLang.

Templates encapsulate predefined study configurations such as optimization, design exploration, uncertainty quantification and metamodel generation. Each template defines the data structure, parameter setup, and workflow logic required for a particular design study type.

Optimization on MOP#

Optimization on MOP using a MOP solver to optimize design and ProxySolver for validation.

Workflow:
Result of script.