py_reliability_montecarlo

Classes

ReliabilityMonteCarlo

Inherits from: ReliabilityBase

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.

Constructors

SettingsMonteCarlo

Inherits from: SettingsBase

Reliability algorithm settings for Monte Carlo.

Properties

  • (float) accuracy
  • (bool) automatic_sample_size
  • (int) min_num_samples
  • (int) num_designs_per_sample
  • () num_estimated_function_calls
  • () num_inputs
  • () num_safety_margins
  • (int) num_total_samples
  • () rand_generator_seed
  • () rvset
  • (float) scaling_factor
  • () write_histories