# Perspectives: Field Notes

# Equipment Maintenance: Savor Statistics

## It can help you uncover important insights from your data

What is the probability that a pump failure will ruin your Christmas? If we assume all pumps operate in series, like lights on a Christmas tree, and two pumps of 50 fail in a typical year, the probability of failure is 2/365 per day. The probability that all pumps will operate simultaneously is (1-2/365)^{50} or about 76%. Don’t plan a long trip to the Bahamas.

Now, suppose you install spare pumps that can be switched in easily and reliably. Let’s disregard poor suction connections, unreliable heat tracing, blocked strainers, switchgear problems, etc., and presume the spares are well maintained. Now, the probability of a single pump shutting down the plant is only (1-0.0003)^{50} — effectively zero. Take that vacation! This example illustrates the value of a fundamental understanding of statistics.

Let’s start with the basics: sampling. It’s easy to trip up on the terminology: replicates, variants, and specimens mean the same thing: repeated tests under the same conditions. You want enough replicates per test to compare them among themselves and to identify systemic failures in testing. If there is a high risk of loss of the specimen, use 4–5 as a minimum; 3 is minimum for cross-comparison. When in uncharted territory, do screening experiments to bolster your familiarity and to improve efficiency of testing. Examining whether all the samples collected belong in the same population is called analysis of variance (ANOVA). Use the F distribution at a 95% confidence interval to compare sample averages of variants and X distribution to check for normality. You can use process data for analysis but you can’t check for systemic problems or detect inter-dependence between data points. Bored?

Consider the permutation. Suppose you are trying to figure out the load on a manual vent system involving six tanks. Let’s assume initially that flows are equal. You know that if more than three flows occur at the same time the vent will reach a choked condition. How many triplets are there? In statistics this is: _{6}P_{3} = 6!/[(6-3)!3!] = 20. While it’s unlikely that all flows are equal, now you know you have twenty different combinations to model to decide which triplet is the worst case.

Lastly, let’s look at regression analysis. An equation that varies a property with temperature and pressure is convenient in process modeling. Regression equations can emulate pump curves or control valves in a simulation. In fitting a curve you have several choices: 1) use a global equation to fit the entire curve, perhaps badly; 2) fit the curve in parts; 3) linearize the curve using 1/X forms or logarithms; or 4) use a generic polynomial fit. The last option generally isn’t recommended unless the curve is boxed in — a good example of a boxed-in curve is one that has a 0–100% abscissa, which is typical for a control valve. Only interpolate polynomials, never extrapolate them. A global equation sometimes is chosen, despite a poor fit, because it can be hard to easily switch the regression equation in a model. This was a common problem with old DCS program languages.

How do you know if your regression equation is valid? The simplest tool is the Z-score. Let’s say you have 20 data points you want to develop for a regression equation. First, you want to examine for any deviations, assuming your points are independent, free of systemic error and fit a normal distribution. Before moving on to the Z-score, ensure all of your points represent averages; ideally, each point should be based on the same number of replicates. Next, calculate the Z-score: Z = (y – Y-bar)/ σ where Y-bar is the average of all points: Y-bar = Σ y/N, where N is the number of points; and σ is the standard deviation: σ = [Σ(y – Y-bar)^{ 2}/(N-1)]^{½} (for a small sample). So, if an observed value (y) is 4, and σ is 0.521 with an average of 2.33, then the Z-score for the observed value is Z = (4-2.33)/0.521 = 3.2. Because 99.7% of data in a normal distribution should have a Z-score within ±3, this point is suspicious; scrutinize it and, if appropriate, toss it out as an outlier. Also investigate borderline values, i.e., >±2.75. Plot the Zs to look for systemic problems, e.g., more than 4 points in sequence on the same side of the average shows interdependence. Outlier elimination only can be done once. In the 1980s it was discovered that a famous petroleum oil property regression from the 1940s was purged of outliers over and over again. It was discarded and a professor was discredited.

DIRK WILLARD is a Chemical Processing contributing editor. He recently won recognition for his Field Notes column from the ASBPE. Chemical Processing is proud to have him on board. You can e-mail him at dwillard@putman.net

#### More from this perspective...

Title | Date |
---|---|

Some contracts simply arent worth winning. |
07/06/2009 |

Take the Right Approach to Projects Remember the real fun begins after approval. |
06/12/2009 |

Don't Dismiss Process Flow Diagrams Understand the role these diagrams can play and how to use them effectively. |
05/14/2009 |

Don't Let Design Errors Doom Your Project Engineering quality assurance demands more attention than it usually gets. |
04/16/2009 |

Achieving savings may provide a powerful career boost. |
03/10/2009 |

Brain Drain Brings Big Headaches Inexperience and a tough production schedule can be a lethal combination |
02/15/2009 |

Choose Your Next Position Wisely Finding your dream job takes a bit of soul searching and answering some tough questions. |
01/20/2009 |

Finding The True Cost of Data-Collecting Equipment -- Can You Really Afford It? Consider all costs before you opt to install an instrument. |
12/15/2008 |

Deftly Deal with Management of Change Consider some proven tactics to survive this grueling process. |
11/20/2008 |

Using hired help effectively starts by treating them as part of your team. |
10/15/2008 |

How you begin is at least as important as your eventual goal |
10/10/2008 |

Sometimes solving a problem causes more harm than good |
08/27/2008 |

Get Pipe Specifications Right in the Beginning! Good pipe specifications can avoid costly and dangerous mistakes |
08/08/2008 |

Keeping Peace While Managing Unions Dealing with unions often poses challenges to engineers |
08/07/2008 |

Maintain an open mind about maintenance options Sometimes its better to take a preventive rather than predictive approach |
06/17/2008 |

A haphazard approach can hobble hazard reviews Taking some simple steps can help you avoid common pitfalls in assessing changes |
06/02/2008 |

Keep plant layout from laying you low Spot mistakes before they literally become set in stone on the site |
05/02/2008 |

An Alert Operator Is a Safe Operator Maintaining a good work environment can contribute to a safer plant |
04/24/2008 |

Take a studied approach to plant studies Carefully address the challenges of managing and directing specialized teams |
03/13/2008 |

Getting immersed in details can doom a basic design contract to financial failure. |
02/13/2008 |