Maintenance and Spares: Optimizer Example | Vose Software

ModelRisk Optimizer example · Manufacturing

Spare Parts and Maintenance Strategy Chosen by the Optimizer

Which replacement age and how many spare kits cost least while keeping the downtime promised to a customer?

  • Complexity: ★★★★★
  • Free Excel workbook (MF-10)
  • Needs ModelRisk with the Optimizer: free trial

From the model’s saved run

The Optimizer’s plan against the starting plan

The two plans, and how each performs over the same simulated two years.

DecisionUnitStarting planOptimizer’s planChange
Replacement age of a bearinghours3,5002,250−1,250
Spare kits heldkits330
MeasureUnitStarting planOptimizer’s planChange
Two-year cost, meanUS$k176.9205.028.1
Two-year cost, 90th percentileUS$k226.8235.89.0
Failures in service, meanfailures4.32.4−1.9✔ better
Planned replacements, meanbearings20.737.917.2
Chance that any failure finds no kitof futures2.1%0.2%−2.0%✔ better
Machine-hours lost, meanhours52.128.4−23.7✔ better
Chance of losing more than 48 hoursof futures42.1%8.7%−33.4%✔ better
Accepted chance of losing more (the promise)of futures10.0%10.0%

Machine-hours lost: the hours failures stop the machines, plus the waits for a kit; all eight machines, two years.

Two-year cost — cumulative probability

The business question

A machine shop's eight spindles all got new bearings in this year's shutdown. A bearing that fails in service costs about US$21,000 and stops its machine for 12 hours, or 48 if no spare kit is on the shelf. MF-08 found replacing at 3,500 hours with three kits cheapest.

Now the shop has promised a customer limited downtime, so the Optimizer chooses the age and the kits together.

Who it is for
Maintenance and reliability engineers, plant managers, spare-parts and MRO planners.
Main outputs
The Optimizer's replacement age and spare kits against a starting plan (MF-08's cheapest option: replace at 3,500 hours, three kits) · for both plans: the two-year cost, failures, planned replacements, the chance that any failure finds no kit, the machine-hours lost and the chance of losing more than promised · the distributions of the cost and of the hours lost.

What the Optimizer decides

The Optimizer changes the blue cells. The starting plan is MF-08's cheapest option: replace each bearing at 3,500 hours and hold three spare kits.

DecisionUnitStarting planOptimizer’s planLowestHighest
Replacement age of a bearinghours3,5002,2502,0006,000
Spare kits heldkits3308
Goal
Minimise the mean two-year cost
Limit
Chance of losing more than promised at most 10%

The Optimizer’s run: Vertex Detector, 150 plans tried, each on 10,000 samples, in 47.8 seconds.

How the model works

Four sheets after this one, read from left to right. Each one feeds the next.

  1. Inputs sheet

    Operating hours a year; the bearing's Weibull shape and scale; the cost of a kit, the labour, the damage and the downtime of a failure. The resupply time of a kit and the cost of holding one; the machine-hours lost that the promise allows, and the accepted chance of losing more.

  2. Decisions sheet

    The two cells the Optimizer changes — the replacement age and the spare kits held — with their bounds, the starting plan they are compared with, the goal (the least mean two-year cost) and the limit (the chance of losing more machine-hours than promised).

  3. Spindles sheet

    VoseWeibull draws the lives of ten successive bearings on each spindle. In each plan a bearing comes out at the replacement age or when it fails, and the next one starts. Failures, planned replacements, failures that find no kit, the machine-hours lost and the two-year cost are outputs.

  4. Results sheet

    Both plans on the same simulated lives: the two-year cost, failures, the chance of running out of kits, the machine-hours lost and the chance of losing more than promised; where the cost goes; the distributions of the cost and of the hours lost.

ModelRisk techniques

  • ModelRisk Optimizer: replacement age in steps and whole spare kits
  • Downtime promise as a probability limit
  • Weibull bearing lives VoseWeibull
  • Both strategies on the same bearing lives

Find similar models

The results in detail

Where the two-year cost goes

Mean cost of each part, US$k: what earlier replacement buys and what it costs.

Machine-hours lost in the two years — cumulative probability
MeasureUnitStarting planOptimizer’s planChange
Planned replacementsUS$k82.7151.768.9
Failures in serviceUS$k89.649.5−40.0✔ better
Waiting for a kitUS$k0.90.1−0.8✔ better
Holding the spare kitsUS$k3.83.8–
Total: the mean two-year cost176.9205.028.1

Each part: its mean number in the two years × its cost (Spindles sheet); holding: kits × the cost of holding one.

How to read these results

  • The starting plan — MF-08's cheapest option, replacing each bearing at 3,500 hours with three spare kits — loses more than 48 machine-hours in about two futures in five: far more often than the one in ten the shop has accepted.
  • The Optimizer replaces each bearing much earlier, at 2,250 hours, and keeps the three spare kits. Failures in service fall by about half, so a failure rarely finds the shelf empty: two kits would cost about the same, but three lose less time. The chance of losing more than 48 hours falls to just under one in ten.
  • Keeping the promise costs about US$28,000 more over the two years, some 16%: about 38 planned replacements instead of 21 buy about two fewer failures. At 2,500 hours the plan would cost about US$20,000 less, but lose more than 48 hours in about one future in seven.
  • The cost does not fall smoothly with the age. Only the two years are costed, so it jumps where one more round of replacements fits into them: a spindle without a failure gets five new bearings at 2,250 hours, four at 2,500. The Optimizer searches the list of ages, so it finds such steps.
  • Try 72 hours on the Inputs sheet and run the Optimizer again: it then settles near 3,250 hours with four spare kits, and the cost falls a little below the starting plan's.

Run the Optimizer yourself. Open the workbook, open the Optimizer from the ModelRisk ribbon (the saved task opens with it) and press Start; then simulate to compare the plans.

Inputs and assumptions

Every assumption in the model, with its uncertainty and where it comes from. The figures are illustrative.

The spindles 1 input

Eight machining centres, all with new spindle bearings after this year's shutdown.

AssumptionUnitValue
Operating hours a yearTwo shifts, five days a week.hours6,000
Bearing life 2 inputs

A Weibull distribution of operating hours to failure.

AssumptionUnitValue
Weibull shapeAbove 1: the bearings wear out — the older, the likelier to fail.2.50
Weibull scale63% of bearings fail by this age; fitted to the shop's records.hours7,000
Costs 6 inputs
AssumptionUnitValue
Bearing kitUS$k2.5
Labour to replace the bearingsPlanned or not.US$k1.5
A failure: damage to the shaft and housingUS$k5.0
A failure: hours the machine standsStrip, rebuild and test the spindle.hours12
Contribution lost per hour a machine standsUS$k1.00
No kit on the shelf: extra hours waitingFor an expedited kit from the maker.hours36
Spare kits 2 inputs

How many to hold is a decision (Decisions sheet).

AssumptionUnitValue
Resupply time of a kitOrdered as soon as a failure uses one.weeks8
Cost of holding a kitCapital, storage and obsolescence.per year25%
Downtime promised 2 inputs

The limit the Optimizer must respect.

AssumptionUnitValue
Machine-hours lost that the promise allowsIn the two years, all eight machines: four failures, or one that waits for a kit.hours48
Accepted chance of losing moreAt most one future in ten may lose more machine-hours than the promise allows.of futures10%

Units and conventions

Hours
Operating hours since this year's shutdown: 6,000 a year, 12,000 in the two years.
Money
US$ thousand (US$k), not discounted over the two years.
Replacement age
Each bearing comes out when it reaches this age or when it fails, whichever comes first.
Stock-out
A failure that finds no spare kit on the shelf. Every kit used by a failure is reordered at once and arrives one resupply time later.
Machine-hours lost
The hours a failure stops its machine, plus the wait for an expedited kit when none is on the shelf. Planned replacements lose none.

Key assumptions and limitations

Bearings
Lives independent and Weibull; a new bearing is as good as new; all eight start new after the shutdown.
Planned work
Done in weekend maintenance windows: no lost production; its kits are ordered ahead and never wait.
Spare kits
One kit reordered for each failure; a failure that finds no kit waits for an expedited one.
Two years
Only the two years are costed. The cost jumps where one more round of replacements fits into them, and the age of the bearings left in service at the end is not charged.
Optimizer
Each plan the Optimizer tries is judged on the same 10,000 simulated two-year periods (common random numbers, seed 1) as the simulation on the Results sheet, so plans are compared fairly and the limit the Optimizer met holds on the Results sheet too.
Data
The shop and all figures are invented for this example.

How to use it

  1. Enter your operating hours, the bearing's Weibull life (fitted to your failure records, see MF-03), your costs and your downtime promise on the Inputs sheet.
  2. On the ModelRisk ribbon, open the Optimizer: the task is saved in this workbook. Press Start; each plan it tries is simulated in full, so a run takes a while. When it finishes, apply the best solution: the replacement age and spare kits on the Decisions sheet change.
  3. Run a simulation from the ModelRisk ribbon (10,000 samples with a fixed seed are set) to compare the new plan with the starting plan on the Results sheet.
  4. To watch the search from the beginning, copy the starting plan onto the Optimizer’s plan first.

ModelRisk functions used

ModelRisk Optimizer
Chooses the replacement age and the spare kits: least mean two-year cost, with the chance of losing more machine-hours than promised at most the accepted chance.
VoseWeibull
The life of each bearing, in operating hours.
VoseOutput
Failures, planned replacements, stock-outs, machine-hours lost and the cost of both plans, recorded at every sample.
VoseSimMean, VoseSimPercentile, VoseSimProbability
Statistics of both plans on the Results sheet.

Further reading

  • Monte Carlo simulation explained (Vose guide)
  • Jardine, A. K. S. & Tsang, A. H. C. (2013). Maintenance, Replacement, and Reliability, 2nd edition. CRC Press — age replacement.
  • Sherbrooke, C. C. (2004). Optimal Inventory Modeling of Systems, 2nd edition. Kluwer.
  • MF-08 Spare parts and maintenance strategy: the same shop, with four strategies and zero to three spare kits compared side by side.