Perspectives: Field Notes

Equipment Maintenance: Savor Statistics

It can help you uncover important insights from your data

By Dirk Willard, Contributing Editor

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: 6P3 = 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.jpgDIRK 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

Equipment Maintenance: Savor Statistics

It can help you uncover important insights from your data

08/06/2014

Carefully Commission Hydrogen Pipe

Safety depends upon scrupulously performing a variety of inspections and tests

06/11/2014

Head Off Hydrogen Hazards

Proper material selection and piping design are crucial

05/05/2014

Pumps: Check "Standard Conditions"

Otherwise you risk using the wrong value for density in calculations.

04/08/2014

Plant Safety: Leaks Don't Lie

Treat them as calls for action against the underlying problem.

03/19/2014

Rest Easy With a Good BEDD

A basic engineering data document establishes ground rules.

02/20/2014

Match the Flow Meter to the Service

Consider operating conditions not just specifications and price

01/23/2014

Make the Most of Electric Tracing

The technique offers benefits but demands attention to details

01/02/2014

Avoid Project Management Mistakes

A number of common mistakes can sabotage success

11/20/2013

Safety: Douse a Burning Issue

You're not as safe as some fire safety tests may lead you to believe.

10/22/2013

Field Notes: Gun For Better Troubleshooting

Surface temperature measurements often can provide valuable insights.

09/11/2013

Defuse Dust Dangers

Carefully consider and then counter risks of fire and explosion

08/27/2013

Avoid Job Hunting Pitfalls

Heed a few tips to forestall frustrations.

07/08/2013

Move Against Static Electricity

Discharges pose persistent perils at plants.

06/06/2013

Diagram Process Design History: Don't Trip Up on Line Lists

Resolve discrepancies and other problems early.

05/06/2013

Keep Current on Your Electrical Measurement Equipment

Electrical measurements often can offer valuable insights.

04/04/2013

Consider the Consequences of Chemistry

Reactions can cause a wide variety of non-process problems.

03/06/2013

Protect Pumps and the Bottom Line

Setting an appropriate minimum flow avoids damage and excessive operating costs

02/06/2013

Operational Safety and Maintenance: Fear Ad Hoc Fixes

Interim solutions can lead to dire consequences.

01/21/2013

Ease Packed-Column Commissioning

A few steps can avoid problems when starting up a tower filled with random packing.

12/27/2012