CModel.Reliability: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Kate Racaza (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:cModel.Reliability}} | {{DISPLAYTITLE:cModel.Reliability}}{{Template:API}}{{Template:APIBreadcrumb|9|.[[CModel Class|cModel]]}} | ||
{{Template: | |||
{{Template:CModel | |||
== Syntax== | |||
<onlyinclude>Returns the reliability at the specified time. Type: '''Double'''.</onlyinclude> | |||
== Syntax == | |||
'''.Reliability'''( ''Time'', ''StartAge'', ''DutyCycle'') | |||
Parameters | Parameters | ||
''Time'' | |||
:Double. The time at which to calculate the reliability. (Required) | |||
''StartAge'' | |||
:Double. The starting age. Default value = 0. (Optional) | |||
''DutyCycle'' | |||
:Double. The duty cycle. Default value = 1.0. (Optional) | |||
== | == Example == | ||
{{APIComment| | '''VBA|VB.NET''' | ||
Dim | |||
{{APIComment|...}} | |||
{{APIComment|Calculate the reliability at time = 100 | |||
Dim ResultValue | {{APIComment|'Add code to get an existing model or create a new one.}} | ||
ResultValue = | {{APIPrefix|Dim}} AModel {{APIPrefix|As New}} cModel | ||
{{APIComment|...}} | |||
{{APIComment|Calculate the model's reliability at time = 100.}} | |||
{{APIPrefix|Dim}} ResultValue {{APIPrefix|As Double}} | |||
ResultValue = AModel.Reliability(100) |
Revision as of 22:44, 28 July 2015
Member of: SynthesisAPI9.cModel
Returns the reliability at the specified time. Type: Double.
Syntax
.Reliability( Time, StartAge, DutyCycle)
Parameters
Time
- Double. The time at which to calculate the reliability. (Required)
StartAge
- Double. The starting age. Default value = 0. (Optional)
DutyCycle
- Double. The duty cycle. Default value = 1.0. (Optional)
Example
VBA|VB.NET ... 'Add code to get an existing model or create a new one. Dim AModel As New cModel ... Calculate the model's reliability at time = 100. Dim ResultValue As Double ResultValue = AModel.Reliability(100)