.. _ref_design_studies: Parametric design studies ========================= This section describes how to define and manage **design studies** in optiSLang through the :mod:`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 :py:class:`ParametricDesignStudyManager ` instance, operating on an :py:class:`Optislang ` instance. It may contain a single or multiple parametric design studies. To create a new parametric design study, create a template (see :ref:`ref_design_study_templates`) and run :py:meth:`create_design_study() ` method. This generates an instance of :py:class:`ParametricDesignStudy `, that can be then used to execute the created design study. Design study ------------ To automatically execute a design study, use :py:meth:`execute() ` method, which runs in a blocking mode. If a non-blocking execution is desired, use :py:meth:`start_in_thread() ` method, executing the study in a separate thread. This allows to manually handle execution of the :py:class:`ProxySolverNode ` instances, using built-in methods :py:meth:`get_designs() ` and :py:meth:`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. .. _ref_design_study_templates: Parametric design study templates ================================= The :mod:`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: .. image:: ../_static/template_OptimizationOnMOP.png :width: 800 :alt: Result of script.