CModel Class: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
Kate Racaza (talk | contribs) No edit summary  | 
				Kate Racaza (talk | contribs) No edit summary  | 
				||
| Line 16: | Line 16: | ||
{| {{APITable}}  | {| {{APITable}}  | ||
|-  | |-  | ||
| style="width: 200px;"|  | | style="width: 200px;"|  | ||
|-  | |-  | ||
|[[CModel.Parameters|Parameters]]||{{:CModel.Parameters}}    | |[[CModel.Parameters|Parameters]]||{{:CModel.Parameters}}    | ||
|-  | |-  | ||
|[[CModel.ScaleParameter A|ScaleParameter_A]]||{{:CModel.ScaleParameter_A}}  | |[[CModel.ScaleParameter A|ScaleParameter_A]]||{{:CModel.ScaleParameter_A}}  | ||
|-  | |||
|[[CModel.SetModel|SetModel]]||{{:CModel.SetModel}}   | |||
|-  | |-  | ||
|[[CModel.SetUseStress|SetUseStress]]||{{APIComment|{{Template:CModel.SetUseStress1}}}}    | |[[CModel.SetUseStress|SetUseStress]]||{{APIComment|{{Template:CModel.SetUseStress1}}}}    | ||
|-  | |-  | ||
| style="  | | style="border-bottom:1pt solid #585858; color:#585858;"|  | ||
|-  | |-  | ||
|[[CModel.  | |[[CModel.FailureRate|FailureRate]]||{{:CModel.FailureRate}}  | ||
|-  | |-  | ||
|[[CModel.MeanTime|MeanTime]]||{{:CModel.MeanTime}}    | |[[CModel.MeanTime|MeanTime]]||{{:CModel.MeanTime}}    | ||
| Line 39: | Line 34: | ||
|[[CModel.Pdf|Pdf]]||{{:CModel.Pdf}}    | |[[CModel.Pdf|Pdf]]||{{:CModel.Pdf}}    | ||
|-  | |-  | ||
|[[CModel.  | ||[[CModel.Reliability|Reliability]]||{{:CModel.Reliability}}    | ||
|  | |-  | ||
|[[CModel.Time|Time]]||{{:CModel.Time}}    | |||
|-  | |-  | ||
|[[CModel.Unreliability|Unreliability]]||{{:CModel.Unreliability}}    | |||
|-  | |-  | ||
|  | | style="border-bottom:1pt solid #585858; color:#585858;"|  | ||
|-  | |-  | ||
|[[CModel.  | |[[CModel.SetConfidenceLevel|SetConfidenceLevel]]||{{:CModel.SetConfidenceLevel}}    | ||
|-  | |-  | ||
|[[CModel.Bounds   | |[[CModel.Bounds FailureRate|Bounds_FailureRate]]||{{:CModel.Bounds FailureRate}}    | ||
|-  | |-  | ||
|[[CModel.Bounds MeanTime|Bounds_MeanTime]]||{{:CModel.Bounds MeanTime}}    | |[[CModel.Bounds MeanTime|Bounds_MeanTime]]||{{:CModel.Bounds MeanTime}}    | ||
|-  | |-  | ||
|[[CModel.Bounds   | |[[CModel.Bounds Parameters|Bounds_Parameters]]||{{:CModel.Bounds Parameters}}  | ||
|-  | |||
|[[CModel.Bounds Reliability|Bounds_Reliability]]||{{:CModel.Bounds Reliability}}   | |||
|-  | |||
|[[CModel.Bounds Time|Bounds_Time]]||{{:CModel.Bounds Time}}    | |||
|-  | |-  | ||
|[[CModel.Bounds   | |[[CModel.Bounds Unreliability|Bounds_Unreliability]]||{{:CModel.Bounds Unreliability}}    | ||
|}  | |}  | ||
| Line 66: | Line 62: | ||
| style="width: 200px;"|  | | style="width: 200px;"|  | ||
|-  | |-  | ||
|  | |Category||Gets a value from the '''[[ModelCategoryEnum Enumeration|ModelCategoryEnum]]''' enumeration, which specifies the model's category (e.g., reliability model, duration model, cost model, etc.).  | ||
|-  | |||
|ConfBoundsMethod||Gets a value from the '''[[ConfBoundsMethods Enumeration|ConfBoundsMethods]]''' enumeration, which specifies the method used for estimating the confidence bounds.  | |||
|-  | |-  | ||
|  | |ConfLevel||Gets the confidence level that is currently used for calculations. '''Double'''  | ||
|-  | |-  | ||
|Designation||Gets a string representing the model type (e.g., distribution, constant or dynamic). '''String'''  | |Designation||Gets a string representing the model type (e.g., distribution, constant or dynamic). '''String'''  | ||
|-  | |-  | ||
|  | |ErrorHappened||Indicates whether the last calculation produced an error. '''Boolean'''  | ||
|-  | |-  | ||
|  | |ID||Gets the numeric ID of the model. '''Long'''  | ||
|-  | |-  | ||
|  | |{{Template:API_TxtIdentifiers}}  | ||
|-  | |-  | ||
|  | |Name||Gets or sets the name of the model. '''String'''  | ||
|-  | |-  | ||
|  | |NumStresses||Applies to ALTA models only. Gets the number of stresses in the model. '''Integer'''  | ||
|-  | |-  | ||
|  | |ProjectID||Gets the numeric ID of the project the model belongs to. '''Integer'''  | ||
|-  | |-  | ||
|  | |Type||Gets a value from the '''[[ModelTypeEnum Enumeration|ModelTypeEnum]]''' enumeration, which specifies the model type (e.g., distribution, constant or dynamic).  | ||
|-  | |-  | ||
|  | |UnitID||Gets or sets the numeric ID of the model's unit of measurement. '''Integer'''    | ||
|}  | |}  | ||
<!--  | <!--  | ||
Revision as of 17:00, 31 August 2015
![]()  | 
Member of:  SynthesisAPI    
Represents a model resource.
Constructors
| Name | Description | 
|---|---|
| cModel | Creates an instance of the cModel class. | 
| cModel() | A parameterized constructor for the cModel class. (.NET only) | 
Methods
| Name | Description | 
|---|---|
| Parameters | Returns an array of ParamValues objects that represent the parameter name and value pairs of an associated cModel object. | 
| ScaleParameter_A | For ALTA models, returns the scale parameter at the use stress level. Double. Returns 0 if the model is not an ALTA model. | 
| SetModel | Sets the model type, category, name and parameters of an associated cModel object. | 
| SetUseStress | Updates the use stress value for the stress with the specified index. | 
| FailureRate | Returns the failure rate at the specified time. Double | 
| MeanTime | Returns the mean time to failure. Double | 
| Returns the y-value of the pdf at the specified x-value (time). Double | |
| Reliability | Returns the reliability at the specified time. Double | 
| Time | Returns the time at which a specified reliability will be achieved. Double | 
| Unreliability | Returns the probability of failure at the specified time. Double | 
| SetConfidenceLevel | Sets the confidence level to use in confidence bounds calculations for published models. Returns a Boolean value; when true, indicates that a confidence level has been set. | 
| Bounds_FailureRate | Calculates the bounds on the failure rate at a specified time for an associated cModel object. Returns a BoundsValues object that represents the confidence bounds. | 
| Bounds_MeanTime | Calculates the bounds on the mean time to failure for an associated cModel object. Returns a BoundsValues object that represents the confidence bounds. | 
| Bounds_Parameters | Calculates the confidence bounds on the parameter estimates of an associated cModel object. Returns a ParamBoundsValues object that represents the confidence bounds on the parameter estimates. | 
| Bounds_Reliability | Calculates the bounds on the reliability at the specified time for an associated cModel object. Returns a BoundsValues object that represents the confidence bounds. | 
| Bounds_Time | Calculates the bounds on the time at which a specified reliability will be achieved for an associated cModel object. Returns a BoundsValues object that represents the confidence bounds. | 
| Bounds_Unreliability | Calculates the bounds on the probability of failure at a specified time for an associated cModel object. Returns a BoundsValues object that represents the confidence bounds. | 
Properties
| Name | Description | 
|---|---|
| Category | Gets a value from the ModelCategoryEnum enumeration, which specifies the model's category (e.g., reliability model, duration model, cost model, etc.). | 
| ConfBoundsMethod | Gets a value from the ConfBoundsMethods enumeration, which specifies the method used for estimating the confidence bounds. | 
| ConfLevel | Gets the confidence level that is currently used for calculations. Double | 
| Designation | Gets a string representing the model type (e.g., distribution, constant or dynamic). String | 
| ErrorHappened | Indicates whether the last calculation produced an error. Boolean | 
| ID | Gets the numeric ID of the model. Long | 
| ItemApplication | Gets or sets the item's application. (Synthesis identifier) String | 
| ItemCategoryID | Gets or sets the category ID. (Synthesis identifier) Integer | 
| ItemComments | Gets or sets the comments. (Synthesis identifier) String | 
| ItemDescription | Gets or sets the description. (Synthesis identifier) String | 
| ItemKeywords | Gets or sets the keywords. (Synthesis identifier) String | 
| ItemPartNumber | Gets or sets the part number. (Synthesis identifier) String | 
| ItemSupplier | Gets or sets the supplier name. (Synthesis identifier) String | 
| ItemVersion | Gets or sets the version number. (Synthesis identifier) String | 
| Name | Gets or sets the name of the model. String | 
| NumStresses | Applies to ALTA models only. Gets the number of stresses in the model. Integer | 
| ProjectID | Gets the numeric ID of the project the model belongs to. Integer | 
| Type | Gets a value from the ModelTypeEnum enumeration, which specifies the model type (e.g., distribution, constant or dynamic). | 
| UnitID | Gets or sets the numeric ID of the model's unit of measurement. Integer | 
