Comment convertir MTTF en PFH en Python avec UliEngineering
Vous pouvez facilement convertir MTTF (Mean Time To Failure) en PFH (Probability of Failure per Hour) à l’aide de la bibliothèque Python UliEngineering :
MTTF_to_PFH.py
from UliEngineering.Reliability.Conversion import *
from UliEngineering.EngineerIO import *
# Convertir 1 000 000 heures en PFH
pfh = MTTF_to_PFH("1000000h")
print(f"1,000,000 h = {pfh:.2e} PFH")
# Convertir 100 000 heures en PFH
pfh = MTTF_to_PFH("100000h")
print(f"100,000 h = {pfh:.2e} PFH")Exemple de sortie
MTTF_to_PFH_output.txt
1,000,000 h = 1.00e-06 PFH
100,000 h = 1.00e-05 PFHPFH est la probabilité de défaillance par heure. La conversion utilise la formule : $PFH = \frac{1}{MTTF}$.
Articles liés
- Comment convertir FIT en MTTF en Python avec UliEngineering
- Comment convertir PFH en MTTF en Python avec UliEngineering
- Comment convertir MTTFd en FIT en Python avec UliEngineering
Check out similar posts by category:
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