The parametric_runner.py
module#
Summary#
Provides methods to run parametric study simulations. |
Description#
Provides a class to run parametric study simulations.
Module detail#
- class parametric_runner.ParametricRunner#
Provides methods to run parametric study simulations.
Overview#
Run the simulations in the parametric study with |
Import detail#
from ansys.additive.core.parametric_study.parametric_runner import ParametricRunner
Method detail#
- static ParametricRunner.simulate(df: pandas.DataFrame, additive: ansys.additive.core.Additive, type: list[ansys.additive.core.SimulationType] = None, priority: int = None, iteration: int = None) list[ansys.additive.core.SingleBeadSummary, ansys.additive.core.PorositySummary, ansys.additive.core.MicrostructureSummary] #
Run the simulations in the parametric study with
Status
equal toPending
.Execution order is determined by the
Priority
value assigned to the simulations. Lower values are interpreted as having higher priority and are run first.- Parameters:
- df
pd.DataFrame
Parametric study data frame.
- additive
Additive
Additive service connection to use for running simulations.
- type
list
, default:None
List of the simulation types to run. The default is
None
, in which case all simulation types are run.- priority
int
, default:None
Priority of simulations to run. The default is
None
, in which case all priorities are run.- iteration
int
, default:None
Iteration number of simulations to run. The default is
None
, in which case all iterations are run.
- df
- Returns:
list
[SingleBeadSummary
,PorositySummary
,MicrostructureSummary
]List of simulation summaries.