CModel Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:
== Methods ==
== Methods ==
*'''[[cModel.SetModel|SetModel]]''' {{APIComment|Sets a new model.}}
*'''[[cModel.SetModel|SetModel]]''' {{APIComment|Sets a new model.}}
*'''[[CModel.Reliability|Reliability]]''' {{APIComment|Adds a failure data point to the collection of data points in the data set.}}
*'''[[CModel.Reliability|Reliability]]''' {{APIComment|Calculates the Reliability for a given time.}}
*'''[[CModel.Unreliability|Unreliability]]''' {{APIComment|Adds a suspension data point to the collection of data points in the data set.}}
*'''[[CModel.Unreliability|Unreliability]]''' {{APIComment|Calculates the Unreliability for a given time.}}
*'''[[CModel.Time|Time]]''' {{APIComment|Adds a failure interval data point to the collection of data points in the data set.}}
*'''[[CModel.Time|Time]]''' {{APIComment|Calculates the time value for a given Reliability.}}
*'''[[CModel.MeanTime|MeanTime]]''' {{APIComment|Adds a suspension interval data point to the collection of data points in the data set.}}
*'''[[CModel.MeanTime|MeanTime]]''' {{APIComment|Calculates the mean time value for a given Reliability.}}
*'''[[CModel.Pdf|Pdf]]''' {{APIComment|Adds a free-form data point to the collection of data points in the data set.}}
*'''[[CModel.Pdf|Pdf]]''' {{APIComment|Adds a free-form data point to the collection of data points in the data set.}}
*'''[[CModel.FailureRate|FailureRate]]''' {{APIComment|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.}}
*'''[[CModel.FailureRate|FailureRate]]''' {{APIComment|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.}}

Revision as of 23:58, 19 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

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

  • SetModel Sets a new model.
  • Reliability Calculates the Reliability for a given time.
  • Unreliability Calculates the Unreliability for a given time.
  • Time Calculates the time value for a given Reliability.
  • MeanTime Calculates the mean time value for a given Reliability.
  • 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.