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 24: | Line 24: | ||
*'''[[CModel.MeanTime|MeanTime]]''' {{APIComment|Calculates the mean time value for a given Reliability.}} | *'''[[CModel.MeanTime|MeanTime]]''' {{APIComment|Calculates the mean time value for a given Reliability.}} | ||
*'''[[CModel.Pdf|Pdf]]''' {{APIComment|Calculates the PDF.}} | *'''[[CModel.Pdf|Pdf]]''' {{APIComment|Calculates the PDF.}} | ||
*'''[[CModel.FailureRate|FailureRate]]''' {{APIComment| | *'''[[CModel.FailureRate|FailureRate]]''' {{APIComment|Returns failure rate given time.}} | ||
*'''[[CModel.Parameters|Parameters]]''' {{APIComment| | *'''[[CModel.Parameters|Parameters]]''' {{APIComment|Returns an array containing model parameters and their values.}} | ||
*'''[[CModel.Bounds Reliability|Bounds_Reliability]]''' {{APIComment|Returns the bounds on the reliability given time.}} | *'''[[CModel.Bounds Reliability|Bounds_Reliability]]''' {{APIComment|Returns the bounds on the reliability given time.}} | ||
*'''[[CModel.Bounds_Unreliability|Bounds_Unreliability]]''' {{APIComment|Returns the bounds on the unreliability given time}} | *'''[[CModel.Bounds_Unreliability|Bounds_Unreliability]]''' {{APIComment|Returns the bounds on the unreliability given time}} | ||
*'''[[CModel.Bounds Time|Bounds_Time]]''' {{APIComment|Returns the bounds on time given reliability}} | *'''[[CModel.Bounds Time|Bounds_Time]]''' {{APIComment|Returns the bounds on time given reliability}} | ||
*'''[[CModel.Bounds MeanTime|Bounds_MeanTime]]''' {{APIComment| | *'''[[CModel.Bounds MeanTime|Bounds_MeanTime]]''' {{APIComment|Returns the bounds on mean time}} | ||
*'''[[CModel.Bounds FailureRate|Bounds_FailureRate]]''' {{APIComment|Returns bounds on failure rate given time.}} | *'''[[CModel.Bounds FailureRate|Bounds_FailureRate]]''' {{APIComment|Returns bounds on failure rate given time.}} | ||
*'''[[CModel.Bounds_Parameters|Bounds_Parameters]]''' {{APIComment|Returns an array containing bounds on all model parameters.}} | *'''[[CModel.Bounds_Parameters|Bounds_Parameters]]''' {{APIComment|Returns an array containing bounds on all model parameters.}} | ||
*'''[[CModel.SetConfindenceLevel|SetConfindenceLevel]]''' {{APIComment|Sets the confidence level for all subsequent confidence bounds calculations.}} | *'''[[CModel.SetConfindenceLevel|SetConfindenceLevel]]''' {{APIComment|Sets the confidence level for all subsequent confidence bounds calculations.}} |
Revision as of 22:34, 20 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
- New cModel Creates a new model.
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 Calculates the PDF.
- FailureRate Returns failure rate given time.
- Parameters Returns an array containing model parameters and their values.
- Bounds_Reliability Returns the bounds on the reliability given time.
- Bounds_Unreliability Returns the bounds on the unreliability given time
- Bounds_Time Returns the bounds on time given reliability
- Bounds_MeanTime Returns the bounds on mean time
- Bounds_FailureRate Returns bounds on failure rate given time.
- Bounds_Parameters Returns an array containing bounds on all model parameters.
- SetConfindenceLevel Sets the confidence level for all subsequent confidence bounds calculations.