CModel Class: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) No edit summary |
John Leavitt (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
=== Properties === | === Properties === | ||
*'''[[Name - cModel]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository)}} | *'''[[Name - cModel|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository)}} | ||
*'''[[ID - cModel]]''' {{APIComment|Returns the ID of the model (the one used in the repository).}} | *'''[[ID - cModel|ID]]''' {{APIComment|Returns the ID of the model (the one used in the repository).}} | ||
*'''[[ProjectID - cModel]]''' {{APIComment|Returns the ID of the project the resource belongs to.}} | *'''[[ProjectID - cModel|ProjectID]]''' {{APIComment|Returns the ID of the project the resource belongs to.}} | ||
*'''[[Type - cModel]]''' {{APIComment|Returns the type of the model.}} | *'''[[Type - cModel|Type]]''' {{APIComment|Returns the type of the model.}} | ||
*'''[[Category - cModel]]''' {{APIComment|Returns the category of the model.}} | *'''[[Category - cModel|Category]]''' {{APIComment|Returns the category of the model.}} | ||
*'''[[Designation - cModel]]''' {{APIComment|Returns the designation of the model (for example Weibull-2).}} | *'''[[Designation - cModel|Designation]]''' {{APIComment|Returns the designation of the model (for example Weibull-2).}} | ||
*'''[[ErrorHappened - CModel]]''' {{APIComment|Whether or not the last calculation produced an error.}} | *'''[[ErrorHappened - CModel|ErrorHappened]]''' {{APIComment|Whether or not the last calculation produced an error.}} | ||
*'''[[ConfLevel - cModel]]''' {{APIComment|Returns the confidence level that is currently used for calculations.}} | *'''[[ConfLevel - cModel|ConfLevel]]''' {{APIComment|Returns the confidence level that is currently used for calculations.}} | ||
Revision as of 15:41, 5 September 2013
Model allows you to choose or create a model to describe the behavior associated with the URD. This can be a reliability model, a probability of failure model or an event occurrence model.
Constructors
- Sub New - cModel Creates a new model.
- SetModel Sets a new model.
- Designation Sets a model designation to a string of characters.
Properties
- Name Sets or returns the name of the model (the one used in the repository)
- ID Returns the ID of the model (the one used in the repository).
- ProjectID Returns the ID of the project the resource belongs to.
- Type Returns the type of the model.
- Category Returns the category of the model.
- Designation Returns the designation of the model (for example Weibull-2).
- ErrorHappened Whether or not the last calculation produced an error.
- ConfLevel Returns the confidence level that is currently used for calculations.
Methods
- Reliability Adds a failure data point to the collection of data points in the data set.
- Unreliability Adds a suspension data point to the collection of data points in the data set.
- Time Adds a failure interval data point to the collection of data points in the data set.
- MeanTime Adds a suspension interval data point to the collection of data points in the data set.
- Pdf Adds a free-form data point to the collection of data points in the data set.
- FailureRate Fits a model from the raw data previously entered in the data set. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.
- Parameters Finds the distribution that fits the data best. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.
- Bounds_Reliability Adds a suspension interval data point to the collection of data points in the data set.
- Bounds_Unreliability Adds a free-form data point to the collection of data points in the data set.
- Bounds_Time Fits a model from the raw data previously entered in the data set. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.
- Bounds_MeanTime Finds the distribution that fits the data best. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.
- Bounds_FailureRate Adds a free-form data point to the collection of data points in the data set.
- Bounds_Parameters Fits a model from the raw data previously entered in the data set. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.
- SetConfindenceLevel Finds the distribution that fits the data best. Sets FittedModel property if successful. Clears it (sets to Nothing) in case of an error.