How to convert MTTFd to B10d in Python using UliEngineering

You can easily convert MTTFd (Mean Time To Failure in days) to B10d (time when 10% of units have failed) using the UliEngineering Python library:

MTTFd_to_B10d.py
from UliEngineering.Reliability.Conversion import *
from UliEngineering.EngineerIO import *

# Convert MTTFd of 95,000 days to B10d
b10d = MTTFd_to_B10d("95000d")
print(f"MTTFd 95,000 d = {format_value(b10d, 'd')}")

# Convert MTTFd of 47,500 days to B10d
b10d = MTTFd_to_B10d("47500d")
print(f"MTTFd 47,500 d = {format_value(b10d, 'd')}")

Example output

MTTFd_to_B10d_output.txt
MTTFd 95,000 d = 1.00e+04 d
MTTFd 47,500 d = 5.00e+03 d

B10d is the time when 10% of units have failed. The conversion uses the Weibull distribution formula: $B10d = MTTFd \times 0.1053605$.


Check out similar posts by category: Reliability, Python