Explore: A Repairable System of Your Own

Chapter 10, Multi-Echelon Inventory Systems

This page evaluates a two-level repairable system you describe, one item at a depot and the storerooms it supplies, by METRIC and by VARI-METRIC as Chapter 10 computes them. It reports each location’s pipeline, backorders and on hand, and it finds the best split of the same number of units between the depot and the storerooms. It starts from the utility’s transformers; Reset returns to them. The page runs in your browser and records nothing. Its formulas are a restatement in JavaScript of the book’s code, and they are tested against that code on the transformer and on twenty other systems.

What This Page Assumes

  • The storerooms. One per line: the failure rate \(\lambda_j\) a year, the fraction \(\phi_j\) repaired locally, the local repair time \(T_j\) in days, the order and ship time \(O_j\) in days, and the stock level \(S_j\), separated by commas or spaces. Failures are Poisson and every location orders one for one. At most 20 storerooms, and at least one must send work to the depot.
  • The depot. A repair time \(T_0\) in days and a stock level \(S_0\). Its pipeline is Poisson by Palm’s theorem, with a mean of at most 2,000 units.
  • The models. METRIC fits each storeroom’s pipeline with a Poisson at its mean. VARI-METRIC fits a negative binomial to its mean and variance, a Poisson when they are equal, and a gamma in the rare case that the variance falls below the mean.
  • The split. For the total you hold, the page tries every depot level and spreads the rest one unit at a time to the storeroom whose next unit removes the most backorders, under VARI-METRIC. Every unit costs the same, so the split minimizes backorders for a number of units, not for a budget.
NoteFor anything else, use the software

Several items competing for one budget, units of different cost, the Lagrangian relaxation, and batch ordering at either level are in the code the chapter teaches, in the chapter’s Using the Software section, and the chapter’s workbook evaluates the same models cell by cell.

Your System

The plot is each storeroom’s backorders under the two models, with METRIC in gray and VARI-METRIC in red. Where the bars differ, METRIC is the optimistic one.

Things to Try

  1. The starting system is the utility’s plan, 16 at the depot and four at each storeroom: 1.6218 backorders under METRIC and 1.9259 under VARI-METRIC. The best split of the same 32 units puts 20 at the depot and three at each storeroom, leaving 1.8929.
  2. Make the storerooms unlike: change the last line to 90, 0.1, 30, 10, 4. The depot now sees 175.5 requests a year and a request waits 26.74 days. The busy storeroom has 8.8924 units in resupply with a variance of 12.2594, a ratio of 1.38 against 1.12 at the others, because it carries the largest share of the depot’s backorders. The best split of 32 units now puts 22 at the depot, two at each quiet storeroom and four at the busy one.
  3. Return that line to the transformer and set its fraction repaired locally to 1. It sends nothing to the depot, the depot’s demand falls to 94.5 a year, and the two models give that storeroom the same 0.6198 backorders: its pipeline is its own repair alone.