Como converter MTTF para PFH em Python usando UliEngineering
Você pode converter facilmente MTTF (Tempo Médio Até Falha) para PFH (Probabilidade de Falha por Hora) 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.
h
⚠
MTTF_to_PFH.py
from UliEngineering.Reliability.Conversion import *
from UliEngineering.EngineerIO import *
# Converter 1.000.000 horas para PFH
pfh = MTTF_to_PFH("1000000h")
print(f"1,000,000 h = {pfh:.2e} PFH")
# Converter 100.000 horas para PFH
pfh = MTTF_to_PFH("100000h")
print(f"100,000 h = {pfh:.2e} PFH")Exemplo de saída
MTTF_to_PFH_output.txt
1,000,000 h = 1.00e-06 PFH
100,000 h = 1.00e-05 PFHPFH é a probabilidade de falha por hora. A conversão usa a fórmula: $PFH = \frac{1}{MTTF}$.
Posts relacionados
- Como converter FIT para MTTF em Python usando UliEngineering
- Como converter PFH para MTTF em Python usando UliEngineering
- Como converter MTTFd 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