Skip to content
You Start with one site
Amounts in Start with one site
Control, Measurement & Energy · Course

A Reliability Programme from Records

Lesson 10 of 10 31 min read
Found this useful?

At the end of the year the owner asks what maintenance should do differently, and the only evidence is a notebook. It says “conveyor repaired” eleven times and “pump OK” forty times. It does not say what failed, how long the line stood, what it cost or how many hours the machine had run. So the answer comes from memory, which keeps the one dramatic breakdown and forgets the small stop that came every month. Every method in this course needs data only the site can supply. This lesson shows what to record, how to turn a year of records into a short list of the failures that cost the most, and how to tell whether the action taken against them worked. #ReliabilityProgramme #FailureRecords #ParetoAnalysis

Learning Objectives

By the end of this lesson, you will be able to:

  1. Specify the record that a site must keep for every failure and for every machine
  2. Build a bad-actor list by ranking failure modes by cost, with safety modes taken out of the ranking
  3. Choose an action for each bad actor from the failure pattern, the consequence and the warning it gives
  4. Calculate the indicators of a reliability programme and say what each one hides
  5. Judge whether a better year is evidence of an improvement or only chance

Real-World System Problem: One year at the cold store



The cold store has five machines: a duty compressor, a standby compressor, a conveyor, a borehole pump and a standby generator. One small team maintains them. This year, for the first time, the team wrote a record for every unplanned event: the day, the machine, what failed, how long it was stopped, and what the event cost.

There are 31 records. The owner wants one page from them: where the money went, what will be done, and how he will know next year that it worked. The earlier lessons each took one tool to one machine; here all of them meet on the same list, and the records decide which tool is used where.

Generator(standby)BoreholepumpConveyorCompressor 2(standby)Compressor 1(duty)Failure record: 31 events,one line for each
The site and what its record holds

Fundamental Theory: Records, ranking, action, proof



What a record must hold

A reliability calculation divides something by something: the failure rate is failures divided by hours, and the cost of unreliability is the sum of the costs of the events. If either part was not written down on the day, no method can recover it later. For every failure, record:

ItemWhy it is needed
Date and time of the stop and of the restartThe downtime, and the pattern in time
Machine and partWhich item the event belongs to
Hours in service or running hours at the failureThe age, for a life analysis
Failure mode: what was observedRanking is done by mode, not by machine
Cause, if found, and how sureThe action is aimed at the cause
How it was foundAlarm, inspection, operator, or by the failure itself
Parts used and technician hoursThe repair cost
Other losses: stopped hours, stock, penaltiesThe rest of the cost, usually the larger part
Conditions: load, weather, what was done just beforeThe clue to the cause

For every machine, record the hours in service or running hours, the number of starts, and every planned task with its date and hours. For a standby machine, record every test and its result. A test that passed is data: without it nobody can say how often the tests fail.

Day 58, 06:10 stopped Day 58, 11:17 runningMachine: conveyor Part: drive end bearingHours in service: 1,390Mode: bearing seized Found by: the failureCause: not yet known Bearing kept: yesParts: 4,500 Technician hours: 6Stopped: 5.11 h Other loss: 61,320Before: belt tension adjusted on day 51
One failure record

Two rules keep the record usable. Agree a short list of names for the failure modes of each machine, so that “belt runs off centre”, “belt tracking” and “belt problem” are not three modes. And record the small stops: a ten-minute stop reset by the operator is the event most often left out, and it can be the second largest cost on the site.

The international standard ISO 14224 describes how reliability and maintenance data are collected and exchanged, and is the reference when a site designs its record. It was written for the petroleum and gas industries; a small site needs its ideas (clear equipment boundaries, agreed names for failure modes, the times of each event) more than its full detail.

The bad-actor list

A few failure modes cause most of the cost. A list of the modes sorted by cost, with a running share of the total, shows them: a Pareto list, whose top modes are the bad actors. Three choices keep it honest:

  • Rank by cost, not by count. The count shows what annoys people; the cost shows what hurts the site. The two orders often differ.
  • Rank modes, not machines. “The conveyor” is not something a technician can act on. “Conveyor bearing failure” is.
  • Take the safety modes out first. A mode that could harm a person or the environment is not ranked against money. It goes to the top of the page, outside the list, and to a proper safety assessment, which this course does not teach.

What one year of records cannot show

A year of records shows what happened in that year: a small sample of what can happen, one frame of a longer film.

  • A mode expected once in four years is absent from most single years. In the year when it comes, it stands at the top of the list.
  • A hidden failure of a standby machine causes no stop at all. It appears only as a failed test, or on the day the machine is called and does not start.
  • The cost of a mode with one event is the cost of that one event, not a rate.

So the list from the records is laid beside two others: the failure modes and effects analysis, which names what can happen, and the criticality ranking, which holds the rare and large losses. A mode high on any of the three belongs in the plan.

From a bad actor to an action

Each bad actor is then taken through the questions of the earlier lessons, in order.

A frequent mode with a small cost each time usually has one repeating cause: the right tool is an analysis of that cause, not more inspection. A rare mode with a large cost usually deserves a task that finds it early. A mode whose cost is small and whose task would cost more is left to run to failure, and that decision is written down, so that it is a decision and not neglect.

Indicators and what each one hides

A programme needs a few numbers that are calculated the same way every year.

IndicatorHow it is foundWhat it hides
Availability1 less the stopped hours divided by the hours of the yearThe cost: a short stop can be dear
MTBFHours in service divided by failuresWhich failures: one seized bearing and one reset count the same
Cost of unreliabilitySum of the costs of all unplanned eventsRare events that did not come this year
Planned work sharePlanned hours divided by all maintenance hoursWhether the planned work is the right work
Tests passed (standby machines)Good starts divided by testsWhether the test proves the full duty

No single one is enough. Availability and MTBF describe the machines, the cost of unreliability describes the loss, and the planned share describes the team.

Did it work?

After an action, the count of a failure mode falls. That alone proves little: a count from a random process moves from year to year with no change at all, as the number of sixes in ten throws of a die does. If the mode came times a year before the action and nothing has changed, the Poisson distribution gives the chance of or fewer in the next year.

Chance of so good a year with no real change

In Python it is scipy.stats.poisson.cdf(k, mu). If this chance is small, for example below 0.05, the better year is evidence of a real change. If it is large, wait for more data before claiming the gain.

The result has a hard consequence. A mode that comes twelve times a year can show an improvement within one year. A mode that comes twice a year cannot: even a year with no failure happens by chance too often. For rare modes the proof must come from something counted more often, such as faults found by the inspection and repaired in a planned stop.

MeasureagainChoosean actionRank bycostRecordeveryeventAct
The programme is a loop

Application 1: The bad-actor list of one year



Step 1: The cost by machine

Click to reveal the totals
  1. Total. The 31 events cost 332,820 currency units. ✅

  2. By machine.

    MachineEventsStopped (h)CostShare
    Conveyor2215.9241,32072.5 %
    Compressor 1328.376,00022.8 %
    Compressor 215.58,0002.4 %
    Borehole pump57.37,5002.3 %
    Generator00.000.0 %

    ✅

  3. Read it. Compressor 1 was stopped for almost twice as many hours as the conveyor, and the standby covered every one of them. The conveyor carries almost three quarters of the cost. ✅

Step 2: The Pareto list by failure mode

Click to reveal the list
  1. Take out the safety mode. Loss of refrigerant charge on compressor 1 (one event, repair 30,000) is class A. It leaves the ranking and goes to the top of the plan. The ranked cost is . ✅

  2. Sort the other modes by cost.

    RankMachineFailure modeEventsCostShareRunning share
    1ConveyorBearing failure2148,56049.1 %49.1 %
    2ConveyorBelt runs off centre1271,52023.6 %72.7 %
    3Compressor 1Valve failure140,00013.2 %85.9 %
    4ConveyorJam at the transfer821,2407.0 %92.9 %
    5Compressor 2Fault found on test18,0002.6 %95.5 %
    6Borehole pumpMotor overload trip57,5002.5 %98.0 %
    7Compressor 1Blocked condenser16,0002.0 %100.0 %

    ✅

  3. The bad actors. Three modes of seven carry 85.9 percent of the ranked cost, with 15 of the 30 ranked events. ✅

Step 3: Cost against count

Click to reveal the comparison
  1. The top three by count. Belt runs off centre (12 events), jam at the transfer (8) and motor overload trip (5). Together they are 25 of the 30 ranked events and 33.1 percent of the cost. ✅

  2. The top mode by cost. Bearing failure has 2 events of 30 and 49.1 percent of the cost. A ranking by count would place it near the bottom. ✅

  3. What the count is still good for. The belt that runs off centre is in both top threes. And five overload trips of the pump cost little this year, but a motor that trips five times is being asked to do something it should not. The count is a sign of a cause, even where the cost is small. ✅

Step 4: A strategy for each of the top three

Click to reveal the choices and the reasons
  1. First, outside the ranking: loss of refrigerant charge. It is passed to a safety assessment, and the leak is found and repaired by a qualified refrigeration technician. No cost figure opens or closes it. ✅

  2. Conveyor bearing failure: an on-condition task. The failure is evident and its consequence is operational: 73,500 an event, most of it the stop. The twelve recorded lives gave a Weibull shape of 2.13, so the bearing wears out and planned replacement is possible. But a bearing fault can be seen by vibration about eight weeks before the failure, so a check every four weeks finds it and the bearing is used for almost its whole life. By the figures of the strategy lesson the yearly cost of one bearing position is 49,700 for run to failure, 22,100 for replacement at the best age and 14,200 for the vibration check. Choice: vibration check every four weeks, with planned replacement near 5,000 running hours as the second choice if the checks are not kept. ✅

  3. Belt runs off centre: root cause analysis, then a change. Twelve events, each short, with no warning an inspection could use. A stop that repeats this often usually has one cause, not twelve. Eleven of the twelve fell between day 64 and day 222: chance in this generated record, but on a real site the first question for the analysis: what was different in those months? More inspection would count the events and remove none. Choice: one analysis with the people who reset the belt, looking at the tracking of the rollers, the loading point and the belt tension, and a change that removes the cause. ✅

  4. Compressor valve failure: use a reading that already exists. One event of 40,000; the team’s estimate from the failure modes and effects analysis is 0.40 a year. A failing valve raises the discharge temperature for some time before the compressor stops, and the site already logs that temperature in a sheet nobody plots. New sensors for this mode did not pay in the lesson on the cost of downtime; a weekly look at a plot of the existing log costs a few minutes. Choice: an on-condition task on the existing reading, with a limit agreed with the maker. ✅

  5. A mode left alone on purpose. A blocked condenser cost 6,000 this year and is seen on the weekly walk. The walk stays. Nothing is added. ✅

Step 5: Check the list against what one year cannot show

Click to reveal the check
  1. The model behind the record. The record was generated, so the long-run cost of every mode is known. A real site never has this. The script prints the seven largest:

    Failure modeExpected a yearLong-run cost a yearIn the record
    Conveyor bearing failure2.00147,0002 events, 148,560
    Belt runs off centre10.0051,00012 events, 71,520
    Control sensor failure0.2530,000none
    Blocked condenser0.5026,0001 event, 6,000
    Jam at the transfer8.0020,4008 events, 21,240
    Pump failure0.5020,000none
    Valve failure0.4016,0001 event, 40,000

    ✅

  2. What agreed. The two modes at the top are the same in the record and in the model. Frequent modes are measured well by one year. ✅

  3. What the year missed. The control sensor failure is third in the long run and absent from the record. The blocked condenser cost 6,000 this year because it did not come in hot weather: one time in five it stops both compressors. The valve failure is third in the record only because its one event happened to fall in this year. ✅

  4. What no ordinary year holds. The criticality ranking of this site puts the expected loss at 577,700 a year, and this record shows 332,820. They differ in three places. The ranking holds 290,700 for the two compressors, with every failure priced as a major repair, and the record holds 84,000. The ranking holds 120,000 for a generator that does not start in a long outage (600,000 once in about five years), and the record holds nothing for the generator. In the other direction, the record holds about 93,000 of short conveyor stops that the ranking session never listed. ✅

  5. Spread from year to year. The expected cost of the model that generated the record is 350,650 a year. In 5,000 generated years, 80 percent lie between about 152,000 and 590,000. This year’s 332,820 is an ordinary year. ✅

Application 2: A one-page plan and its indicators



Step 1: Indicators of the machines

Click to reveal the calculation
  1. Conveyor. 22 events in 8,400 hours: MTBF h. Stopped 15.9 h: availability . ✅

  2. Compressor 1. 3 events: MTBF h. Stopped 28.3 h: availability 0.99663. ✅

  3. Borehole pump. 5 events in 2,900 running hours: MTBF h. Dividing by the 8,400 hours of the year would give 1,680 h, almost three times too good. Stopped 7.3 h: availability over the year 0.99913. ✅

  4. Standby machines. Compressor 2: 49 good starts in 50 tests. Generator: 13 good starts in 13 tests. An MTBF has no meaning for a machine that stands still. ✅

  5. How far to trust them. Three failures give a 90 percent interval for the MTBF of compressor 1 from 1,083 to 10,273 h. The five-year record gave 4,667 h, well inside. One year of one machine cannot show that this compressor became worse. ✅

Step 2: Indicators of the site

Click to reveal the calculation
  1. Cost of unreliability. 332,820 currency units for the year, of which 302,820 is in the ranked modes. ✅

  2. Unplanned technician hours. hours. ✅

  3. Planned work share.

    88.4 percent of the maintenance hours were planned. ✅

  4. Read the two together. A planned share of 88 percent looks like a well-run site, but the cost of unreliability says the 420 planned hours did not reach the conveyor bearings or the belt. The share measures how the hours were spent, not whether on the right work. ✅

  5. Read the availability with the cost. The conveyor has a better availability than compressor 1 (0.99811 against 0.99663) and three times its cost. Availability alone would have sent the team to compressor 1. ✅

Step 3: The plan on one page

Click to reveal the plan
  1. The plan.

    Failure modeWhy it is hereActionIntervalIndicator
    Loss of refrigerant chargeClass A, 1 eventSafety assessment. Leak check by a qualified refrigeration technicianAs the assessment setsAssessment done, actions closed
    Conveyor bearing failureRank 1 by costVibration check, planned change when a fault is found4 weeksFaults found and changed in a planned stop. Unplanned bearing stops
    Belt runs off centreRank 2 by cost, first by countRoot cause analysis, then remove the causeOnce, in the first quarterStops a month
    Compressor valve failureRank 3 by costPlot the discharge temperature log against a limitWeeklyValve repairs planned against unplanned
    Control sensor failureNot in the record. First of the costed modes in the analysisSecond room probe, independent, with an alarmContinuous. Alarm tested every quarterAlarm tests passed
    Blocked condenserSmall this year, large in hot weatherKeep the weekly walk. Clean before the hot seasonWeekly, and once a yearEvents in hot weather
    Generator does not startNot in the record. Largest single lossStart test on load by authorised people4 weeksTests passed of tests done
    Standby compressor does not take the load1 fault in 50 testsKeep the test run, record every resultWeeklyTests passed of tests done
    Pump motor overload trip5 events, small costRecord the motor current and the water level at each trip, then decideAt each eventTrips a quarter
    Jam at the transferRank 4Include in the belt analysisWith the beltStops a month

    ✅

  2. What is on the page and why. Eight lines come from the record. Two, the control sensor and the generator, come from the analysis and the ranking, because no single year would have shown them. Every line has an indicator that the team can count. ✅

  3. Who and when. A real plan has two more columns: a name and a date. Without them it is a list of wishes. ✅

Step 4: How good must next year be?

Click to reveal the check
  1. Belt runs off centre. This year 12 events. If nothing changes, the chance of 6 or fewer next year is 0.046, and of 4 or fewer 0.008. So a year with 6 or fewer is evidence that the change worked, and it can be seen after a few months: 12 a year is one a month, and four months with none has a chance of . ✅

  2. Conveyor bearing failure. This year 2 events. If nothing changes, the chance of 1 or fewer next year is 0.406, and of none at all 0.135. A year with no bearing failure would happen about one year in seven with no action. One good year proves nothing here. ✅

  3. A longer record. Over three years 6 failures are expected with no change. The chance of 2 or fewer is 0.062. Even three years give only weak evidence from the count of failures. ✅

  4. A better indicator for the bearings. Count the faults that the vibration check finds and that are confirmed when the bearing is taken out. Each one is a failure that was turned into a planned stop, at 7,500 and not 73,500. This can be shown in the first year. ✅

  5. A limit of the check. The base figures of 12 and 2 are themselves one year’s counts, and are uncertain in the same way. The check answers a narrow question: could this good year come from the old rate by chance? ✅

Verify It in Python



The script generates the year of records, prints every event, builds the list by machine and the Pareto list by mode, compares the record with the model that generated it, and calculates the indicators and the Poisson checks. It saves one Pareto chart.

programme_from_records.py
"""A year of failure records for one site: bad-actor list, indicators and a check of the gain."""
import numpy as np
from scipy.stats import chi2, poisson
import matplotlib.pyplot as plt
YEAR = 8400.0 # hours in a year at the site
TECH_HOUR = 1500.0 # currency units
STOCK_LOSS = 230000.0 # stock and disruption when cooling is lost
PLANNED_HOURS = 420.0 # technician hours of planned work in the year
# machine, failure mode, class, true rate a year, mean stop (h), parts,
# technician hours, loss per stop hour, chance that stock is lost
# class A: safety or environment, B: the cold room is at risk, C: operations and cost
MODES = [
("Compressor 1", "Valve failure", "C", 0.40, 9.0, 28000.0, 8.0, 0.0, 0.0),
("Compressor 1", "Blocked condenser", "B", 0.50, 4.0, 0.0, 4.0, 0.0, 0.2),
("Compressor 1", "Control sensor failure", "B", 0.25, 3.0, 2000.0, 2.0, 0.0, 0.5),
("Compressor 1", "Oil loss", "C", 0.20, 4.0, 4000.0, 4.0, 0.0, 0.0),
("Compressor 1", "Contactor failure", "C", 0.15, 2.0, 6000.0, 2.0, 0.0, 0.0),
("Compressor 1", "Loss of refrigerant", "A", 0.15, 10.0, 18000.0, 8.0, 0.0, 0.0),
("Compressor 1", "Bearing wear", "C", 0.10, 12.0, 126000.0, 16.0, 0.0, 0.0),
("Compressor 1", "Motor winding failure", "C", 0.05, 12.0, 126000.0, 16.0, 0.0, 0.0),
("Compressor 2", "Fault found on test", "C", 0.50, 3.0, 5000.0, 2.0, 0.0, 0.0),
("Conveyor", "Bearing failure", "C", 2.00, 5.0, 4500.0, 6.0, 12000.0, 0.0),
("Conveyor", "Belt runs off centre", "C", 10.0, 0.3, 0.0, 1.0, 12000.0, 0.0),
("Conveyor", "Jam at the transfer", "C", 8.00, 0.15, 0.0, 0.5, 12000.0, 0.0),
("Borehole pump", "Pump failure", "C", 0.50, 10.0, 28000.0, 8.0, 0.0, 0.0),
("Borehole pump", "Motor overload trip", "C", 3.00, 1.0, 0.0, 1.0, 0.0, 0.0),
("Generator", "Fault found on test", "C", 0.20, 2.0, 4000.0, 2.0, 0.0, 0.0),
]
MACHINES = ["Compressor 1", "Compressor 2", "Conveyor", "Borehole pump", "Generator"]
# hours in service (compressor 1, conveyor) and running hours from the counter (pump);
# the two standby machines are judged by their tests
RUN_HOURS = {"Compressor 1": 8400.0, "Conveyor": 8400.0, "Borehole pump": 2900.0}
TESTS = {"Compressor 2": 50, "Generator": 13}
def site_year(seed=4):
"""One year of failure records: (day, index of the mode, stop hours, cost) for each event."""
rng = np.random.default_rng(seed)
events = []
for k, (_, _, _, rate, stop, parts, tech, hourly, p_stock) in enumerate(MODES):
for _ in range(rng.poisson(rate)):
day = int(rng.integers(1, 351))
hours = round(float(rng.gamma(4.0, stop / 4.0)), 2)
stock = STOCK_LOSS if rng.random() < p_stock else 0.0
cost = parts + tech * TECH_HOUR + hours * hourly + stock
events.append((day, k, hours, cost))
events.sort()
return events
def true_cost(k):
"""Expected cost a year of mode k under the model that generated the record."""
_, _, _, rate, stop, parts, tech, hourly, p_stock = MODES[k]
return rate * (parts + tech * TECH_HOUR + stop * hourly + p_stock * STOCK_LOSS)
events = site_year()
total = sum(e[3] for e in events)
print(f"The record: {len(events)} events, cost {total:,.0f}")
print(" day machine failure mode class stop h cost")
for day, k, hours, cost in events:
print(f" {day:3d} {MODES[k][0]:13s} {MODES[k][1]:22s} {MODES[k][2]} "
f"{hours:5.2f} {cost:7,.0f}")
# ---------- Application 1: the bad-actor list ----------
print("\nApplication 1: by machine")
for m in MACHINES:
ev = [e for e in events if MODES[e[1]][0] == m]
c = sum(e[3] for e in ev)
print(f" {m:13s} {len(ev):2d} events {sum(e[2] for e in ev):5.1f} h stopped "
f"{c:8,.0f} {100 * c / total:5.1f} %")
n_mode = np.zeros(len(MODES), dtype=int)
c_mode = np.zeros(len(MODES))
for _, k, _, cost in events:
n_mode[k] += 1
c_mode[k] += cost
seen = [k for k in np.argsort(-c_mode, kind="stable") if n_mode[k] > 0]
safety = [k for k in seen if MODES[k][2] == "A"]
ranked = [k for k in seen if MODES[k][2] != "A"]
ranked_total = c_mode[ranked].sum()
print("Pareto list by cost (class A is taken out and acted on first)")
for k in safety:
print(f" A {MODES[k][0]:13s} {MODES[k][1]:22s} {n_mode[k]:2d} events "
f"repair {c_mode[k]:,.0f} not ranked by cost")
cum = 0.0
for r, k in enumerate(ranked, start=1):
cum += c_mode[k]
print(f" {r:2d} {MODES[k][0]:13s} {MODES[k][1]:22s} {n_mode[k]:2d} events "
f"{c_mode[k]:8,.0f} {100 * c_mode[k] / ranked_total:5.1f} % "
f"cumulative {100 * cum / ranked_total:5.1f} %")
top3 = ranked[:3]
print(f" ranked cost {ranked_total:,.0f}; the top three modes: "
f"{100 * c_mode[top3].sum() / ranked_total:.1f} % of the cost, "
f"{n_mode[top3].sum()} of {n_mode[ranked].sum()} events")
by_count = [k for k in np.argsort(-n_mode, kind="stable")][:3]
print(" top three by number of events: " + ", ".join(
f"{MODES[k][1]} ({n_mode[k]}, {100 * c_mode[k] / ranked_total:.1f} % of the cost)"
for k in by_count))
print("What one year cannot show: the model behind the record")
order_true = sorted(range(len(MODES)), key=lambda k: -true_cost(k))
for k in order_true[:7]:
print(f" {MODES[k][0]:13s} {MODES[k][1]:22s} expected {MODES[k][3]:5.2f} a year, "
f"{true_cost(k):8,.0f} a year; in the record {n_mode[k]:2d}, {c_mode[k]:8,.0f}")
true_total = sum(true_cost(k) for k in range(len(MODES)))
sims = np.array([sum(e[3] for e in site_year(s)) for s in range(1000, 6000)])
print(f" expected cost of unreliability {true_total:,.0f} a year; in 5,000 generated years "
f"80 % lie between {np.percentile(sims, 10):,.0f} and {np.percentile(sims, 90):,.0f}")
# ---------- Application 2: the indicators ----------
print("\nApplication 2: indicators for the year")
for m in MACHINES:
ev = [e for e in events if MODES[e[1]][0] == m]
stop = sum(e[2] for e in ev)
if m in RUN_HOURS:
mtbf = RUN_HOURS[m] / len(ev) if ev else float("nan")
print(f" {m:13s} {len(ev):2d} failures in {RUN_HOURS[m]:,.0f} hours: "
f"MTBF {mtbf:,.0f} h, stopped {stop:.1f} h, "
f"availability {1 - stop / YEAR:.5f}")
else:
print(f" {m:13s} {len(ev)} of {TESTS[m]} tests found a fault: "
f"{TESTS[m] - len(ev)} of {TESTS[m]} good starts")
n1 = sum(1 for e in events if MODES[e[1]][0] == "Compressor 1")
print(f" Compressor 1, 90 % interval for the MTBF from {n1} failures: "
f"{2 * YEAR / chi2.ppf(0.95, 2 * n1 + 2):,.0f} to {2 * YEAR / chi2.ppf(0.05, 2 * n1):,.0f} h")
unplanned = sum(MODES[e[1]][6] for e in events)
print(f" cost of unreliability: {total:,.0f} (ranked modes {ranked_total:,.0f})")
print(f" technician hours: unplanned {unplanned:.1f}, planned {PLANNED_HOURS:.0f}, "
f"planned share {100 * PLANNED_HOURS / (PLANNED_HOURS + unplanned):.1f} %")
print(f" unplanned events: {len(events)}, one in {350 / len(events):.1f} days")
print("Did an action work? Chance of so good a year with no real change")
for name, after in (("Bearing failure", 1), ("Bearing failure", 0),
("Belt runs off centre", 6), ("Belt runs off centre", 4)):
base = n_mode[[m[1] for m in MODES].index(name)]
what = "none" if after == 0 else f"{after} or fewer"
print(f" {name:21s} {base:2d} in this year, {what} in the next: "
f"{poisson.cdf(after, base):.3f}")
print(f" bearings over three years, 6 expected, 2 or fewer: {poisson.cdf(2, 6):.3f}")
# ---------- Plot ----------
fig, ax = plt.subplots(figsize=(9, 5))
labels = [MODES[k][1] for k in ranked]
ax.bar(range(len(ranked)), c_mode[ranked])
ax.set_xticks(range(len(ranked)))
ax.set_xticklabels(labels, rotation=60, ha="right")
ax.set_ylabel("cost in the year (currency units)")
ax2 = ax.twinx()
ax2.plot(range(len(ranked)), 100 * np.cumsum(c_mode[ranked]) / ranked_total,
color="black", marker="o")
ax2.set_ylim(0, 105)
ax2.set_ylabel("cumulative share (%)")
ax.set_title("Pareto list of failure modes by cost, one year")
fig.tight_layout()
fig.savefig("programme_from_records.png", dpi=120)
print("Saved programme_from_records.png")

Expected output

The record: 31 events, cost 332,820
day machine failure mode class stop h cost
26 Conveyor Jam at the transfer C 0.09 1,830
58 Conveyor Bearing failure C 5.11 74,820
64 Conveyor Belt runs off centre C 0.27 4,740
76 Conveyor Belt runs off centre C 0.42 6,540
78 Conveyor Belt runs off centre C 0.69 9,780
83 Conveyor Jam at the transfer C 0.18 2,910
84 Conveyor Belt runs off centre C 0.23 4,260
116 Conveyor Belt runs off centre C 0.16 3,420
118 Conveyor Belt runs off centre C 0.26 4,620
129 Conveyor Belt runs off centre C 0.44 6,780
138 Conveyor Belt runs off centre C 0.49 7,380
146 Conveyor Jam at the transfer C 0.14 2,430
175 Conveyor Belt runs off centre C 0.42 6,540
183 Conveyor Bearing failure C 5.02 73,740
189 Conveyor Belt runs off centre C 0.40 6,300
205 Conveyor Jam at the transfer C 0.25 3,750
209 Borehole pump Motor overload trip C 2.38 1,500
210 Conveyor Jam at the transfer C 0.15 2,550
213 Borehole pump Motor overload trip C 1.98 1,500
216 Conveyor Jam at the transfer C 0.13 2,310
222 Conveyor Belt runs off centre C 0.48 7,260
242 Borehole pump Motor overload trip C 0.47 1,500
257 Compressor 1 Loss of refrigerant A 15.52 30,000
265 Conveyor Jam at the transfer C 0.20 3,150
265 Borehole pump Motor overload trip C 0.84 1,500
292 Borehole pump Motor overload trip C 1.64 1,500
330 Compressor 1 Valve failure C 11.43 40,000
332 Conveyor Jam at the transfer C 0.13 2,310
340 Compressor 2 Fault found on test C 5.48 8,000
342 Compressor 1 Blocked condenser B 1.37 6,000
349 Conveyor Belt runs off centre C 0.20 3,900
Application 1: by machine
Compressor 1 3 events 28.3 h stopped 76,000 22.8 %
Compressor 2 1 events 5.5 h stopped 8,000 2.4 %
Conveyor 22 events 15.9 h stopped 241,320 72.5 %
Borehole pump 5 events 7.3 h stopped 7,500 2.3 %
Generator 0 events 0.0 h stopped 0 0.0 %
Pareto list by cost (class A is taken out and acted on first)
A Compressor 1 Loss of refrigerant 1 events repair 30,000 not ranked by cost
1 Conveyor Bearing failure 2 events 148,560 49.1 % cumulative 49.1 %
2 Conveyor Belt runs off centre 12 events 71,520 23.6 % cumulative 72.7 %
3 Compressor 1 Valve failure 1 events 40,000 13.2 % cumulative 85.9 %
4 Conveyor Jam at the transfer 8 events 21,240 7.0 % cumulative 92.9 %
5 Compressor 2 Fault found on test 1 events 8,000 2.6 % cumulative 95.5 %
6 Borehole pump Motor overload trip 5 events 7,500 2.5 % cumulative 98.0 %
7 Compressor 1 Blocked condenser 1 events 6,000 2.0 % cumulative 100.0 %
ranked cost 302,820; the top three modes: 85.9 % of the cost, 15 of 30 events
top three by number of events: Belt runs off centre (12, 23.6 % of the cost), Jam at the transfer (8, 7.0 % of the cost), Motor overload trip (5, 2.5 % of the cost)
What one year cannot show: the model behind the record
Conveyor Bearing failure expected 2.00 a year, 147,000 a year; in the record 2, 148,560
Conveyor Belt runs off centre expected 10.00 a year, 51,000 a year; in the record 12, 71,520
Compressor 1 Control sensor failure expected 0.25 a year, 30,000 a year; in the record 0, 0
Compressor 1 Blocked condenser expected 0.50 a year, 26,000 a year; in the record 1, 6,000
Conveyor Jam at the transfer expected 8.00 a year, 20,400 a year; in the record 8, 21,240
Borehole pump Pump failure expected 0.50 a year, 20,000 a year; in the record 0, 0
Compressor 1 Valve failure expected 0.40 a year, 16,000 a year; in the record 1, 40,000
expected cost of unreliability 350,650 a year; in 5,000 generated years 80 % lie between 151,785 and 590,349
Application 2: indicators for the year
Compressor 1 3 failures in 8,400 hours: MTBF 2,800 h, stopped 28.3 h, availability 0.99663
Compressor 2 1 of 50 tests found a fault: 49 of 50 good starts
Conveyor 22 failures in 8,400 hours: MTBF 382 h, stopped 15.9 h, availability 0.99811
Borehole pump 5 failures in 2,900 hours: MTBF 580 h, stopped 7.3 h, availability 0.99913
Generator 0 of 13 tests found a fault: 13 of 13 good starts
Compressor 1, 90 % interval for the MTBF from 3 failures: 1,083 to 10,273 h
cost of unreliability: 332,820 (ranked modes 302,820)
technician hours: unplanned 55.0, planned 420, planned share 88.4 %
unplanned events: 31, one in 11.3 days
Did an action work? Chance of so good a year with no real change
Bearing failure 2 in this year, 1 or fewer in the next: 0.406
Bearing failure 2 in this year, none in the next: 0.135
Belt runs off centre 12 in this year, 6 or fewer in the next: 0.046
Belt runs off centre 12 in this year, 4 or fewer in the next: 0.008
bearings over three years, 6 expected, 2 or fewer: 0.062
Saved programme_from_records.png

Common Mistakes



  • Recording that a machine was repaired and not what failed, for how long and at what cost. Such a record cannot be ranked.
  • Leaving out the short stops that the operator resets. Twelve of them were the second largest cost of this year.
  • Ranking by the number of events, or by machine. Rank failure modes by cost, and read the count as a sign of a repeating cause.
  • Ranking a safety mode by its repair cost. It leaves the list and goes to a safety assessment.
  • Treating one year’s list as the whole truth. Rare modes and hidden failures of standby machines are missing from it, and they hold the largest single losses.
  • Dividing by the hours of the calendar for a machine that runs part of the time, or calculating an MTBF for a standby machine. Use running hours for the first and test results for the second.
  • Claiming an improvement after one good year of a mode that comes twice a year. Check what chance alone would give.

Summary



  • A failure record needs the times of the stop and the restart, the machine and part, the hours in service, the failure mode, the cause, how it was found, the parts, the labour and the other losses. A machine record needs hours, starts and every test.
  • One year at the cold store gave 31 events and a cost of 332,820 currency units. Three failure modes carried 85.9 percent of the ranked cost: conveyor bearing failure, a belt that runs off centre, and a compressor valve failure.
  • Each bad actor received a different action: an on-condition task, a root cause analysis, and a plot of a reading that already existed. The safety mode went to a safety assessment, outside the ranking.
  • The record missed the control sensor failure and showed nothing for the generator. The plan takes those lines from the failure modes and effects analysis and from the criticality ranking.
  • The indicators are availability, MTBF, the cost of unreliability, the planned work share and the tests passed. Each hides something, so they are read together.
  • A fall from 12 events to 6 is evidence of a change. A fall from 2 to none is not.

Exercises



1. A year of records gives these costs for five failure modes, in currency units: 120,000, 60,000, 45,000, 15,000 and 10,000. Find the share of the top two modes.

Answer

The total is 250,000. The top two are percent.

2. A pump had 3 failures in a year of 8,400 hours. Its hour counter shows that it ran for 2,900 hours. Find the MTBF, and the wrong value that the hours of the year would give.

Answer

h. The hours of the year give h, which is 2.9 times too good.

3. A team spent 300 technician hours on planned work and 200 on unplanned repairs. Find the planned work share. The next year the figures are 380 and 120 and the cost of unreliability has not changed. What does that say?

Answer

percent, then percent. The team works in a more planned way, but the loss is the same, so the added planned work is not aimed at the modes that carry the cost.

4. A failure mode came 6 times in a year. After a change it came 2 times in the next year. Use the Poisson distribution to find the chance of 2 or fewer with no real change. Then suppose that the two years after the change show 4 events together, where 12 would be expected.

Answer

for a mean of 6 is 0.062: suggestive, not yet firm. for a mean of 12 is 0.0076: strong evidence of a real change.

5. A standby compressor is started on test every week, 50 times a year, and one test in the year finds a fault. A fault that is found at a test has been present, on average, for half of the interval between tests. Estimate the fraction of the year for which the standby was not able to start. Repeat for the same one fault a year with a test once a month (12 a year).

Answer

Weekly: of the year, 1 percent. Monthly: , about 4 percent. The same machine with the same fault rate is four times less ready when it is tested four times less often.

References



  • ISO 14224, Petroleum, petrochemical and natural gas industries: Collection and exchange of reliability and maintenance data for equipment (named here as the reference for how failure and maintenance records are collected).
  • J. Moubray, Reliability-centred Maintenance, 2nd edition, Butterworth-Heinemann, 1997.
  • A. M. Smith and G. R. Hinchcliffe, RCM: Gateway to World Class Maintenance, Elsevier Butterworth-Heinemann, 2004.
  • P. D. T. O’Connor and A. Kleyner, Practical Reliability Engineering, 5th edition, Wiley, 2012.


© 2021-2026 SiliconWit®. All rights reserved.
Watch it build: what one year shows
This year's record, by cost Three lists make one plan bearingbeltvalve 148,56071,52040,000 and what is not in it? rare, large absent 78 yearsin 100 generator no stop, only a failed test from the FMEA from the criticality list
  1. This year's record ranks the bearing, the belt and the valve: what happened in one year.
  2. A mode that comes once in four years is absent from about 78 years in 100.
  3. A standby that cannot start causes no stop: only a failed test or a bad day shows it.
  4. The FMEA and the criticality list add what the record missed; all three make the plan.
Predict first

After this year's actions, a belt that ran off centre 12 times runs off centre 6 times next year, and a bearing that failed twice does not fail at all. Which result is evidence that the action worked?

See it: the same record, ranked two ways

The 30 ranked events of one year at the cold store (Application 1), with loss of refrigerant charge taken out first as a safety mode. The bar is the cost of each mode in currency units, and the last column adds the shares from the top. The count shows what annoys people; the cost shows what hurts the site.

this yearyear 2year 3year 4year 5 frequent: belt, bearingsrare and large
See it: a better year, or only chance?

Chance of so good a year, no change
Verdict at 0.05
Expected with no change

If a mode came μ times a year and nothing has changed, the count of the next year follows the Poisson distribution with mean μ. The shaded bars are the counts as good as, or better than, the one seen. Their sum is the chance that the good year is chance alone. A frequent mode can prove a change in one year; a rare mode cannot.

Check yourself

Three questions. Each wrong choice is a mistake people really make, so read the note after you answer.

1. A year's record holds three failure modes. Mode A: 15 short stops at 500 each. Mode B: 1 failure at 60,000. Mode C: 4 failures at 3,000 each. None is a safety mode. Which mode heads the bad-actor list?

2. A borehole pump failed 4 times in a year of 8,400 hours. Its counter shows 2,000 running hours. What MTBF goes into the record?

3. A jam at the transfer came 8 times last year. After a change to the guide plates, it comes 3 times this year. Can the gain be claimed?

Compressor 1 (duty) Compressor 2 (standby) Conveyor Borehole pump Generator (standby) Failure record: 31 events, one line for each
Five machines, one failure record
One failure record Day 58, 06:10 stopped Day 58, 11:17 running Machine: conveyor Part: drive end bearing Hours in service: 1,390 Mode: bearing seized Found by: the failure Cause: not yet known Bearing kept: yes Parts: 4,500 Technician hours: 6 Stopped: 5.11 h Other loss: 61,320 Before: belt tension adjusted on day 51
One failure record
Record every event Rank by cost Choose an action Act Measure again did it work?
Record, rank, choose, act, measure again
Found this useful?

Discussion

    Comments show your name. Be kind, stay on the topic.