Как преобразовать PFH в MTTF на Python с помощью UliEngineering
Можно легко преобразовать PFH (вероятность отказа в час) в MTTF (среднее время до отказа) с помощью библиотеки Python UliEngineering:
Σ
TechOverflow calculators:
You can enter values with SI suffixes like 12.2m (equivalent to 0.012) or 14k (14000) or 32u (0.000032).
The results are calculated while you type and shown directly below the calculator, so there is no need to press return or click on a Calculate button.
You can enter values with SI suffixes like 12.2m (equivalent to 0.012) or 14k (14000) or 32u (0.000032).
The results are calculated while you type and shown directly below the calculator, so there is no need to press return or click on a Calculate button.
PFH
⚠
PFH_to_MTTF.py
from UliEngineering.Reliability.Conversion import *
from UliEngineering.EngineerIO import *
# Преобразовать 1e-6 PFH в MTTF
mttf = PFH_to_MTTF(1e-6)
print(f"1e-6 PFH = {format_value(mttf, 'h')}")
# Преобразовать 1e-5 PFH в MTTF
mttf = PFH_to_MTTF(1e-5)
print(f"1e-5 PFH = {format_value(mttf, 'h')}")Пример вывода
PFH_to_MTTF_output.txt
1e-6 PFH = 1.00e+06 h
1e-5 PFH = 1.00e+05 hPFH — это вероятность отказа в час. Преобразование использует формулу: $MTTF = \frac{1}{PFH}$ часов.
Связанные записи
- Как преобразовать FIT в MTTF на Python с помощью UliEngineering
- Как преобразовать MTTF в PFH на Python с помощью UliEngineering
- Как преобразовать PFHd в FIT на Python с помощью UliEngineering
Check out similar posts by category:
Calculators, Reliability, Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow