Como converter PFH para MTTF em Python usando UliEngineering
Você pode converter facilmente PFH (Probabilidade de Falha por Hora) para MTTF (Tempo Médio Até Falha) usando a biblioteca 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 *
# Converter 1e-6 PFH para MTTF
mttf = PFH_to_MTTF(1e-6)
print(f"1e-6 PFH = {format_value(mttf, 'h')}")
# Converter 1e-5 PFH para MTTF
mttf = PFH_to_MTTF(1e-5)
print(f"1e-5 PFH = {format_value(mttf, 'h')}")Exemplo de saída
PFH_to_MTTF_output.txt
1e-6 PFH = 1.00e+06 h
1e-5 PFH = 1.00e+05 hPFH é a probabilidade de falha por hora. A conversão usa a fórmula: $MTTF = \frac{1}{PFH}$ horas.
Posts relacionados
- Como converter FIT para MTTF em Python usando UliEngineering
- Como converter MTTF para PFH em Python usando UliEngineering
- Como converter PFHd para FIT em Python usando 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