# 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 |
---|---|

Environmental and safety mandates don't harm U.S. economic growth. |
11/05/2012 |

Don't Add Pressure to Relief Valve Surveys Consider the time and cost necessary to do a proper analysis. |
04/18/2012 |

Level control with dP transmitters appears simple but really isn't. |
11/29/2010 |

Diagram Process Design History: Don't Trip Up on Line Lists Resolve discrepancies and other problems early. |
05/06/2013 |

Carefully consider and then counter risks of fire and explosion |
08/27/2013 |

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

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

Contracts Don't Come In On Their Own Your ability to sell may save you and your company. |
08/02/2012 |

Consider the Consequences of Chemistry Reactions can cause a wide variety of non-process problems. |
03/06/2013 |

A contract can be a stone in your shoe. Knowing which type of contract to choose can make your job easier. Chemical Processing's Senior Editor Dirk Willard provides tips on various types of contracts. |
09/20/2006 |

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

Choose the right fluid for your pressure test Compressed gas often makes the most sense for checking a process, according to Senior Editor Dirk Willard, in this month's Field Notes column. |
04/12/2007 |

In his monthly Field Notes column, Senior Editor Dirk Willard reveals that regardless of the preparation, check-out tests always bring out some surprises. |
02/28/2006 |

Carefully Commission Hydrogen Pipe Safety depends upon scrupulously performing a variety of inspections and tests |
06/11/2014 |

Build reliability in during design Instrumentation that promises to improve reliability may not always be what they seem. You have to consider whether a site can properly maintain sophisticated instruments. |
12/19/2007 |

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

Avoid Surprises During Pump Startup A well-thought-out approach can eliminate potential problems. |
08/26/2010 |

Avoid Project Management Mistakes A number of common mistakes can sabotage success |
11/20/2013 |

Avoid Problems with Random Packing Careful internals' selection is crucial for absorbers and scrubbers. |
11/28/2012 |

Heed a few tips to forestall frustrations. |
07/08/2013 |