> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# py_reliability_montecarlo

## *class* py\_reliability\_montecarlo.ReliabilityMonteCarlo

This algorithm implements Monte Carlo sampling.
The algorithm can be controlled either by a predefined number of samples, or by a desired accuracy (c.o.v.) of the estimator of Pf (or of (1-Pf) if Pf>0.5). In the latter case, the number of required samples will be selected by the algorithm during the iteration. The convergence test is carried out after each request of n parallel designs. If the desired accuracy can not be reached within the maximum allowed number of samples, the algorithm terminates without success.
If any of the solver requests fails (success\_info=false for a specific design) the algorithm either ignores this design, or it counts it as a failure event.

#### \_\_init\_\_()

## *class* py\_reliability\_montecarlo.SettingsMonteCarlo

Reliability algorithm settings for Monte Carlo.

#### \_\_init\_\_()

#### \_\_init\_\_(arg2: [RVSet](https://developer.synopsys.com/docs/optislang/optislang-python-api/modules/py_random_variables.md#py_random_variables.RVSet), arg3: int)

#### *property* accuracy

#### *property* automatic\_sample\_size

#### *property* min\_num\_samples

#### *property* num\_designs\_per\_sample

#### *property* num\_total\_samples

#### *property* scaling\_factor
