0% found this document useful (0 votes)
8 views1 page

FMEA_Code_input

The document presents a dataset of failure modes in a manufacturing process, including their severity, occurrence, and detection ratings. It calculates the Risk Priority Number (RPN) for each failure mode by multiplying these three factors. The resulting data is sorted by RPN to identify the most critical failure modes for further analysis.

Uploaded by

Sunil Ghotekar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

FMEA_Code_input

The document presents a dataset of failure modes in a manufacturing process, including their severity, occurrence, and detection ratings. It calculates the Risk Priority Number (RPN) for each failure mode by multiplying these three factors. The resulting data is sorted by RPN to identify the most critical failure modes for further analysis.

Uploaded by

Sunil Ghotekar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

import pandas as pd

# Define your failure mode data


data = {
"Failure Mode": [
"Deep Spot (More Weld Time)",
"Spot should be round (Tip dressing fail)",
"Total number of parts (No poka yoke)",
"Deep Spot (High Force)",
"Spot Burr (High Current)",
"Hole Missing (Poka-yoke not working)",
"Spot Missing (Improper teaching)",
"Weak Spot (Tip dressing fail)",
"Spot Position Off (Bad robot teaching)",
"Spot Burr (Tip dressing wear)",
"Spot Burn (High Force)",
"Spot should be round (Tip misalignment)",
"Weak Spot (Less force)",
"Spot Burn (High Current)",
"Weak Spot (Low current)"
],
"Severity": [10, 9, 8, 8, 9, 8, 6, 7, 7, 6, 7, 6, 6, 5, 3],
"Occurrence": [5, 4, 5, 5, 4, 5, 5, 4, 4, 5, 4, 5, 4, 4, 4],
"Detection": [4, 4, 3, 3, 3, 2.5, 3, 3, 3, 2.5, 2.7, 2.5, 2.5, 2, 1.75]
}

# Create DataFrame
df = pd.DataFrame(data)

# Calculate RPN
df["RPN"] = df["Severity"] * df["Occurrence"] * df["Detection"]

# Sort by RPN
df_sorted = df.sort_values(by="RPN", ascending=False)

# Display result
print(df_sorted[["Failure Mode", "Severity", "Occurrence", "Detection", "RPN"]])

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy