add#
- ParametricSetups.add(variable, start_point, end_point=None, step=100, variation_type='LinearCount', solution=None, name=None)#
Add a basic sensitivity analysis. You can customize all options after the analysis is added.
- Parameters:
- variable
str
Name of the variable.
- start_point
float
orint
Variation Start Point if a variation is defined or Single Value.
- end_point
float
orint
,optional
Variation End Point. This parameter is optional if a Single Value is defined.
- step
float
orint
Variation Step or Count depending on variation_type. The default is
100
.- variation_type
str
,optional
Variation Type. Admitted values are “LinearCount”, “LinearStep”, “LogScale”, “SingleValue”.
- solution
str
,optional
Type of the solution. The default is
None
, in which case the default solution is used.- name
str
,optional
Name of the sensitivity analysis. The default is
None
, in which case a default name is assigned.
- variable
- Returns:
ansys.aedt.core.modules.design_xploration.SetupParam
Optimization Object.
References
>>> oModule.InsertSetup