WeibullSolverNumParameters Enumeration: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 29: Line 29:


{{APIComment|Specify that the 2-parameter Weibull distribution will be used.}}
{{APIComment|Specify that the 2-parameter Weibull distribution will be used.}}
         WDS.[[WeibullDataSet.AnalysisSettings|AnalysisSettings]].[[WeibullAnalysisOptions.Parameters|Parameters]] = [[WeibullSolverNumParameters]].MS2_Parameter
         WDS.[[WeibullDataSet.AnalysisSettings|AnalysisSettings]].[[WeibullAnalysisOptions.Parameters|Parameters]] = [[WeibullSolverNumParameters]].MS_2Parameter

Revision as of 22:54, 12 February 2014


Contains different forms of a life distribution (e.g., 2-parameter vs. 3-parameter).

The life distribution (e.g., Weibull vs. normal) is specified in the Distribution property of the WeibullAnalysisOptions class.

Syntax

Public Enum WeibullSolverNumParameters

Members

Name Description
MS_1Parameter 1 parameter
MS_2Parameter 2 parameters
MS_3Parameter 3 parameters
MS_Mixed Mixed Weibull (for Weibull distribution only)

Usage Example

Declare a WeibullDataSet object.

       Dim WDS as New WeibullDataSet

Set Weibull as the distribution for analysis.

       WDS.AnalysisSettings.Distribution = WeibullSolverDistribution.Weibull

Specify that the 2-parameter Weibull distribution will be used.

       WDS.AnalysisSettings.Parameters = WeibullSolverNumParameters.MS_2Parameter