StochasticParameter#
- class ansys.optislang.core.project_parametric.StochasticParameter(name: str = '', reference_value: bool | float | str | None = 0, id: str = '7132fefc-d167-432e-8e22-480ef90e43b4', const: bool = False, stochastic_resolution: ParameterResolution | str = ParameterResolution.MARGINALDISTRIBUTION, distribution_type: DistributionType | str = DistributionType.NORMAL, distribution_parameters: Sequence[float] | None = None, statistical_moments: Sequence[float] | None = None, cov: float | None = None)#
Stores stochastic parameter data.
Methods
__init__
([name, reference_value, id, const, ...])Create a new instance of the
StochasticParameter
class.from_dict
(par_dict)Create an instance of the
StochasticParameter
class from the optiSLang server output.to_dict
()Convert an instance of the
StochasticParameter
to dictionary.Attributes
Whether the value for the parameter is a constant.
COV of the distribution.
Parameters of the distribution.
Type of the distribution.
ID of the parameter.
Name of the parameter.
Reference value of the parameter.
Type of the reference value``.
Statistical moments of the distribution.
Type of the stochastic resolution.
Type of the parameter.