CModel Class

Constructors

 * cModel
 * cModel( ModelTypeEnum, ModelCategoryEnum, String, Double )

Methods
Set/Return Model Properties
 * SetModel( ModelTypeEnum, ModelCategoryEnum, Double )
 * Parameters
 * ScaleParameter_A

Set the Use Stress for ALTA Calculations
 * SetUseStress( Integer, Double )
 * SetUseStress( Double )

Standard Calculations
 * Reliability( Double, [Double], [Double] )
 * Unreliability( Double, [Double], [Double] )
 * Time( Double [Double], [Double] )
 * MeanTime( [Double], [Double] )
 * Pdf( Double [Double], [Double] )
 * FailureRate( Double [Double], [Double] )

Confidence Bound Calculations
 * SetConfidenceLevel( Double, ConfBoundsSides, Boolean, String )
 * Bounds_Reliability( Double, [Double], [Double] )
 * Bounds_Unreliability( Double, [Double], [Double] )
 * Bounds_Time( Double, [Double], [Double] )
 * Bounds_MeanTime( [Double], [Double] )
 * Bounds_FailureRate( Double, [Double], [Double] )
 * Bounds_Parameters

Properties

 * Name (as string)
 * ID (as string)
 * ProjectID (as integer)
 * Type (as ModelTypeEnum)
 * Category (as ModelCategoryEnum)
 * Designation (as string)
 * ErrorHappened (as boolean)
 * ConfLevel (as double)
 * NumStresses (as integer)

Usage Example
Dim WDS as New WeibullDataSet WDS.AddFailure(10, 1) WDS.AddFailure(20, 1) WDS.AddFailure(30, 1) WDS.Calculate Dim WDSFittedModel as cModel WDSFittedModel = WDS.FittedModel Dim Rel as Double Rel = WDSFittedModel.Reliability(50) Dim Success as Boolean Dim ErrorMsg as String Success = WDSFittedModel.SetConfidenceLevel(90, ConfBoundsSides.TwoSidedBoth, False, ErrorMsg) Dim RelBounds as BoundsValues RelBounds = Bounds_Reliability( Double, [Double], [Double] ) Dim RelLowerBound as Double RelLowerBound = RelBounds.Lower