convert_yearly_fail_rate#

relsad.utils.convert_yearly_fail_rate(fail_rate_per_year: float, dt: relsad.Time.Time)[source]#

Returns the failure rate of the time increment, dt, based on the given yearly failure rate

Parameters
  • fail_rate_per_year (float) – The failure rate

  • dt (Time) – The current time step

Returns

fail_rate – The converted failure rate for time increment, dt

Return type

float