useTimeBasedFailures

fun useTimeBasedFailures(timeToFailure: RVariableIfc, timeToRepair: RVariableIfc)(source)

Configures time-based (calendar-clock) failures: the resource fails after timeToFailure elapses (wall-clock, whether busy or idle) and is down for timeToRepair. Failures are finish-then-fail (in-service units complete first) and take the whole resource down.