CModel.Time: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:cModel.Time}} | |||
{{Template:APIClass|CModel Class|CModel}} | {{Template:APIClass|CModel Class|CModel}} | ||
Revision as of 23:15, 5 March 2014
Calculates time value.
Method Syntax
- Time( Rel As Double , CurrentAge As Double = 0, DutyCycle As Double = 1, AdjustedRel As Double = 0 ) As Double
Parameters
- Rel: The reliability to calculate the time.
- CurrentAge: The current age.
- DutyCycle: The duty cycle.
- AdjustedRel: If CurrentAge is greater than 0, the adjusted reliability is updated.
Usage Example
Declare the cModel class using an in-line parameter list.
Dim newModel As New cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability, "NewModel1", 1, 100)
Calculate the Time when the reliability is at 95%, for the model described in newModel.
Dim ResultValue as Double ResultValue = newModel.Time(.95)